Commit Graph

63 Commits

Author SHA1 Message Date
Arun Prakash Jana
e3a07e2eb4 Bump version.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-13 17:35:05 +05:30
Arun Prakash Jana
bd71bf3b97 Implement full DB refresh.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-13 16:42:12 +05:30
Arun Prakash Jana
4bb704f3bf Notify empty titles in red during add or update.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-13 13:43:33 +05:30
Arun Prakash Jana
6d55737cdc Show DB index in search results.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-11 17:34:57 +05:30
Arun Prakash Jana
1a3b4eb5a6 Implement search presence of all keywords in URL or title.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-11 17:11:53 +05:30
Arun Prakash Jana
ab19ffd7df Show index on removal.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-11 01:00:23 -08:00
Arun Prakash Jana
55f8e5e48f Show index on update confirmation.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-11 00:41:05 -08:00
Arun Prakash Jana
45bc1b5976 Wait for title tag with data if there are multiple title tags.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-10 23:29:46 -08:00
Arun Prakash Jana
d7346c8bda Support selective unformatted output for batch update scripts.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-10 23:28:37 -08:00
Arun Prakash Jana
17067b1a6c Reset titleData.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-10 21:41:27 -08:00
Arun Prakash Jana
950e3b4486 Update version info.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-11 05:02:58 +05:30
Arun Prakash Jana
5d1ffa95a4 Handle title data if within another tag, like head.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-11 04:37:14 +05:30
Arun Prakash Jana
1cc2c18bf1 Replace Unicode chars in page data before UTF-8 decode.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-10 23:25:34 +05:30
Arun Prakash Jana
98c1872584 Implement directly open in browser feature.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-10 16:50:30 +05:30
Arun Prakash Jana
d4921362af Made -i option independent of -a.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-10 14:41:05 +05:30
Arun Prakash Jana
5b38f11b1a Change -o option to -w.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-10 14:01:35 +05:30
Arun Prakash Jana
4533883dc3 First release version info, more color, image.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-10 12:25:54 +05:30
Arun Prakash Jana
c853d04ac9 Show index for new bookmark.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-10 11:54:30 +05:30
Arun Prakash Jana
fade21d6fa Print title data only if online lookup requested.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-10 11:10:58 +05:30
Arun Prakash Jana
0b5e8466c8 OS independent path for DB file.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-10 10:34:34 +05:30
Arun Prakash Jana
9b467bc576 Print bookmark record of a single index.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-10 00:02:10 +05:30
Arun Prakash Jana
0ab3a4c30d 1. Detect charset dynamically from page response.
2. Initialize 'fetchurl' if URL doesn't end with '/'.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 20:54:52 +05:30
Arun Prakash Jana
470d050ee5 Fetch suburl from server instead of full URL.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 20:07:09 +05:30
Arun Prakash Jana
938871ea62 Remove newline from title data.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 03:21:45 -08:00
Arun Prakash Jana
7c8613072d Strip titla data for whitespaces and newline.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 03:01:16 -08:00
Arun Prakash Jana
cfd217d317 More clarity in search description.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 02:29:16 -08:00
Arun Prakash Jana
c4474ccaf9 Plcase title data before tags in DB.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 02:18:44 -08:00
Arun Prakash Jana
8a70865e8e Show tags in search result.
Show tags as last row in all results.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 06:01:29 +05:30
Arun Prakash Jana
a3ed4cdc0d Add info on unique URL.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 05:21:25 +05:30
Arun Prakash Jana
89f6a262d8 Show index in case of duplicate URL.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 04:59:06 +05:30
Arun Prakash Jana
a537ebcbfd Manpage and help changes.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 03:18:44 +05:30
Arun Prakash Jana
bf7048b3f0 Comprehensive manpage.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 02:46:01 +05:30
Arun Prakash Jana
83b9edb529 Comments, indentation for clarity.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-09 00:26:52 +05:30
Arun Prakash Jana
78c0c639e6 Add debug options.
Vaiable name changes.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-08 23:49:12 +05:30
Arun Prakash Jana
6df582db2a Better search.
The input keywords, combined as a single tag, are used to match against tags for each bookmark entry. Partial matches (but in same sequence) are accepted.
The same input keywords are also used to search title metadata. Even if a single keyword is found in URL or title metadata the bookmark is shown in results.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-08 23:14:35 +05:30
Arun Prakash Jana
3a89429079 Change DB file location.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-08 00:49:59 +05:30
Arun Prakash Jana
c68ee3c764 Implemented ifirst level server redirection handling.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-08 00:36:46 +05:30
Arun Prakash Jana
268bdffb64 1. Allow insert at index to fill up missing entries after delete
2. Close DB connection before showing usage
3. Reformat help

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 23:40:21 +05:30
Arun Prakash Jana
52b85a63dd Opening browser with clean URL.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 23:18:53 +05:30
Arun Prakash Jana
84ac223562 1. Removed AUTOINCREMENT for primary key
2. Cleaned URL before opening in webbrowser

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 23:17:24 +05:30
Arun Prakash Jana
3c8112a90f More clarity in search output.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 20:38:15 +05:30
Arun Prakash Jana
db63d3f44b 1. Add option to delete single entry
2. Support both HTTP and HTTPS connections based on URL
3. Merged add and update options
4. Print exception info

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 18:59:38 +05:30
Arun Prakash Jana
dcf8abaf78 Show page title metadata in search results.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 12:59:40 +05:30
Arun Prakash Jana
c0a5f7f2b5 Add option to search title data online.
Handle HTTPS connection error, exception.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 12:49:13 +05:30
Arun Prakash Jana
69a4d9f994 Implement HTTPS connection.
Fetch URL and get the title to store as metadata.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 04:37:15 +05:30
Arun Prakash Jana
bc567174bc HTML title parser implementation.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 04:02:08 +05:30
Arun Prakash Jana
775ec7fdd3 Added some color to output.
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 02:15:30 +05:30
Arun Prakash Jana
59d3d2aec6 Suppress browser warnings and errors.
Discard negative index, though valid in python.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 01:56:08 +05:30
Arun Prakash Jana
c4dbee4aed Open results in web browser.
Add check for no options passed.

Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 01:29:57 +05:30
Arun Prakash Jana
6b520f802d Print irl, tags, metadata in separate lines
Signed-off-by: Arun Prakash Jana <engineerarun@gmail.com>
2015-11-07 00:56:20 +05:30