Commit graph

868 commits

Author SHA1 Message Date
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
kload
ef6364b542 Change key formatting to return 2014-03-03 13:50:46 +01:00
kload
fed6718b4a Add/remove access bugfix (closes #93 and closes #94) 2014-03-03 13:49:18 +01:00
kload
67af5a68e9 Ask fix 2014-03-03 13:23:51 +01:00
Kload
365b84ee69 Return main domain if no domain is provide (closes #91) 2014-03-03 13:18:46 +01:00
Kload
3cafe1dda0 App remove API route fix 2014-03-03 13:10:33 +01:00
Jerome Lebleu
2b370be233 Rename 'etc' folder and move yunohost into a separate package 2014-02-24 19:11:09 +01:00
Jerome Lebleu
e6dd0ab4e9 Merge remote-tracking branch 'upstream/dev' into test 2014-02-24 18:50:42 +01:00
Jerome Lebleu
0bfc63e4b8 Standardize extra parameters and make them modular 2014-02-24 18:28:11 +01:00
Jerome Lebleu
4396baa584 Better ipv4/ipv6 addresses extracting and returning 2014-02-19 18:28:44 +01:00
Alexis Gavoty
8880dc8a3d Update firewall.yml 2014-02-17 11:59:12 +01:00