* Support keyword filtering (records having keywords a and b but not c and d)
* Remove debug statements.
* Left a pass statement by mistake.
* Update cli help to show word list '[...]' after search options.
* Add space after method doc.
* Change cli option '-W --without' to '-x --exclude'
* Add case statements to search_by_tag
* Add subselect so we don't return score column
* update tests to change expected order of results
* Add case statements to searchdb
* Add docstring to wrap_in_case_statement
* Add to comment in search_by_multiple_tags_search_any test
* Switch clause to fragment
* Change case_select variable to case_statement
* Remove wrap_in_case_statement function and use lambda instead
* chg: dev: move new feature to its own function
* chg: test: test copy_to_clipboard func
* chg: test: remove pytest-catchlog
* chg: test: minimum pytest version
* chg: test: add exception on python 3.5&3.6 tests
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
Changes:
- Traverse through JSON data and find individual records
- Support addition of unique tag in YYYYMonDD format
- Add parent folder name as tag
- Add the bookmarks to database
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.
* Halfway through updating buku.py in numpydoc style
* Two thirds-through numpydoc style; before fixtags
* Begin work on Helper Functions
* Numpy docstrings up to Editor Mode Functions
* Finish rest of buku.py docstrings; add 'optional' to optional keyword args
* 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
* fix: dev: os function name
* new: test: pylint config
* new: test: pylint test
* chg: dev: linting guide
* new: dev: add alternative commented test run command
* chg: dev: max line length on PR template
* WIP import bookmarks from browser database files
* WIP Import chrome bookmarks from browser
* Implement import from FF function
* Add default GC and FF folders for Linux, OS X and Windows
* Remove unused function
* Close file after usage
* Fix uncareful merge
* Fix merge conflicts, fix styling
* Add blank lines between functions
* Add new lines in docstrings
* Rename argument for auto import
* WIP import bookmarks from browser database files
* WIP Import chrome bookmarks from browser
* Implement import from FF function
* Add default GC and FF folders for Linux, OS X and Windows
* Remove unused function
* Close file after usage
* Fix uncareful merge
* Fix merge conflicts, fix styling
* Add blank lines between functions
* Add new lines in docstrings