Fabien Benureau
e43fbe4744
Merge branch 'develop' of gmimosa:/gitroot/mimosa/papers into develop
12 years ago
Fabien Benureau
edbe1af3fa
Merge branch 'develop' into feat/better_test
...
Better tests, with every command except websearch and update in unit tests.
Support for fake user and editor inputs in tests.
12 years ago
Fabien Benureau
f62b31542d
cosmetics in edit_cmd
12 years ago
Fabien Benureau
f82b913a80
FIX import_cmd typo
12 years ago
Fabien Benureau
cc3928ef4b
fake editor_input
12 years ago
Olivier Mangin
e4ad9745c1
Fix bug and adds doc.
...
- Fix wrong call to editor_input in add_cmd.
- Adds docstring to PapersInRepo class.
12 years ago
Olivier Mangin
53e6aa512e
Remove outdated add_library.
12 years ago
jgrizou
073d03e2fb
Enable open command with option, e.g. "evince -f"
12 years ago
Jonathan Grizou
31cf4de9d3
Change call for command from "cmds[cmd].command(**vars(args))" to "cmds[cmd].command(args)".
...
Applied the corresponding changes to command files.
AMakes it possible to declare and use additional parser inside subparsers.
May be useful for tag command. Will be implemented in texnote plugin.
12 years ago
Jonathan Grizou
d02155af4e
Fixed other command, only tested for export_cmd
12 years ago
Jonathan Grizou
c1b4a797d5
Fixed open_cmd.
12 years ago
Jonathan Grizou
dce81717cc
edit_cmd fixed.
12 years ago
Fabien Benureau
dc73c987c8
update command for config v2 to v3
12 years ago
Fabien Benureau
4e9ce17c71
adapted update to version 3
12 years ago
Fabien Benureau
e4f7017fdb
commands updated to new config, new repo
12 years ago
Fabien Benureau
6d8b0aba21
added force option to remove command
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
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
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
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
Fabien Benureau
4f132737e4
made init command more robust
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
Olivier Mangin
105ae292b9
Support for many references and refactor.
...
- Moves shared command code to helpers module.
- Implements reference(s) argument for commands:
+ a helper to add single or multi-reference argument to parser,
+ two functions to transform this argument into a list of citekeys.
12 years ago
Olivier Mangin
281d945f08
FIX color bugs.
12 years ago
Olivier Mangin
af5020c6a4
FIX bugs introduced by change in color handling.
12 years ago
Fabien Benureau
a928af2944
Merge branch 'develop' of gmimosa:/gitroot/mimosa/papers into develop
...
Conflicts:
papers/commands/open_cmd.py
12 years ago
Fabien Benureau
7ff15be075
added john in the author list of setup.py
12 years ago
Olivier Mangin
1b5e21ab5c
Adds option to open document with another programm.
12 years ago
Fabien Benureau
c8501aa211
updating the code to new color module
12 years ago
jgrizou
fed60b7069
Author search by last name: ugly.
12 years ago
Olivier Mangin
db7a81598e
Fix wrong command name (devlist -> list)
12 years ago
Olivier Mangin
8d9f4310e0
Adds forgotten tags_cmd and fixes init_cmd.
12 years ago
Olivier Mangin
b514ab0dde
Better use of ui in commands.
12 years ago
Olivier Mangin
e404c9e5b3
Adds tags command to list tags.
12 years ago