Commit graph

3128 commits

Author SHA1 Message Date
M5oul
d00ed6cacf Merge pull request #188 from YunoHost/install_as_root
Use the root user for app installation
2017-03-20 21:17:35 +01:00
Laurent Peuch
373ef1acba Merge pull request #269 from YunoHost/clean-services.yml
Clean services.yml
2017-03-20 01:50:09 +01:00
Laurent Peuch
5e87438928 Merge pull request #272 from YunoHost/use-maindomain-helper
[enh] Use _get_maindomain helper.
2017-03-20 01:36:24 +01:00
opi
08760df0ec [fix] Regenerate SSOwat conf during main_domain operation. #672 2017-03-14 22:22:01 +01:00
opi
6df7a896ef [enh] Use _get_maindomain helper. 2017-03-14 16:48:50 +01:00
Laurent Peuch
7f1a6118bf Merge pull request #194 from YunoHost/clean_app_list_a_bit
[mod] try to clean a bit app_list code
2017-03-14 00:36:28 +01:00
Laurent Peuch
4be2720cb0 [mod] implement ljf comment 2017-03-14 00:35:28 +01:00
Laurent Peuch
50cc3536ac [mod] remove offset/limit from app_list, they aren't used anymore 2017-03-13 23:51:37 +01:00
Laurent Peuch
7acf8bd5a7 Merge pull request #270 from YunoHost/ssowatconf-on-broken-install-fix-773
[fix] launch ssowatconf at the end of a broken install to avoid sso bad state
2017-03-11 14:40:55 +01:00
Alexandre Aubin
df2f26c607 [enh] Trigger exception during unit tests if string key aint defined (#261) 2017-03-11 03:11:39 +01:00
Laurent Peuch
8482e48f9f [fix] launch ssowatconf at the end of a broken install to avoid sso bad state 2017-03-07 02:07:09 +01:00
Laurent Peuch
4db42fdeb7 [fix] if a service don't have a 'status' entry, don't list it 2017-03-07 00:30:57 +01:00
Laurent Peuch
02c974e8ca [mod] remove useless addition 2017-03-05 17:47:33 +01:00
Alexandre Aubin
cc9364f37e Trying to make offset / limit consistent 2017-03-05 17:47:33 +01:00
Alexandre Aubin
4deaed1c78 Trying to add comments and simplify some overly complicated parts 2017-03-05 17:47:33 +01:00
Laurent Peuch
db601a412d [mod] try to clean a bit app_list code 2017-03-05 17:34:37 +01:00
Laurent Peuch
76a7a36c62 [enh] run hooks as root 2017-03-05 16:41:53 +01:00
Laurent Peuch
e1a5074c75 [fix] run missing backup scripts as root 2017-03-05 16:41:53 +01:00
Laurent Peuch
0122cbd432 [mod] remove unused import 2017-03-05 16:41:02 +01:00
Laurent Peuch
879417895b [enh] use root for app related hook_exec 2017-03-05 16:41:02 +01:00
Laurent Peuch
33e101b588 [mod] change behavior, admin by default, as to explicitly set root as user 2017-03-05 16:41:02 +01:00
Laurent Peuch
b0730d8463 [enh] defaulting running hook_exec as root 2017-03-05 16:41:02 +01:00
ljf (zamentur)
4b9e2ffbbc [fix] Can't use common.sh on restore operation (#246) 2017-02-27 16:52:35 +01:00
Laurent Peuch
8486f440fb [enh] Add unit test mechanism (#254) 2017-02-20 00:30:36 +01:00
Laurent Peuch
45e85fef82 Merge pull request #252 from ZeHiro/fix-785
[fix] handle the case where services[service] is set to null in the s…
2017-02-19 20:17:12 +01:00
Alexandre Aubin
834cf459dc Please Bram :D 2017-02-19 20:15:37 +01:00
M5oul
f80653580c Merge pull request #257 from YunoHost/fix_localhost_address_range
[fix] Any address in the range 127.0.0.0/8 is a valid loopback address
2017-02-17 14:20:13 +01:00
julienmalik
f291d11c84 [fix] cert-renew email headers appear as text in the body 2017-02-15 13:33:53 +01:00
julienmalik
accb78271e [fix] Any address in the range 127.0.0.0/8 is a valid loopback address 2017-02-15 13:20:58 +01:00
Laurent Peuch
cc44512539 Clean app upgrade (#193)
* [mod] current_app_dict == new_app_dict so test is always false

* [mod] simplify condition\n\nUntestedgit add -p

* [mod] useless variable

* [mod] rename variable

* [mod] app_dict can't be None (exception is raised instead)

* Adding debug message for upgrade

* Using app_list to list installed apps

* [mod] pep8

* [mod] please opi
2017-02-14 13:53:07 +01:00
Alexandre Aubin
1d561123b6 [enh] Set main domain as hostname (#219) 2017-02-13 16:07:09 +01:00
Alexandre Aubin
0e55b17665 Fixing also get_conf_hashes 2017-02-12 18:49:59 -05:00
opi
f28be91b5d [fix] Uppercase global variable even in comment. 2017-02-12 21:25:04 +01:00
ZeHiro
5abcaadaea [fix] handle the case where services[service] is set to null in the services.yml. Fix #785 2017-02-12 12:18:55 +01:00
Laurent Peuch
f6c7702dfa [mod] rename all global variables to uppercase 2017-02-12 03:34:15 +01:00
Alexandre Aubin
a61445c9c3 Checking for 404 error and valid json format 2017-02-07 08:18:52 -05:00
Alexandre Aubin
991b64db92 Merge branch 'unstable' into clean_app_fetchlist 2017-02-06 19:01:27 +01:00
Alexandre Aubin
730156dd92 Using request insteqd of urlretrieve, to have timeout 2017-02-06 12:54:32 -05:00
Alexandre Aubin
5b006dbf0e Adding info/debug message for fetchlist 2017-02-06 08:37:41 -05:00
Laurent Peuch
5be13fd07e Merge pull request #220 from YunoHost/conf-hashes-logs
[mod] Cleaner _get_conf_hashes logs
2017-02-03 14:55:49 +01:00
Alexandre Aubin
cd88428248 Implementing opi's comments 2017-01-25 18:38:30 -05:00
Alexandre Aubin
656b2e61ba Implement timeout exceptions 2017-01-25 12:03:30 -05:00
Laurent Peuch
905a04146b [mod] start putting timeout in certificate code 2017-01-16 09:24:41 +01:00
Laurent Peuch
8a70c33c40 [fix] I'm a fucking idiot 2017-01-10 02:56:35 +01:00
Laurent Peuch
761d42ae3a Merge pull request #224 from YunoHost/fix-693-invalid-domain-dyndns-postinstall
[fix] Fix 693 invalid domain dyndns postinstall
2017-01-09 13:29:20 +01:00
Laurent Peuch
4b9d2526db [mod] more debug logging 2017-01-08 05:36:39 +01:00
Laurent Peuch
a9675b01f7 Merge pull request #225 from YunoHost/fix-651-check-domain-resolved-locally
[fix] Adding check that domain is resolved locally for cert management
2017-01-08 05:32:45 +01:00
Laurent Peuch
d665984789 [mod] add debugging code to avoid becoming mad when things goes wrong 2017-01-08 05:31:11 +01:00
Laurent Peuch
047026df6c [mod] remove () 2017-01-08 05:28:13 +01:00
Laurent Peuch
d279f0c5ad Merge pull request #227 from YunoHost/fix-695-cert-perm-for-metronome
[fix] Attempt to fix missing perm for metronome in weird cases
2017-01-08 04:40:01 +01:00