Commit graph

2,349 commits

Author SHA1 Message Date
Romain Bignon
aea269e9f6 create UserError exception
Modules can raise this exception when they want to print errors to user
2012-04-25 13:43:52 +02:00
Romain Bignon
b4154b5843 move part of update() to update_repositories() 2012-04-25 12:40:33 +02:00
Romain Bignon
5098b3f458 print a warning when a module adds an attribute to a CapBaseObject not prefixed with a _ 2012-04-21 22:38:48 +02:00
Romain Bignon
5a046f00a8 create weboob.tools.browser.BrowserPasswordExpired 2012-04-21 18:22:07 +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
Romain Bignon
bccb4d0d03 fix copyright 2012-04-17 22:59:36 +02:00
Laurent Bachelier
c92ec6768b Fix keyring updates with latest openurl() change
You now have to call read() before doing another openurl().
As a bonus, the code is slightly shorter.
2012-04-15 20:31:56 +02:00
Florent
7d3ba1f4d4 Fix conversion warning 2012-04-15 20:31:08 +02:00
Romain Bignon
7a619a78d0 StandardBrowser.openurl uses mechanize.Browser.openurl instead of openurl_novisit 2012-04-13 15:00:12 +02:00
Romain Bignon
06599f48bc add a default timeout to 10s on connections 2012-04-12 21:50:56 +02:00
Romain Bignon
7cf5cb565c raise an error if module is not found 2012-04-11 19:29:33 +02:00
Romain Bignon
20835e5180 ls: clear objects list 2012-04-10 13:25:55 +02:00
Romain Bignon
c4ad0e705e credit isn't necessarily a positive amount 2012-04-10 10:40:56 +02:00
Laurent Bachelier
2d463e060e Hide ConversionWarning by default
refs #839
2012-04-10 08:01:27 +02:00
Laurent Bachelier
12f867757b repositories: Prefer gpg2 over gpg 2012-04-10 07:30:21 +02:00
Laurent Bachelier
db6a912db5 repositories: Some systems only have gpgv2
fixes #837
2012-04-10 07:26:22 +02:00
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