- Feb 27, 2019
-
-
Romain Bignon authored
-
- Feb 25, 2019
-
-
hydrargyrum authored
Sphinx will be able to use the docstring as documentation. Also, favicon is PNG format.
-
- Feb 24, 2019
-
-
Romain Bignon authored
-
- Sep 16, 2018
-
-
Using __bases__, a Capability might appear multiple times in iter_caps(). For example, a Module inheriting CapBank and CapDocument would have CapCollection twice. This is a problem for AbstractModule which relies on iter_caps for subclassing. Instead, rely on a class' mro(), which avoid duplicates and has the added benefit of having capabilities ordered properly for subclassing.
-
- Jul 30, 2018
-
-
- May 05, 2018
-
-
- Apr 25, 2018
-
-
hydrargyrum authored
64cad1db was supposed to set fields to NotAvailable when the backend supports filling but doesn't fill a field. Unwanted effect was that if backend doesn't support filling at all, an incomplete field would be set to NotAvailable.
-
- Mar 31, 2018
-
-
- Aug 30, 2017
-
-
hydrargyrum authored
d9b7f868 introduced a new callback parameter but it did not use it
-
- Jul 08, 2017
-
-
object.__new__ only takes one argument: the class to construct. It accepts more arguments only if __init__ is not overloaded, but it is overloaded in Abstract*'s parent classes, so don't pass more args. In Python 2, it was just deprecated, in Python 3, it doesn't work.
-
This reverts commit d0a2a6bbe3054a4cb34cf8d5b0bac7e93ac3d509.
-
- Jun 19, 2017
-
-
hydrargyrum authored
raise_from wraps the Python3 syntax "raise exc from cause" which is useful when an exception is raised to wrap a lower-level exception.
-
hydrargyrum authored
TODO this is less efficient on python2
-
hydrargyrum authored
-
- May 20, 2017
-
-
hydrargyrum authored
64cad1db let fillobj set fields to NotAvailable if they were not set by the OBJECTS callback. However, it overwrote even if a field was set but just incomplete. This may be needlessly zealous: - it may force hierarchical object trees to call fillobj recursively, which is costly (for example Message class) - it makes circular references fillobj harder (Thread and Message)
-
- Mar 11, 2017
-
-
- Feb 18, 2017
-
-
Highlighting can use significant disk space. Don't enable it with "-a" command-line flag anymore. To enable highlighting for a particular backend, set "_highlight_el = 1" in the backend config file.
-
- Jan 16, 2017
-
-
hydrargyrum authored
If a backend defined a filling method and did not set all of the required fields, the fields were still NotLoaded. Now, they are set to NotAvailable.
-
- Jan 07, 2017
-
-
Romain Bignon authored
This parameter allows to give a specific browser class
-
- Dec 26, 2016
-
-
- Dec 24, 2016
-
-
As with AbstractPage, when instanciating an abstract backend, instead of creating a dynamic type, we tweak the class inheritance and use normal instanciation.
-
Phyks (Lucas Verney) authored
Using the `nofail` argument and hooking to `login` event, one can make as much modules unittests as possible run, and skip the unittests which require authentication or special configuration. Tests are also run using all available backends now. This is especially important for modules such as Amazon for which the backend has a large influence on the website being used and the code being run. I also changed the default values so that they match the expected type (rather than being `None`).
-
- Dec 02, 2016
-
-
Phyks (Lucas Verney) authored
Signed-off-by: Phyks (Lucas Verney) <phyks@phyks.me>
-
- Nov 27, 2016
-
-
Florent Fourcot authored
-
Florent Fourcot authored
This is the same fix than commit "fix parent missing detection and donwload" (c6cf2b81), but factorized.
-
- Oct 25, 2016
-
-
Bezleputh authored
-
- Oct 09, 2016
-
-
- Sep 08, 2016
-
-
Bezleputh authored
-
- Apr 30, 2016
-
-
Romain Bignon authored
It allows a backend to do requests to user by calling a registered callback function. In the requests manager, it locks each call to prevent multiple backends requesting the same think at a time, from an idea of Adrien Clerc. Closes #945
-
- Apr 29, 2016
-
-
hydrargyrum authored
In Python 2, __repr__ and __str__ shouldn't return unicode. This caused a problem for example when logging-debug a filter on Thumbnail.url, as the logger couldn't encode the unicode repr.
-
- Mar 24, 2015
-
-
Romain Bignon authored
-
- Feb 21, 2015
-
-
Romain Bignon authored
-
- Oct 10, 2014
-
-
Laurent Bachelier authored
autopep8 -a -r -i --select E111 . Manual check.
-
Laurent Bachelier authored
flake8 --select W391,E302,E301,E304 autopep8 can't fix W391 even though it claims it can. Fixed using a simple custom script.
-
- Oct 09, 2014
-
-
Florent authored
-
- Sep 26, 2014