Fabien Benureau
164816a910
updated tests
12 years ago
Fabien Benureau
c7a8ada751
enabled load keyword in repo __init__
12 years ago
Fabien Benureau
7b66a4697d
all repo test pass. doc are temporarily disabled.
12 years ago
Fabien Benureau
c3b71e9095
better files.clean_path arguments
12 years ago
Fabien Benureau
ac4b682307
added doc_dir and keywords init to config
12 years ago
Fabien Benureau
a354e79523
first test of new repo passing
12 years ago
Fabien Benureau
320a488667
added get operator to config
12 years ago
Fabien Benureau
45da61f4d2
added config support for multiple sections
12 years ago
Fabien Benureau
f934e8c2ec
more tests for config, slightly changed implementation and interface.
12 years ago
Fabien Benureau
e92c418d80
new, simplified, easier to use config implementation
...
tests are provided, but the rest of the code has not be updated yet.
12 years ago
Fabien Benureau
500667baae
more usecase test, hack-fixed plugins.
12 years ago
Fabien Benureau
6d8b0aba21
added force option to remove command
12 years ago
Fabien Benureau
193d815ca6
Merge branch 'texnote' into feat/fs
12 years ago
Fabien Benureau
37cd8209d7
compatibility module for python2/3 code
12 years ago
Fabien Benureau
20116cf69d
color.undye method for purging color from strings
12 years ago
Fabien Benureau
b4504278f2
more robust fake_fs testing; added papers add test
12 years ago
Fabien Benureau
13bd18cda9
working fs replacement enabling use case testing.
...
papers content was mostly moved to papers_cmd.py
You can now use papers_cmd.execute('papers tag Page99'.split()) from the code
12 years ago
Fabien Benureau
bfa6eb58b7
FIX bug in tag_cmd
12 years ago
Fabien Benureau
585e09e498
tags set are algebrical: math+romance-war
12 years ago
Fabien Benureau
919c7c1c5a
method parse for algebric tags
12 years ago
Jonathan Grizou
112d6269d7
Verification problème decoration event dans classe
12 years ago
Jonathan Grizou
9134ac62da
Error when renaming plugins.py in plugin.py, in texnote the import name was not changed.
12 years ago
Olivier Mangin
014234b159
FIX issue with plugins being called plugins.
...
For some reason the installer creates a plugin package inside papers.
Therefore the 'import plugins' refers to the __init__.py module in that
directory. Fixed by renaming 'plugins.py' into 'plugin.py'.
12 years ago
Olivier Mangin
05ab7ec32a
Cleanup events.
...
- moves tests to separate test_events file
- cleanup base Event class
12 years ago
Olivier Mangin
19ca6c8ac2
Merge branch 'develop' into texnote
12 years ago
Olivier Mangin
e017ffef20
Fix bugs with saving tags in yaml.
...
- now saves tag set as list (maybe the save_meta function should be
moved to paper.py)
- updates test to actually test storing of metadata
12 years ago
Olivier Mangin
6d303b2c4c
Simplifies event mechanism.
...
- moves RemoveEvent to events
- makes listen a classmethod of the event
12 years ago
Olivier Mangin
4fe3b45836
Merge branch 'develop' into texnote
12 years ago
Fabien Benureau
467e9f4713
add_cmd automatically recognize the format when using the editor
12 years ago
Fabien Benureau
2981d6d9cc
websearch accepts multiple keyword
12 years ago
Fabien Benureau
0fe6b50dc2
clarified user prompt in add_cmd
12 years ago
Fabien Benureau
eb10c0dff1
FIX s/label/tags/ in add_cmd
12 years ago
Fabien Benureau
52a95af184
renamed tags command into tag
12 years ago
Fabien Benureau
a1895103fc
new and improved tag(s) command !
...
(will be renamed 'tag' in next commit)
'git tag ref' returns the tags of the ref
'git tag tag1' return the refs which have tag1 as tag
'git tag ref tag1,tag2' add tag1 and tag2 to ref
'git tag ref :tag1,tag2' remove tag1 and add tag2 to ref
12 years ago
Fabien Benureau
637eab1059
removed dead code in list
12 years ago
Fabien Benureau
4d3ce2e2d8
factorized list command print code into helpers
12 years ago
Fabien Benureau
8290eeaa9b
FIX bug in bold colors
12 years ago
jgrizou
415b1b37c5
args in event mechanism
12 years ago
Jonathan Grizou
ed44a2c262
Event mechanism working perfectly and very simple and clean
12 years ago
Fabien Benureau
d30d5f32c4
"label" renamed as "tag" in the metadata file (and everywhere else).
...
Use the update command to update your metadata files.
Tags is now a property of the Paper class, so one can use :
print(p.tags)
p.tags = ['math', 'romance']
12 years ago
Fabien Benureau
4e6b062a64
update command for updating repository format
12 years ago
jgrizou
ff195c0859
Plugins class created and handle for the parse. Next step is to code the event messages. Next one is to code the setup extension.
12 years ago
Fabien Benureau
4f132737e4
made init command more robust
12 years ago
Fabien Benureau
8b0baede88
FIX bug in color handling
12 years ago
Jonathan Grizou
a880f5b677
bulshit
12 years ago
Olivier Mangin
70eec18c1d
FIX missing import in files.
12 years ago
Olivier Mangin
03145ed77e
FIX bug in list.
12 years ago
Olivier Mangin
06ea3627f4
Adds new attach command.
...
Adds command to associate a document (pdf, ...) to an existing paper
(same copy option than add and import commands).
12 years ago
Olivier Mangin
2fdf95c785
Adds ability to only list citekeys of matching papers (list cmd).
12 years ago
Olivier Mangin
18ed2a7629
Simplifies paper retrieval from repo.
...
- Removes old paper_from_ref from repo.
- Changes papers_from_citekey to get_paper.
- Switches texnote plugin to new ref argument helpers.
12 years ago