Commit graph

349 commits

Author SHA1 Message Date
Laurent Peuch
50cc3536ac [mod] remove offset/limit from app_list, they aren't used anymore 2017-03-13 23:51:37 +01:00
opi
71672d371e [fix] --no-remove-on-failure for app install should behave as a flag. 2016-12-11 22:58:56 +01:00
Alexandre Aubin
731ff6f906 [fix] Refactoring tools_maindomain and disabling removal of main domain to avoid breaking things 2016-12-07 14:32:42 -05:00
julienmalik
f43750b4d6 [fix] Fix up indentation in actionmap
Reported by beudbeud on the chan
2016-12-04 11:55:06 +01:00
Laurent Peuch
e910694179 Merge pull request #192 from YunoHost/install-no-remove-on-fail-option
Install no remove on fail option
2016-12-03 23:08:40 +01:00
Laurent Peuch
a7289c447a [fix] typo 2016-11-28 15:38:19 +01:00
Alexandre Aubin
ed16cd7f5a Adding an option to use the staging Let's Encrypt CA, sort of a dry-run 2016-11-22 23:44:23 -05:00
Alexandre Aubin
5de006f18d Follow up of @julienmalik comments - misc typo/cosmetic fixes 2016-11-21 10:58:57 -05:00
Alexandre Aubin
bba92e4d41 Small tweaks for the web interface 2016-11-20 20:36:58 -05:00
Laurent Peuch
02b5ea62fe [mod] pep8 2016-10-30 05:42:16 +01:00
Alexandre Aubin
35fa386ce3 First draft of certificate management integration (e.g. Let's Encrypt certificate install) 2016-10-28 13:59:42 -04:00
Moul
76a294b284 [fix] typo: install filed –> failed. 2016-10-12 09:39:05 +02:00
Laurent Peuch
81c19cd1d6 [enh] no cli option to avoid removing an application on installation failure 2016-10-09 21:34:03 +02:00
Jérôme Lebleu
0d210e2e54 [ref] Invert no-stats option to with-stats in monitor_enable
Since monitoring statistics was not finished - and by the way not usable,
it inverts the behavior of monitor_enable to disable it by default.
See #395 for more details.
2016-06-04 22:28:17 +02:00
Jérôme Lebleu
da5aa1d4aa [fix] Do not set default value to mailbox-quota at user_update 2016-04-26 20:30:43 +02:00
Jérôme Lebleu
cdf3c13bf5 [enh] Add a dry-run option for service_regen_conf 2016-04-19 20:52:45 +02:00
Jérôme Lebleu
0bacf65d9c Merge branch 'unstable' into regen-conf-enh 2016-04-17 15:47:49 +02:00
Jérôme Lebleu
c1115fc736 [fix] Rename 'deprecated' option to 'deprecated_alias' in actionsmap 2016-04-16 21:33:48 +02:00
Jérôme Lebleu
2f1bf014e8 [cli] Deprecate app_initdb action in flavour of helpers 2016-04-16 21:31:27 +02:00
Jérôme Lebleu
e8502f06c4 [fix] Remove old service_safecopy/saferemove from the actionsmap 2016-04-16 18:48:50 +02:00
Jérôme Lebleu
a06a753fb6 [enh] Allow to list pending conf only in service_regen_conf 2016-04-11 19:03:48 +02:00
Jérôme Lebleu
eecf03ffbc [enh] Allow to show the diff between conf in service_regen_conf 2016-04-11 18:50:45 +02:00
Jérôme Lebleu
2309405e98 [enh] Refactor the conf regen for better conflicts handle
It rewrites some parts of the conf regen but try to keep as much as possible
the same logic - to prevent a too big refactoring. The main change is that
configuration file regen is now handle by service_regen_conf directly.

Hooks are now called twice with the following arguments respectively:
 * `"pre" $force $pending_dir`: it's time for the script to generate and put
   each configuration file to update/remove into `$pending_dir` with the
   right directory tree. To remove one, just touch an empty file.
 * `"post" $force`: this second time, the script may restart services, fix
   permissions, clean, ...

Between this two executions, the service_regen_conf will look for any files
under the `$pending_dir` and safely process them - either create, update or
remove the proper system configuration.
2016-04-11 17:11:41 +02:00
Jérôme Lebleu
cf077a50aa [enh] Add pre/post script execution callbacks to hook_callback 2016-04-10 16:48:46 +02:00
Jérôme Lebleu
a7657c1a39 [ref] Deprecate and rename regenconf action to regen-conf 2016-04-10 10:42:30 +02:00
Jérôme Lebleu
8a44179d00 [fix] Regenerate SSOwat conf after apps restoration 2016-03-28 22:07:59 +02:00
Jérôme Lebleu
de08c14aa1 [enh] Allow to set script execution directory in hook_exec 2016-03-28 21:49:11 +02:00
Jérôme Lebleu
c99d56f2d5 Merge branch 'stable' into testing
This fixes DynDNS update.
2016-03-27 16:52:41 +02:00
Jérôme Lebleu
0d9b8d9b3d [fix] Use dyndns.yunohost.org instead of dynhost.yunohost.org 2016-03-26 14:15:49 +01:00
Jérôme Lebleu
d66a46a8de [fix] Update first registered domain with DynDNS instead of current_host 2016-03-26 00:27:25 +01:00
opi
4833b6b2b2 [enh] Use dedicated app list domain. 2016-03-23 08:53:44 +01:00
opi
b1921358a7 [fix] Documentation according to last commit (dynhost->dyndns). 2016-03-23 08:37:17 +01:00
Moul
1dd1ae483f [fix] use 'path' variable for '-a' option use explanation for 'ynh app install' cmd. 2016-03-21 14:09:51 +01:00
Moul
44fa9d9324 [enh] Add '-a' argument's usage example for app_install 2016-03-19 14:52:56 +01:00
Jérôme Lebleu
b69eff6f28 [fix] Update API route for hook_callback action 2016-03-19 10:36:39 +01:00
Jérôme Lebleu
95de4801a0 [fix] Remove useless API routes for some actions 2016-03-19 10:35:13 +01:00
opi
d07d8e835a [enh] Add --installed and --with-backup to app_list action (wip #227) 2016-03-16 20:18:27 +01:00
opi
b6ee72e412 [enh] Add diagnosis function. #39 2016-03-12 23:33:30 +01:00
Jérôme Lebleu
5afd0c1272 [enh] Rely on APT python library to retrieve packages version
It introduces a new `yunohost.utils` package which will contain common
utils used by YunoHost actions. It comes with a work in progress `packages`
module with simple methods to retrieve installed version of packages for now.
2016-03-08 16:10:14 +01:00
Jérôme Lebleu
8aa64a0641 [enh] Use a common method to retrieve public IP address 2016-03-08 11:10:28 +01:00
Jérôme Lebleu
a557956a47 [fix] Remove useless raw argument in domain_list 2016-02-28 21:13:33 +01:00
Moul
abd9cfc44b [enh] ttl: change pattern name. 2016-02-24 12:01:22 +01:00
Moul
be71b0f1d0 [fix] ttl: fixes. 2016-02-24 11:59:47 +01:00
Moul
3d779cfdf8 [enh] ttl: Handle error message for non positive numbers. 2016-02-23 23:18:02 +01:00
Moul
fbf09e42b0 [fix] ortho. 2016-02-23 21:48:17 +01:00
Moul
3f1bd53c47 [mod] Fixes on 'ttl' option. 2016-02-23 13:13:36 +01:00
Moul
5016482bda [enh] add '-ttl' parameter to 'domain dns conf' command. 2016-02-23 00:53:02 +01:00
Laurent Peuch
4d1e43a7b1 [mod] typo 2016-01-26 15:50:05 +00:00
Laurent Peuch
d93a1746d7 [mod] dns_conf only need authentication for the api 2016-01-26 15:49:45 +00:00
Laurent Peuch
2b74311526 [mod] rename function like suggested 2016-01-24 15:56:05 +00:00