Commit Graph

503 Commits

Author SHA1 Message Date
Arun Prakash Jana
956b31395d
New asciicast! 2017-09-11 00:01:47 +05:30
Arun Prakash Jana
59ce276361
FF --ai: rework, folder as tag, check generic URL 2017-09-10 14:42:52 +05:30
Arun Prakash Jana
5fa8fb48d0
Add docs badge 2017-09-10 03:46:30 +05:30
Arun Prakash Jana
b81736b885
Update readme 2017-09-07 22:29:49 +05:30
Arun Prakash Jana
4e059458d6
Change donation button 2017-09-05 02:39:31 +05:30
Arun Prakash Jana
d53a092c6b
Add distinct sections in README 2017-08-25 03:26:54 +05:30
Arun Prakash Jana
3b0bd1c054
Remove hard-coded colors 2017-08-25 03:26:49 +05:30
Arun Prakash Jana
c9d15b4c98
Fix colors implementation 2017-08-25 03:26:42 +05:30
Arun Prakash Jana
3453369841
Sanitize colors (ongoing...) 2017-08-23 10:15:25 +05:30
Arun Prakash Jana
4cc733708a
Fix build 2017-08-23 03:48:27 +05:30
shv-q3
9dcbd67ac5 implement feature "Support custom colours" (#197)
* implement "Support custom colours" from (#174)

# imported collections module for named tuple
# add "colormap" from googler project
# add named tuple for id and title, url, desc, tag
# adjusted print_single_rec so colors can be changed for each item
# add valid color string checker from googler
# adjusted man options
# add autocompletions

* Hotfix - implement "Support custom colours" from (#174)
# sorted import in alphabetical order
# adjusted var name's
# add colors table to man file
# add color os ENV option
# add --color documentation in README under "Usage"

* fix typo error in man page color section

* Update buku-completion.bash

--color reordered in alphabetical order

* Update buku.fish

--color reordered in alphabetical order

* Update _buku

--color reordered in alphabetical order

* Hotfix2 - implement "Support custom colours" - restructure feature
# separated id from ID_str and ID_DB_STR so it can have separate color
# add 5 string color for (id, title, url, desc, tag)
# adjusted print_single_rec for 5 colors result
# fixed syntax .BI \--colors " COLORS" in man page
# replaced four with five letter string for color
# fixed default colors to "GKlxe" and "\x1b[2m" for DB index
# add example to README and man page
# removed check for colorstr_env set by user for the moment

* Fixed reviews

* Review fixes
2017-08-23 03:39:43 +05:30
Arun Prakash Jana
f96981fb0b
Reorder README 2017-08-18 17:58:26 +05:30
Arun Prakash Jana
1db7ce00f0
Add note on web service sync 2017-08-18 05:02:16 +05:30
Arun Prakash Jana
bb5523cb97
Re-factor parts of README into Wiki articles 2017-08-15 20:07:27 +05:30
Alex
2b7f142245 Feature/search multiple tags (#187)
* Implement feature "Search multiple tags, exclusion in tag search"

Add failing test for searching any multiple set of tags

Search any tags works; passing tests

Add failing test for searching all multiple tags

Search all tags works

Do not allow combination of search logics

Adds support for tag exclusion search

Update Search Options Group

Update README

Clean up

Fix man/readme language

Fix search_by_tag docstring

Split tags by ' - ' not '-': allows for hyphenation

Remove unnecessary else

Change search_logic lang to search_operator

Update exclusion language in readme and man

Print warning if ',' and '+' are both used in a search

* Add documentation and examples to manpage, improve documentation in README and buku.py

* Enforce space separation of '+' and document

* Fix under-indent in tests that causes build failure

* Add test to check that search_by_tag constructs correct sqlite query; also remove unittest.skips from search_by_tag tests

* Move tag search preparation work into prep_tag_search helper function; add test to test_buku.py

* Use pytest.mark.parametrize for test_prep_tag_search
2017-08-15 02:37:01 +05:30
Arun Prakash Jana
281613bc40
Re-order installation section 2017-08-14 09:42:43 +05:30
Arun Prakash Jana
ee67d5989a
Update section name 2017-08-13 19:28:27 +05:30
Arun Prakash Jana
4cbc982d88
Update documentation, help 2017-08-13 17:23:05 +05:30
Arun Prakash Jana
fabe8ca4ab
Update note on attached packages 2017-08-13 11:40:13 +05:30
Arun Prakash Jana
274df03394
Update list of collaborators 2017-08-13 03:46:34 +05:30
Arun Prakash Jana
ec3e50c445
Document auto-import option 2017-08-13 03:45:56 +05:30
rachmadani haryono
007d19d2b6 add test documentation (#181)
* new: doc: running test

* chg: doc: add to toc
2017-08-10 08:21:30 +05:30
Arun Prakash Jana
5b26d49044
Option --suggest - list similar bookmarks 2017-08-01 21:07:03 +05:30
Arun Prakash Jana
bb9810c093
Add prompt help 2017-07-25 09:28:32 +05:30
Arun Prakash Jana
a9f4cd502a
Honor --tacit: import folder names as tags if True 2017-07-20 10:14:37 +05:30
Arun Prakash Jana
c81cb03f55
ToDo list is rolled 2017-07-19 16:33:29 +05:30
rachmadani haryono
115c9651f8 Feature/test non generic url (#173)
* new: test: non generic url check method

* fix: test: test parameter

* chg: test: edit apt url

* fix: test: apt parameter

* chg: dev: allow `apt:` prefix

* new: test: `place:` url

* chg: doc: `apt:` prefix
2017-07-18 20:05:08 +05:30
Arun Prakash Jana
16cad432d7
Ignore some non-generic URLs.
URLs starting with `place:`, `file://` and `apt://` are ignored during import.
2017-07-18 10:50:27 +05:30
Arun Prakash Jana
3c29568e33
Update 'As a library' section 2017-06-20 10:46:38 +05:30
rachmadani haryono
e10ba67b86 new: doc: add example to use buku as library (#166)
* new: doc: add example buku as library

* fix: move to actual library section
2017-06-20 10:35:08 +05:30
Arun Prakash Jana
6abfea2e33
Support XDG_DATA_HOME, HOME to store DB file on all platforms 2017-05-29 01:09:33 +05:30
Arun Prakash Jana
6f3ca731d6
Add Say Thanks!, change PayPal badge 2017-05-15 17:33:32 +05:30
Arun Prakash Jana
f293bb290e
Add note on third-party integration 2017-05-06 04:03:03 +05:30
Bryan Gilbert
818d015b3b add aditional format option to print url, title, and tag (#157) 2017-05-04 01:03:45 +05:30
Arun Prakash Jana
316f1d9964
Add NixOS to package manager list 2017-04-27 02:54:02 +05:30
Cthulhux
44760fe035 Changed the Buku path on Windows to what other people think is right (#153) 2017-04-27 01:25:51 +05:30
Arun Prakash Jana
abac8d016b
Handle -ve indices in print_rec 2017-04-26 19:56:49 +05:30
Arun Prakash Jana
b55bb2e37a Update README.md 2017-04-26 12:52:47 +05:30
Arun Prakash Jana
86b85dfb32
Update mentions 2017-04-25 18:50:55 +05:30
Arun Prakash Jana
b69007e9a6
Show title in headline, url below
If no title, use the string "Untitled".
2017-04-19 09:33:07 +05:30
Arun Prakash Jana
da7ff951d0
Change in colors 2017-04-08 22:26:00 +05:30
Arun Prakash Jana
26def85793
Add notes on tag editing at prompt 2017-04-07 09:34:44 +05:30
Arun Prakash Jana
706f234989
Support append/overwrite/delete tags from prompt 2017-04-07 01:27:36 +05:30
Arun Prakash Jana
f1a5cd4b88
Import folder names in lowercase. Document. 2017-04-06 08:28:12 +05:30
Cthulhux
3297499fe4 Better Windows support: Finding the user profile directory even on Win32 (#144)
* Better Windows support: Finding the user profile directory even on Win32

* Better Windows support: Finding the user profile directory even on Win32
2017-04-03 01:58:26 +05:30
Arun Prakash Jana
84694f95ce
Add a note and message on waiting on input from stdin 2017-03-31 22:45:24 +05:30
Arun Prakash Jana
b978672e50 Update README.md
Reduce anchor fonts in Markdown
2017-03-29 15:30:37 +05:30
Arun Prakash Jana
50c6593bb8 Roll ToDo list 2017-03-28 19:43:22 +05:30
Arun Prakash Jana
ec8259d5a5
Support tail-like behaviour with --print 2017-03-19 00:45:26 +05:30
Arun Prakash Jana
fc5ee94b86 Update, reorder, align help and examples. 2017-03-17 20:48:11 +05:30
Arun Prakash Jana
7fae7b47b7 Add short option to regex and tag search 2017-03-17 08:10:55 +05:30
Arun Prakash Jana
eeb7e99c16
Disable -r for --replace 2017-03-17 00:07:51 +05:30
Arun Prakash Jana
46e2e4a704
Disable -t for --title 2017-03-16 23:45:37 +05:30
Arun Prakash Jana
0d87104679 Update features
Update badges
Add tabular dependencies
Re-structure README
2017-03-15 05:35:19 +05:30
Arun Prakash Jana
2650bd74e9
Add API get_max_id(), -p -1 shows max index 2017-03-06 02:26:40 +05:30
Arun Prakash Jana
1a96cca5f2
Update related projects section 2017-02-28 19:33:38 +05:30
Arun Prakash Jana
0d9fad407f
Update features section 2017-02-20 20:28:36 +05:30
Arun Prakash Jana
325aab9c78
Prepare for release v2.9. 2017-02-20 19:35:55 +05:30
Arun Prakash Jana
883cbf8ec2 Add check for --add with --url, update help 2017-02-11 19:40:42 +05:30
Arun Prakash Jana
2e0ce3e143 Auto-detect markdown with export and import
The file extension '.md' is used to detect a markdown
file. With this, option --markdown is removed.
2017-02-10 22:14:00 +05:30
Arun Prakash Jana
8cc17a1833
Shorten --upstream to -V. 2017-02-10 20:34:24 +05:30
Arun Prakash Jana
df78a06f6f
Shorten --markdown to --md. 2017-02-10 19:36:39 +05:30
Arun Prakash Jana
9e0dfcbdce
Shorten --noprompt to --np. 2017-02-10 19:29:02 +05:30
Arun Prakash Jana
b7207109bc
Shorten --nocolor to --nc. 2017-02-10 19:25:05 +05:30
Arun Prakash Jana
bd4b85ad32 Support index with -w. 2017-02-09 21:55:07 +05:30
Arun Prakash Jana
9980e4926a Update help. 2017-02-05 22:50:34 +05:30
Arun Prakash Jana
74e63357a2 Fix #115: Support editor args with Buku. 2017-02-05 16:47:16 +05:30
Arun Prakash Jana
bb4854126c
Open all search results in browser immediately. 2017-02-05 09:10:38 +05:30
Arun Prakash Jana
961fde3457 Toppings on editor support. 2017-02-05 00:31:51 +05:30
Eric Ng
0e0f4f1b03 An editor mode for adding and updating new links 2017-02-04 13:54:00 +05:30
Arun Prakash Jana
bb8e683f93
Support positional arguments as search keywords
1. All search options are now boolean
2. -s is the default search option
2017-01-29 19:19:47 +05:30
Arun Prakash Jana
ab49a7242a Update README.
"We are humans, and shit happens." Makes sense.
Update Mentions.
2017-01-25 08:54:54 +05:30
Arun Prakash Jana
6fb23c9ae8
Remove redundant punctuation marks. 2017-01-11 12:17:47 +05:30
Arun Prakash Jana
5a88d1ea0e
Prepare for release v2.8. 2017-01-11 09:25:45 +05:30
Arun Prakash Jana
bafdfc20e8
Move -v to general section. 2017-01-10 06:26:24 +05:30
Arun Prakash Jana
b33ef3a81c
Update examples. 2017-01-10 04:52:21 +05:30
Arun Prakash Jana
64eafeadc4
Support sesarch and update. 2017-01-09 09:52:22 +05:30
Arun Prakash Jana
fe051f7ac8 Update latest help. 2017-01-04 23:07:15 +05:30
Arun Prakash Jana
e9501e77d4 Note on --fixtags. 2017-01-04 06:50:43 +05:30
Arun Prakash Jana
bdf71addaf
Add option --nocolor, reformat completion scripts. 2017-01-04 06:13:47 +05:30
Arun Prakash Jana
302ddc98d2 Update Copyright year to 2017. 2017-01-02 00:00:03 +05:30
Arun Prakash Jana
4ab1fade7e
Support opening multiple bookmarks. 2016-12-31 00:29:57 +05:30
Arun Prakash Jana
e95c7b7585 Update features list. 2016-12-30 16:13:25 +05:30
Arun Prakash Jana
d2d68accaa Update README. 2016-12-29 00:50:12 +05:30
Arun Prakash Jana
0ef67dbc67
Update documentation. 2016-12-26 09:20:03 +05:30
Arun Prakash Jana
1a9ad1c1ca
Add option to show version. 2016-12-18 19:55:35 +05:30
Arun Prakash Jana
b1229854ea Update badges, availability. 2016-12-18 17:43:39 +05:30
Arun Prakash Jana
6502fd7a64
Support tny.im shortened URL expansion. 2016-12-10 14:05:17 +05:30
Arun Prakash Jana
4eb1d4fdf4 Update README. 2016-12-07 01:22:33 +05:30
Arun Prakash Jana
6b6315a815 Fix #102.: remove trailing '/'s from search tokens.
The behaviour is adapted from google's behaviour.
Please see the notes in the bug log for more details.
2016-12-06 08:42:48 +05:30
Arun Prakash Jana
cf5759d5d7
Update help. 2016-12-03 22:54:14 +05:30
Arun Prakash Jana
2becef9b5e
Make number of network threads customizable. 2016-12-03 18:50:53 +05:30
Arun Prakash Jana
82551c5706 Update documentation. 2016-11-28 02:18:41 +05:30
Arun Prakash Jana
c9f8b124b1 Optimize tag delete and replace APIs. 2016-11-28 00:32:06 +05:30
Arun Prakash Jana
8bbc199709 Update documentation. 2016-11-27 22:11:09 +05:30
Arun Prakash Jana
39f307358b Update features and dependencies. 2016-11-27 09:09:57 +05:30
Arun Prakash Jana
314ee1c840 Documentation update. 2016-11-26 20:26:23 +05:30
Arun Prakash Jana
6beed4e183
Update program help. 2016-11-25 23:40:25 +05:30
Arun Prakash Jana
038be099a2 Add notes on database sync. 2016-11-25 22:00:31 +05:30
Arun Prakash Jana
b4fe5c5fd7
Search results honour --format if --json is also specified. 2016-11-20 23:07:04 +05:30
Arun Prakash Jana
1609b5a135 API to fix tags from earlier versions. Update image. 2016-11-20 20:57:17 +05:30
Arun Prakash Jana
ff8bc645a6 Handle invalid regex search expression.
Example query:
$ buku --sreg c[m-l]x

Updated image.
2016-11-20 20:00:59 +05:30
Arun Prakash Jana
c6a0ec7b0d
Show usage count of tags in listing. 2016-11-20 19:01:02 +05:30
Arun Prakash Jana
63bce1004d Store tags in lower case. 2016-11-20 12:46:23 +05:30
Arun Prakash Jana
36ac3aaca6 Update asciinema demo. 2016-11-20 00:40:58 +05:30
Arun Prakash Jana
94bd49aa37
Username and password support in proxy auth. 2016-11-18 22:06:09 +05:30
Arun Prakash Jana
1aee1232f7
Support only https_proxy. 2016-11-18 20:04:37 +05:30
Arun Prakash Jana
31af6ee38e Remove deep search option as a class member. Update help. 2016-11-15 00:12:23 +05:30
Arun Prakash Jana
97c3500138 Add prompt help. Reformat program help. 2016-11-14 23:54:05 +05:30
Arun Prakash Jana
0e936c13a4
Continuous search at prompt. New key q to quit. 2016-11-13 23:22:00 +05:30
Arun Prakash Jana
299d95aa45 Documentation update. 2016-11-12 23:37:10 +05:30
Arun Prakash Jana
03b351b11e Add URL shortening support. 2016-11-12 21:20:23 +05:30
Arun Prakash Jana
5e0bc15e28
Support custom db file. Optimizations. 2016-11-12 08:08:28 +05:30
Arun Prakash Jana
ac645e8140
Handle bad URLs, fetch only HEAD for known mimes
Add API to check URL validity
Add API to detect URLs to some non-page mimes which sans title
network_handler() returns more meaningful tuple
Handle interrupt during multiple indices and/or range update
With urllib3 URLs without preceding http(s) can be handled
2016-11-08 23:02:45 +05:30
Arun Prakash Jana
ed01edf9fb
Remove option --st, redundant 'dest' in addarg. 2016-11-07 23:05:02 +05:30
Arun Prakash Jana
92093cfc63 1. Check for None resp before logging.
2. Update help
3. Show successful update in green in refreshdb()
2016-11-07 01:20:06 +05:30
Alessio Sergi
4cf02b9fa9 Add setup.py for installation as a system tool. 2016-11-06 19:44:44 +01:00
Arun Prakash Jana
10b2439093 Move some logs to debug level. 2016-11-06 23:54:39 +05:30
Arun Prakash Jana
53ea595bbe Make verbosity a class property. 2016-11-06 21:45:43 +05:30
Arun Prakash Jana
e1a0cf538e
List bookmarks with immutable titles. 2016-11-06 20:11:45 +05:30
Arun Prakash Jana
9979b9779a
Immutable title indicator while listing. 2016-11-06 19:22:12 +05:30
Arun Prakash Jana
870bdd6957
Support immutable titles. 2016-11-06 04:02:03 +05:30
Arun Prakash Jana
e198fd3dc9
Add Ubuntu to packager list. 2016-11-05 02:03:54 +05:30
Arun Prakash Jana
d573acbaba Documentation update, fix function returns. 2016-10-29 14:25:46 +05:30
Arun Prakash Jana
1d1f7a94af
Add option to check latest upstream version. 2016-10-23 23:41:31 +05:30
Arun Prakash Jana
419776072e Reorder ToC. 2016-10-23 21:14:16 +05:30
Arun Prakash Jana
aad64474bc Get rid of regex for markdown import. 2016-10-23 09:59:18 +05:30
Arun Prakash Jana
522b35b7ac
Update ToDo list link. 2016-10-23 00:05:16 +05:30
Arun Prakash Jana
d00d9ac3b5
Update docs. 2016-10-22 12:12:11 +05:30
Arun Prakash Jana
5d30259dfd
Update markdown support. 2016-10-22 11:55:41 +05:30
Arun Prakash Jana
5d68c2cac9 Merge pull request #77 from jpralves/master
Add support for markdown file import/export
2016-10-22 10:49:57 +05:30
Arun Prakash Jana
3ed68f0197 Add regex search support. 2016-10-21 18:11:36 +05:30
João Alves
09daf86c04 Update README.md
Added support for markdown import/export
2016-10-20 14:10:55 +01:00
Arun Prakash Jana
a0aadec0a8
Prepare for release v2.5. 2016-10-20 08:41:18 +05:30
Arun Prakash Jana
2e2e24eac7 Add features to man page. Add PPA link. 2016-10-18 23:30:36 +05:30
Arun Prakash Jana
588ce9074b
Update link to Debian Sid. 2016-10-14 19:07:57 +05:30
Arun Prakash Jana
e555a6652f Update description. 2016-10-12 00:30:07 +05:30
Arun Prakash Jana
731eae5786 Support lists and ranges in print function. 2016-10-11 22:35:09 +05:30
Arun Prakash Jana
3abad5ad9d
Update docs. 2016-10-11 13:09:58 +05:30
Arun Prakash Jana
65f9c783f7
Document --format=3. 2016-10-11 11:38:03 +05:30
Arun Prakash Jana
8ccab3c62d
Update program description. 2016-10-11 10:41:07 +05:30
Arun Prakash Jana
e54dcf8e0f Update README.md 2016-10-03 18:28:50 +05:30
Arun Prakash Jana
908a7ad9aa Add section on Buku GUI integration. 2016-10-01 23:36:19 +05:30
Arun Prakash Jana
18f4e70071
Open a random index with option -o. 2016-10-01 20:59:53 +05:30
Arun Prakash Jana
4eeca53f27 Update README.md 2016-09-29 01:51:35 +05:30
Arun Prakash Jana
82ff4318b7 Export specific tags support. 2016-09-25 09:50:43 +05:30
Arun Prakash Jana
96a527a02b Update README.md 2016-09-25 09:50:18 +05:30
Arun Prakash Jana
b90679aab7 Prepare for v2.4 release. 2016-09-12 00:10:57 +05:30
Arun Prakash Jana
d93dd52bc2 Adjust ToC, buttons. 2016-09-11 22:47:02 +05:30
Arun Prakash Jana
3e1247eb0d Pull options to export, import and merge DB up. 2016-09-10 11:29:24 +05:30