329 Commits (21518f3a75987ecfd5ddc30e1206ca93abddffbc)

Author SHA1 Message Date
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
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)
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.
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.
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]
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
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
7 years ago
Olivier Mangin 3e31c4455e Fixes argument and adds tests for overwrite on import.
7 years ago
Dennis Wilson 1cd95bdeec overwrite argument on import
7 years ago
Bill Flynn 0c7ba85af9 Revisions subject to comments on PR #100
7 years ago
Bill Flynn 66c90c5d43 Added unittest to cover new behavior `pubs`
7 years ago
Bill Flynn ac3a8d8bf2 Print help menu when no subcommands applied
7 years ago
Olivier Mangin 5676cb49a9
Merge pull request #96 from pubs/fix/content
7 years ago
Olivier Mangin 66b51997ea Fix defaults not used in config.
7 years ago
Olivier Mangin 6a26216c3e COSMIT
7 years ago
Olivier Mangin a65873a7e0 Fixes abspath called on urls preventing to get content from url.
7 years ago
Olivier Mangin 47f5c918ea Fix #93: saves the modifications on `edit -m`.
7 years ago
Olivier Mangin 922781a89a Moves shell_quote import out of p3.py
7 years ago
Olivier Mangin 5c74f942c4 [Fix #88] Adds proper escaping for arguments in alias plugin.
7 years ago
Olivier Mangin be3c124079 Fix update code.
8 years ago
Olivier Mangin d40b86a9cf Updates version everywhere.
8 years ago
Fabien C. Y. Benureau 6cccc021f8 Minor fix for isbn2index docstring
8 years ago
Fabien C. Y. Benureau 0942df3b50 Fix pubs conf command
8 years ago
Olivier Mangin 38fc68adbc Refactors filebroker to remove file duplication.
8 years ago
Olivier Mangin 983d1892e0 Removes unused imports.
8 years ago
Olivier Mangin 7b19a9dcdd Forces utf8 when no encoding in header for DOI request.
8 years ago
Olivier Mangin cf596206b0 FIX: Encode unicode before writing to file in python2.
8 years ago
Olivier Mangin 81f2661593 Cosmit
8 years ago
Fabien C. Y. Benureau 1f224a90c7 Fixes websearch in Python 3 (fix #69)
8 years ago
Olivier Mangin 4ffd62fe9f [notes] Allow different file extension for note file (see #70).
8 years ago
Olivier Mangin 323fb8b674 Fixes indent and removes unused io import.
8 years ago
Fabien C. Y. Benureau 3b4cfe635d Fix tests for Python 2
8 years ago
Fabien C. Y. Benureau 66a91b3c0c Fix content._open for Python 2
8 years ago
Olivier Mangin e129398311 Pass the config to plugins on parser modification to allow completion.
8 years ago
Olivier Mangin 92fb403871 Fix function in FakeModule.
8 years ago
Olivier Mangin ce3ed1e52f Use ImportError for older python versions.
8 years ago
Olivier Mangin e1a6ad2167 Adds basic tag completion.
8 years ago
Olivier Mangin 02c11aaaea Adds completion for citekeys.
8 years ago
Olivier Mangin a5466c940e Prepare configuration loading for autocomplete.
8 years ago
Olivier Mangin f6e0412306 Missing import in update.
8 years ago
Olivier Mangin af73d4ed64 Basic autocompletion with argcomplete.
8 years ago
Olivier Mangin 559d486236 Fix path not expanded for edit_file command.
8 years ago
Olivier Mangin d7e25d07eb Merge pull request #62 from d9w/pr1
8 years ago
Olivier Mangin 4ff87085ae Config spec update for empty editor value.
8 years ago
Olivier Mangin 6c2f0f6f8d Moves editor commands to ui to avoid using with wrong editor values.
8 years ago
Olivier Mangin a600855c31 Fix calls to edit_file with wrong editor in conf and note commands.
8 years ago
Dennis Wilson fbff9cd94c default message for errors bugfix
8 years ago
Olivier Mangin a02f67f133 Minor improvement of error handling.
8 years ago
Olivier Mangin d4c18ad1a4 Fixes #49.
8 years ago
Tyler Earnest d465c35e89 fixed inverted conditional
8 years ago
Olivier Mangin 70e1169fe7 Simplifies test if binary mode.
8 years ago
Fabien C. Y. Benureau 0f84268ebf Honor custom pubsdoc in config
9 years ago
Fabien C. Y. Benureau 2aad93b526 Simplify, update the testsuite
9 years ago
Olivier Mangin 2859e4bc62 More refactoring to remove code duplication. Also adds tests.
9 years ago
Olivier Mangin 57a32e5601 Removes some code duplication.
9 years ago
Fabien Benureau d9f24052fc Update bs4 code; removes warning
9 years ago
Fabien Benureau 22c7acde99 Rewrite cache in case of any problem
9 years ago
Fabien Benureau e5b898c5c2 Cache implemented
9 years ago
Fabien Benureau 9ad6d8db25 Simplified fake_env code
9 years ago
Fabien Benureau e979aae85b Better rename and error dialogue
9 years ago
Olivier Mangin 35214e3012 Fix using str instead of ustr for python2 compatibility.
9 years ago
Olivier Mangin ecb1910084 Better error message on UnicodeDecodeError for reading text file.
9 years ago
Olivier Mangin 348bd6d64b FIX wrong access to debug configuration value.
9 years ago
Olivier Mangin ed2bbb4498 Removes generic handling of errors from commands.
9 years ago
Olivier Mangin df8f0e6d6b FIX error handler.
9 years ago
Olivier Mangin 6366f4bd01 Uses exception __string__, not __repr__ to carry message.
9 years ago
Olivier Mangin b12c6297f0 Adds exception catching in main command.
9 years ago
Olivier Mangin 9d0a800d8b Cleans up old imports of ConfigParser.
9 years ago
Fabien Benureau 3e3a671837 Remove bibtexparser unicode conversion
9 years ago
Fabien Benureau a5a653becd Support old bibtexparser keywords
9 years ago
Fabien Benureau 2db80c66ae Add volume to field ordering
9 years ago
Fabien Benureau 666941d471 Set bibtexparser homogenize_fields to True
9 years ago
Fabien Benureau 98a2f1d646 Fix quadratic output in export
9 years ago
Fabien Benureau a702d86a74 Make `pubs doc` subparsers required
9 years ago
Fabien Benureau 82c93cf695 Predefined themes and a color bash script
9 years ago
Fabien Benureau 78c562d640 256 colors support
9 years ago
Fabien Benureau ec98221d1c Sanitize one-liner strings
9 years ago
Fabien Benureau b6e8139bc3 Remove extraneous doc message
9 years ago
Fabien Benureau b2ebc67f5e Handle Unicode BOM in bibfile
9 years ago
Fabien Benureau 69dc3a1690 Parsing error displays bibdata
9 years ago
Fabien Benureau 5ca090668f Handle IOError: [Errno 32] Broken pipe
9 years ago
Fabien Benureau 2ba435126d Add --force-colors option
9 years ago
Fabien Benureau a291114900 Remove duplicated edit_cmd code
9 years ago
Olivier Mangin 854702488c Fixes #46: editor command behaviors with the new config.
9 years ago
Fabien Benureau aa521576f5 More robust plugin list in conf
9 years ago
Fabien Benureau f843aebcbd Better handle utf-8 citekeys
9 years ago
73 23890bf579 missed two somehow
9 years ago
73 5cc3f892a0 All commands that consume a citekey as an argument will now complete a
9 years ago
73 69b2879fa2 added ui.info() and made it default for citekey completion
9 years ago
73 a926c4c654 adds a *doc add|remove|export|open* command; depricates commands *open* and *attach*; fixed typos in readme.md and uis;
9 years ago
Fabien Benureau f52a7202bb Better help for the list command
9 years ago
Fabien Benureau 7186576aef Fix bug in args & less-aggressive update
9 years ago
Olivier Mangin ba48941d93 Fixes alias plugins and adds it to packages.
9 years ago
Olivier Mangin 16aa0163f6 Removes automatic config update.
9 years ago
Olivier Mangin af207e2604 Adds alias plugin test and fix its config access.
9 years ago
Fabien Benureau eaa6ca8dab Proper error message when no subcommand is provided
9 years ago
Fabien Benureau 4b21fa1355 Fix handling of version in argument parser
9 years ago
73 2871588703 implements #19
9 years ago
Olivier Mangin 0bfe921ad9 Makes config updater robust ton undefined values.
9 years ago
Fabien Benureau 796087af45 Fix missing update of dye in open command
9 years ago
Fabien Benureau 392ee0c3c1 Merge branch 'master' into feat/new_config
9 years ago
Fabien Benureau 3099d353f9 Configurable colors and update improvement
9 years ago
Fabien Benureau 789db93911 Add platform-specific open and edit commands at init
9 years ago
Olivier Mangin bd3659a432 Fixes missing update of dye in open command.
9 years ago
Fabien Benureau 14df0ad1cb Add pubs conf command
9 years ago
Fabien Benureau 757a8b300e Add an update mechanism for old repositories
9 years ago
Olivier Mangin 681ae65c9e Fixes issue #35.
9 years ago
Olivier Mangin 5480f79d8d Fixes ˇpubs tag citekey :sometagˇ not working.
9 years ago
Fabien Benureau 93c54939b3 Rewritten config module
9 years ago
Fabien Benureau 4b3b2a23bd Improves interface of PrintUI
9 years ago
Fabien Benureau b71494ed42 Fix pubs init TypeError
9 years ago
Fabien Benureau 29c6eaa8b5 Fix obsolete repo version
9 years ago
Fabien Benureau b2dac68856 Add beautifulsoup4 dependency and update setup.py
9 years ago
Fabien Benureau b8bcd6cc11 Fix color support
9 years ago
Fabien Benureau cce9406670 new print ui, more robust colors
9 years ago
Fabien Benureau d5a4fcf73c tighter utf-8 airlock in content.py
9 years ago
Fabien Benureau 8afb7a4777 Merge remote-tracking branch 'refs/remotes/origin/master'
9 years ago
Olivier Mangin 67aac0a2d7 Adds move option to add and attach commands.
10 years ago
Olivier Mangin de2a50eeb2 Fix tests and terminology.
10 years ago