Commit Graph

1221 Commits

Author SHA1 Message Date
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
22ef605f3b
Honor reduced verbosity 2017-08-04 09:44:07 +05:30
Arun Prakash Jana
f56d64d34f
Prepare for release v3.2 2017-08-03 09:49:20 +05:30
Arun Prakash Jana
90254d3af5
Add a newline after tag selection 2017-08-03 09:45:53 +05:30
Arun Prakash Jana
5b26d49044
Option --suggest - list similar bookmarks 2017-08-01 21:07:03 +05:30
Arun Prakash Jana
8a1177c176 Add function to suggest similar tags 2017-07-31 02:21:29 +05:30
rachmadani haryono
d440a294b9 Feature/fix help test (#178)
* chg: test: dont hardcode the expected result

* fix: test: fix called_once arg

* fix: test: use mock_calls
2017-07-25 12:26:02 +05:30
Arun Prakash Jana
bb9810c093
Add prompt help 2017-07-25 09:28:32 +05:30
rachmadani haryono
50e89f58b7 refactor import db (#176)
* chg: dev: refactor bookmark html

* chg: dev: refactor bookmark markdown parser

* chg: dev: update refactor

* new: test: import_md

* fix: dev: newtag parameter on import_md

* new: test: import_html

* new: test:  add bs4 as test package

* chg: dev: rename fp to filepath

* new: test: import html and add parent as tag

* new: test: additional test for import_html

* new: test: simple bookmark html

* chg: dev: add round bracket !cosmetic

* chg: dev: maximalize line length !cosmetic
2017-07-22 09:01:29 +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
55e0eb5767
Add parent folder as tag in same loop 2017-07-19 19:21:14 +05:30
Arun Prakash Jana
c81cb03f55
ToDo list is rolled 2017-07-19 16:33:29 +05:30
Arun Prakash Jana
730b80f738
Fix #172: Get text of <DD> tag only, skip children 2017-07-18 23:11:46 +05:30
Arun Prakash Jana
45ab8034cd
Ignore spurious tags.
Please refer to #172. The spurious '<a></a>' tag leads to a crash; with or
without any text within.
2017-07-18 23:00:37 +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
d2037765d0
Fix #171: undocumented option '--db' 2017-07-16 15:08:01 +05:30
rachmadani haryono
d91ce68aba new: test: python3.6 on travis (#170)
* new: test: python3.6 on travis

* chg: dev: change deploy python version

* chg: dev: change skip message
2017-07-12 22:23:38 +05:30
Arun Prakash Jana
e4cfb4b0f8
Prepare for release v3.1 2017-07-10 22:16:30 +05:30
Silvan Mosberger
c9179f638d reqs: Lower bound hypothesis (#167)
* reqs: Lower bound hypothesis

Hypothesis should be lower bound instead of being fixed at 3.7.0

* chg: test: set min requirement for pytest

* chg: test: upgrade pip on travis

* chg: test: upgrade setuptools on travis

* chg: test: add py as test req on travis
2017-06-30 17:29:19 +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
851711a78e
Add search args to history 2017-06-16 19:59:47 +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
7b31c2c423 Add issue template 2017-05-22 12:39:14 +05:30
Ralic Lo
7ee95f7f1e Convert to Python3 (#160)
* Convert to python3

* Remove .bak

* Remove (( and )) in print
2017-05-19 07:10:43 +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
Arun Prakash Jana
c23924fd07
Drop stdin.readlines(), treat as a file 2017-05-06 03:24:28 +05:30
Bryan Gilbert
818d015b3b add aditional format option to print url, title, and tag (#157) 2017-05-04 01:03:45 +05:30
rachmadani haryono
cc0af3371c chg: test: travis script (#156) 2017-05-02 12:15:33 +08:00
rachmadani haryono
faf4b8b65a new: test: browse_by_index (#155) 2017-05-02 08:04:39 +05:30
Arun Prakash Jana
fe2d4653c1
Support browsing at prompt 2017-05-01 22:05:25 +05:30
Arun Prakash Jana
2c8022902b Handle index within browse_by_index() 2017-05-01 20:55:21 +05:30
rachmadani haryono
b758bdf902 chg: update test (#154)
* chg: update test for print_rec

* fix: index condition

* fix: limit max index
2017-04-30 05:26:14 +05:30
Arun Prakash Jana
126e2cb45d
Fix typo 2017-04-28 08:22:08 +05:30
Arun Prakash Jana
316f1d9964
Add NixOS to package manager list 2017-04-27 02:54:02 +05:30
Cthulhux
44760fe035 Changed the Buku path on Windows to what other people think is right (#153) 2017-04-27 01:25:51 +05:30
Arun Prakash Jana
abac8d016b
Handle -ve indices in print_rec 2017-04-26 19:56:49 +05:30
Arun Prakash Jana
a1e6df2edb
Index should be >= 0 to browse 2017-04-26 18:42:15 +05:30
Arun Prakash Jana
b55bb2e37a Update README.md 2017-04-26 12:52:47 +05:30
Arun Prakash Jana
dd06f2acf6
Prepare for v3.0 2017-04-26 10:27:00 +05:30
Arun Prakash Jana
86b85dfb32
Update mentions 2017-04-25 18:50:55 +05:30
Arun Prakash Jana
3d0b2f12d2
Add notes on APIs 2017-04-19 09:39:31 +05:30
rachmadani haryono
63a5883d58
fix: test: change test (#149)
* fix: test: change priority on if-else branch

* fix: test: remove broken merged test code

* new: test: add win32 platform test for browser func

* chg: test: add noqa on print_single_rec

* new: test: test edit_update_rec with invalid input
2017-04-19 09:33:14 +05:30
Arun Prakash Jana
b69007e9a6
Show title in headline, url below
If no title, use the string "Untitled".
2017-04-19 09:33:07 +05:30
Arun Prakash Jana
07d472a0f0
not str == not len(str) 2017-04-08 23:15:15 +05:30
Arun Prakash Jana
da7ff951d0
Change in colors 2017-04-08 22:26:00 +05:30
Arun Prakash Jana
d4f59e939b
Improve looping 2017-04-08 19:14:02 +05:30
Arun Prakash Jana
d8f081cd4d
Use DELIM 2017-04-07 20:43:24 +05:30