Commit graph

57 commits

Author SHA1 Message Date
Laurent Bachelier
1150e89b65 webcontentedit: Better checks for vim usage
Using a full path would not detect vim (/usr/bin/vim).
Also, we can detect if EDITOR=vi but the vi is a symlink to vim.
2014-09-17 21:49:55 +02:00
Laurent Bachelier
c07e23cafc Use class attributes as much as possible for application output
refs #803
2014-09-04 12:41:25 +02:00
Laurent Bachelier
19a95dc0d6 Centralize encoding guesses, default to UTF-8
This might not be enough for print() and could need a locale.setlocale()
even though it is generally discouraged.

closes #1352
2014-09-04 12:41:25 +02:00
Florent
432f97e95c bump to 1.0 2014-09-03 17:14:10 +02:00
Romain Bignon
e025fb0b20 rename ICap to Cap (closes #1424) 2014-07-05 17:33:44 +02:00
Florent
9ca0bbae6a bump to 0.j 2014-05-19 22:45:35 +02:00
Bezleputh
47c634e90c [webcontentedit] add a -r parameter to get command to precise revision id.
The aim is to allow to get compound words
2014-05-14 11:42:43 +02:00
Florent
a82f57512c bump to 0.i 2014-01-08 23:40:16 +01:00
Laurent Bachelier
bfe3ac6bcd Remove comments on deleted code
They were still there because the code was automatically removed.
2013-08-03 22:15:30 +02:00
Florent
9b022b2ebe bump to 0.h 2013-08-03 14:31:13 +02:00
Romain Bignon
b99d599aa9 remove parameter max_results from all capabilities 2013-07-27 23:40:24 +02:00
Romain Bignon
bdf4c13f4e remove useless calls to ReplApplication.flush() (closes #812) 2013-07-27 19:00:58 +02:00
Laurent Bachelier
fd5901b00e Use NamedTemporaryFile(delete=False) instead of mkstemp 2013-07-27 15:42:23 +02:00
Laurent Bachelier
a6ad7e83ff Use newer form of catching exceptions
autopep8 -i --select=W602
Also some other minor deprecated syntax changes, like "while 1".
I did not commit the less obvious changes.
2013-07-27 15:16:16 +02:00
Romain Bignon
c0740e695d remove useless import of with_statement (we do not support anymore python2.5)
refs #806
2013-07-27 14:38:18 +02:00
Florent
9484099a1d bump to 0.g 2013-03-26 18:31:12 +01:00
Laurent Bachelier
f17fc00fc8 Add "get" command to webcontentedit 2013-03-12 00:00:25 +01:00
Goffi
19a89c9a9e add non tty stdin support to edit command in webcontentedit
Signed-off-by: Laurent Bachelier <laurent@bachelier.name>
2013-03-10 23:11:35 +01:00
Laurent Bachelier
ae06ae3384 Add missing "whatis entry" to man pages
This is recommended by Debian.
closes #618
2013-02-13 00:38:33 +01:00
Florent
bf3132e8c0 bump to 0.f 2013-01-25 17:23:49 +01:00
Romain Bignon
4a1e4b5afa bump to 0.e 2012-10-28 20:39:49 +01:00
Romain Bignon
2f8072e89e bump to 0.d 2012-05-04 21:17:46 +02:00
Romain Bignon
fc849995f4 rewrite of the formatters system 2012-04-03 22:40:38 +02:00
Romain Bignon
8e391d0b88 bump to 0.c 2012-03-14 22:09:24 +01:00
Romain Bignon
4be4b40509 bump to 0.b 2012-02-05 19:35:30 +01:00
Romain Bignon
eb3f681136 bump to 0.a 2011-10-10 11:38:02 +02:00
Romain Bignon
e68ec1d6e5 fix unicode issues 2011-10-03 20:57:51 +02:00
Romain Bignon
a54fe01e6b id of pages can't be shared between backends 2011-06-26 14:16:15 +02:00
Romain Bignon
5cd8d92274 support all wiki pages names 2011-05-29 23:29:46 +02:00
Romain Bignon
53e22d9f4b bump to 0.9 2011-05-08 18:31:44 +02:00
Laurent Bachelier
8075d538f0 Better messages and return codes in applications
Use stderr and return codes >0 when it makes sense.
Loose return code conventions:
* 1 for generic errors
* 2 for user input errors
* 3 for remote errors (not found, etc.)
* 4 for not implemented
2011-05-04 00:44:43 +02:00
Romain Bignon
7e2bb91b3b change license to AGPLv3+ 2011-04-08 12:48:07 +02:00
Christophe Benz
c7ff4640a0 Fix application descriptions. 2011-04-04 10:35:41 +02:00
Romain Bignon
31a0a0a8be bump to 0.8 2011-04-04 10:30:09 +02:00
Juke
fa8a4f8fe3 set a default editor (closes #557) 2011-03-15 23:41:32 +01:00
Romain Bignon
3cb6ca033f bump to 0.7 2011-03-01 13:57:23 +01:00
Romain Bignon
78d601390a fix encoding problems 2011-03-01 13:34:10 +01:00
Romain Bignon
cc2f4f33b7 fix detection of changes when the init content is empty 2011-02-26 10:45:28 +01:00
Romain Bignon
a856434188 fix the 'log' command 2011-02-19 18:54:01 +01:00
Clément Schreiner
6979604e6f Support for more than 10 revisions in mediawiki.
Maximum number of revisions in iter_revisions is now 500, the API's limit
for normal users.

webcontentedit has been updated to use the 'count' option for do_log().
2011-02-16 23:19:50 +01:00
Clément Schreiner
d8cb5230ca Fix encoding in do_log() 2011-02-16 23:03:47 +01:00
Clément Schreiner
c783d37673 Adds option for marking edits as minor. 2011-02-16 22:38:41 +01:00
Clément Schreiner
a6f5ef2049 New command: do_log(page).
This new command displays the last revisions of the page.

TODO: specific formatter (it should display the history like git log).
2011-02-16 22:33:28 +01:00
Romain Bignon
81f9980623 update copyrights 2011-01-14 23:03:52 +01:00
Romain Bignon
2ebb9a844d bump to 0.6 2011-01-08 12:30:28 +01:00
Romain Bignon
78bfa70f23 set a description for every application 2010-12-09 12:03:38 +01:00
Christophe Benz
3dd50f363d remove unnecessary brackets 2010-12-08 18:10:42 +01:00
Romain Bignon
a83a81dde8 bump to 0.5 2010-12-01 19:55:59 +01:00
Romain Bignon
bea732d534 bump to version 0.4 2010-11-01 23:21:37 +01:00
Christophe Benz
b69a31e1b9 python2.5 compatibility (for maemo) 2010-11-01 16:48:17 +01:00