Commit Graph

1281 Commits

Author SHA1 Message Date
Arun Prakash Jana
5e9d58227b
Fix typo, remove redundant print. 2016-05-24 23:25:37 +05:30
Arun Prakash Jana
6ccec0c85b
Double quotes to single quotes. 2016-05-24 23:21:38 +05:30
Arun Prakash Jana
9af6c01fd9
Quit on double Enter. 2016-05-24 21:42:51 +05:30
Arun Prakash Jana
eb5aa0b136
Increase spacing. 2016-05-24 21:30:54 +05:30
Arun Prakash Jana
7a2d1bfde3
(un)install options for auto-completion files. 2016-05-24 18:37:57 +05:30
Arun Prakash Jana
4d5054e70f Update README.md 2016-05-24 11:51:43 +05:30
Arun Prakash Jana
93fb6a9024 Remove or suppress messages into debug.
Suppress more messages into debug.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-05-24 11:22:03 +05:30
Arun Prakash Jana
044355848d
Change release button order. 2016-05-24 08:48:02 +05:30
Arun Prakash Jana
dae8cee393
Remove globals from search_by_tag() 2016-05-24 00:57:57 +05:30
Arun Prakash Jana
e056d76671
Remove globals from searchdb() 2016-05-24 00:46:21 +05:30
Arun Prakash Jana
1aedd30101
Remove globals from refreshdb()
Fix update case where not using --tag would delete tag.
2016-05-23 21:59:46 +05:30
Arun Prakash Jana
5af7a961f7
Re-use parse_tags. Handle new tag '' in replace. 2016-05-23 21:27:06 +05:30
Arun Prakash Jana
29be3f6072 Update README formatting, man, help and copyright.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-05-23 15:40:41 +05:30
Arun Prakash Jana
111dd0066a json format support in printing individual record.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-05-23 14:21:54 +05:30
Arun Prakash Jana
a6589bd86a Update program help.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-05-23 12:11:42 +05:30
Arun Prakash Jana
0cb2fd8070 Update README.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-05-23 12:03:57 +05:30
Arun Prakash Jana
e508816892 remove redundant import/export notes.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-05-23 11:51:29 +05:30
Arun Prakash Jana
c891f66691 rename delete and import functions
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-05-23 11:31:31 +05:30
Arun Prakash Jana
4046afb4ea
Show json tags as per FF bookmark convention 2016-05-23 09:09:58 +05:30
Arun Prakash Jana
a769f71671
Import description. Other changes:
1. Update man and docs
2. Update tab-completion scripts
2016-05-23 05:06:41 +05:30
Arun Prakash Jana
ca95fa9d59
Import functionality. 2016-05-23 02:33:47 +05:30
Arun Prakash Jana
ff77bba378
Modify add and update to accept tags as a string. 2016-05-23 01:54:24 +05:30
Arun Prakash Jana
27ef1c9df5
global independent add_bookmark(). 2016-05-23 01:03:24 +05:30
Arun Prakash Jana
53da73b8db
Remove insert bookmark operation. 2016-05-23 00:50:50 +05:30
Arun Prakash Jana
c68ddf6ebd
Change version to a string. 2016-05-22 23:20:19 +05:30
Arun Prakash Jana
41281943f5
Rename function names (by PEP 8)
Rename function names (by PEP 8)
2016-05-22 20:45:19 +05:30
Arun Prakash Jana
e4692a5402
Edit options in new help and man section
More accurate update description
2016-05-21 23:04:51 +05:30
Arun Prakash Jana
6e8539bf81
Update auto-completion scripts (--url, --tag) 2016-05-21 19:13:51 +05:30
Arun Prakash Jana
8ca31e6ce8
Emphasis on --url option works with -u only. 2016-05-21 18:45:56 +05:30
Arun Prakash Jana
5f0f372b8c Merge pull request #22 from toyg/updateEntry_no_globals
UpdateEntry no globals
2016-05-21 17:54:36 +05:30
toyg
ab65c94dfe removed globals from updateEntry and slight formatting 2016-05-21 11:40:37 +01:00
Giacomo Lacava
326e8c6093 Merge pull request #2 from jarun/master
merge upstream
2016-05-21 11:24:14 +01:00
Arun Prakash Jana
af252299f3
--tag works with -a and -u. 2016-05-21 12:44:07 +05:30
Arun Prakash Jana
d95889969a Merge pull request #21 from toyg/API_2
new attempt at api refactoring
2016-05-21 12:38:52 +05:30
toyg
7277d7d9a0 refactored to object. Still lots of globals to fix. 2016-05-20 23:05:25 +01:00
Giacomo Lacava
3499f8cdb4 Merge pull request #1 from jarun/master
updating
2016-05-20 21:39:40 +01:00
Arun Prakash Jana
0addfdafcd
Update man pages. 2016-05-21 00:16:44 +05:30
Arun Prakash Jana
493149942d
Update help. 2016-05-20 23:56:01 +05:30
Arun Prakash Jana
687f15a325
Retry on HTTP error 403 (Forbidden).
The servers return 403 when / is the path.
Examples:
http://my.lovelycharts.com
http://my.lovelycharts.com/
2016-05-20 22:31:03 +05:30
Arun Prakash Jana
e39e2621d5
Handle domain name-only URL without trailing /
https://www.google.co.in fails.
Surprisingly, http://www.google.com worked!
2016-05-20 20:45:52 +05:30
Arun Prakash Jana
e800ae909a
Bump version. 2016-05-20 19:11:49 +05:30
Arun Prakash Jana
6ca2f27492
New title update logic:
1. if -t has no arguments, delete existing title
2. if -t has arguments, update existing title
3. if -t option is omitted at cmdline:
        if URL is passed, update the title from web using the URL
4. if no other argument (url, tag, comment) passed update title from web using DB URL
2016-05-20 18:59:01 +05:30
Arun Prakash Jana
468c1ef29d
Update API to handle each option separately. 2016-05-20 09:18:12 +05:30
Arun Prakash Jana
f6961376e8
Check if isolated delimiter starts tag. 2016-05-19 23:13:45 +05:30
Arun Prakash Jana
61ab239351
Fix issue #12. 2016-05-19 20:24:50 +05:30
Arun Prakash Jana
31a46e041a
Better tag processing while saving to DB.
1. handle isolated comma in tags
2. handle leading comma
3. select unique tags
4. sort tags
2016-05-19 19:54:18 +05:30
Arun Prakash Jana
e300b186ef
Separate out add and update. 2016-05-19 18:03:14 +05:30
Arun Prakash Jana
e4c1b95121 remove multiple declarations in replaceTag
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-05-19 12:13:23 +05:30
Arun Prakash Jana
48c1aaf765 Disable formatting in printmsg
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>

Fix formatted space

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2016-05-19 12:04:32 +05:30
Arun Prakash Jana
8c7ef3ec34
Add comment in Json output. 2016-05-19 00:45:57 +05:30