Commit graph

482 commits

Author SHA1 Message Date
Romain Bignon
bbcf8c7854 remove 'install' command 2012-04-28 15:46:57 +02:00
Romain Bignon
f5625240cc use get_object() instead of inner functions 2012-04-28 15:26:00 +02:00
Florent
d36618a7b8 Add a atom formatter for boobmsg
Example of use case (in a cron) :
boobmsg export_all -n -1 -f atom -b presseurop > /var/www/press.atom

And a cool full atom feeds can be broadcasted to all
rss readers.
2012-04-27 16:35:35 +02:00
Florent
1b5c2f680d s/river/gauges/ (old command to new command)
This fix documentation of "help" command
2012-04-27 13:34:39 +02:00
Florent
80c0f88474 Add new qif formatter: use label and rdate if exist 2012-04-27 13:33:52 +02:00
Florent
301d617c2e Get all subscriptions by default for history and bills 2012-04-25 16:12:35 +02:00
Florent
92d5e9ea0f Get all available subscriptions for details command
Add a new method get_object_list to ReplApplication
Should close #846.
2012-04-25 13:50:42 +02:00
Pierre Mazière
8d13282dab boobank: never convert a float to decimal
Signed-off-by: Pierre Mazière <pierre.maziere@gmail.com>
2012-04-18 00:55:49 +02:00
Florent
7d3ba1f4d4 Fix conversion warning 2012-04-15 20:31:08 +02:00
Laurent Bachelier
12f867757b repositories: Prefer gpg2 over gpg 2012-04-10 07:30:21 +02:00
Romain Bignon
c437c99ead add missing parameter 2012-04-06 13:57:01 +02:00
Romain Bignon
9e6fb48dee fix transfer formatter 2012-04-04 09:14:35 +02:00
lucien
657e2213ac common language interface and wordreference backend
Conflicts:

	modules/wordreference/pages.py
	weboob/applications/translaboob/translaboob.py
2012-04-03 22:52:40 +02:00
Romain Bignon
fc849995f4 rewrite of the formatters system 2012-04-03 22:40:38 +02:00
Roger Philibert
3db704a28c [boobmsg] Reject empty messages by default 2012-04-01 19:39:57 +02:00
Romain Bignon
a8166a4719 several fixes in the new ICapTranslate capability, module and application 2012-04-01 19:32:05 +02:00
lucien
7c573b47a6 * translaboob is a weboob application for automatic translation
* new capability is defined, ICapTranslate
* googletranslate is a backend for the translaboob application
2012-04-01 18:46:13 +02:00
Roger Philibert
b0f1035ae8 [boobmsg] Use url suffix to save photos with their extension 2012-03-29 23:16:47 +02:00
Romain Bignon
b157e92d5b use decimal.Decimal instead of float to store amounts of money 2012-03-29 16:31:18 +02:00
Laurent Bachelier
3b2bafdf12 Centralize "empty" comparisons
And always use "is" instead of "==".
2012-03-27 12:14:37 +02:00
Romain Bignon
cedbc3ae77 check types of compared objects in __eq__() operators 2012-03-27 11:55:24 +02:00
Romain Bignon
e8e7fbead1 add application comparoob 2012-03-26 23:05:23 +02:00
Romain Bignon
8d182f8e4e havedate inherits boobmsg 2012-03-26 16:13:12 +02:00
Roger Philibert
36b66e9238 [boobmsg] Photos command 2012-03-26 14:20:37 +02:00
Roger Philibert
bf17245f90 [boobmsg] Profile support 2012-03-26 14:20:37 +02:00
Clément Schreiner
0ccae70238 Remove useless Revision's attribute: 'revision'. 2012-03-26 11:47:31 +02:00
Clément Schreiner
e790778f6a Fix typo. Makes loadButton enabled again after loading has failed. 2012-03-25 12:56:00 +02:00
Clément Schreiner
9851a675d5 Set a placeholder text for cityEdit only if the user's version of Qt supports it. fixes #832 2012-03-25 10:33:49 +02:00
Clément Schreiner
5daf71effe Small UI fixes. Compatibility with Qt version < 4.7.
- error callback for loadHistory, to make the reload button enabled again after an error
 - remove descriptionEdit's placeholder (for compatibilty with earlier versions of Qt)
 - add placeholder text to descriptionEdit if supported by the user's version of Qt
 - set contentEdit read-only while loading a new page
 - saveButton was still showing "Saving" after saving had failed
2012-03-25 10:22:55 +02:00
Clément Schreiner
07c7b7b1be Code cleaning. Comments, methods renaming and other cosmetic changes.
- added doc strings to every method
 - showPreview -> loadPreview (for consistency)                                                        - _loadPage_cb -> _loadedPage (same for savePage)                                                     - _loadPage_eb -> _errorLoadPage (same for savePage)
 - try to limit lines to 79 columns
2012-03-25 10:22:55 +02:00
Clément Schreiner
4b8e2937be Make the 'load' button usable again after loading has failed. 2012-03-25 10:22:55 +02:00
Clément Schreiner
44ca257bae Add revisions at the end and not the beginning. Revisions are now shown in the correct order. 2012-03-24 20:54:09 +01:00
Clément Schreiner
f14f63daf2 Add 'History' tab, showing the current page's list of previous revisions. fixes #561 2012-03-24 20:14:39 +01:00
Clément Schreiner
5fe9273b2f More minor changes to the UI.
- the contentEdit widget is ReadOnly before a page has been loaded
 - the saveButton widget stays disabled after the page has been saved
2012-03-24 20:14:15 +01:00
Romain Bignon
8f282c9ae8 rename iter_operations to iter_coming 2012-03-23 17:07:34 +01:00
Clément Schreiner
85d46363a6 Placeholder text for edit summary. 2012-03-23 11:44:32 +01:00
Clément Schreiner
a1a68847bb Minor UI changes.
- The 'save' button is disabled and shows 'No changes' at first. Editing contentEdit's text
enables the button and makes it show 'Save'.
 - The 'save' button is disabled and shows 'Saving...' when the page is being saved, and stays
disabled until contentEdit's text has been changed again.
 - The 'save' button shows 'Saved' once the page has been successfully saved. fixes #560
 - contentEdit is readonly when the page is being saved
2012-03-23 09:53:57 +01:00
Laurent Bachelier
ba5949cd22 Remove nb_unread/nb_messages in CapMessages
Most backends don't set it nb_messages and no application used it.
No backends set nb_unread and only one application tried to use it.

This should help avoid useless fillobj() calls in some cases.

fixes #827
2012-03-23 07:04:42 +01:00
Laurent Bachelier
64d976d6d9 Add command to run the monboob process only once 2012-03-21 04:16:45 +01:00
Romain Bignon
e2aaef914a fix 'close' command 2012-03-18 11:33:56 +01:00
Laurent Bachelier
e958c229e6 Move the "empty search for latest" to collections
There is now a "latest" collection (or "latest_nsfw").
The feature didn't look much used, since it didn't work on many
backends.
Using collections will make it easy to support other things
like most viewed, featured, etc.
As a bonus, I added tests for every backend with the feature.
2012-03-16 03:34:22 +01:00
Florent Fourcot
65251c4ceb Display renew confirmation/errors 2012-03-16 00:49:58 +01:00
Florent Fourcot
bdcc5db8bb Add "renew" in ICapBook and in boobooks 2012-03-16 00:49:54 +01:00
Florent Fourcot
34a71f9ef8 Fix error messages 2012-03-16 00:49:51 +01:00
Romain Bignon
8e391d0b88 bump to 0.c 2012-03-14 22:09:24 +01:00
Romain Bignon
df7325d712 get all fields of housings 2012-03-14 21:56:36 +01:00
Florent
34e95f8f7b Add format as file extension 2012-03-14 10:30:17 +01:00
Florent
99a2e554e8 Download bill on freemobile 2012-03-14 07:12:03 +01:00
Laurent Bachelier
006e97a8be PEP8 style fixes and other small style fixes
I used autopep8 on some files and did carefully check the changes.
I ignored E501,E302,E231,E225,E222,E221,E241,E203 in my search, and at
least E501 on any autopep8 run.

Other style fixes not related to PEP8:
* Only use new-style classes. I don't think the usage of old-style
  classes was voluntary. Old-style classes are removed in Python 3.
* Convert an if/else to a one-liner in mediawiki, change docstring style
  change to a comment something that wasn't really appropriate for a
  docstring.
* Unneeded first if condition in meteofrance
2012-03-14 04:51:46 +01:00
Romain Bignon
9c4b8e3a59 add a formatter for subscriptions, and do 'ls' work 2012-03-13 22:43:42 +01:00