790 Commits

Author SHA1 Message Date
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
emnllm
94112c02fe fixes inconsistant chronological listing test
* Chronological order listing output for a same year, without entry
 timestamp (added metadata field), may vary
2019-06-27 06:10:30 +00:00
emnllm
2e4af1d38f removes the month field from the chronological listing 2019-06-25 19:00:37 +00:00
emnllm
b3e9db62e1 improves chronological listing (year, month), adds test 2019-06-25 18:22:58 +00:00
emnllm
e1f56fb212 adds chronological listing using bibtex year field 2019-06-25 11:08:29 +00:00
Olivier Mangin
eaeb48bd20
Minor readme and config update on git plugin. 2019-06-08 09:50:08 -07:00
Fabien C. Y. Benureau
eedd342a2d
Merge pull request #197 from pubs/pr-191
Pr 191 - Git plugin by Amlesh Sivanantham.
2019-06-08 16:59:05 +09:00
Fabien C. Y. Benureau
232158db68
Merge branch 'master' into pr-191 2019-06-07 13:04:25 +09:00
Fabien C. Y. Benureau
d56bc88202
update changelog for PR 198 2019-06-06 14:17:29 +09:00
Fabien C. Y. Benureau
e28bbc62fe
Merge pull request #198 from ksunden/import
ENH: Don't fail on import, warn instead
2019-06-06 14:11:34 +09:00
Fabien C. Y. Benureau
e4665f734a
git plugin: addressed review + misc improvments
* fixed annoying recursion in exception handlers (fake_env and sand_env)
* "pubs git" always not quiet
* color option for git ouput through "pubs git"
* "pubs git" output without any "info:" prefix or extraneous new line.
* is_loaded() method for plugins
2019-06-05 17:00:51 +09:00
ksunden
994b4da69c Check full output, not just year 2019-05-09 17:58:27 -05:00
ksunden
7ba016e54c TST: Test contents of import, not that the command fails 2019-05-09 17:37:42 -05:00
ksunden
c1afd26d6f ENH: Don't fail on import, warn instead 2019-05-08 23:39:51 -05:00
Fabien C. Y. Benureau
439b941de6
fix for info and warning display in pubs git
also fixes .git/ presence detection.
2019-05-06 08:49:15 +09:00
Fabien C. Y. Benureau
2ad04e4d13
Merge branch 'master' into pr-191 2019-05-06 00:18:23 +09:00
Fabien C. Y. Benureau
6c929dbafa
fix tests for python 2.7 2019-05-06 00:04:04 +09:00
Fabien C. Y. Benureau
5dd65ffa03
fix tests 2019-05-05 23:33:24 +09:00
Fabien C. Y. Benureau
0df52efcd3
adding tests to git plugin
- git plugin now performs `git init`
- git call are checked
- only one git commit per pubs command
- SandboxedCommandTestCase for real hd usecase tests.
- `git --help` now documents `--config` and `--force-colors`
2019-05-05 23:12:21 +09:00
Amlesh Sivanantham (zamlz)
3ee2c1eaec
Escapes special characters in description 2019-03-21 17:52:12 -07:00
Olivier Mangin
07c002503b
Minor: removes todo comment about implemented case 2019-03-19 22:27:57 -07:00
Olivier Mangin
1f1bbea917
Merge branch 'master' into git-plugin 2019-03-19 22:16:36 -07:00
Olivier Mangin
3b6751ea1b
Minor: Removes duplicate mock import in test_usecase 2019-03-19 22:14:07 -07:00
Olivier Mangin
4ab0267d67
Merge pull request #193 from shanewstone/feat/query_citekey
Add CitekeyFilter and FIELD_ALIAS 'key': 'citekey' to query.py
2019-03-19 22:12:16 -07:00
Shane Stone
607f3af23f Add myself to contributors in readme.md 2019-03-17 16:23:02 -07:00
Shane Stone
e7fdda080b Add line to changelog.md for citekey filter 2019-03-17 16:20:04 -07:00
Shane Stone
7645b0949c Add test for pubs list using citekey filter in test_usecase.py 2019-03-17 16:11:32 -07:00
Shane Stone
0125c1816b Fix indentation in _query_block_to_filter 2019-03-17 16:06:06 -07:00
Shane Stone
1f96785329 Add citekey usage example to QUERY_HELP 2019-03-17 16:04:53 -07:00
Amlesh Sivanantham (zamlz)
cd8ca9e97d
Changed url for contributor (zamlz) 2019-03-11 13:27:15 -07:00
Amlesh Sivanantham (zamlz)
663e5ab1d0
Added events for tag updates 2019-03-11 13:25:15 -07:00
Amlesh Sivanantham (zamlz)
6b74683fb4
Added events for edit command
also added comments to events functions to list what uses them
2019-03-11 12:29:19 -07:00
Amlesh Sivanantham (zamlz)
4862860a7e
Added git functionality for notes 2019-03-11 11:58:10 -07:00
Shane Stone
d626fe4251 Add unit tests for CitekeyFilter 2019-03-06 15:17:31 -07:00
Shane Stone
4f2a025814
Merge branch 'master' into feat/query_citekey 2019-03-06 14:01:22 -07:00
Olivier Mangin
f4df6f00f2
Merge pull request #194 from pubs/fix/broken-tests
Fix test broken likely by pyyaml update by making it more explicit
2019-03-05 22:05:07 -08:00
Amlesh Sivanantham (zamlz)
4a61f91cb5
Created a doc add/rm event 2019-03-05 11:33:35 -08:00
Olivier Mangin
7c5ec2ae1e
Factors mock in travis script. 2019-02-28 23:10:30 -08:00
Olivier Mangin
9754ed721c
Adds missing python 3.7 tests to Travis. 2019-02-28 23:10:30 -08:00
Olivier Mangin
c3cb713ae7
Fix test broken likely by pyyaml update by making it more explicit
- does not test a specific output from pyyaml dump anymore,
- explicitely check decode and encode-decode step.
2019-02-28 22:51:27 -08:00
Amlesh Sivanantham (zamlz)
b411bd16d8
Setup PaperEvent class. Git plugin only listens to this class 2019-02-28 09:35:57 -08:00
Shane Stone
1a181c4455 Add CitekeyFilter and FIELD_ALIAS 'key': 'citekey' to query.py 2019-02-20 10:55:55 -07:00
Amlesh Sivanantham (zamlz)
063d08183f
Removed redundent parser code 2019-02-01 20:23:08 -08:00
Amlesh Sivanantham (zamlz)
5c465fd3ec
shell should be called from self, removed debug statements 2019-02-01 20:04:30 -08:00
Amlesh Sivanantham (zamlz)
5789916953
The classmethod should be converted into a standard method 2019-01-30 22:05:50 -08:00
Amlesh Sivanantham (zamlz)
406f31baf0
Using instance variable instead of class instance 2019-01-29 17:48:18 -08:00
Amlesh Sivanantham (zamlz)
7f1d839568
Added placeholders for more events. Updated repo.py to use some of the
new events.
2019-01-24 18:13:49 -08:00
Olivier Mangin
ca5d7631b0
Merge pull request #189 from pubs/fix/188
Temporary fix for #188
2019-01-17 23:01:18 -08:00