Commit Graph

838 Commits

Author SHA1 Message Date
Arun Prakash Jana
fabdc773b6 Use requests module for upstream version check
The requests module uses urllib3 internally.
2016-11-08 10:58:24 +05:30
Arun Prakash Jana
0b819944b8
Remove move_legacy_dbfile() API. We have mergedb(). 2016-11-08 08:45:11 +05:30
Arun Prakash Jana
15892e9eea
Fix markdown import issue with URL having brackets:wq. 2016-11-08 01:56:03 +05:30
Arun Prakash Jana
a7d3ce89a0 Remove metavar param, shorten argparse.SUPPRESS. 2016-11-07 23:28:54 +05:30
Arun Prakash Jana
ed01edf9fb
Remove option --st, redundant 'dest' in addarg. 2016-11-07 23:05:02 +05:30
Arun Prakash Jana
f314a19e8b
Use urllib3 to fetch titles and more...
Do not fetch title for txt and PDF links.
Disable logging.WARNING if debug mode is not enabled.
Support deflate compression.
2016-11-07 20:43:08 +05:30
Arun Prakash Jana
ca076788e5 Merge pull request #90 from shaggytwodope/master
gitignore for pypi related files
2016-11-07 01:23:07 +05:30
Johnathan Jenkins
07bee8dc4f Merge branch 'master' of https://github.com/jarun/Buku 2016-11-06 11:50:24 -08:00
Johnathan Jenkins
3a9dc660a3 gitignore for pypi related files 2016-11-06 11:50:15 -08:00
Arun Prakash Jana
92093cfc63 1. Check for None resp before logging.
2. Update help
3. Show successful update in green in refreshdb()
2016-11-07 01:20:06 +05:30
Arun Prakash Jana
59a1e12fbe Check for None resp before logging. 2016-11-07 01:19:08 +05:30
Arun Prakash Jana
740a4a68ac
Update help. 2016-11-07 00:56:35 +05:30
Arun Prakash Jana
3ae66ea897 Merge branch 'asergi-setup-py' 2016-11-07 00:48:54 +05:30
Arun Prakash Jana
80413987d7 Merge branch 'setup-py' of https://github.com/asergi/Buku into asergi-setup-py 2016-11-07 00:48:39 +05:30
Arun Prakash Jana
41f256b217
Improve HTTP status handling. 2016-11-07 00:41:36 +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
98f625c77d
Fix failed test cases. 2016-11-06 04:43:16 +05:30
Arun Prakash Jana
14ae5a506c
Auto-completion script update for immutable flag. 2016-11-06 04:13:03 +05:30
Arun Prakash Jana
870bdd6957
Support immutable titles. 2016-11-06 04:02:03 +05:30
Arun Prakash Jana
e198fd3dc9
Add Ubuntu to packager list. 2016-11-05 02:03:54 +05:30
APJ
028b81ad60 Merge pull request #88 from dankles/master
Change --help output to STDOUT rather than STDERR
2016-11-04 21:29:48 +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
Arun Prakash Jana
d90970ab47
Uniform input handling. 2016-10-29 01:26:40 +05:30
Arun Prakash Jana
d423de0abd
Skip double updates if range starts from 0. 2016-10-29 01:02:01 +05:30
Arun Prakash Jana
c02651f370
Delete all entries if range starts from 0. 2016-10-29 00:49:24 +05:30
Arun Prakash Jana
b9fc2a37f0 Fix test case failure. 2016-10-29 00:45:15 +05:30
Arun Prakash Jana
d84729f935
Call delete_all_bookmarks() directly 2016-10-29 00:33:10 +05:30
Arun Prakash Jana
2d5bcd6272
On bulk deletion, commit at intervals of 200. 2016-10-29 00:22:49 +05:30
Arun Prakash Jana
96676a35bf
Use delayed commit for bulk operations.
Delay compaction commit after range deletion.
Delay commit after search results deletion.
2016-10-29 00:01:52 +05:30
Arun Prakash Jana
1bc4ed2564
A sngle commit is sufficient. 2016-10-28 23:04:42 +05:30
Arun Prakash Jana
c385658561 Decouple search results deletion from prompt.
Add delete results as a method of BukuDb class.
Delete results in case of json output, if opted.
2016-10-28 20:15:03 +05:30
Arun Prakash Jana
c68fac81f2 Decouple search from json output print. 2016-10-28 18:54:52 +05:30
APJ
353290155a Fix test failures.
The failures were introduced by commit 2f5796a0cf.

Logs: https://travis-ci.org/jarun/Buku/builds/171214761
2016-10-28 12:28:53 +05:30
Arun Prakash Jana
8894e28610
Delete search results only if -d is passed without [...]. 2016-10-28 02:23:07 +05:30