864 Commits

Author SHA1 Message Date
Mitsuhiro Nakamura
040e756f21 refactor: add utility function to exclude bibtex fields 2021-12-10 21:41:16 +09:00
Mitsuhiro Nakamura
df52580a0f test: add tests for excluding bibtex fields 2021-12-10 21:41:11 +09:00
Mitsuhiro Nakamura
d2dfe7dc9a feat(cmd edit): exclude bibtex fields if specified 2021-12-10 21:15:03 +09:00
Mitsuhiro Nakamura
b208bc45bc feat(cmd export): exclude bibtex fields if specified 2021-12-10 21:14:29 +09:00
Mitsuhiro Nakamura
b9c65bda39 feat(cmd import): exclude bibtex fields if specified 2021-12-10 21:13:57 +09:00
Mitsuhiro Nakamura
5a10a5631b feat(cmd add): exclude bibtex fields if specified 2021-12-10 21:13:20 +09:00
Mitsuhiro Nakamura
80867675b3 feat: add config spec to exclude bibtex fields 2021-12-10 16:17:46 +09:00
Fabien C. Y. Benureau
4ec4ba0390
Merge pull request #259 from guludo/fix-content_type-https
Detect HTTPS links in content_type()
2021-11-21 20:17:30 +01:00
Fabien C. Y. Benureau
ccead4945d
Merge pull request #262 from dotlambda/type-case
preserve case of field 'type'
2021-11-21 20:10:11 +01:00
Robert Schütz
cb61ff6fc8 preserve case of field 'type'
Non-standard types such as "Diplomarbeit" should not be converted to
lowercase.
2021-02-27 12:59:56 +01:00
Olivier Mangin
29e8fecfa9
Minor readme fixes. 2021-02-02 22:03:33 -08:00
Olivier Mangin
f10463a97c
Merge pull request #260 from pubs/fix/256
Fixes #256.
2021-01-29 21:21:09 -08:00
Olivier Mangin
a6b63ccafa
Changelog update. 2021-01-29 21:12:25 -08:00
Olivier Mangin
6e31a98c18
Minor: forgotten print. 2021-01-29 21:08:35 -08:00
Olivier Mangin
427af1b4b3
Use correct event name in workflow. 2021-01-27 23:13:40 -08:00
Olivier Mangin
d89cc30862
Remove travis configuration. 2021-01-25 23:26:35 -08:00
Olivier Mangin
745db24eaf
Add install test to github action with cron trigger.
The install test is only run when the cron event is the trigger.
2021-01-25 23:26:34 -08:00
Olivier Mangin
fd2227b548
Fix git plugin tests.
Add fake author info to environment while running the tests to avoid
failure of the git commit commands.
2021-01-25 22:52:21 -08:00
Olivier Mangin
526ed05c41
PEP8 and cosmetic changes. 2021-01-25 22:05:34 -08:00
Olivier Mangin
7413926589
Add github test workflow. 2021-01-25 21:41:54 -08:00
Olivier Mangin
1865e64ce3
Update ddt dependency after upstream bug fix. 2021-01-24 18:20:53 -08:00
Fabien C. Y. Benureau
96cce2cab5
update contributors 2021-01-22 10:05:32 +09:00
Fabien C. Y. Benureau
9af70c48f5
Merge pull request #257 from guludo/patch-1
Update links for argcomplete
2021-01-22 10:02:03 +09:00
Gustavo Sousa
0eeec091bf Detect HTTPS links in content_type()
This allows downloading files provided via https links.
2021-01-21 12:59:29 -03:00
Gustavo José de Sousa
16ae70d773
Update links for argcomplete
The location for argcomplete's documentation has been changed to https://kislyuk.github.io/argcomplete .
2021-01-21 12:07:20 -03:00
Olivier Mangin
60b424a745
Merge pull request #253 from pubs/fix/252
Fix collision of entry type key with valid field name 'type'.
2021-01-19 21:33:47 -08:00
Olivier Mangin
7c5cbf4267
Minor: remove unused partial test. 2021-01-19 12:56:57 -08:00
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