Commit graph

84 commits

Author SHA1 Message Date
Romain Bignon
7d8571195f fix docstring issues 2014-08-30 20:45:10 +02:00
Oleg Plakhotniuk
649d777ac5 Transaction amounts cleaner helper for american banks.
Signed-off-by: Oleg Plakhotniuk <olegus8@gmail.com>
2014-08-30 17:51:31 +02:00
Romain Bignon
0afc360970 FrenchTransaction.Amount can take a replace_dots parameter 2014-08-21 16:25:30 +02:00
Florent
76cb004eb4 Move ItemListTable-Element outside of page.py
One of the goal is to not import all modules needed by filters by
loading the page file.

In the same goal, move the import of parsers in the class definition.
2014-07-09 10:23:20 +02:00
Romain Bignon
e025fb0b20 rename ICap to Cap (closes #1424) 2014-07-05 17:33:44 +02:00
Romain Bignon
51958135cb rename CapBaseObject to BaseObject (refs #1424) 2014-07-05 17:26:05 +02:00
Bezleputh
b8a1df26c1 fix unicode warning 2014-06-16 21:43:34 +02:00
Florent
9ca0bbae6a bump to 0.j 2014-05-19 22:45:35 +02:00
Romain Bignon
5c8982e5e9 Filter does not have any logger, raise an exception instead 2014-05-19 22:07:34 +02:00
Romain Bignon
ba7d10046f Amount filter: credit_selector is optional too 2014-05-08 10:27:34 +02:00
Romain Bignon
07f6507096 improve documentation of browser2 2014-04-12 15:02:34 +02:00
Florent
8242dbecd1 One more use of find_object 2014-04-02 12:37:31 +02:00
Romain Bignon
a84d5f947c add a possible label title 2014-03-26 11:10:09 +01:00
Romain Bignon
75f17333a2 add TransactionsElement and TransactionElement 2014-03-12 08:43:48 +01:00
Romain Bignon
fd8136ebfe keep order in obj_* attributes, and changes in API 2014-03-10 22:52:59 +01:00
Romain Bignon
8b9073de12 add specific filters for browser2 2014-03-10 13:11:07 +01:00
Bezleputh
95ca604472 convert string to unicode to avoid warning message 2014-02-26 20:12:00 +01:00
Florent
c2466f5018 Do not name the exception
pyflakes was complaining about a unused variable
2014-02-20 16:13:31 +01:00
Vincent A
2c3922ed2c new image paste module: imgur 2014-02-19 22:14:23 +01:00
Florent
a82f57512c bump to 0.i 2014-01-08 23:40:16 +01:00
Pierre Mazière
e7805cec12 rename AudioStreamInfo into StreamInfo
Allowing future use with upcoming VideoStream

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2014-01-05 22:46:05 +01:00
Romain Bignon
9fdc1b4d56 FrenchTransaction.parse_date isn't a class method anymore
This is because we call self._logger to log errors
2013-12-04 22:40:01 +01:00
Romain Bignon
1a581a1543 change FrenchTransaction.parse_date to be a class method 2013-11-29 15:14:57 +01:00
Florent
98a4d0547a Make a real link in signature 2013-10-30 15:02:40 +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
6a1ac6d6b6 FrenchTransaction.parse takes a new optional argument 'vdate' 2013-08-01 16:52:16 +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
Romain Bignon
6f95fdd800 do not crash if date in label regexp isn't valid 2013-05-20 20:59:14 +02:00
Florent
9484099a1d bump to 0.g 2013-03-26 18:31:12 +01:00
Laurent Bachelier
e0542c2e4a Fix comparisons to None
Diff checked manually.

autopep8 -a -ir -j2 --select=E711 .

This required the "agressive" option because it can change code
behavior.
2013-03-16 00:57:30 +01:00
Laurent Bachelier
7094931c92 Easy spacing fixes, trailing stuff
Remove useless trailing \
Remove trailing spaces
Add missing empty lines

autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 .

Diff quickly checked.
2013-03-16 00:54:55 +01:00
Romain Bignon
06b314de48 little fixes
- logger might be a private attribute
- compare rdate to date, not to today
2013-02-10 02:17:54 +01:00
Romain Bignon
63dc4e05da support empty dates for transactions 2013-02-08 14:46:01 +01:00
Florent
bf3132e8c0 bump to 0.f 2013-01-25 17:23:49 +01:00
Florent
b100f77f95 Try if attribut exists before to try an access 2013-01-25 10:56:21 +01:00
Romain Bignon
78a5c3767f fix compatibility with python2.6 2013-01-16 17:50:29 +01:00
Romain Bignon
a8b1c5ed5b if both credit and debit are empty, set value to 0 2013-01-07 23:03:34 +01:00
Romain Bignon
d91dad2b2b support currencies 2012-12-06 13:21:13 +01:00
Laurent Bachelier
1f310a3d33 Fix many CapVideo-related ConversionWarnings 2012-11-10 18:18:29 +01:00
Florent
3cb78d1729 Add clean_relativ_urls in genericArticle.py
and use it for ecrans.fr
2012-11-07 18:13:03 +01:00
Florent
c1d19e40f8 Get the real thread of an article
Side effect: fix the bug of incorrect date by using boobmsg show
2012-11-07 17:36:35 +01:00
Florent
4a6107615d Increase readability of "id" variable 2012-11-07 17:33:45 +01:00
Romain Bignon
4a1e4b5afa bump to 0.e 2012-10-28 20:39:49 +01:00
Laurent Bachelier
b67a4eefe5 Split GenerericComicReaderTest to stop requiring nose for module usage 2012-10-24 13:38:21 +02:00
Laurent Bachelier
3a66728392 Fix crashes with unicode characters in maintainer name
Change every mention of MAINTAINER to avoid future issues.
2012-10-24 13:29:30 +02:00
Romain Bignon
a7c024e3bc strip EUR from amount strings 2012-07-31 16:48:52 +02:00
Romain Bignon
7ee2d29792 clean_amount is now a class method 2012-07-02 14:00:36 +02:00
Romain Bignon
7cf060a5f6 add a check if the year is on two digits 2012-06-27 16:37:03 +02:00