Commit Graph

419 Commits

Author SHA1 Message Date
Arun Prakash Jana
fd49d30a3e
Update 'In the Press' 2017-10-10 18:24:25 +05:30
Arun Prakash Jana
f72f8af3d8
Edit last record in EDITOR (option -w) if id=-1.
This is a convenience feature. If the user is using a keyboard shortcut to add
a selected link as bookmark from the DE, he may want to edit it shortly. The -1
index enables him to open the last bookmark added without using option `-p -1`.
2017-10-09 01:21:13 +05:30
Arun Prakash Jana
df5bdc1921
Fix alignment in examples 2017-10-02 07:41:16 +05:30
Arun Prakash Jana
2b65af641b
Update readme 2017-09-29 12:43:54 +05:30
Arun Prakash Jana
89ee9407eb
Link https 2017-09-23 23:19:26 +05:30
Alex
cb95122be5 Search honors field filters: implements print_rec_with_filter (#216)
* Initial test of print_rec_with_filter

* Replace dummy code to actually pass test

* Call print_rec_with_filter if search options are used with --format

* Call print_rec_with_filter in print_rec; add field_filters, update test

* Add new format_filters to argparse arguments to --format

* Update help for --format

* Update man page and remove trailing whitespace

* Fix test cases

* Update README

* Call print_single_rec from print_rec_with_filter if filt is 0

* Add create=True to buku.print mock

* Update Help text

* Update README

* Update man page
2017-09-23 22:31:37 +05:30
Arun Prakash Jana
249fa7ba4c
Add badge to PPA for Ubuntu variants 2017-09-23 22:21:24 +05:30
Arun Prakash Jana
aead3806d0
Fix #210: gedit maintains only one instance 2017-09-19 05:55:22 +05:30
Arun Prakash Jana
092a1f1ba6
Prepare for release v3.4. 2017-09-18 11:33:49 +05:30
Arun Prakash Jana
96412aa80e
More examples. 2017-09-17 18:30:19 +05:30
Arun Prakash Jana
4e56a3744b
Shorten help. 2017-09-17 18:30:10 +05:30
Arun Prakash Jana
ff57ae5c2f
Support export to Buku database. 2017-09-17 11:53:18 +05:30
Arun Prakash Jana
2a5cd4c8df
Merge --merge to --import. 2017-09-17 08:40:12 +05:30
Arun Prakash Jana
83f208b336 Update README.md 2017-09-11 18:32:49 +05:30
Arun Prakash Jana
07f5ab4aa9
Prepare for release v3.3.1. 2017-09-11 08:31:13 +05:30
Arun Prakash Jana
803040e6a8
Link to stable docs 2017-09-11 03:27:45 +05:30
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