Commit graph

39 commits

Author SHA1 Message Date
Romain Bignon
e025fb0b20 rename ICap to Cap (closes #1424) 2014-07-05 17:33:44 +02:00
Florent
9ca0bbae6a bump to 0.j 2014-05-19 22:45:35 +02:00
Florent
9167a60d6c Fix logout (site changed) 2014-05-06 19:41:14 +02:00
Florent
a82f57512c bump to 0.i 2014-01-08 23:40:16 +01:00
Florent
9b022b2ebe bump to 0.h 2013-08-03 14:31:13 +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
b6a7d21fb9 iter_unread_messages: get new threads even if there is no comment 2013-04-06 23:22:40 +02:00
Romain Bignon
715495af74 be compliant with the unlol dlfp 1st april joke 2013-04-01 18:20:31 +02:00
Florent
9484099a1d bump to 0.g 2013-03-26 18:31:12 +01:00
Laurent Bachelier
fbe0fb8d52 Some manual style fixes 2013-03-16 00:57:31 +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
Florent
56a5eca576 Don't get page with 0 comment 2013-03-13 20:16:51 +01:00
Laurent Bachelier
c52122800a dlfp: Do not crash when revision is provided
refs #1067
2013-03-12 00:00:25 +01:00
Florent
bf3132e8c0 bump to 0.f 2013-01-25 17:23:49 +01:00
Romain Bignon
b6ddd15660 change on html structure 2013-01-13 11:40:33 +01:00
Romain Bignon
66351f0d1e fix login on dlfp 2012-11-23 15:06:25 +01:00
Florent
d7cc57e188 Fix deconnexion error
TypeError: must be string or buffer, not dict
2012-11-13 11:32:36 +01:00
Florent
492dbd5fcc Return BrowserForbidden for action reserved to logued users 2012-11-10 13:23:08 +01:00
Florent
74725e61fa Allow anonyme login on dlfp (closes #923) 2012-11-10 13:22:45 +01:00
Romain Bignon
4a1e4b5afa bump to 0.e 2012-10-28 20:39:49 +01: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
2f8072e89e bump to 0.d 2012-05-04 21:17:46 +02:00
Florent
2befef94a1 Add a cleanup function to dlfp backend
The DLFP backend doesn't get object older than 60 days: we don't
have to store older "seen" value in the storage.
Bad news: we have to store the date of the object to perform
the cleanup. It will increase the storage size (before a big
improvement).

Since we didn't store date value before this commit, this feature
will work 60 days after module upgrade.
2012-04-25 13:49:48 +02: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
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
Florent
1356e69ffd All id in storage are string, not int 2012-03-21 08:26:42 +01:00
Florent
4a5456b152 Don't get page with 0 comment 2012-03-20 15:00:18 +01:00
Romain Bignon
8e391d0b88 bump to 0.c 2012-03-14 22:09:24 +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
93a0d25f71 fix in case get_thread() is called with a numerical ID (and not a Thread instance) 2012-03-06 19:38:22 +01:00
Florent
d12877fe55 Get comments only in case of rss-comments changes 2012-03-06 19:31:02 +01:00
Florent
0b9322eca5 Remove a print... 2012-02-28 13:18:25 +01:00
Florent
aaab1db43d Parse a comment only if needed 2012-02-26 18:34:05 +01:00
Laurent Bachelier
0fa7060b68 Better descriptions for modules 2012-02-11 00:46:48 +01:00
Romain Bignon
4be4b40509 bump to 0.b 2012-02-05 19:35:30 +01:00
Romain Bignon
815bff0f1a fix handling urls 2012-02-03 13:46:48 +01:00
Romain Bignon
abb24b9954 several fixes to run successfully tests 2012-01-17 17:46:13 +01:00
Romain Bignon
14a7a1d362 support repositories to manage backends (closes #747) 2012-01-17 17:00:05 +01:00