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`.
* 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
The format is: YYYYMonDD
where,
YYYY - numeric year
Mon - month string
DD - numeric day of month
While importing bookmarks, this tag will be added and reported to user if
`--tacit` option is not specified.
* 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
* 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