280 Commits

Author SHA1 Message Date
Jonathan Grizou
330532fd82 Remove ask confirmation + force mode. 2013-07-07 19:48:17 +02:00
Jonathan Grizou
44f61fb810 Implemented deep clean which erase every file that is not a '.tex' and every '.tex' file that has no associated paper. 2013-07-07 15:58:22 +02:00
Jonathan Grizou
22cc96cd62 Clean command -> removes all file that are not texfile 2013-07-07 15:42:00 +02:00
Jonathan Grizou
22ed4c8a5a Cleaner/smarter autofill. We also autofill the location of the style and bibfile.
We also allow for the user to choose the bibstyle in the config file.
2013-07-07 15:07:20 +02:00
Jonathan Grizou
15870ecffe Autofill more proper. Use the \autofill{FIELD}{} in body.tex to enable autofill. See the \autofill command in style.sty. 2013-07-07 14:09:51 +02:00
Jonathan Grizou
b233c1a0b2 Added bib file generation. 2013-07-07 01:43:18 +02:00
Jonathan Grizou
8ac1ee557e Merge branch 'develop' into plug/texnote
* develop:
  Dummy mistake in headers.py.
2013-07-07 00:27:36 +02:00
Jonathan Grizou
e1c0e7c8e7 Dummy mistake in headers.py. 2013-07-07 00:26:58 +02:00
Jonathan Grizou
fb3bedfeb1 Delete remaining or header argument. 2013-07-07 00:25:32 +02:00
Jonathan Grizou
473d4ffb36 Adapt to changes in helpers.py 2013-07-07 00:23:45 +02:00
Jonathan Grizou
c44881d3b3 Merge branch 'develop' into plug/texnote
* develop:
  Adapt function in helpers.py to changes in ui.
2013-07-07 00:21:39 +02:00
Jonathan Grizou
0d0cf95269 Adapt function in helpers.py to changes in ui. 2013-07-07 00:20:43 +02:00
Jonathan Grizou
707adb039c Plugin texnote adapted to new ui system. 2013-07-07 00:14:29 +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
Jonathan Grizou
4e17a2201b Simplest possible modification of ui. Working.
Will now propagate changes in every files.
2013-07-06 23:48:30 +02:00
Jonathan Grizou
62bdf7dfad Changed event system to allow more advance listener.
See associated test for example.
2013-07-06 22:02:03 +02:00
jgrizou
4f4a58d81c Texnote robust. Should implement test now. 2013-07-05 21:49:21 +02:00
jgrizou
248055ded9 Fixed error in RenameEvent from previosu chages in repo 2013-07-05 20:17:47 +02:00
jgrizou
5510b6d3b9 Applied flake8 in config. 2013-07-05 19:47:26 +02:00
jgrizou
690f8ce792 Simplifies add and save in repo. 2013-07-05 19:14:47 +02:00
jgrizou
0801b3882d Merge branch 'develop' into plug/texnote 2013-07-05 18:10:40 +02:00
jgrizou
3f1f9623cf texnote plugin integrate all current event 2013-07-05 18:09:02 +02:00
jgrizou
9cc893d8a7 Added AddEvent 2013-07-05 17:41:48 +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
jgrizou
7b555abf92 Change repo and removed the update function and the rename function. Now only the save_paper function must be used 2013-07-05 17:35:32 +02:00
Olivier Mangin
ea26eb69e7 Merge branch 'develop' of gforge:/gitroot/mimosa/papers into develop 2013-07-05 14:42:23 +02:00
Olivier Mangin
d5247a6618 Refactors usecase.
Integrate helpers into TestCase sub-classes to make use of setUp
mechanism.
2013-07-05 14:42:07 +02:00
jgrizou
843d81a0e8 Merge branch 'develop' of scm.gforge.inria.fr:/gitroot/mimosa/papers into develop 2013-07-05 10:03:55 +02:00
Fabien Benureau
ab52785667 update test in test_usecases 2013-07-04 21:39:51 +01:00
Fabien Benureau
e43fbe4744 Merge branch 'develop' of gmimosa:/gitroot/mimosa/papers into develop 2013-07-04 21:36:16 +01:00
Fabien Benureau
9247c0d3f3 update check at startup 2013-07-04 21:31:53 +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
9c47951532 don't remove files at end of test.sh 2013-07-04 21:16:57 +01:00
Fabien Benureau
145710b928 test for every command except websearch and update 2013-07-04 21:15:03 +01:00
Fabien Benureau
f82b913a80 FIX import_cmd typo 2013-07-04 21:06:45 +01:00
Fabien Benureau
7d06200c66 project ackrc file 2013-07-04 20:14:29 +01:00
Fabien Benureau
6c9d4a3a41 lot more test in test_usecase : every command used 2013-07-04 18:59:30 +01:00
Fabien Benureau
04fcb42338 tests can be run from root dir 2013-07-04 18:31:21 +01:00
Fabien Benureau
3b7900a3a4 added tests/tmpdir* to gitignore 2013-07-04 18:07:01 +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
jgrizou
451d3b1a78 Merge branch 'plug/texnote' of scm.gforge.inria.fr:/gitroot/mimosa/papers into develop 2013-07-04 16:22:55 +02:00
jgrizou
76d1ef3931 Texnote usable.
Added a edit_file function in files.
2013-07-04 16:19:46 +02:00
Olivier Mangin
53e6aa512e Remove outdated add_library. 2013-07-04 15:04:18 +02:00
Olivier Mangin
bb8243966b Default plugins is no plugin. 2013-07-04 15:03:28 +02:00
Fabien Benureau
7c5800c79d Merge branch 'develop' of gmimosa:/gitroot/mimosa/papers into develop 2013-07-04 12:33:57 +01:00
Fabien Benureau
e0fd19f9d8 first input test working 2013-07-04 12:28:00 +01:00
Fabien Benureau
7680d0f983 Merge branch 'develop' of gmimosa:/gitroot/mimosa/papers into develop 2013-07-04 12:26:12 +01:00