Commit Graph

720 Commits

Author SHA1 Message Date
Arun Prakash Jana
87397e3788
Add append tag support. 2016-06-12 16:00:54 +05:30
Arun Prakash Jana
07ed8da4c3
mergedb: open input DB file in ro mode (Pyhton 3.4.4 and above) 2016-06-11 11:33:56 +05:30
poikjhn
65835c9b40 adding TestHelpers with test_parse_tags 2016-06-10 20:23:58 +02:00
Arun Prakash Jana
cc30cce6a9
Man and help update. 2016-06-08 22:31:36 +05:30
Arun Prakash Jana
aba920da6c Merge pull request #46 from poikjhn/tests
Fixing tests
2016-06-08 13:59:36 +05:30
poikjhn
3e395b00e0 fixing tests 2016-06-08 10:16:09 +02:00
poikjhn
08543af540 Merge remote-tracking branch 'upstream/master' into tests 2016-06-08 09:50:05 +02:00
Arun Prakash Jana
0862fe454e
Remove manual title update logic from refreshdb().
Manual title update is handled in update_bookmark().
2016-06-08 07:48:54 +05:30
Arun Prakash Jana
550469b15f
Filter and sort tags after replacing. 2016-06-07 21:26:22 +05:30
poikjhn
5c25694318 adding test_replace_tag 2016-06-07 06:22:38 +02:00
Arun Prakash Jana
6c26f3c26c
Fix #40
Only 'buku -u' refreshes all titles.
Confirm whether to update all records if index passed to update is 0.
2016-06-07 08:16:29 +05:30
Arun Prakash Jana
ff3b6f8781
search results: show DB index in bold. 2016-06-06 22:56:12 +05:30
Arun Prakash Jana
3d3e0c0387
Add support to build deb package. 2016-06-06 22:55:06 +05:30
poikjhn
3eea3d7771 adding test_refreshdb 2016-06-05 22:41:01 +02:00
Arun Prakash Jana
0fec5dece3
Add icon in page. [skip ci] 2016-06-04 06:02:38 +05:30
Arun Prakash Jana
e550850b8a
Remove 3.2 builds from Travis. 2016-06-04 05:54:01 +05:30
Arun Prakash Jana
ccebb67a0e
Use + instead of extend(). 2016-06-04 05:52:16 +05:30
Arun Prakash Jana
aa9ddc86e1 Merge pull request #38 from poikjhn/tests
Initial travis integration + two more tests
2016-06-04 05:44:43 +05:30
poikjhn
7b87917e86 adding two more tests 2016-06-04 01:18:54 +02:00
poikjhn
aeb5503013 fixing tests path in .travis.yml 2016-06-03 18:19:29 +02:00
poikjhn
89e6467d74 travis integration for tests 2016-06-03 17:58:41 +02:00
Arun Prakash Jana
546c075729 Merge pull request #37 from carnager/master
Use tab delimiter for -f N
2016-06-03 08:03:21 +05:30
Rasmus Steinke
7a47910611 Use tab delimiter for -f N 2016-06-02 22:46:05 +02:00
Arun Prakash Jana
4bfc310ac4
return if not a fatal error. 2016-06-02 23:52:36 +05:30
Arun Prakash Jana
d3abd6b692
Do not show empty fields of bookmarks. 2016-06-02 22:56:37 +05:30
Arun Prakash Jana
47c480b9b2
Bump version. 2016-06-02 21:15:07 +05:30
Arun Prakash Jana
30bd0ad5e8
Implement export, add option -m for merge. 2016-06-02 21:12:19 +05:30
Arun Prakash Jana
c54d3112ab
Optimize print_record, show all fields. 2016-06-02 18:23:54 +05:30
Arun Prakash Jana
586992a5ac Modify API name.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-06-02 11:08:14 +05:30
Arun Prakash Jana
c11e419082 Merge pull request #34 from poikjhn/tests
Rebuilding tests
2016-06-02 11:03:13 +05:30
poikjhn
9a614ae066 Merge branch 'master' into tests 2016-06-02 02:31:40 +02:00
poikjhn
fe2b40be2f readability, minor changes 2016-06-02 02:28:31 +02:00
Arun Prakash Jana
237f8857bc
class BukuCrypt for encrypt and decrypt functions.
Nasty hack, but saves ~100ms. Given that encrypt/decrypt need
to be done manually, late loading doesn't seem outrageous here.
2016-06-01 22:29:42 +05:30
Arun Prakash Jana
219304cc68
open html import file in read-only mode. 2016-06-01 18:50:54 +05:30
Arun Prakash Jana
e89459f891
import_bookmark: handle exception with file open, close file. 2016-06-01 17:44:29 +05:30
Arun Prakash Jana
8607d54258
Late commit (write once) in case of merge bookmark. 2016-06-01 17:32:26 +05:30
Arun Prakash Jana
8600b06c76 Merge pull request #35 from asergi/cryptography
Switch from PyCrypto to cryptography
2016-06-01 17:18:54 +05:30
Alessio Sergi
dc0b73ef0a Switch from PyCrypto to cryptography
PyCrypto is no longer maintained. Cryptography is an actively
developed library that provides cryptographic recipes and primitives.
See https://cryptography.io/.
2016-06-01 12:20:40 +02:00
Arun Prakash Jana
9d2a0cbd0f
Late commit (write once) in case of import bookmark. 2016-06-01 15:05:33 +05:30
Arun Prakash Jana
db816fb93d Merge pull request #33 from asergi/urandom
Use system RNG in crypto
2016-06-01 12:00:58 +05:30
Arun Prakash Jana
440bb512f7
Abort refreshdb() early if interrupted (SIGINT). 2016-06-01 11:40:12 +05:30
Arun Prakash Jana
7957a29e31
One commit sufficient for multiple updates.
ASC is the default.
Revert timeout to 30 secs.
2016-06-01 08:18:39 +05:30
poikjhn
d1f3ee993d rebuilding test_add_and_retrieve_bookmark
adding get_bookmark_by_id
2016-06-01 03:33:20 +02:00
poikjhn
a8d66282c4 minor changes 2016-06-01 00:11:03 +02:00
Alessio Sergi
2c4c95b40e Use system RNG in crypto
See https://cryptography.io/en/latest/random-numbers/.
2016-05-31 23:51:47 +02:00
Arun Prakash Jana
fef2775941
A more robust parse_args(). 2016-06-01 03:10:51 +05:30
Arun Prakash Jana
c0c26fa6a1
Remove append, huge optimization in list_tags. 2016-06-01 02:30:34 +05:30
Arun Prakash Jana
411ed0ac09
string concat optimization and other minor changes. 2016-06-01 00:20:46 +05:30
Arun Prakash Jana
ad802737bc Merge pull request #32 from asergi/flake8
Flake8 fixes
2016-05-31 23:50:37 +05:30
Alessio Sergi
961f8c97ae Flake8 fixes 2016-05-31 19:39:34 +02:00