Example of use case (in a cron) :
boobmsg export_all -n -1 -f atom -b presseurop > /var/www/press.atom
And a cool full atom feeds can be broadcasted to all
rss readers.
- 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
- 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
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
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.
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