Commit Graph

1058 Commits

Author SHA1 Message Date
Arun Prakash Jana
1cfdfb7648
Fix typo 2017-09-02 17:27:56 +05:30
Arun Prakash Jana
9177030d24
Remove outdated packaging, test files
Move pylint config to tests/ directory.
Ignore generated .hypothesis directory.
2017-09-02 10:54:35 +05:30
Arun Prakash Jana
83c7c59cd5
Simplify record printing 2017-08-28 22:46:00 +05:30
Arun Prakash Jana
aaf82ab67c
Fix build error 2017-08-25 04:03:57 +05:30
Arun Prakash Jana
d53a092c6b
Add distinct sections in README 2017-08-25 03:26:54 +05:30
Arun Prakash Jana
e932525641
Fix broken --nc. 2017-08-25 03:26:51 +05:30
Arun Prakash Jana
3b0bd1c054
Remove hard-coded colors 2017-08-25 03:26:49 +05:30
Arun Prakash Jana
c9d15b4c98
Fix colors implementation 2017-08-25 03:26:42 +05:30
Arun Prakash Jana
3453369841
Sanitize colors (ongoing...) 2017-08-23 10:15:25 +05:30
Arun Prakash Jana
4cc733708a
Fix build 2017-08-23 03:48:27 +05:30
shv-q3
9dcbd67ac5 implement feature "Support custom colours" (#197)
* 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
2017-08-23 03:39:43 +05:30
Alex
cc2d932407 Add breaks between lines in examples (#198) 2017-08-21 09:31:27 +05:30
Arun Prakash Jana
f96981fb0b
Reorder README 2017-08-18 17:58:26 +05:30
Arun Prakash Jana
1db7ce00f0
Add note on web service sync 2017-08-18 05:02:16 +05:30
Arun Prakash Jana
3f9c8cdc81
Fix alignment 2017-08-17 22:13:03 +05:30
Johnathan Jenkins
5d0ee17efc packagecore fedora 26 (#194) 2017-08-17 07:56:16 +05:30
Johnathan Jenkins
5eb33f1816 More packagecore (#192)
* add packagecore

* comment out centos and change fedora to 26

* package core fixes
2017-08-16 19:07:36 +05:30
Johnathan Jenkins
740bb0826d Add packagecore functionality (#190)
* add packagecore

* comment out centos and change fedora to 26
2017-08-16 16:49:56 +05:30
Alex
bb1957bdba Fix incorrect docsting in prep_tag_search (#191) 2017-08-16 09:20:31 +05:30
Arun Prakash Jana
bb5523cb97
Re-factor parts of README into Wiki articles 2017-08-15 20:07:27 +05:30
Alex
2b7f142245 Feature/search multiple tags (#187)
* 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
2017-08-15 02:37:01 +05:30
Arun Prakash Jana
281613bc40
Re-order installation section 2017-08-14 09:42:43 +05:30
Arun Prakash Jana
ee67d5989a
Update section name 2017-08-13 19:28:27 +05:30
Arun Prakash Jana
0377c5a1ae
Fix build break 2017-08-13 17:23:12 +05:30
Arun Prakash Jana
4cbc982d88
Update documentation, help 2017-08-13 17:23:05 +05:30
Arun Prakash Jana
fabe8ca4ab
Update note on attached packages 2017-08-13 11:40:13 +05:30
Arun Prakash Jana
274df03394
Update list of collaborators 2017-08-13 03:46:34 +05:30
Arun Prakash Jana
ec3e50c445
Document auto-import option 2017-08-13 03:45:56 +05:30
rachmadani haryono
8afba2d826 Feature/pylint (#185)
* 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
2017-08-12 16:56:59 +05:30
Arun Prakash Jana
539f96eb65 Line length is more now! :) 2017-08-12 12:23:07 +05:30
rachmadani haryono
4d7385599b Feature/flake8 (#184)
* new: test: flake8 test

* chg: dev: add flake8 package for test

* chg: dev: remove coverage rule
2017-08-12 09:38:09 +05:30
Alex Bender
c8fe3e3f16 Import browser bookmarks (#183)
* 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
2017-08-12 01:10:56 +05:30
Arun Prakash Jana
7454bdf5ea
Honor --tacit in auto-import 2017-08-11 21:28:31 +05:30
Arun Prakash Jana
944aa06ae1
Fix lint reports 2017-08-11 21:02:44 +05:30
Arun Prakash Jana
5d25deebf2
Fix FF auto-import issues
1. parse_tags() is a generic function
2. Filter out non generic URLs
2017-08-11 20:39:00 +05:30
Arun Prakash Jana
a26575f71e
Update PULL_REQUEST_TEMPLATE.md 2017-08-11 20:37:22 +05:30
Alex Bender
3154a6817c Import browser bookmarks (#180)
* 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
2017-08-10 08:26:44 +05:30
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