Commit Graph

1770 Commits

Author SHA1 Message Date
Arun Prakash Jana
ea02856bc1 Fix issues with fetching pages with %20.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-25 08:08:03 +05:30
Arun Prakash Jana
1c982ccd51 Show new record after add or update.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-25 02:18:36 +05:30
Arun Prakash Jana
3ea64f3a5f Better redirection handling.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-25 02:08:38 +05:30
Arun Prakash Jana
1ea332ba18 Handle multiple reirections. Show URL in BOLD.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-25 01:10:30 +05:30
Arun Prakash Jana
1a47576649 Reformat and optimize DB refresh.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-25 00:18:41 +05:30
Arun Prakash Jana
ca21ac579a Fix current full refresh feature.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-25 00:18:41 +05:30
Arun Prakash Jana
dbdf1b8e02 Update README.md 2016-03-24 14:16:07 +05:30
Arun Prakash Jana
321c550f1a Better index boundary check for prompt.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-23 21:27:57 +05:30
Arun Prakash Jana
2708e70004 Reformat: distinct API to fetch page data.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-03-23 20:28:21 +05:30
lmessier
29233844d4 Update documentation 2016-03-23 13:23:35 +01:00
lmessier
3d69532e2a Return if nothing matches the search query on json and -f is set 2016-03-23 13:13:56 +01:00
lmessier
f76119ea17 Return early if IndexError exception is caught 2016-03-23 13:10:26 +01:00
lmessier
f3fa5a3a29 Maintain 3 line gap between functions 2016-03-23 13:10:08 +01:00
lmessier
d60d9c4249 Merge remote-tracking branch 'origin/json-output' into json-output 2016-03-23 13:08:06 +01:00
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