Olivier Mangin
c363e13cbf
Fix collision of entry type key with valid field name 'type'.
...
Fixes #252 .
2021-01-17 14:38:04 -08:00
Fabien C. Y. Benureau
dc2bc9c0e5
update changelog and contributors
2021-01-16 13:06:18 +09:00
Dominik Stańczak
a8ec3f41e6
Adjust for conciseness
2021-01-16 12:52:30 +09:00
Dominik Stańczak
5d6010394d
Add note on using commas in alias descriptions
...
On my installation, using commas in docstring descriptions causes a `error: unsupported operand type(s) for %: 'list' and 'dict'` error. Wrapping the description in a string solves that.
2021-01-16 12:52:29 +09:00
Fabien C. Y. Benureau
1130a9343d
fix deprecation warning in color.py
2021-01-16 12:46:17 +09:00
Jonas Kulhanek
2e939dbc1b
Add tests for alias
2021-01-16 12:36:41 +09:00
Jonáš Kulhánek
0777a99d30
Allow passing named arguments to custom commands.
...
This allows passing named arguments to custom commands. An example would be `pubs search keyword --ignore-author` and the corresponding alias would redirect the call to the custom script like follows: `search = !"$DOTFILES/pubs/scripts/search.py" "$@"`.
2021-01-16 12:36:41 +09:00
Fabien C. Y. Benureau
89429a8c24
update changelog
2021-01-16 12:27:42 +09:00
Fabien C. Y. Benureau
f3dace4987
Merge pull request #250 from pubs/fix/note_expanduser
...
Fix #249 : ~ expansion in filebroker.DocBroker
2021-01-13 09:42:33 +09:00
Fabien C. Y. Benureau
e6d0754a8d
Fix #249 : ~ expansion in filebroker.DocBroker
2021-01-12 11:41:35 +09:00
Olivier Mangin
d3b6654fd1
Merge pull request #245 from pubs/fix/broken-tests-on-macos-jenkins
...
Add pytest to test requirements as none optional.
2020-12-06 20:48:59 -08:00
Olivier Mangin
f1fd60679b
Adds python 3.9 to build matrix.
2020-11-07 17:33:27 -08:00
Olivier Mangin
c21659eb98
Update dependencies and test to drop python 3.5 support.
...
The reason for dropping python 3.5 support is that it is not compatible
with the feedparser dependency. The version is anyway not supported any
more (security fixes stopped on 2020/09).
2020-11-07 17:27:58 -08:00
Olivier Mangin
d0608697bb
Add pytest to test requirements as none optional.
2020-11-07 16:45:47 -08:00
Fabien C. Y. Benureau
d11f443276
explicit move/copy dialog in add; update changelog
2020-06-05 13:22:54 +09:00
beuerle
54facc4085
fix statistics cmd; count papers w/ tag, not w/o
2020-06-02 19:03:34 +09:00
Fabien C. Y. Benureau
3209f35bd1
Merge branch 'beuerle-PR_resolve_citekey'
2020-06-02 18:57:57 +09:00
Fabien C. Y. Benureau
e8700d7db1
added test for ambiguous citkeys
...
* also reworked the test code to allow to capture output even
when pubs throws an error.
* empty tags are not added to the metadata anymore (does not affect
existing instances)
2020-06-02 18:55:24 +09:00
Fabien C. Y. Benureau
7e98939202
Merge branch 'PR_resolve_citekey' of https://github.com/beuerle/pubs into beuerle-PR_resolve_citekey
2020-06-02 16:00:15 +09:00
Fabien C. Y. Benureau
46da2c9187
Merge pull request #227 from pubs/feat/remove_prompt
...
Feat/remove prompt
2020-06-02 15:52:28 +09:00
beuerle
21518f3a75
fix missing conf argument for resolve_citekey
2020-05-26 17:41:28 +02:00
Fabien C. Y. Benureau
c9aa8ddd41
fix side-effects of merge, and deprecation warnings
2020-05-10 10:01:15 +09:00
Fabien C. Y. Benureau
def25609a1
Merge branch 'master' into feat/remove_prompt
2020-05-10 09:33:14 +09:00
Fabien C. Y. Benureau
8ab89ab3bb
Merge pull request #225 from pubs/feat/212_n_authors
...
Add a max_authors option in the configuration, and fix test failures.
Fixes #223 , #212 . Includes PR #224 .
2020-05-10 09:16:04 +09:00
Fabien C. Y. Benureau
76f5156a21
pin ddt version to 1.3.1
...
because of https://github.com/datadriventests/ddt/issues/83
2020-05-10 09:06:15 +09:00
Fabien C. Y. Benureau
04b25a22c8
renamed n_authors into max_authors
2020-05-10 08:53:17 +09:00
Fabien C. Y. Benureau
90b61089b1
improve remove prompt (see #153 )
2020-05-08 11:42:02 +09:00
Fabien C. Y. Benureau
4a27faf3ab
update changelog
2020-05-05 17:51:19 +09:00
Fabien C. Y. Benureau
7bd475378c
support for non-standard bibtex types, fix #210 #218
2020-05-05 17:39:12 +09:00
Fabien C. Y. Benureau
a30e75a5e6
support all one_liner + fix deprecation warnings in utils
2020-05-05 01:11:07 +09:00
Fabien C. Y. Benureau
1b8728f4f6
minor: fix output flags in usecase
2020-05-05 01:00:26 +09:00
Fabien C. Y. Benureau
ad85fe9df8
add usecase test for n_authors
2020-05-05 00:50:37 +09:00
Fabien C. Y. Benureau
7776b65de2
number of displayed authors configurable
...
fix #212
2020-05-04 22:37:47 +09:00
Fabien C. Y. Benureau
44b0c5b4c9
colors in edit command dialogs
2020-05-04 22:05:41 +09:00
Olivier Mangin
2f6e0d4e85
Fix #223 : update python versions in travis.
...
- remove python version unsupported by pyfakefs from testing in Travis,
- add python 3.8.
2020-05-03 16:09:32 -07:00
Fabien C. Y. Benureau
246a00671e
fix #220 : errno error.
2020-04-08 11:06:22 +09:00
Fabien C. Y. Benureau
d06c8da29b
fix #219 : doc add -L
2020-04-08 10:50:27 +09:00
Fabien C. Y. Benureau
28bb12cc79
update readme, add section about config file
...
fix #214
2020-02-02 13:33:20 +09:00
Fabien C. Y. Benureau
656d85a8d8
version 0.8.3
2019-08-12 23:56:12 +09:00
Fabien C. Y. Benureau
a0aad8f135
Merge pull request #203 from pubs/feat/fix_append
...
fix note append of under python 2 with unicode
2019-08-02 16:15:27 +09:00
Fabien C. Y. Benureau
fe014bc0a5
fix note append of under python 2 with unicode
2019-08-02 16:02:53 +09:00
Fabien C. Y. Benureau
2b408fe7ea
Merge pull request #201 from dvklopfenstein/master
...
Added '-a' (--append) arg to append a line of text to the notes file.
2019-08-02 15:02:44 +09:00
dvklopfenstein
b75d77bf24
Test appending a multi-word line into a bib note.
...
https://github.com/pubs/pubs/pull/201#discussion_r305274762
2019-07-28 15:11:13 -04:00
dvklopfenstein
5b8eb48cdc
Implemented requested changes, leaving the multi-word test and the Japanese/CHinese tests commented for furthre review by senior pubs architect
2019-07-25 17:11:45 -04:00
dvklopfenstein
11c74f1ffe
Lowercase format vars. Add Chinese character test
2019-07-19 11:58:41 -04:00
dvklopfenstein
dccbadaf73
Comment out Japanese characters for now
2019-07-18 23:20:20 -04:00
dvklopfenstein
20b7da7245
Add newline to appended note text after evaluating note text
2019-07-18 23:12:10 -04:00
dvklopfenstein
f8508ac5e1
Thank you very much for considering my pull request.
...
I have added a test: tests/test_note_append.py
And have made the isuggested code changes.
Please let me know if anything else is needed.
https://github.com/pubs/pubs/pull/201
https://github.com/pubs/pubs/issues/200
2019-07-18 22:58:17 -04:00
dvklopfenstein
634a500438
Added '-a' (--append) arg to append a line of text to the notes file.
...
https://github.com/pubs/pubs/issues/200
2019-07-18 10:15:40 -04:00
Fabien C. Y. Benureau
5551e8c04b
Merge pull request #199 from emnllm/chrono-listing
...
adds chronological listing using bibtex year field
2019-06-30 16:48:15 +09:00