Commit graph

9 commits

Author SHA1 Message Date
Jerome Lebleu
7258e21adb Move src/moulinette to the root 2014-03-26 01:50:14 +01:00
Jerome Lebleu
fa0a7affdd Warn about non-reviewed yunohost package and clean up 2014-03-25 18:56:51 +01:00
Jerome Lebleu
b3af4ddaea One more refactoring in interfaces
* Move actions map parsers classes into their respective interface modules
* Introduce an Interface base class for a futur usage
* Each interfaces must now implement ActionsMapParser and Interface classes
* Standardize interface instantiation
2014-03-25 18:13:44 +01:00
Jerome Lebleu
ecd88ce853 Some refactoring (again) in authenticators and exceptions
* Move authenticators classes into distinct modules
* Standardize MoulinetteError which is now a child class of IOError
* Add methods from helpers.py to LDAP authenticator class
* Review authenticator and action configuration storage
* Small changes in error printing on MoulinetteError raising
2014-03-25 00:51:39 +01:00
Jerome Lebleu
3fae8bf1ff Add support for Authenticators in the API
* Update the API to support authenticators and session token
* Add a function to clean sessions
* Make the API fit in better with actions map
* Minor changes on test namespace
2014-03-22 17:01:30 +01:00
Jerome Lebleu
33752ce01b Implement global/actions configuration and MoulinetteCLI
* Modify global configuration in the actions map
* Implement getter/setter for global and action configuration
* Implement quickly authenticators classes and add a todo LDAP authenticator
* Implement an actions map signals system and add some signals
* Add a Moulinette Interface for the cli and make it support signals
* Add a test namespace which implements configuration and authentication
2014-03-17 01:59:54 +01:00
Jerome Lebleu
9c9ccc1271 Try to improve time execution and continue refactoring
* Revert to classes centralization into actionsmap.py
* Try to optimize conditions and loops
* Revisit Package class and get directories from a file generated at build
* Early refactoring of i18n
* Move yunohost library into /lib
2014-03-11 00:57:28 +01:00
Jerome Lebleu
9104024fa1 Refactore interfaces and reorganize files a bit
* Remove 'core' folder and reorganize root package structure
* Introduce interface's base class and implement 'api' and 'cli'
* Add a Package class and a moulinette initialization method
* Start to replace YunoHostError by MoulinetteError
* Fix actionsmap/yunohost.yml to follow extra parameters rules
2014-03-04 12:49:42 +01:00
Jerome Lebleu
a802bcfd6f Initial refactoring 2014-02-05 02:02:53 +01:00