Commit graph

6228 commits

Author SHA1 Message Date
Alexandre Aubin
9e032b04bc Fix i18n key tests 2021-03-22 16:49:41 +01:00
Alexandre Aubin
1a0ef94109 Define HTTP codes for Yunohost Errors 2021-03-12 04:24:27 +01:00
Alexandre Aubin
37f0c30ddc Inject log_ref into all is_unit_operation failures 2021-03-11 03:57:15 +01:00
Alexandre Aubin
01ccab5252 Add semantic of YunohostValidationError for all exceptions which are related to validating stuff 2021-03-11 01:39:52 +01:00
Alexandre Aubin
b85d959d7e ynh_install_n: No need to mkdir ../conf 2021-03-08 20:56:32 +01:00
Éric Gaspar
ad602ee0a1
Upgrade n (#1178)
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2021-03-08 20:55:45 +01:00
Alexandre Aubin
db93b82b23 ynh_setup_source: add a check that we could actually parse SOURCE_URL 2021-03-08 18:41:54 +01:00
Alexandre Aubin
9e7eda681b ynh_install_n: put the source descriptor file in the appropriate dir during backup/restore 2021-03-08 18:37:53 +01:00
Kay0u
5539751ca4
fix others_var 2021-03-08 17:38:10 +01:00
Alexandre Aubin
9b13c95f77 Re-add --others_var in fail2ban and systemd helpers for backward compatibility... 2021-03-02 19:54:24 +01:00
Alexandre Aubin
7ba08eb550 Merge branch 'hotfixes-4.1.7.3' into dev 2021-03-02 02:14:35 +01:00
Alexandre Aubin
234ae15d77 Update changelog for 4.1.7.3 2021-03-02 02:07:58 +01:00
Alexandre Aubin
bd8644a651 Translation typo.. 2021-03-02 02:03:26 +01:00
Alexandre Aubin
6ce02270ae Gotta escape \ during ynh_replace_vars 2021-03-02 02:02:10 +01:00
Kay0u
05969184fe fix ynh_systemd_action in case of service fails 2021-03-02 02:02:10 +01:00
Alexandre Aubin
d12f403fe3 Fix permission helper doc format 2021-03-02 02:02:10 +01:00
Alexandre Aubin
88b414c8f3 Don't redact empty string... 2021-03-02 02:02:10 +01:00
yalh76
2402a1db39 Fixing ___APP__ 2021-03-02 02:02:09 +01:00
yalh76
9bbc3b72ae Make grep lazy 2021-03-02 02:02:09 +01:00
yalh76
2728801d17 Force destination to be replaced 2021-03-02 02:02:08 +01:00
Alexandre Aubin
a43cd72c72 Fix ynh_replace_vars again, mystical bash is mystic... 2021-03-02 02:00:45 +01:00
Alexandre Aubin
0c172cd3f9 Catch more secrets not redacted 2021-03-02 02:00:44 +01:00
Alexandre Aubin
01058aca28 Catch more secrets not redacted 2021-03-02 01:49:23 +01:00
Alexandre Aubin
d763247df4
No need for mysql root password (#912)
* Get rid of /etc/yunohost/mysql

* Get rid of restore hook for mysql password

* Tab -> spaces

* declare->local lost while merging conflicts etc

* Gotta keep that var
2021-03-01 19:11:41 +01:00
Alexandre Aubin
4a20cf8003
Merge pull request #1168 from Salamandar/helper_template
Enhance the jinja template for bash helpers
2021-03-01 18:13:18 +01:00
Alexandre Aubin
0884a0c162 Further simplify logging configuration by using the 'cli' handler when running yunohost-api in debug mode instead of creating a 'console' handler which is pretty much the same 2021-03-01 18:06:43 +01:00
Alexandre Aubin
dbedec3546
Merge pull request #1177 from yalh76/more_ynh_add_config_fix
Fixing ___APP__
2021-02-28 20:08:52 +01:00
yalh76
c86d432783 Fixing ___APP__ 2021-02-28 18:56:30 +01:00
Alexandre Aubin
997fd4d2f4
Merge pull request #1119 from YunoHost/moulinette-logging
Simpler and more consistent logging initialization
2021-02-28 17:34:18 +01:00
Alexandre Aubin
38bed2aab2
Merge branch 'dev' into moulinette-logging 2021-02-28 17:03:15 +01:00
Alexandre Aubin
4131ddb070 Fix cases where we want to test if translation exists for a key 2021-02-28 17:00:48 +01:00
Alexandre Aubin
65424cc1ec
Merge pull request #1176 from yalh76/ynh_add_config
Make grep lazy
2021-02-28 15:22:05 +01:00
yalh76
fcea5a6af0 Make grep lazy 2021-02-28 13:38:10 +01:00
Alexandre Aubin
9480678aa1
Merge pull request #1175 from yalh76/ynh_add_config
[enh] - Force destination to be replaced
2021-02-27 20:47:47 +01:00
yalh76
c6d14219cc Force destination to be replaced 2021-02-27 20:39:55 +01:00
Alexandre Aubin
bb1d600227
Merge pull request #1149 from YunoHost/fix-dyndns-madness
Fix dyndns madness
2021-02-26 00:28:13 +01:00
Alexandre Aubin
64a1b4cad2 Misc fixes after testing 2021-02-26 00:20:39 +01:00
Alexandre Aubin
071732dd7f Improve check that a dyndns domain already exists 2021-02-26 00:00:19 +01:00
Alexandre Aubin
cc6cc1860a Do not backup damn cron jobs ... they will automatically be regenerated by the regenconf 2021-02-25 23:59:51 +01:00
Alexandre Aubin
a8e11c19db Delete dyndns key during domain removal if any 2021-02-25 23:59:51 +01:00
Alexandre Aubin
2752a8e485 Deprecate yunohost dyndns installcron/removecron 2021-02-25 23:59:51 +01:00
Alexandre Aubin
7efc6dcd07 Handle the dyndns cron from the regenconf 2021-02-25 23:59:17 +01:00
Alexandre Aubin
675c4d0eea Fix permission helper doc format 2021-02-25 16:57:57 +01:00
Alexandre Aubin
0dd0337450 Don't redact empty string... 2021-02-25 16:44:55 +01:00
Alexandre Aubin
33f291be96 Fix ynh_replace_vars again, mystical bash is mystic... 2021-02-25 16:36:28 +01:00
Alexandre Aubin
3be6b822eb
Merge pull request #1173 from YunoHost/enh-ynh_systemd_action
[fix] Automatically call ynh_clean_check_starting when ynh_systemd_action fails
2021-02-25 16:00:31 +01:00
Kay0u
47420c6232
fix multimedia helper 2021-02-25 12:40:49 +01:00
Kay0u
1d3380415e
add missing getops 2021-02-25 11:17:46 +01:00
Kay0u
8f7ced35a5
fix ynh_systemd_action in case of service fails 2021-02-25 11:16:34 +01:00
Alexandre Aubin
a8b315b873
Fix nl translation 2021-02-25 05:18:21 +01:00