Commit graph

2,333 commits

Author SHA1 Message Date
Romain Bignon
9ef76bb8a7 fix unused imports/variables 2012-04-09 11:24:15 +02:00
Romain Bignon
7559a4c93d strip all kind of spaces, check decimal values signs 2012-04-09 11:23:13 +02:00
Romain Bignon
87a58baa50 correctly check debug level to print exception when a module can't be loaded 2012-04-09 11:22:55 +02:00
Romain Bignon
dd15bcde74 do not stop timer because of an exception 2012-04-09 10:12:58 +02:00
Romain Bignon
76180bdda0 add backtraces in CallErrors message 2012-04-09 10:12:28 +02:00
Romain Bignon
101eabf17a fix format of dicts 2012-04-07 23:15:06 +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
Romain Bignon
efb18d9dce add a method copy() 2012-04-03 22:40:02 +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
Roger Philibert
4b05f77329 [app/console] use EDITOR env variable to edit input 2012-04-01 19:28:11 +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
Romain Bignon
7082571acf update code documentation 2012-04-01 17:41:20 +02:00
Gabriel Kerneis
ee59891f62 boursorama: parse categories and date 2012-04-01 14:30:13 +02:00
Gabriel Kerneis
0f6393e642 bank: add a 'category' group in patterns 2012-04-01 11:23:35 +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
7201d81d98 do not implicitly convert strings to dates in DateField 2012-03-27 11:54:54 +02:00
Laurent Bachelier
331b580fb8 Warn when implicit conversions happen
To display them, you can use the python -W argument
or the PYTHONWARNINGS environment variable.
Maybe debug mode should display them.
2012-03-26 23:34:23 +02:00
Laurent Bachelier
7928d7cf06 Explain why the test is skipped 2012-03-26 23:10:55 +02:00
Romain Bignon
e8e7fbead1 add application comparoob 2012-03-26 23:05:23 +02:00
Romain Bignon
8f0e17ee16 add ICapPriceComparison 2012-03-26 23:00:59 +02:00
Romain Bignon
4ea7872ba4 fix setting None, NotLoaded and NotAvailable values on fields 2012-03-26 22:56:10 +02:00
Romain Bignon
8d182f8e4e havedate inherits boobmsg 2012-03-26 16:13:12 +02:00
Romain Bignon
9f86437ea1 do not check anymore if all CapBaseObject have docstrings 2012-03-26 14:41:24 +02:00
Romain Bignon
c6a141595c change way to describe fields of CapBaseObject, and lot of documentation 2012-03-26 14:35:54 +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
76795b27a2 Ask for correct login information (for example "Account ID" in boobank) instead of always asking for "Password". 2012-03-25 12:51:38 +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
Romain Bignon
1833952af1 fix completion of 'cd' after using 'ls' with a parameter 2012-03-25 09:45:31 +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
79724c90f5 Remove "thread" argument in iter_unread_messages
It is unused, and no backend implemented it — so it was wrong to have it
in the function signature.
It also does not seem very helpful, we have get_threads() if we want to
do something advanced with treads.

fixes #825
2012-03-23 07:04:40 +01:00
Romain Bignon
2675510f32 add a class FrenchTransaction to factorize common parsing of french banks 2012-03-22 16:33:05 +01:00