Olivier Mangin
5a47150aad
Adds option to ignore malformed bibtex files or entry during import.
7 years ago
Olivier Mangin
60650b874a
Addresses minor comments (error message and better test).
7 years ago
Olivier Mangin
ea711b6b42
[ Fix #87 ] Include citekey in message on bibtex decoding error from repository.
...
Catches decoding error at databroker level to include citekey in message.
Could be improved by a better exception class for BibDecodingError.
7 years ago
Olivier Mangin
8a7d143261
Improves behaviors related to bibtex decoding error.
...
- from editor input in add and edit commands,
- from files in import command.
7 years ago
Olivier Mangin
6957ae3cbb
Merge branch 'master' into feat/dialogedit
7 years ago
Olivier Mangin
fbd29d27a4
Merge pull request #141 from pubs/feat/editor_missing
...
error message when editor is missing
7 years ago
Olivier Mangin
4dc69bcfc2
Use vi as a (saner) default. Fixes #140 .
7 years ago
Fabien C. Y. Benureau
4b1717b7fd
dialog after editing paper
7 years ago
ksunden
e177b43d14
Remove unused imports, update strings
7 years ago
Fabien C. Y. Benureau
6cd74a9966
error message when editor is missing
...
simplified a bit the ui code, to remove unecessary out-of-class functions
(needed anyway because of ui.error calls).
7 years ago
ksunden
54a056c277
Change error to warning
7 years ago
Kyle Sunden
7c82a8518b
remove extraneous print
7 years ago
ksunden
247554c248
Fix error handling
7 years ago
ksunden
bff1f5763d
Add a command to open urls
7 years ago
Fabien C. Y. Benureau
913a5d77b5
unicode citekey in python2; removes
7 years ago
Fabien C. Y. Benureau
c7e9470300
implement requested changes for #133
7 years ago
Fabien C. Y. Benureau
dc4e118c3c
make utf8 citekeys possible in python 2.7. closes #28
...
This involved many changes, some side effects of the change include:
- remove of all `u"abc"` forms, in favor of
`from __future__ import unicode_literals`. Their usage was
inconsistent anyway, leading to problems when mixing with
unicode content.
- improve the tests, to allow printing for usecase even when
crashing. Should make future test easier. This is done with a
rather hacky `StdIO` class in `p3`, but it works.
- for some reason, the skipped test for Python 2 seems to work
now. While the previous point might seem related, it is not clear
that this is actually the case.
7 years ago
Fabien C. Y. Benureau
38133fc053
fix for utf8 citekeys
7 years ago
Olivier Mangin
50a44d964c
Merge branch 'master' into version
7 years ago
Olivier Mangin
801e0c035f
Adds code version to cache. ( Fixes #129 )
...
Current code version is added to the cache on writting. If the cache
version does not match the code version on read, the cache is ignored
which means it resets.
7 years ago
Olivier Mangin
0d7b44a3f5
Have version defined in only one place ( fixes #86 ).
7 years ago
Olivier Mangin
bcf216183f
Fixes tests for printing help on `--help` and without argument.
...
(fix #135 )
7 years ago
Olivier Mangin
12e8285674
Adds tag list completion in
7 years ago
Olivier Mangin
c28ab495cc
Removes journal customization ( fixes #126 )
7 years ago
Olivier Mangin
71c2f40657
Merge branch 'master' into fix/link_customization
7 years ago
Fabien C. Y. Benureau
3e376e2d8b
remove obsolete exception catching
7 years ago
Olivier Mangin
a6d5df4059
Removes link and DOI customization. Fixes #119 .
7 years ago
Fabien C. Y. Benureau
adbeb7f2b3
activating common strings by default in parser; fixes #122
7 years ago
Olivier Mangin
6e39cea473
Adds `--strict` option to list to force strict unicode comparison.
7 years ago
Olivier Mangin
f3ec9621ee
Adds and checks unicode normalization. Fixes #103 .
7 years ago
Olivier Mangin
1bcbf65dd8
Implements latex escape in queries.
7 years ago
Olivier Mangin
cff028d345
Minor refactoring of string comparison in query filters.
7 years ago
Olivier Mangin
078b2084ff
Updates field orders to use 'url' and fixes broken test.
...
The field ordering test was broken on the latest bibtexparser since it
now replaces by default 'link' fields by 'url'.
7 years ago
Olivier Mangin
0b1ff7e441
PEP8 cosmetics.
7 years ago
Olivier Mangin
328f2a6d5e
Adds more checks and better error message against empty citekeys.
7 years ago
Olivier Mangin
26f0b4dc04
Adds argcomplete command to pubs_cmd so that is now used as entry-point.
7 years ago
Olivier Mangin
ac536269e3
Removes script since unused with entry_points method
7 years ago
Olivier Mangin
a8716e6482
Adds completion for the `--ignore-fields` tag.
7 years ago
Olivier Mangin
860181e278
Adds argument to ignore fields in export. [ Closes #67 ]
...
`pubs export --ignore-fields abstract,note CiteKey`
7 years ago
Olivier Mangin
07be993d02
Moves to using bibtexparser's writer for bibdata. [ Fixes #33 ]
7 years ago
Bill Flynn
098cb4d1bf
ran pep8 on pubs/utils
7 years ago
Bill Flynn
aea58dea29
[ #95 ] refactored exception into standardize_doi
7 years ago
Bill Flynn
e2ad39ca08
[ Fix #95 ] robust handling of DOIs
...
Added DOI regex function to utils.py which is called in add_cmd.py
upon specifying a new DOI. DOI validation applies directly on
argument parsing by using a custom argparse.Action.
7 years ago
Olivier Mangin
3ad4a73da1
Moves query code from list_cmd to didicated module.
7 years ago
Olivier Mangin
0bd8d5b8dc
Actually adds the functionality as well as a few more tests.
7 years ago
Olivier Mangin
832a20d743
Typo.
7 years ago
Olivier Mangin
84553d8eb3
[ Fix #90 ] Adds year ranges to queries.
7 years ago
Olivier Mangin
c54de5c3b6
Refactors paper filtering from queries.
7 years ago
Olivier Mangin
e3f2e7db26
Cosmit.
7 years ago
Bill Flynn
4362c649b2
Added alias description functionality to conf #98
...
Changed Alias constructor, added tests for this behavior, and added
a few lines in the default conf describing how to define alias
descriptions.
7 years ago