Commit Graph

223 Commits

Author SHA1 Message Date
Arun Prakash Jana
07f5ab4aa9
Prepare for release v3.3.1. 2017-09-11 08:31:13 +05:30
Arun Prakash Jana
cb96692ebf
Prepare for release v3.3 2017-09-11 04:18:06 +05:30
Arun Prakash Jana
e645784748
Add API to generate automatic timestamp tag
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.
2017-09-08 21:34:14 +05:30
Arun Prakash Jana
1cfdfb7648
Fix typo 2017-09-02 17:27:56 +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
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
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
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
ec3e50c445
Document auto-import option 2017-08-13 03:45:56 +05:30
Arun Prakash Jana
f56d64d34f
Prepare for release v3.2 2017-08-03 09:49:20 +05:30
Arun Prakash Jana
5b26d49044
Option --suggest - list similar bookmarks 2017-08-01 21:07:03 +05:30
Arun Prakash Jana
a9f4cd502a
Honor --tacit: import folder names as tags if True 2017-07-20 10:14: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
e4cfb4b0f8
Prepare for release v3.1 2017-07-10 22:16:30 +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
Bryan Gilbert
818d015b3b add aditional format option to print url, title, and tag (#157) 2017-05-04 01:03:45 +05:30
Arun Prakash Jana
fe2d4653c1
Support browsing at prompt 2017-05-01 22:05:25 +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
dd06f2acf6
Prepare for v3.0 2017-04-26 10:27:00 +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
da7ff951d0
Change in colors 2017-04-08 22:26:00 +05:30
Arun Prakash Jana
26def85793
Add notes on tag editing at prompt 2017-04-07 09:34:44 +05:30
Arun Prakash Jana
b9fbed2cab
Support print records at prompt 2017-04-07 02:03:10 +05:30
Arun Prakash Jana
706f234989
Support append/overwrite/delete tags from prompt 2017-04-07 01:27:36 +05:30
Arun Prakash Jana
f1a5cd4b88
Import folder names in lowercase. Document. 2017-04-06 08:28:12 +05:30
Cthulhux
3297499fe4 Better Windows support: Finding the user profile directory even on Win32 (#144)
* Better Windows support: Finding the user profile directory even on Win32

* Better Windows support: Finding the user profile directory even on Win32
2017-04-03 01:58:26 +05:30
Arun Prakash Jana
ec8259d5a5
Support tail-like behaviour with --print 2017-03-19 00:45:26 +05:30
Arun Prakash Jana
fc5ee94b86 Update, reorder, align help and examples. 2017-03-17 20:48:11 +05:30
Arun Prakash Jana
7fae7b47b7 Add short option to regex and tag search 2017-03-17 08:10:55 +05:30
Arun Prakash Jana
eeb7e99c16
Disable -r for --replace 2017-03-17 00:07:51 +05:30
Arun Prakash Jana
46e2e4a704
Disable -t for --title 2017-03-16 23:45:37 +05:30
Arun Prakash Jana
0d87104679 Update features
Update badges
Add tabular dependencies
Re-structure README
2017-03-15 05:35:19 +05:30
Arun Prakash Jana
ce66158164
Editor support at subprompt 2017-03-12 20:11:53 +05:30
Arun Prakash Jana
2650bd74e9
Add API get_max_id(), -p -1 shows max index 2017-03-06 02:26:40 +05:30
Arun Prakash Jana
0d9fad407f
Update features section 2017-02-20 20:28:36 +05:30
Arun Prakash Jana
325aab9c78
Prepare for release v2.9. 2017-02-20 19:35:55 +05:30
Arun Prakash Jana
883cbf8ec2 Add check for --add with --url, update help 2017-02-11 19:40:42 +05:30
Arun Prakash Jana
2e0ce3e143 Auto-detect markdown with export and import
The file extension '.md' is used to detect a markdown
file. With this, option --markdown is removed.
2017-02-10 22:14:00 +05:30
Arun Prakash Jana
8cc17a1833
Shorten --upstream to -V. 2017-02-10 20:34:24 +05:30
Arun Prakash Jana
df78a06f6f
Shorten --markdown to --md. 2017-02-10 19:36:39 +05:30
Arun Prakash Jana
9e0dfcbdce
Shorten --noprompt to --np. 2017-02-10 19:29:02 +05:30
Arun Prakash Jana
b7207109bc
Shorten --nocolor to --nc. 2017-02-10 19:25:05 +05:30
Arun Prakash Jana
bd4b85ad32 Support index with -w. 2017-02-09 21:55:07 +05:30
Arun Prakash Jana
9980e4926a Update help. 2017-02-05 22:50:34 +05:30