Commit graph

235 commits

Author SHA1 Message Date
Roger Philibert
528db5235c [okc] Date parsing improvements 2012-03-29 23:58:21 +02:00
Roger Philibert
39625632a1 [okc] Reply sending 2012-03-29 23:58:21 +02:00
Romain Bignon
c79b8622e8 save IDs as integers in storage 2012-03-29 21:04:29 +02:00
Romain Bignon
b157e92d5b use decimal.Decimal instead of float to store amounts of money 2012-03-29 16:31:18 +02:00
Pierre Mazière
32b87b47f5 LCL: site specific fix
Reported-by: Ch. Perret <ch.perret@gmail.com>
Signed-off-by: Pierre Mazière <pierre.maziere@gmail.com>
Tested-by:  Ch. Perret <ch.perret@gmail.com>
2012-03-29 16:03:50 +02:00
Romain Bignon
78246c7dfa remove unused import 2012-03-28 17:01:17 +02:00
Pierre Mazière
9a43dce034 LCL: site specific fix
Reported-by: Ch. Perret <ch.perret@gmail.com>
Signed-off-by: Pierre Mazière <pierre.maziere@gmail.com>
2012-03-28 15:02:07 +02:00
Florent
ce119b27e7 Fix whitespace in history 2012-03-28 14:46:59 +02:00
Florent
de2a777bde Fix details command (site change) 2012-03-28 14:46:58 +02:00
Florent
347cc81ac3 Fix homepage parsing 2012-03-28 14:46:54 +02:00
Florent
d390590363 Remove timer (not more used by website) 2012-03-28 14:46:53 +02:00
Pierre Mazière
b440918eca LCL,BNPorc: fix str to unicode conversion warnings
Signed-off-by: Pierre Mazière <pierre.maziere@gmail.com>
2012-03-28 14:25:54 +02:00
Pierre Mazière
bb6c65bb69 LCL: python 2.5 compatibility
Signed-off-by: Pierre Mazière <pierre.maziere@gmail.com>
2012-03-28 14:25:53 +02:00
Florent
dba66858e4 Fix conversion warning 2012-03-27 17:30:23 +02:00
Laurent Bachelier
f489f51f62 Yet another fix for compatibility with Python 2.5 2012-03-27 03:55:47 +02:00
Romain Bignon
dea713d2f4 add module prixcarburants (ICapPriceComparison) 2012-03-26 23:04:32 +02:00
Romain Bignon
970ae05980 add an icon for okc module 2012-03-26 16:22:42 +02:00
Romain Bignon
99391a95ef remove unused imports 2012-03-26 14:25:17 +02:00
Roger Philibert
5b508ca340 [okc] Initial message posting 2012-03-26 14:20:37 +02:00
Roger Philibert
cba809a8d0 [okc] Photos handling in profile 2012-03-26 14:20:37 +02:00
Roger Philibert
72fd993b3c [okc] Contact support 2012-03-26 14:20:37 +02:00
Roger Philibert
c44a4cdebc [okc] Message reading 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
e9368bc8ea fixes #619 'add possibility to edit an url' 2012-03-24 20:14:22 +01:00
Romain Bignon
4534457b27 remove unused import 2012-03-24 08:29:51 +01:00
Luc Didry
49ad32163d Fix an error of "invalid literal for float()" if the balance is negative
Signed-off-by: Luc Didry <luc@didry.org>
Signed-off-by: Romain Bignon <romain@symlink.me>
2012-03-24 08:04:05 +01:00
Romain Bignon
8f282c9ae8 rename iter_operations to iter_coming 2012-03-23 17:07:34 +01:00
Florent
9bd7346261 Revert "Don't get page with 0 comment"
This reverts commit 4a5456b152.

This commit was here to bypass a bug of dlfp rss Atom.
The bug is fixed and the commit can be reverted.
Reference : http://linuxfr.org/suivi/855
2012-03-23 17:04:16 +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
Xavier G
3279f5dc9c CrAgr: fixed the way history pages are browsed. 2012-03-23 07:03:30 +01:00
Romain Bignon
ed8551a415 fix parsing of dates 2012-03-22 21:58:24 +01:00
Romain Bignon
9bf7d618d8 don't crash if a message content is None 2012-03-22 21:55:34 +01:00
Romain Bignon
4d3682eb23 adopteunmec seems to have changed its charset (refs #820) 2012-03-22 21:54:46 +01:00
Romain Bignon
2675510f32 add a class FrenchTransaction to factorize common parsing of french banks 2012-03-22 16:33:05 +01:00
Florent
1356e69ffd All id in storage are string, not int 2012-03-21 08:26:42 +01:00
Laurent Bachelier
a84fde80e6 bnporc: Add support of some broken messages 2012-03-21 04:16:45 +01:00
Laurent Bachelier
e7f6086916 bnporc: Much faster checking of new messages
Especially for the first call on a new backend instance.
We don't need to fill threads that are already in "seen".
2012-03-21 04:15:42 +01:00
Laurent Bachelier
0e113544da bnporc: Drop javascript tags in messages
Does not make much sense in our usage, and it breaks
txt2tags/HTMLParser.
2012-03-21 01:58:39 +01:00
Laurent Bachelier
a978260410 bnporc: Make links absolute before exporting
refs #828
2012-03-21 01:58:39 +01:00
Laurent Bachelier
e3bb06398c bnporc: Force marking messages as read
Because threads are in cache, the Message objects are not refreshed
after set_message_read().
Also retrieve the "seen" storage only once per call.
2012-03-21 01:58:11 +01:00
Florent
4a5456b152 Don't get page with 0 comment 2012-03-20 15:00:18 +01:00
Laurent Bachelier
a837d954ee Add Messages support to bnporc
Private messages from the bank.
2012-03-19 23:25:21 +01:00
Romain Bignon
e9e41a9c7c fix type of 'artist' and 'title' 2012-03-19 22:39:31 +01:00
Romain Bignon
4b947f8b29 add icon for freemobile 2012-03-18 10:30:43 +01:00
Laurent Bachelier
b8d1a52732 Use simplejson first, and centralize import
simplejson is supposed to be faster:
http://stackoverflow.com/questions/712791/json-and-simplejson-module-differences-in-python
2012-03-16 16:27:22 +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
Laurent Bachelier
4d628112d5 Fix getting youjizz video URLs, better test 2012-03-16 01:31:42 +01:00
Florent Fourcot
65251c4ceb Display renew confirmation/errors 2012-03-16 00:49:58 +01:00
Florent Fourcot
03f998a33f Renew command on champslibres 2012-03-16 00:49:56 +01:00