231 Commits

Author SHA1 Message Date
Fabien Benureau
e92c418d80 new, simplified, easier to use config implementation
tests are provided, but the rest of the code has not be updated yet.
2013-07-01 13:14:56 +01:00
Fabien Benureau
500667baae more usecase test, hack-fixed plugins. 2013-06-30 18:40:34 +01:00
Fabien Benureau
76e162be02 added test bibfiles for usecases 2013-06-30 18:14:24 +01:00
Fabien Benureau
ddfc129b64 redirect and check stdout in usecases 2013-06-29 22:43:37 +01:00
Fabien Benureau
cb94166aef test.sh into virtual usecase 2013-06-29 10:17:59 +01:00
Fabien Benureau
293fc2393f automatic copy of content into fake fs 2013-06-29 10:04:38 +01:00
Fabien Benureau
46e6630e7a corrected test name 2013-06-29 09:55:28 +01:00
Fabien Benureau
b4504278f2 more robust fake_fs testing; added papers add test 2013-06-29 09:30:56 +01:00
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
2013-06-28 19:30:07 +02:00
Fabien Benureau
585e09e498 tags set are algebrical: math+romance-war 2013-06-28 15:22:55 +02:00
Fabien Benureau
919c7c1c5a method parse for algebric tags 2013-06-28 14:58:27 +02:00
Fabien Benureau
69f1fad7e9 Merge branch 'develop' into texnote 2013-06-28 00:01:11 +02:00
Fabien Benureau
cd0ddfd264 removed useless backup file 2013-06-27 23:07:56 +02:00
Fabien Benureau
7c80257e7e updated test.sh script 2013-06-27 23:07:56 +02:00
Olivier Mangin
05ab7ec32a Cleanup events.
- moves tests to separate test_events file
- cleanup base Event class
2013-06-27 19:41:45 +02:00
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
2013-06-27 19:21:28 +02:00
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']
2013-06-25 23:42:06 +02:00
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.
2013-06-19 16:43:18 +02:00
Fabien Benureau
840deaccc1 test to measure color performance 2013-06-13 12:28:59 +02:00
Olivier Mangin
7c3ce78f70 Basic tag handling. 2013-06-05 14:52:50 +02:00
Olivier Mangin
3e6a1403b9 Adds basic export capabilities. 2013-03-14 15:49:04 +01:00
Olivier Mangin
83845d2360 Adds update funciton for paper and required API and test updates.
- Adds update function that handle changes in citekey.
- Adds copy functions to paper classes.
- Adds tests.
- FIX a few bugs.
2013-03-01 16:33:56 +01:00
Olivier Mangin
5bfe827b7e Fixes test.sh. 2012-12-19 16:33:58 +01:00
Olivier Mangin
b46f8c543d Improves repo dir specification to avoid issues. 2012-12-19 16:20:35 +01:00
Olivier Mangin
dbb73d6f8e Fixes wrong test. 2012-12-19 15:29:14 +01:00
Olivier Mangin
0d53619e1f Updates commands. Many bug fix. 2012-12-18 16:48:40 +01:00
Olivier Mangin
1fad286517 Improves repo.py, adds tests. Still things to clean and decide... 2012-12-17 16:56:32 +01:00
Olivier Mangin
b08133bd1d Improves citekey suffix generation. 2012-12-17 10:59:16 +01:00
Olivier Mangin
2d758ea16e Cleanup Paper class and adds test. 2012-12-17 09:14:35 +01:00
Fabien Benureau
15782375a5 citekey generation and support 2012-10-07 22:13:41 +02:00
Fabien Benureau
3c11994b6f added test. fixed few syntaxic bugs. 2012-10-07 20:19:53 +02:00