* 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
Usage:
genbm.sh n
where, n = number of bookmarks to generate.
The scriptlet works offline, no internet connection is required.
Note: this scriptlet can be used in Travis CI environment.
* 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
* new: test: add chrome json test
* chg: test: remove unused json
* chg: dev: use gh uploaded file
* chg: test: parametrize the test
* new: test: chrome no parent tag pickle result file
* new: test: load firefox db test
* chg: test: merge same method on fixture
* fix: dev: false variable name
* chg: test: move zip extractor to its own method
* chg: test: use external zip file for exp result
* fix: test: flake8 fix
* fix: test: use strpath from folder
* fix: test: firefox nopt expected result
* chg: test: remove test data file from repo
* 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
* new: test: test empty url.
* new: test: test is_bad_url
* new: test: network_handler
* new: test: test exec arg on add_rec
* fix: test: restore global variable.
* chg: test: change test
- add more falsey url for test_add_rec_add_invalid_url
- add more arg for test_add_rec_exec_arg
* chg: test: use old test when testing is_bad_url
* new: test: test for delete_rec (#132)
* chg: dev: add db instance for delay_commit check
* chg: dev: remove unused delete_rec test
* chg: test: not check delay commit on empty db test.
* chg: test: use simpler precise test for delete_rec
* fix: test: change pytest parametrize arg
* fix: test: fix instance of BukuDb
* fix: test: fix test.
* fix: test: logic on expected db len
* new: test: test for delete_rec
* new: test: test for delete_rec on empty database
* Needs timely commitment.
Removing the base implementation for rest APIs. At this point I believe it will
Be better handled by someone who needs it. The current contributions in this
area are very very infrequent. Defects and PRs remain pen over fortnights. It's
difficult to expect the same team to maintain the piece of code even if we ever
receive the full implementation from them.
* Roll ToDo list
* Feature/delete rec additional test data set (#133)
* new: test: additional data test set.
* new: test: test on non integer.
* chg: test: rename function for consistency.
* chg: test: change normalize function.
* chg: test: change max value for high var
* fix: test: use normalized index
* fix: test: remove 'max' as valid value
* chg: test: use hypothesis to test delete_rec index
* new: test: add hypothesis package
* chg: test: use hypothesis to test delete_rec index
* chg: test: add hypothesis to travis
* chg: test: limit integer test.
* chg: dev: remove unused test
* fix: test: fix test on non integer.
* new: test: add big integer test on range in delete_rec method.
* fix: test: fix high low diff
* fix: test: skip only for python<3.5
* chg: test: change test_delete_rec_range_and_big_int
- remove skip
- use constant value instead sys.maxsize
- fix assert
* chg: test: use setup.py to manage test package instead travis
* chg: test: add tests extras on setup.py
* chg: test: change install test package.
* fix: test: fix whitespace
* fix: test: MAX_SQLITE_INT value
* chg: test: skip test for python<3.5
* fix: test: fix import
* chg: test: skip Impossible test
* chg: test: simplify test_delete_rec_on_non_interger
* Feature/tox test (#138)
* chg: test: mark slow test
* new: test: config for tox
* chg: test: mark function as non tox
* new: test: test print_rec with hypothesis
* chg: test: simplify test for print_single_rec
* fix: test: fix index test on test_print_rec_hypothesis
* fix: test: fix tox setting.
* fix: test: change test_print_single_rec to python3.5 only
* new: test: additional data test set.
* new: test: test on non integer.
* chg: test: rename function for consistency.
* chg: test: change normalize function.
* chg: test: change max value for high var
* fix: test: use normalized index
* fix: test: remove 'max' as valid value
* chg: test: use hypothesis to test delete_rec index
* new: test: add hypothesis package
* chg: test: use hypothesis to test delete_rec index
* chg: test: add hypothesis to travis
* chg: test: limit integer test.
* chg: dev: remove unused test
* fix: test: fix test on non integer.
* new: test: add big integer test on range in delete_rec method.
* fix: test: fix high low diff
* fix: test: skip only for python<3.5
* chg: test: change test_delete_rec_range_and_big_int
- remove skip
- use constant value instead sys.maxsize
- fix assert
* chg: test: use setup.py to manage test package instead travis
* chg: test: add tests extras on setup.py
* chg: test: change install test package.
* fix: test: fix whitespace
* fix: test: MAX_SQLITE_INT value
* chg: test: skip test for python<3.5
* fix: test: fix import
* chg: test: skip Impossible test
* chg: test: simplify test_delete_rec_on_non_interger
* chg: dev: add db instance for delay_commit check
* chg: dev: remove unused delete_rec test
* chg: test: not check delay commit on empty db test.
* chg: test: use simpler precise test for delete_rec
* fix: test: change pytest parametrize arg
* fix: test: fix instance of BukuDb
* fix: test: fix test.
* fix: test: logic on expected db len
* new: test: test for delete_rec
* new: test: test for delete_rec on empty database