Commit Graph

856 Commits

Author SHA1 Message Date
lmessier
84483fed3a Print search data as json if option is set 2016-03-23 00:33:13 +01:00
lmessier
d7bbab6d5d Print data as json if option is set in printdb 2016-03-23 00:32:37 +01:00
lmessier
c1ae9254c1 Import jsonOutput option value 2016-03-23 00:31:17 +01:00
lmessier
f26745714b Create a function to output json 2016-03-23 00:30:51 +01:00
Arun Prakash Jana
e832826118 Remove unnecessary code.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-23 02:08:35 +05:30
Arun Prakash Jana
1d99c4ccb3 Reformat: break out function to fetch URL.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-23 01:53:46 +05:30
Arun Prakash Jana
28c9b6f44c Update README.md 2016-03-21 20:25:13 +05:30
Arun Prakash Jana
c3955638e0 Update README.md 2016-03-21 20:22:44 +05:30
Arun Prakash Jana
d008c922ee Update README.md 2016-03-21 20:21:22 +05:30
lmessier
5259222e55 Split formatting in two functions according to flag 2016-03-21 13:39:45 +01:00
lmessier
ee16a4cbc3 Handle a new -j command line flag 2016-03-21 13:38:07 +01:00
lmessier
76706944c4 Import json module 2016-03-21 13:37:28 +01:00
Arun Prakash Jana
9f06983a6e More correct help.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-21 01:23:57 +05:30
Arun Prakash Jana
abefc70816 More info on tag manipulation.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-21 00:44:13 +05:30
Arun Prakash Jana
76e60c79e8 Initial informative message on encryption.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-20 14:25:08 +05:30
Arun Prakash Jana
c3dedf601e Error out if both encrypted and flat DB files exist.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-20 13:41:52 +05:30
Arun Prakash Jana
365bb2002c Report failure without hints.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-20 13:13:41 +05:30
Arun Prakash Jana
a119945ccf Update manpage on encryption.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-20 13:01:34 +05:30
Arun Prakash Jana
573fd8965f Update README.md 2016-03-20 13:00:30 +05:30
Arun Prakash Jana
c4c5760aab Update README.md 2016-03-20 12:57:34 +05:30
Arun Prakash Jana
256a0436d8 Update README.md 2016-03-20 12:55:38 +05:30
Arun Prakash Jana
f9fc90776b Update help on auto DB compaction.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-20 11:29:06 +05:30
Arun Prakash Jana
a3c85aea29 Update README.md 2016-03-20 11:23:59 +05:30
Arun Prakash Jana
1a7bbe7638 Merge branch 'master' of https://github.com/jarun/buku 2016-03-20 11:12:40 +05:30
Arun Prakash Jana
b4b0c1e042 Compact the DB when removing a bookmark.
The record at the last index is moved to the removed index.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-20 11:12:06 +05:30
Arun Prakash Jana
1e8b379f19 Compact the DB when reving a bookmark.
The record at the last index is moved to the removed index.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-20 11:09:07 +05:30
Arun Prakash Jana
366b493ca0 Confirm DB cleansing.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-20 09:48:13 +05:30
Arun Prakash Jana
a75a56cd5a More clarity on -u option.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-20 07:11:40 +05:30
Arun Prakash Jana
ad38461eee Comment update.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-19 23:38:18 +05:30
Arun Prakash Jana
ffe31cc17b Minor change for more clarity.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-19 23:31:45 +05:30
Arun Prakash Jana
6b2a4951fa More clarity on update operation.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-19 23:27:37 +05:30
Arun Prakash Jana
89dd9f21cc Update README.md 2016-03-19 23:23:18 +05:30
Arun Prakash Jana
7fc46207ed Update README.md 2016-03-19 23:14:27 +05:30
Arun Prakash Jana
a4b27228ac Bump version.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-19 22:51:21 +05:30
Arun Prakash Jana
9e1e0b34d7 Return if old and new tags are same.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-19 22:49:58 +05:30
Arun Prakash Jana
017f7b82cd Do not insert new tag if already present.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-19 22:36:44 +05:30
Arun Prakash Jana
5d8ac94fcd Examples of tag management.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-19 21:50:14 +05:30
Arun Prakash Jana
c5c1f65b2e Update README.md 2016-03-19 21:41:59 +05:30
Arun Prakash Jana
bcdafd6cc1 Modify or delete tags.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-19 21:25:13 +05:30
Arun Prakash Jana
a31d204a2c Added examples in manpage.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-19 00:14:33 +05:30
Arun Prakash Jana
4408a034c1 Update README.md 2016-03-19 00:11:52 +05:30
Arun Prakash Jana
18b7372740 Update README.md 2016-03-18 23:58:33 +05:30
Arun Prakash Jana
9db52b68f0 Update README.md 2016-03-18 23:45:44 +05:30
Arun Prakash Jana
d032305d79 Update README.md 2016-03-17 08:53:50 +05:30
Arun Prakash Jana
ab17bd0127 Merge branch 'master' of https://github.com/jarun/buku 2016-03-16 23:36:39 +05:30
Arun Prakash Jana
515fbe56fd Show unique tags sorted alphabetically.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-16 23:33:15 +05:30
Arun Prakash Jana
c54a636554 Don't add single comma as tag.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-16 22:05:34 +05:30
Arun Prakash Jana
806f845beb Strip extra commas from tags.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-16 21:19:35 +05:30
Arun Prakash Jana
7179b8bd05 Graceful SIGINT handler.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-16 20:40:55 +05:30
Arun Prakash Jana
1d910977ad Remove wrong reference from Makefile.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-16 17:59:45 +05:30