Christophe Vuillot
3550be63f2
Added a python script (yunohost_completion.py) which generates a bash completion file for the yunohost command based on yunohost.yml, in data/actionsmap
...
Added the output of the script in data/bash-completion.d/yunohost_completion
This is probably not the correct place for the script and the generation should
be done at some other time and place also.
2019-03-11 14:53:40 +01:00
Alexandre Aubin
3fdae48d13
[microdecision] c.f. 25efab7
.. there's no way to include files in sshd_config
2019-03-10 23:57:37 +01:00
Alexandre Aubin
2c9d1b442d
Merge pull request #676 from YunoHost/fix_ynh_app_setting
...
[fix] ynh_app_setting_get and ynh_app_setting_delete don't have a fou…
2019-03-10 21:55:14 +01:00
Maniack Crudelis
945912cc98
[fix] ynh_app_setting_get and ynh_app_setting_delete don't have a fourth argument.
2019-03-10 13:22:07 +01:00
Alexandre Aubin
2818abe500
Update global.conf
2019-03-09 16:45:53 +01:00
Alexandre Aubin
2d086c400e
Merge pull request #657 from kay0u/patch-2
...
[enh] Update psql helper
2019-03-09 15:34:52 +01:00
Alexandre Aubin
696d15789d
Merge pull request #663 from YunoHost/optimize-app-setting-helpers
...
[enh] Optimize app setting helpers
2019-03-09 15:34:43 +01:00
Alexandre Aubin
a0986f2377
Merge pull request #633 from YunoHost/add_ynh_systemd_action
...
[enh] Add ynh_systemd_action helper
2019-03-09 15:34:33 +01:00
Maniack Crudelis
ea8605db5c
[enh] Support php versions in ynh_add_fpm_config
2019-03-08 23:32:23 +01:00
Alexandre Aubin
bf659db300
Not sure why this stop working, maybe new pytest version or something...
2019-03-08 19:54:26 +01:00
Alexandre Aubin
ea98cf557e
Avoid miserably failing when attempting to create link in some edge case
2019-03-08 19:53:56 +01:00
Alexandre Aubin
a974d08897
Fix use case of app_fetchlist with url=None
2019-03-08 01:22:32 +01:00
Alexandre Aubin
cea5c81e92
Merge pull request #526 from YunoHost/hook_return
...
[enh] Allow hooks to return data
2019-03-07 18:10:19 +01:00
Alexandre Aubin
b242833dcb
Merge branch 'stretch-unstable' into hook_return
2019-03-07 18:09:50 +01:00
Alexandre Aubin
a066230fe1
Merge pull request #669 from YunoHost/manifest_texte_argument
...
[enh] allow 'display_text' ~fake~ argument in manifest.json
2019-03-07 18:04:10 +01:00
Alexandre Aubin
7f779ddd1c
This ambiguity about 'ret' definitely looks like a bug ...
2019-03-07 17:10:01 +01:00
Alexandre Aubin
135ac60d94
Clarify arguments usage
2019-03-07 17:04:40 +01:00
Alexandre Aubin
55e9df75d0
Clean tmp directory if it not empty
2019-03-07 17:03:59 +01:00
Alexandre Aubin
5e0f63eab4
Reject app password if they contains { or }
2019-03-07 15:45:48 +01:00
Kayou
f1e097a5bd
Fix tab
2019-03-07 11:25:32 +01:00
Alexandre Aubin
bca4e39b24
Make the PEP gods happy
2019-03-05 03:13:14 +01:00
Alexandre Aubin
650232b1c3
Merge branch 'stretch-unstable' into group_permission
2019-03-05 02:59:05 +01:00
Alexandre Aubin
b782a1a6f0
Typos
2019-03-05 02:57:00 +01:00
Alexandre Aubin
1d4dfd5242
Clarify condition using a list
2019-03-05 02:23:15 +01:00
Alexandre Aubin
13c6c9e500
Factorize validation from actual action
2019-03-05 02:07:17 +01:00
Alexandre Aubin
4d126ad736
Misc simplification / explicit code
2019-03-05 02:06:51 +01:00
Alexandre Aubin
c3e92f245f
Use _get_migration_by_name to fetch migration module
2019-03-05 01:45:52 +01:00
Alexandre Aubin
b7aa7f6fbb
Cover small edge case where domain key doesnt exist
2019-03-05 01:43:19 +01:00
Alexandre Aubin
81add41fdd
Misc wording / formatting
2019-03-05 01:33:50 +01:00
Alexandre Aubin
d49b098e67
Specify group name in group-related messages
2019-03-05 00:44:16 +01:00
Alexandre Aubin
def005d2da
Fix weird message
2019-03-05 00:42:20 +01:00
Alexandre Aubin
f845187230
Let's be paranoid and include all that stuff in the try/except as well
2019-03-05 00:32:14 +01:00
Alexandre Aubin
47e6bf95dd
Improve exception handling ... the 'real' traceback is shown by the parent scope, but was lost in the current code because we triggered another exception
2019-03-05 00:31:01 +01:00
Alexandre Aubin
59714fdb1b
If url is None, we want to feed None and not [None]
2019-03-05 00:30:32 +01:00
Alexandre Aubin
e3dfd63481
Replace hard-corded value with constant defined above
2019-03-04 22:54:02 +01:00
Alexandre Aubin
5516e96d07
Simpler fetching of failed/succeeded hooks in CustomBackupMethod
2019-03-04 19:05:43 +01:00
Alexandre Aubin
88b7d77610
Display raw json content in case of exception
2019-03-04 18:58:04 +01:00
Alexandre Aubin
16245f53d9
Fix listing of succeed/failed for backup and restore
2019-03-04 18:33:09 +01:00
Alexandre Aubin
c74bff31d1
Fix listing of succeed/failed hook names
2019-03-04 17:44:20 +01:00
Alexandre Aubin
877fe50685
Use a finally clause to avoid duplicated code
2019-03-04 17:21:57 +01:00
Alexandre Aubin
433e82dfc8
Merge pull request #662 from YunoHost/optimize-dyndns-requests
...
[fix] Optimize dyndns requests
2019-03-04 17:10:37 +01:00
Alexandre Aubin
f37a6b43e1
More general exception to handle other cases (e.g. SSL errors, ...)
2019-03-04 17:09:31 +01:00
Alexandre Aubin
b782b9c0ed
Merge remote-tracking branch 'origin/update-dns-resolver-list' into stretch-unstable
2019-03-04 16:42:31 +01:00
Alexandre Aubin
bac76b3769
Merge pull request #639 from Taekiro/patch-1
...
[enh] Add IPv6 nameserver to resolv.dnsmasq.conf from diyisp.org
2019-03-04 16:40:17 +01:00
Laurent Peuch
b8c5e9f1b6
[enh] allow 'display_text' ~fake~ argument in manifest.json
2019-03-04 03:27:49 +01:00
Alexandre Aubin
e81e232fb2
Add a check that some required services are up before running install and upgrade
2019-03-04 03:09:23 +01:00
Maniack Crudelis
08e51f2680
Do not show errors about log not existing yet.
2019-03-03 18:58:38 +01:00
Maniack Crudelis
337a065b4a
Print progression only after 3s
2019-03-03 18:57:41 +01:00
Maniack Crudelis
58af343a84
Add warning about exec_* printers
2019-03-03 17:25:07 +01:00
Maniack Crudelis
12c61eeb65
Use printers
2019-03-03 16:38:54 +01:00