Commit graph

778 commits

Author SHA1 Message Date
Alexis Gavoty
0e2281de43 Merge pull request #102 from jeromelebleu/test
Refactor the moulinette core
2014-03-26 16:45:44 +01:00
Jerome Lebleu
85071f9309 Merge remote-tracking branch 'upstream/dev' into test
Conflicts:
	data/actionsmap/yunohost.yml
	lib/yunohost/firewall.py
	lib/yunohost/tools.py
2014-03-26 02:11:20 +01:00
Jerome Lebleu
a855326fad Update README.md 2014-03-26 01:54:44 +01:00
Jerome Lebleu
7258e21adb Move src/moulinette to the root 2014-03-26 01:50:14 +01:00
Jerome Lebleu
f4d2f2b062 Update README.md 2014-03-26 01:44:58 +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
Alexis Gavoty
2d754f0c96 Merge pull request #97 from npze/dev
Add regex, protection and static rules for ssowat
2014-03-25 13:03:07 +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
c95469073a Fix extra parameters absence 2014-03-24 15:52:26 +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
5da9f6add8 Work on Authenticators (support for session token and LDAP) 2014-03-20 21:20:58 +01:00
Alexis Gavoty
0af793fbb4 Merge pull request #101 from julienmalik/quiet_fetchlist
fetchlist makes cron verbose and send mails
2014-03-20 09:00:34 +01:00
Julien Malik
f175d48c27 fetchlist makes cron verbose and send mails 2014-03-20 00:13:31 +01:00
Alexis Gavoty
34869a523d Update yunohost_firewall.py 2014-03-19 10:04:59 +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
c040956e4d Fix #99 partly - awaiting something better 2014-03-14 18:36:20 +01:00
abeudin
7135266452 Update upgrade
remove simulate option
2014-03-13 21:06:38 +01:00
abeudin
2604a2457f Update yunohost_tools.py
Add import subprocess
2014-03-13 20:57:04 +01:00
abeudin
6d49e5ffcf Merge pull request #98 from abeudin/dev
Add safe upgrade
2014-03-13 20:40:20 +01:00
abeudin
9452c95dc6 Update yunohost_tools.py 2014-03-13 16:18:55 +01:00
abeudin
f40f386add Update yunohost_tools.py 2014-03-13 12:46:08 +01:00
abeudin
34e03c437c Update action_map.yml 2014-03-13 12:45:28 +01:00
abeudin
8fbfb57ffb Update yunohost_tools.py 2014-03-13 12:37:51 +01:00
abeudin
a2e02c56cf Update upgrade 2014-03-13 12:23:21 +01:00
abeudin
6a9a8f082d Update yunohost_tools.py 2014-03-13 12:22:54 +01:00
abeudin
524489edaa Update yunohost_tools.py 2014-03-13 12:04:37 +01:00
abeudin
4d7398622f Update checkupdate 2014-03-13 11:17:01 +01:00
abeudin
c84406583e Update yunohost_tools.py 2014-03-13 11:15:58 +01:00
abeudin
706880f03c Update yunohost_tools.py 2014-03-12 10:13:06 +01:00
Jerome Lebleu
cdcfa24180 Standardize arguments in the actions map
* Move general_arguments to _global.arguments in the actions map
* Introduce global configuration in the actions map (need implementation!)
* Standardize arguments addition during the parser construction
* Fix action name with '-'
2014-03-12 00:50:09 +01:00
abeudin
e42ede89d4 Update yunohost_tools.py 2014-03-11 18:27:06 +01:00
Adrien Beudin
034de511d3 add safe update 2014-03-11 18:23:58 +01:00
abeudin
6dbf50e77e Create upgrade 2014-03-11 18:18:48 +01:00
abeudin
0d814d2ea1 Update yunohost_tools.py 2014-03-11 18:18:21 +01:00
abeudin
7f8b1f601b Update yunohost_tools.py 2014-03-11 18:15:55 +01:00
abeudin
76b2809f08 Update yunohost_tools.py 2014-03-11 18:15:39 +01:00
abeudin
f64a9bc349 Create checkupdate 2014-03-11 18:12:58 +01:00
abeudin
6d8a89dcf8 Update yunohost_tools.py 2014-03-11 18:00:20 +01:00
abeudin
292000ec54 Update yunohost_tools.py 2014-03-11 17:59:18 +01:00
abeudin
1fdc5e2d15 Update action_map.yml 2014-03-11 17:58:26 +01:00
Jerome Lebleu
66f60381e4 Implement a moulinette lock and revisit extra params a bit 2014-03-11 15:05:06 +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
npze
bb51b9ce8d Add regex, protection and static rules for ssowat 2014-03-08 10:48:25 +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
eaf1a76ca1 Fix yunohost-api status 2014-03-03 23:32:20 +01:00
Alexis Gavoty
7818ec8117 Update yunohost_dyndns.py 2014-03-03 19:06:09 +01:00
Kload
17639a254e Restart amavis at postinstallation 2014-03-03 15:07:06 +01:00
Kload
9fb6c8a167 Remove light mode and change hostname in /etc/amavis/conf.d/50-user 2014-03-03 14:15:19 +01:00
kload
ed0016ed66 App clearaccess 2014-03-03 13:58:41 +01:00