Commit Graph

1481 Commits

Author SHA1 Message Date
SaltyCatFish
e12d2f95f0 Support keyword filtering (records having keywords a and b but not c and d) (#256)
* 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'
2018-03-25 23:10:06 +05:30
rachmadani haryono
474c403521 Feature/server (#255)
* chg: dev: update api

- use application factory method defined here
  http://flask.pocoo.org/docs/0.12/patterns/appfactories/ . related method http://flask.pocoo.org/docs/0.12/cli/#custom-scripts
  - possibility to add additional cli command
  - add flask shell context.
- use flask global variable http://flask.pocoo.org/docs/0.12/api/#flask.g to
  store BukuDb instance

* fix: dev; fix runtimerror

error: RuntimeError: Working outside of application context.

* chg: dev: api requirements

- remove cryptography
- add requests
- set buku min version

* chg: dev: fix bookmarks var

* fix: test: lint
2018-03-23 09:00:13 +05:30
rachmadani haryono
5c728030aa test for search_keywords_and_filter_by_tags method (#254)
* new: test: search_keywords_and_filter_by_tags

* fix: test: set pytest version
2018-03-23 08:49:19 +05:30
Arun Prakash Jana
98d13207ec
Update dcumentation 2018-03-23 05:21:04 +05:30
Arun Prakash Jana
f804233ef9
Sanitize PR #252 2018-03-23 05:10:48 +05:30
SaltyCatFish
6db194405b Add search_and_filter (#252)
* Add search_and_filter

* Update search_any_keyword_and_filter_by_tags and tests.
2018-03-23 04:15:20 +05:30
Arun Prakash Jana
1c5695fdbd
Fix #253: Localize tag error check, fix tag exclusion 2018-03-22 20:57:01 +05:30
Arun Prakash Jana
21e32d1ed3
Update link to ToDo list 2018-03-22 04:04:49 +05:30
Arun Prakash Jana
a7868f04a8
Add Fedora as a packager 2018-03-18 14:53:20 +05:30
Arun Prakash Jana
33c126a068
Use search option specific keyword lists 2018-03-13 08:29:27 +05:30
Arun Prakash Jana
1cb544fe1d
New tagline.
"Command-line bookmark manager with browser integration."
2018-03-06 07:38:47 +05:30
Arun Prakash Jana
8fef91e2a8
Add openSUSE Leap badge 2018-02-28 17:23:24 +05:30
David Roman
59a21262eb Add Gentoo to packagers (#247) 2018-02-24 05:30:51 +05:30
rachmadani haryono
9cdb73d1f6 fix: dev: test_browse (#245) 2018-02-21 12:39:30 +05:30
Arun Prakash Jana
fb4649917c
Fix build break due to new attribute 2018-02-18 23:14:00 +05:30
Arun Prakash Jana
2fa6fb07c7
Handle 'O' and '?' in taglist subprompt
These 2 inputs do not change the taglist. So we can do without losing context.
In addition, defer the handling of error cases.
2018-02-18 23:04:26 +05:30
Arun Prakash Jana
e43c0ea58d
Override text browser with 'O' 2018-02-18 22:51:23 +05:30
Arun Prakash Jana
f3ec54692f
Change double quotes to single 2018-02-18 06:54:59 +05:30
Alex
c2d21b8c24 Feature/order search results by keyword matches (#244)
* 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
2018-02-18 06:52:59 +05:30
rachmadani haryono
19e8fff33d Feature/test copy url to clipboard support (#243)
* 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
2018-02-11 21:27:33 +05:30
Arun Prakash Jana
b8c87c44be
Update Dependencies 2018-02-11 05:21:36 +05:30
Arun Prakash Jana
fc000c01f4 Copy URL to clipboard support 2018-02-11 05:12:57 +05:30
rachmadani haryono
88105878e4 chg: test: add exception on python3.4 tests (#242) 2018-02-04 21:38:59 +05:30
Arun Prakash Jana
e4af7cbfb5
Add OpenBSD as packager 2018-02-03 18:17:38 +05:30
Arun Prakash Jana
3c78569508
Fix: auto-import fails on OpenBSD 2018-02-03 17:48:55 +05:30
Arun Prakash Jana
e2060994fd
Update badge 2018-01-09 19:12:39 +05:30
Arun Prakash Jana
454b1365f4
Update date 2018-01-09 15:07:26 +05:30
Arun Prakash Jana
96812167f9
Drop plans for Fedora27 for now 2018-01-09 15:04:08 +05:30
Arun Prakash Jana
f2179951d8
Generate package for openSUSE Leap 42.3 2018-01-01 22:35:18 +05:30
Arun Prakash Jana
72d96a9559
Generate package for Fedora 27 2018-01-01 20:08:47 +05:30
Arun Prakash Jana
076cd02c98
Prepare for release v3.6 2018-01-01 20:00:01 +05:30
Arun Prakash Jana
1d8b80ffa5
Generate package for openSUSE Leap 42.3 2018-01-01 19:03:17 +05:30
Arun Prakash Jana
d6c2ddb683
Fix build break 2017-12-26 22:14:28 +05:30
Arun Prakash Jana
7340065bfe Add openSUSE to packagers 2017-12-26 20:02:14 +05:30
rachmadani haryono
4facc4ba29 Feature/fix request on test (#238)
* chg: dev: fix request on test

* chg: test: ignore printed text

* chg: test: method to test print

* new: test: ignore instance attribute pylint error
2017-12-13 08:46:17 +05:30
Arun Prakash Jana
20fd90975e
Update README 2017-12-09 12:16:32 +05:30
Arun Prakash Jana
b962c1fa1b
switch to formulae.brew.sh for Homebrew link 2017-12-02 22:27:12 +05:30
Arun Prakash Jana
b663554dd0
Release version check test 2017-12-02 22:16:10 +05:30
Arun Prakash Jana
4e93f235f6
Fix urllib.request import 2017-12-02 22:02:20 +05:30
Arun Prakash Jana
b7a1b3b8b5
Retire Python 3.3 support, reached EOL
Ref: https://www.python.org/downloads/release/python-337/
2017-12-02 21:53:20 +05:30
Arun Prakash Jana
f9f5c82c47
Update py module version requirement 2017-12-02 21:36:34 +05:30
Arun Prakash Jana
42882a6a9a
Clear PoolManager resources 2017-12-02 20:20:41 +05:30
Arun Prakash Jana
179436fff1
Get rid of requests library dep 2017-12-01 15:00:11 +05:30
Arun Prakash Jana
1f0b666c42
Use urrllib3 to shorten, expand URLs.
Get rid of requests library from code.
Rename http_handler to manager.
2017-12-01 14:54:00 +05:30
Arun Prakash Jana
7860af2e6e
Use urllib3 to check latest version 2017-12-01 14:26:20 +05:30
Arun Prakash Jana
31f9c96f83
Remove kernel version from user agent 2017-11-26 16:24:58 +05:30
Arun Prakash Jana
2d126234fd
python3-bs4 is not available on CentOS 7.3
- python3-beautifulsoup4 can be installed via pip3
- use https in package link
2017-11-25 05:29:58 +05:30
Emanuel Haupt
bf3de409be Add instructions about FreeBSD (#237)
* Add instructions about FreeBSD

Add instructions about how to install via pkg on FreeBSD.

* Backquotes

Use backquotes around command as suggested.
2017-11-22 16:36:54 +05:30
Arun Prakash Jana
849432fa75
Correct spelling. 2017-11-21 21:35:30 +05:30
Arun Prakash Jana
0d60a58adb
Auto-import bookmarks on FreeBSD 2017-11-21 19:43:08 +05:30