Fabien Benureau
0d16c6a5a3
updated codestyle with open remark
2013-07-01 13:14:11 +01:00
Fabien Benureau
0514ad606a
Merge branch 'feat/fs' into develop
2013-06-30 18:42:16 +01:00
Fabien Benureau
11080f22ed
Merge branch 'feat/fs' of gmimosa:/gitroot/mimosa/papers into feat/fs
2013-06-30 18:41:21 +01:00
Fabien Benureau
500667baae
more usecase test, hack-fixed plugins.
2013-06-30 18:40:34 +01:00
Fabien Benureau
442ebe6cae
more usecase test, remove is broken.
2013-06-30 18:16:33 +01:00
Fabien Benureau
6d8b0aba21
added force option to remove command
2013-06-30 18:14:56 +01:00
Fabien Benureau
76e162be02
added test bibfiles for usecases
2013-06-30 18:14:24 +01:00
Fabien Benureau
193d815ca6
Merge branch 'texnote' into feat/fs
2013-06-30 18:10:06 +01:00
Fabien Benureau
6ba9b3e14a
added .DS_Store to gitignore
2013-06-30 09:31:09 +01:00
Fabien Benureau
ddfc129b64
redirect and check stdout in usecases
2013-06-29 22:43:37 +01:00
Fabien Benureau
37cd8209d7
compatibility module for python2/3 code
2013-06-29 22:42:04 +01:00
Fabien Benureau
20116cf69d
color.undye method for purging color from strings
2013-06-29 22:41:33 +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
bfa6eb58b7
FIX bug in tag_cmd
2013-06-28 16:08:49 +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
7a21780ec9
Merge branch 'texnote' into develop
2013-06-28 12:16:41 +02:00
Jonathan Grizou
112d6269d7
Verification problème decoration event dans classe
2013-06-28 10:43:32 +02:00
Jonathan Grizou
1fbc855b96
nothing
2013-06-28 00:53:48 +02:00
Jonathan Grizou
9134ac62da
Error when renaming plugins.py in plugin.py, in texnote the import name was not changed.
2013-06-28 00:29:55 +02:00
Fabien Benureau
69f1fad7e9
Merge branch 'develop' into texnote
2013-06-28 00:01:11 +02:00
Fabien Benureau
5d5777fb5f
draft of coding guidelines
2013-06-27 23:07:56 +02:00
Fabien Benureau
cd0ddfd264
removed useless backup file
2013-06-27 23:07:56 +02:00
Fabien Benureau
6491099099
update pit with python3 support
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
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'.
2013-06-27 20:07:05 +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
19ca6c8ac2
Merge branch 'develop' into texnote
2013-06-27 19:21:53 +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
Olivier Mangin
6d303b2c4c
Simplifies event mechanism.
...
- moves RemoveEvent to events
- makes listen a classmethod of the event
2013-06-27 18:35:57 +02:00
Olivier Mangin
4fe3b45836
Merge branch 'develop' into texnote
2013-06-27 18:06:51 +02:00
Fabien Benureau
467e9f4713
add_cmd automatically recognize the format when using the editor
2013-06-27 16:02:12 +02:00
Fabien Benureau
2981d6d9cc
websearch accepts multiple keyword
2013-06-27 15:17:03 +02:00
Fabien Benureau
0fe6b50dc2
clarified user prompt in add_cmd
2013-06-27 14:28:18 +02:00
Fabien Benureau
eb10c0dff1
FIX s/label/tags/ in add_cmd
2013-06-27 12:00:09 +02:00
Fabien Benureau
52a95af184
renamed tags command into tag
2013-06-27 11:55:36 +02:00
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
2013-06-27 11:45:34 +02:00
Fabien Benureau
637eab1059
removed dead code in list
2013-06-27 11:38:08 +02:00
Fabien Benureau
4d3ce2e2d8
factorized list command print code into helpers
2013-06-27 11:08:19 +02:00
Fabien Benureau
8290eeaa9b
FIX bug in bold colors
2013-06-27 11:00:28 +02:00
jgrizou
415b1b37c5
args in event mechanism
2013-06-26 20:00:44 +02:00
Jonathan Grizou
ed44a2c262
Event mechanism working perfectly and very simple and clean
2013-06-26 12:19:24 +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
Fabien Benureau
4e6b062a64
update command for updating repository format
2013-06-25 23:09:26 +02:00
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.
2013-06-25 19:45:00 +02:00
Fabien Benureau
4f132737e4
made init command more robust
2013-06-25 16:55:48 +02:00