Olivier Mangin
93c7fb2f27
Moves TestFakeFs helper to fake_env module.
2014-04-15 19:34:03 +02:00
Olivier Mangin
de3dda85d1
FIX inconsistent error on push for existing paper.
...
The error raised by Repository.push_paper was different depending on
whether the existence of the paper in the repository was tested directly
through the filebroker (quicker when list of citekeys in not loaded) or
through the regular __contains__ method.
2014-04-15 19:32:29 +02:00
Olivier Mangin
2f1a8ae42a
Adds possibility to create repo when instance initialized.
...
This avoids having to manually call _create on filebroker.
2014-04-15 19:28:12 +02:00
Olivier Mangin
b51477fc58
Fix typo in readme and add dependency section.
2014-04-15 16:36:49 +02:00
Fabien Benureau
7f7c955a68
Merge branch 'feat/cache' into develop
...
replaced pybtex by bibtexparser
2014-04-14 15:54:01 +02:00
Fabien Benureau
47f54af8fa
bump to version 5
2014-04-14 15:53:33 +02:00
Fabien Benureau
d3736e257b
moving from pybtex to bibtextparser, fixed major regressions.
...
* only bibtex format is supported
* all tests except test_repo.py and edit test pass
* edit and update commands were not updated
* removed --format argument from export, only bibtex is supported.
2014-04-13 15:10:40 +02:00
Fabien Benureau
c692f23054
space separation for tags + tag color
2013-11-19 00:48:53 +01:00
Fabien Benureau
523fe888a3
many bugfixes when adding paper through editor
2013-11-18 21:03:47 +01:00
Fabien Benureau
e6d4c33846
added dialog when downloading a file
2013-11-18 20:52:39 +01:00
Fabien Benureau
be88ab1cf5
added 'pdf' field to docfile search in bibfile
2013-11-18 20:41:16 +01:00
Fabien Benureau
3aaed155f6
pubs list returns papers sorted by the time they were added
2013-11-18 19:29:51 +01:00
Fabien Benureau
7fe7704699
fix attach_cmd where meta would not be updated
2013-11-18 19:05:41 +01:00
Fabien Benureau
4ce261d636
more tests on tags
2013-11-18 15:04:34 +01:00
Fabien Benureau
dfd16c029d
first working paper test + bugfix
2013-11-18 14:53:43 +01:00
Fabien Benureau
9243859294
updated test_usecase + fixed bug in import_cmd
2013-11-17 19:44:55 +01:00
Fabien Benureau
810525b4d0
fixed test_config
2013-11-17 19:20:42 +01:00
Fabien Benureau
23cf48661b
added bibstruct text, cleaned fixtures and test_paper
2013-11-17 19:19:31 +01:00
Fabien Benureau
0b1a351485
bibstruct tests + bug fixes
2013-11-17 18:56:52 +01:00
Fabien Benureau
dbb17426d0
add_cmd: fix bug
2013-11-17 17:41:22 +01:00
Fabien Benureau
529e4e5950
added timestamps
2013-11-17 00:25:33 +01:00
Fabien Benureau
c4f296346a
add template text to add editor input
2013-11-15 13:25:54 +01:00
humm
2078876168
default bibfile formant is bibtex + fixed a bug in get_content
2013-11-14 18:37:27 +01:00
Fabien Benureau
8d91545472
papers renamed 'pubs'
2013-11-14 04:40:29 +01:00
humm
b03b899c5a
added support of url (as long as they begin in http://) for docfiles
2013-11-13 22:06:41 +01:00
Fabien Benureau
0fc3df98fe
Merge branch 'feat/docsdir' into feat/cache
...
pubsdir://doc/ replaced by docsdir:// so that docsdir can be relocated.
added support for note, completely internal.
2013-11-12 13:35:36 +01:00
Fabien Benureau
148917c70c
move_doc in docbroker + consequences + remove_cmd remove notes too
2013-11-12 13:34:39 +01:00
Fabien Benureau
29897cc0ad
rename also rename notes
2013-11-11 15:24:09 +01:00
Fabien Benureau
1ad64d7859
notes cmd
2013-11-11 04:07:42 +01:00
Fabien Benureau
f92430de33
fix unicode bug
2013-11-11 00:52:32 +01:00
Fabien Benureau
10fd0f86d6
only one usecase failing
2013-11-11 00:52:09 +01:00
Fabien Benureau
98adc8a750
removed helpers file
2013-11-10 21:54:09 +01:00
Fabien Benureau
e0dab17dcd
added troublesome bibfile
2013-11-10 21:49:53 +01:00
Fabien Benureau
8c54b19207
updated import and added rename command
2013-11-10 19:35:21 +01:00
Fabien Benureau
bc82d0de8c
update attach and export cmds
2013-11-10 14:48:12 +01:00
Fabien Benureau
24df1b36ae
tag cmd
2013-11-10 12:45:05 +01:00
Fabien Benureau
c6d7300ae3
updated remove cmd
2013-11-10 03:32:19 +01:00
Fabien Benureau
da3e70649b
updated open and websearch commands
2013-11-10 03:13:19 +01:00
Fabien Benureau
017a31460d
updated list cmd
2013-11-10 02:59:28 +01:00
Fabien Benureau
353a282b42
minor bug in repo; self.bibentry in paper
2013-11-10 02:57:37 +01:00
Fabien Benureau
76a6d092dd
fixed bug in datacache + added corresponding tests
2013-11-10 02:44:37 +01:00
Fabien Benureau
516996f8fb
removed files.py
2013-11-10 02:08:27 +01:00
Fabien Benureau
dfd47688bb
add command
2013-11-10 02:04:07 +01:00
Fabien Benureau
c048084664
Repository class
2013-11-10 02:03:32 +01:00
Fabien Benureau
161be4f994
Paper class
2013-11-10 02:03:03 +01:00
Fabien Benureau
d1a4dd584f
bibstruct modules
2013-11-10 02:02:34 +01:00
Fabien Benureau
1f6e25d915
fix filebroker and contents bugs
2013-11-10 02:02:00 +01:00
Fabien Benureau
6190890646
updated init cmd, configs + bumped to version 4
2013-11-10 00:38:06 +01:00
Fabien Benureau
a774a1604e
databroker, datacache class + tests
2013-11-09 19:39:59 +01:00
Fabien Benureau
15857b5ecc
docbroker class + tests + more filebroker test
2013-11-09 18:35:31 +01:00