- Mar 14, 2012
-
-
-
Romain Bignon authored
-
Romain Bignon authored
-
Romain Bignon authored
-
-
-
Laurent Bachelier authored
But sometimes it doesn't work. So, we still have the playerjs method as a fallback.
-
Laurent Bachelier authored
Show hosts are sometimes set as the artist.
-
Laurent Bachelier authored
FIP now uses the same website as most Radio France radios. As a consequence, it is able to support CapVideo. There are a few differences between FIP and the other radios, but this still allowed for less code, and the code should be more robust for every radio.
-
Florent authored
-
Florent authored
-
Florent authored
-
Florent authored
-
Romain Bignon authored
-
-
Laurent Bachelier authored
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
-
- Mar 13, 2012
-
-
Romain Bignon authored
-
Romain Bignon authored
-
Laurent Bachelier authored
Revolutionary and magical.
-
Laurent Bachelier authored
Don't force objects to have an id, especially since that id was incorrect. "plap/plop" would have the same id as "plop", i.e. "plop". We don't rely on the id for handling Collections anymore. Change to use more unique property names. Change the display, instead of using '*', we use '~', and there is no "Collection" header anymore. Updated formatters could use that way of showing the object is also a collection too. refs #774
-
Laurent Bachelier authored
-
Laurent Bachelier authored
And add restrict_level helper method.
-
Laurent Bachelier authored
Handle and use exceptions. An example is provided with the redmine backend (not very useful though). If you cd into the project title instead of the id, it is accepted and the path is corrected.
-
Laurent Bachelier authored
Lowercase, replace some separators. This shows the point of having a path and a title! Also try to fix the title if it is all uppercase.
-
Laurent Bachelier authored
prompt must be str, not unicode, so we encode it
-
Laurent Bachelier authored
There isn't enough code to justify multiple files. Also includes pep8 fixes.
-
Laurent Bachelier authored
* Create a get_collection method similar to get_* methods for objects. * Fix title initialization of a collection * Remove the hack were both id and title were allowed when CDing. That hack only worked with the canalplus module, and failed with others like redmine (but they still showed in suggestions). Moreover, the canalplus module now has friendlier IDs so this is not really needed anymore. * Allow backends to tell if a path is valid or not. For instance, it now allows to cd in a Redmine project with no issues in it. It also won't display "404" for invalid project IDs. By default, we still use the unreliable method of checking there is at least one result in iter_resources(). * Fix cd completion to work with unicode strings (all strings after an unicode string were ignored!) * Do not suggest '..' when completing cd in the root refs #774
-
Laurent Bachelier authored
So no need for this check anymore. refs #774 and reverts a change of 9c5326c0
-
Laurent Bachelier authored
* Remove callbacks in Collection object Make Collection a "dumb" object (and also a base object, though it isn't very useful for now) * Rename Path to WorkingPath, because it is more about managing state than being a single path. * Rewrite almost all WorkingPath, because the code was overly complicated for no reason (I tried some special cases and it turned out that fromstring didn't handle them, and that the quote-escape-unquote was just unecessary). I also rewrote it to be more pythonic (no more lambdas and maps) and added tests. * Require the full split path when creating a Collection. Because, come to think of it, an object needs an unique identifier; in the case of Collections, it is the full path, not only its last part. I might even replace the id by the full split path in the future. * There is now only one way to get items of a Collection: calling iter_resources(). * Rewrite flatten_resources to iter_resources_flat(), which just calls ite...
-
Romain Bignon authored
-
-
-
-
-
Only few functions are available
-
-
-
add library capability and backend and application for archimede software aloes http://www.archimed.fr/aloes/presentation-et-avantages-12.html Signed-off-by: jems <jems@ldjm.fr> Signed-off-by: Romain Bignon <romain@symlink.me>
-
Florent authored
-
Florent authored
-