Olivier Mangin
91b3fc75bb
Several bug fixes.
...
- edit command fails correctly on unknown citekey,
- init command and filebroker use content module to check paths,
- fix wrong docfile in testrepo,
- list command does not fail on None added date (unknown add dates are
older than everything else). Also adds relevant test.
11 years ago
Olivier Mangin
ac1562f4ea
Fix open_cmd and misleading example from testrepo.
...
Open command was not using system_path to ensure user expansion.
Testrepo was using pubsdir:// instead of docsdir://. Although not
directly used in test this was misleading and incoherent.
Also fixes missing system_path in filebroker.
11 years ago
Olivier Mangin
0274f2640a
Fix bug in export.
...
Not using ui.print_ was causing encoding error.
11 years ago
Olivier Mangin
b71b602a50
FIX bug in color when color not activated.
...
_nodye does not support being called with arg instead of kwarg.
Also improves pretty print and adds related tests.
11 years ago
Olivier Mangin
3e8b780e84
FIX bib_oneliner not robust to missing year.
11 years ago
Olivier Mangin
ad29b27412
FIX bugs witth added time.
...
Actually implement set of added time in repository.
Changes storage of added time (now as datetime.datetime).
11 years ago
Olivier Mangin
d2ba13700f
Better handling of path (also fixes bugs).
...
Paths should be normalized through content.system_path before any actual
operation on files. This is in particular taken care of in content
functions check_file, check_dir, write_file, and read_file.
11 years ago
Fabien Benureau
f2de611106
fixed last regression test
11 years ago
Olivier Mangin
07cb6f696c
Adds back edit command.
...
The Repository rename_paper method has been updated. The citekey update
and syncronization with citekey in the bibdata should be handled in a
sane manner inside the Paper class.
11 years ago
Olivier Mangin
c9e4f9788c
Moves removing of 'id' to endecoder where it belongs.
11 years ago
Olivier Mangin
e1ae125916
Removes texnotes plugin since it is too specific.
11 years ago
Olivier Mangin
8e467da979
Removes unused bug tracking, todo and note files.
11 years ago
Olivier Mangin
66ae19c256
Remove Coding guidelines (moved to github wiki).
11 years ago
Olivier Mangin
e4a25abcfb
FIXES test_repo.
...
Removes 'id' entry from bibdata.
Fixes bug introduced in repo.
11 years ago
Olivier Mangin
c299874146
Fix use of color for import error while color module not yet imported.
11 years ago
Olivier Mangin
93c7fb2f27
Moves TestFakeFs helper to fake_env module.
11 years ago
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.
11 years ago
Olivier Mangin
2f1a8ae42a
Adds possibility to create repo when instance initialized.
...
This avoids having to manually call _create on filebroker.
11 years ago
Olivier Mangin
b51477fc58
Fix typo in readme and add dependency section.
11 years ago
Fabien Benureau
7f7c955a68
Merge branch 'feat/cache' into develop
...
replaced pybtex by bibtexparser
11 years ago
Fabien Benureau
47f54af8fa
bump to version 5
11 years ago
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.
11 years ago
Fabien Benureau
c692f23054
space separation for tags + tag color
11 years ago
Fabien Benureau
523fe888a3
many bugfixes when adding paper through editor
11 years ago
Fabien Benureau
e6d4c33846
added dialog when downloading a file
11 years ago
Fabien Benureau
be88ab1cf5
added 'pdf' field to docfile search in bibfile
11 years ago
Fabien Benureau
3aaed155f6
pubs list returns papers sorted by the time they were added
11 years ago
Fabien Benureau
7fe7704699
fix attach_cmd where meta would not be updated
11 years ago
Fabien Benureau
4ce261d636
more tests on tags
11 years ago
Fabien Benureau
dfd16c029d
first working paper test + bugfix
11 years ago
Fabien Benureau
9243859294
updated test_usecase + fixed bug in import_cmd
11 years ago
Fabien Benureau
810525b4d0
fixed test_config
11 years ago
Fabien Benureau
23cf48661b
added bibstruct text, cleaned fixtures and test_paper
11 years ago
Fabien Benureau
0b1a351485
bibstruct tests + bug fixes
11 years ago
Fabien Benureau
dbb17426d0
add_cmd: fix bug
11 years ago
Fabien Benureau
529e4e5950
added timestamps
11 years ago
Fabien Benureau
c4f296346a
add template text to add editor input
11 years ago
humm
2078876168
default bibfile formant is bibtex + fixed a bug in get_content
11 years ago
Fabien Benureau
8d91545472
papers renamed 'pubs'
11 years ago
humm
b03b899c5a
added support of url (as long as they begin in http://) for docfiles
11 years ago
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.
11 years ago
Fabien Benureau
148917c70c
move_doc in docbroker + consequences + remove_cmd remove notes too
11 years ago
Fabien Benureau
29897cc0ad
rename also rename notes
11 years ago
Fabien Benureau
1ad64d7859
notes cmd
11 years ago
Fabien Benureau
f92430de33
fix unicode bug
11 years ago
Fabien Benureau
10fd0f86d6
only one usecase failing
11 years ago
Fabien Benureau
98adc8a750
removed helpers file
11 years ago
Fabien Benureau
e0dab17dcd
added troublesome bibfile
11 years ago
Fabien Benureau
8c54b19207
updated import and added rename command
11 years ago
Fabien Benureau
bc82d0de8c
update attach and export cmds
11 years ago