462 Commits

Author SHA1 Message Date
Arun Prakash Jana
25034bf0dc
Make buku executable 2019-01-13 11:50:47 +05:30
Sébastien Lavoie
5e487c3e69 Fix a few typos 2019-01-10 21:13:20 -06:00
Chris Drexler
4c247f10a1 FIX(buku) ff json import improve test, fix var bug
- better json title parsing, catching "no title" situation
- add/fix test for "ignore special root bookmark folders" feature
2019-01-02 22:11:30 +01:00
Chris Drexler
3d5739027f FIX(buku) ff json import mimics html import
- json import ignores "Bookmark Menu" folder for tagging
- all other folders are used if parent folder as tags is set
- behavior follows html export/import
2019-01-02 21:50:01 +01:00
Chris Drexler
b5844ee1c1 REF(buku) ff json import improve debug logging 2019-01-02 16:11:21 +01:00
Chris Drexler
c722c92e2d FIX(buku) ff json import ignore root folder names
- main bookmark container names are ignored when adding parent
  folder name as tags
- adjust tests accordingly
- merged upstream adjustments
2019-01-02 11:44:51 +01:00
Chris Drexler
9159e148d9 FIX(buku) correct hierarchical folder handling
- fix hierarchical folder handling when adding parent folder
  as tag: only parent folder is added, no concatenation
- handling of folder without title added
- tests added for the above
2019-01-02 11:01:42 +01:00
Chris Drexler
727141b5e2 FIX(buku) ff json import folder w/o children
- fixes jarun/Buku#340
- replaced error with warning
- proper warning message added
- test added
2019-01-02 11:00:26 +01:00
Arun Prakash Jana
5874eafa4b
Fix build break 2019-01-02 00:24:51 +05:30
Arun Prakash Jana
2ada8c7215
Fix #346 2019-01-01 22:10:23 +05:30
Arun Prakash Jana
d994a51c38
Update copyright year 2019-01-01 09:29:26 +05:30
Arun Prakash Jana
41721f4597
Use the same string across imports 2018-12-31 21:23:56 +05:30
Sébastien Lavoie
094f44b369 Improve readability and fix minor typos. 2018-12-30 20:49:38 -06:00
Chris Drexler
578cd28edd FIX(buku) correct hierarchical folder handling
- fix hierarchical folder handling when adding parent folder
  as tag: only parent folder is added, no concatenation
- handling of folder without title added
- tests added for the above
2018-12-30 15:42:02 +01:00
Chris Drexler
da21c5e7e8 FIX(buku) ff json import folder w/o children
- fixes jarun/Buku#340
- replaced error with warning
- proper warning message added
- test added
2018-12-30 14:16:05 +01:00
Arun Prakash Jana
c694417462
Fix #341 2018-12-29 05:12:49 +05:30
Arun Prakash Jana
cff8668858
Fix #342 2018-12-29 04:47:20 +05:30
Arun Prakash Jana
89c6578078
Remove blank lines 2018-12-28 18:21:54 +05:30
Chris Drexler
315d9c475d FIX(buku) review comments: clean up line formatting 2018-12-28 09:36:25 +01:00
Chris Drexler
5bc1ab63da ADD(buku) simplify test & add docu for ff json imp 2018-12-26 11:25:22 +01:00
Chris Drexler
61e4cdb7ea FIX(buku) fix ValueError
- remove wrong ValueError reference (not from json.decoder
  but builtin)
2018-12-19 20:03:13 +01:00
Chris Drexler
ccb40b5810 FIX(buku) JSONDecodeError only avail from py3.5 on
- replace exception handling with parent class ValueError
  which is avail also prior to 3.5
2018-12-19 19:59:33 +01:00
Chris Drexler
830436d30d FIX(buku) fix pylint errors 2018-12-19 19:54:20 +01:00
Chris Drexler
f4ef45f390 FIX(buku) fix flake8 for ff json import 2018-12-18 21:39:18 +01:00
Chris Drexler
da7cd0b1a4 ADD(buku) tests for firefox json import 2018-12-18 21:11:29 +01:00
Chris Drexler
6931a91d17 FIX(buku) working version of firefox json import
- import works
- TODO: tests
2018-12-18 16:43:22 +01:00
Chris Drexler
b016db1d50 NEW(buku) add first attempt of firefox json import
- not working yet, only print outs should be done
- issues with iteration (worked with standalon python function)
2018-12-17 22:46:39 +01:00
Arun Prakash Jana
f58b49fd0a
Fix write to GNU Screen paste buffer 2018-12-02 21:59:28 +05:30
Arun Prakash Jana
ebb1205fd6
Fix lint issues 2018-12-02 19:58:25 +05:30
invlpg
661927c228 Fix autoimport for firefox 2018-12-02 11:44:57 +08:00
Arun Prakash Jana
a49da5f549 Rename buku.py to buku 2018-11-12 00:15:46 +05:30
Alessio Sergi
4cf02b9fa9 Add setup.py for installation as a system tool. 2016-11-06 19:44:44 +01:00
Arun Prakash Jana
10b2439093 Move some logs to debug level. 2016-11-06 23:54:39 +05:30
Arun Prakash Jana
53ea595bbe Make verbosity a class property. 2016-11-06 21:45:43 +05:30
Arun Prakash Jana
e1a0cf538e
List bookmarks with immutable titles. 2016-11-06 20:11:45 +05:30
Arun Prakash Jana
9979b9779a
Immutable title indicator while listing. 2016-11-06 19:22:12 +05:30
Arun Prakash Jana
ee1e21d899
Show informative error in refreshdb() fail. 2016-11-06 09:13:24 +05:30
Arun Prakash Jana
870bdd6957
Support immutable titles. 2016-11-06 04:02:03 +05:30
Daniel Anderson
77bca712ca Change --help output to STDOUT rather than STDERR 2016-11-04 11:36:56 -04:00
Arun Prakash Jana
ee9d72bf53
Prepare for release v2.6 2016-11-04 18:16:00 +05:30
Arun Prakash Jana
2632ca05ba Rename APIs. Set verbose off by default. 2016-10-29 18:16:25 +05:30
Arun Prakash Jana
cb2db62496 Coding style changes. API rename. Use 'macro' DELIM. 2016-10-29 16:21:31 +05:30
Arun Prakash Jana
2424836ea5
Commit if bookmarks are added, handle DB missing exception. 2016-10-29 15:30:13 +05:30
Arun Prakash Jana
aaf321aa82
Better variable names. 2016-10-29 15:05:44 +05:30
Arun Prakash Jana
4f1891a471
Rename show_opt to more meaningful field_filter. 2016-10-29 14:32:50 +05:30
Arun Prakash Jana
d573acbaba Documentation update, fix function returns. 2016-10-29 14:25:46 +05:30
Arun Prakash Jana
0a69ce1d1c
Control verbosity in update_bookmark() 2016-10-29 11:13:52 +05:30
Arun Prakash Jana
2c3335b4df
Reformat tag append and delete.
1. Show only bookmarks affected by tag append/delete
2. Add more control on verbosity
3. Update documentation
2016-10-29 11:02:23 +05:30
Arun Prakash Jana
b83cf9336a
Commit only if some records were updated. 2016-10-29 10:38:49 +05:30
Arun Prakash Jana
fbadc5f642
Match tag with delimiter in search. 2016-10-29 08:15:04 +05:30