111 Commits

Author SHA1 Message Date
humm
b03b899c5a added support of url (as long as they begin in http://) for docfiles 2013-11-13 22:06:41 +01:00
Fabien Benureau
148917c70c move_doc in docbroker + consequences + remove_cmd remove notes too 2013-11-12 13:34:39 +01:00
Fabien Benureau
1ad64d7859 notes cmd 2013-11-11 04:07:42 +01:00
Fabien Benureau
98adc8a750 removed helpers file 2013-11-10 21:54:09 +01:00
Fabien Benureau
8c54b19207 updated import and added rename command 2013-11-10 19:35:21 +01:00
Fabien Benureau
bc82d0de8c update attach and export cmds 2013-11-10 14:48:12 +01:00
Fabien Benureau
24df1b36ae tag cmd 2013-11-10 12:45:05 +01:00
Fabien Benureau
c6d7300ae3 updated remove cmd 2013-11-10 03:32:19 +01:00
Fabien Benureau
da3e70649b updated open and websearch commands 2013-11-10 03:13:19 +01:00
Fabien Benureau
017a31460d updated list cmd 2013-11-10 02:59:28 +01:00
Fabien Benureau
dfd47688bb add command 2013-11-10 02:04:07 +01:00
Fabien Benureau
6190890646 updated init cmd, configs + bumped to version 4 2013-11-10 00:38:06 +01:00
Olivier Mangin
3a7458f226 FIX bug in list numbers introduced by e72f8fa7. 2013-10-17 09:56:28 +02:00
Olivier Mangin
e72f8fa7f2 Improves query handling for list command.
- Cleans code.
- Clever mode for case by default (case sensitive only if capitals in
  query).
- Adds basic tests.
- Conjunction of blocks.
- Options to override smart case.
2013-10-14 18:03:34 +02:00
Olivier Mangin
08811b842f Adds citekey argument to selectively import entries.
Also removes unused fatal argument from many_from_path and moves
printing of warning to the command.
2013-07-16 12:46:02 +02:00
Jonathan Grizou
e1c0e7c8e7 Dummy mistake in headers.py. 2013-07-07 00:26:58 +02:00
Jonathan Grizou
0d0cf95269 Adapt function in helpers.py to changes in ui. 2013-07-07 00:20:43 +02:00
Jonathan Grizou
da6d2d21d5 ui is no more passed in the command args.
Corresponding changes have been applied in commands files.
2013-07-07 00:05:57 +02:00
jgrizou
ac8ab54aae Changed the event, deleted the ui and add the Rename event. 2013-07-05 17:36:57 +02:00
jgrizou
516f8231ab Update the edit_cmd with respect to changes in repo 2013-07-05 17:36:11 +02:00
Fabien Benureau
e43fbe4744 Merge branch 'develop' of gmimosa:/gitroot/mimosa/papers into develop 2013-07-04 21:36:16 +01:00
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.
2013-07-04 21:17:33 +01:00
Fabien Benureau
f62b31542d cosmetics in edit_cmd 2013-07-04 21:17:19 +01:00
Fabien Benureau
f82b913a80 FIX import_cmd typo 2013-07-04 21:06:45 +01:00
Fabien Benureau
cc3928ef4b fake editor_input 2013-07-04 18:05:53 +01:00
Olivier Mangin
e4ad9745c1 Fix bug and adds doc.
- Fix wrong call to editor_input in add_cmd.
- Adds docstring to PapersInRepo class.
2013-07-04 18:13:30 +02:00
Olivier Mangin
53e6aa512e Remove outdated add_library. 2013-07-04 15:04:18 +02:00
jgrizou
073d03e2fb Enable open command with option, e.g. "evince -f" 2013-07-04 10:55:49 +02:00
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.
2013-07-03 23:01:47 +02:00
Jonathan Grizou
d02155af4e Fixed other command, only tested for export_cmd 2013-07-03 21:22:23 +02:00
Jonathan Grizou
c1b4a797d5 Fixed open_cmd. 2013-07-03 21:15:57 +02:00
Jonathan Grizou
dce81717cc edit_cmd fixed. 2013-07-03 21:12:48 +02:00
Fabien Benureau
dc73c987c8 update command for config v2 to v3 2013-07-02 16:42:37 +01:00
Fabien Benureau
4e9ce17c71 adapted update to version 3 2013-07-02 15:58:35 +01:00
Fabien Benureau
e4f7017fdb commands updated to new config, new repo 2013-07-02 14:04:05 +01:00
Fabien Benureau
6d8b0aba21 added force option to remove command 2013-06-30 18:14:56 +01: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
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
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
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