Fabien Benureau
4f132737e4
made init command more robust
2013-06-25 16:55:48 +02:00
Olivier Mangin
70eec18c1d
FIX missing import in files.
2013-06-24 19:58:11 +02:00
Olivier Mangin
03145ed77e
FIX bug in list.
2013-06-22 11:00:47 +02:00
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).
2013-06-21 20:00:01 +02:00
Olivier Mangin
2fdf95c785
Adds ability to only list citekeys of matching papers (list cmd).
2013-06-19 17:02:55 +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
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.
2013-06-19 16:35:41 +02:00
Olivier Mangin
281d945f08
FIX color bugs.
2013-06-18 20:22:02 +02:00
Olivier Mangin
af5020c6a4
FIX bugs introduced by change in color handling.
2013-06-13 16:58:56 +02:00
Fabien Benureau
a928af2944
Merge branch 'develop' of gmimosa:/gitroot/mimosa/papers into develop
...
Conflicts:
papers/commands/open_cmd.py
2013-06-13 16:44:25 +02:00
Fabien Benureau
7ff15be075
added john in the author list of setup.py
2013-06-13 16:41:38 +02:00
Olivier Mangin
1b5e21ab5c
Adds option to open document with another programm.
2013-06-13 14:50:54 +02:00
Fabien Benureau
c8501aa211
updating the code to new color module
2013-06-13 12:30:45 +02:00
jgrizou
fed60b7069
Author search by last name: ugly.
2013-06-12 19:20:45 +02:00
Olivier Mangin
db7a81598e
Fix wrong command name (devlist -> list)
2013-06-12 12:42:34 +02:00
Olivier Mangin
8d9f4310e0
Adds forgotten tags_cmd and fixes init_cmd.
2013-06-11 12:34:45 +02:00
Olivier Mangin
b514ab0dde
Better use of ui in commands.
2013-06-11 12:30:42 +02:00
Olivier Mangin
e404c9e5b3
Adds tags command to list tags.
2013-06-11 12:23:46 +02:00
Olivier Mangin
2e52c33851
Merges devlist into list.
2013-06-11 11:38:56 +02:00
Olivier Mangin
245ab0ea4d
Integrates devadd as add.
2013-06-10 15:04:04 +02:00
Jonathan Grizou
74118924b8
Improved devlist_cmd. Now supporting undefinite number of args
2013-06-09 13:54:57 +02:00
Jonathan Grizou
e1ab6510b5
Option to add label on add. Clean label plot for list option
2013-06-09 01:15:11 +02:00
Jonathan Grizou
a162f26723
A first trial to add queries in list_cmd -> see devlist_cmd.
2013-06-09 01:06:55 +02:00
Jonathan Grizou
7b034b6d53
A proposal to change add_cmd -> see devadd_cmd. Bibfile becomes an option. If not define, open editor to fill one.
2013-06-08 23:59:18 +02:00
Jonathan Grizou
ff4b40e770
Fixed error in import, wrong relative path
2013-06-08 14:32:37 +02:00
jgrizou
d27e5457ef
Adds plugin capability and call MAIN_SECTION to get configs.
2013-06-07 20:51:12 +02:00
Olivier Mangin
66fc618149
Adds TODO, FIX minor issue in list, change explicit call to class name
...
to cla.
2013-06-06 14:49:33 +02:00
Olivier Mangin
f0750b0388
Adds tags display to list.
2013-06-06 12:03:14 +02:00
jgrizou
1e30a6899e
when init -> update config file with papers-directory
2013-06-06 11:31:43 +02:00
Olivier Mangin
04eeedf8a4
Switch to config based papers directory.
...
TODO add papers dir to config on papers init command.
2013-06-05 19:52:11 +02:00
Olivier Mangin
099e764c04
Removes paging from list command.
2013-06-05 18:10:14 +02:00
Olivier Mangin
f8e370f288
Uniformizes add and import commands. Still to be further tested.
2013-06-05 17:57:35 +02:00
Olivier Mangin
a45051815d
Adds remove command.
2013-06-05 16:50:10 +02:00
Olivier Mangin
411647a1b3
FIX bug in edit command when citekey is edited.
2013-06-05 16:39:33 +02:00
Olivier Mangin
7c3ce78f70
Basic tag handling.
2013-06-05 14:52:50 +02:00
Olivier Mangin
bea8c99187
FIX OSError on existing document file. Use ui to display error at init.
2013-06-04 19:24:16 +02:00
Olivier Mangin
3e6a1403b9
Adds basic export capabilities.
2013-03-14 15:49:04 +01:00
Olivier Mangin
0d413697e7
FIX minor bug in document path.
2013-03-14 15:07:50 +01:00
Olivier Mangin
5d312e020d
Improves edition, FIX bugs.
...
- handle citekey modifications in edition,
- fixes bug in update and remove functions.
2013-03-12 17:01:13 +01:00
Olivier Mangin
2d700073a8
Improves document handling.
...
- configuration is now referenced in repo object,
- introduces new class PaperInRepo,
- simplifies storage of documents in metadata,
- changes a few names.
2013-02-21 16:48:32 +01:00
Olivier Mangin
42569f7f23
Adds basic UI functionalities.
2013-02-13 11:42:43 +01:00
Olivier Mangin
748717ff97
Adds edit command.
2013-01-04 15:27:29 +01:00
Olivier Mangin
f734e2f172
Simplified color usage.
2012-12-26 22:21:25 +01:00
Olivier Mangin
3af7590827
Adds basic import command with document file copy.
...
Still lot to be improve on ui and features.
2012-12-20 17:56:34 +01:00
Olivier Mangin
47e3ce88e8
Moves add_papers fonctionality.
...
Now:
- paper.py provides extraction of many Papers from bib,
- command performs the loop to add each paper to repo.
2012-12-20 15:47:00 +01:00
Olivier Mangin
da7fa55d19
Adds config file.
2012-12-19 17:45:18 +01:00
Olivier Mangin
b46f8c543d
Improves repo dir specification to avoid issues.
2012-12-19 16:20:35 +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
f2e9625aac
Work in progress: improves UTF-8 support, cleans paper creation.
2012-12-14 21:10:36 +01:00