Commit graph

73 commits

Author SHA1 Message Date
Alexandre Aubin
12764652b0 helpers: Add a --jinja option to ynh_add_config 2024-05-26 20:10:30 +02:00
Alexandre Aubin
7d9984c109 Fix a bunch of inconsistency or variable not properly replaced between final_path/install_dir 2022-12-26 15:37:28 +01:00
Alexandre Aubin
bfa5092c10 ci: Yolorework i18n tests, add a maintenance/ folder 2021-11-28 16:17:38 +01:00
Alexandre Aubin
33d3db62b2 Fix i18n key test 2021-11-18 03:12:08 +01:00
Alexandre Aubin
bc9a9414a2 Fix diagnosis/ vs. diagnosis.py ambiguity, breaking python imports 2021-11-18 01:23:00 +01:00
Alexandre Aubin
248d7f5678 data_migrations -> migrations 2021-11-10 19:53:05 +01:00
Alexandre Aubin
05f25fa85f Propagate dir structure change to scripts etc 2021-11-10 18:25:37 +01:00
Alexandre Aubin
3eb69224aa ci: Add test for apt helpers 2021-11-02 02:03:53 +01:00
Alexandre Aubin
a8c6b5e637 [enh] helpers: add some tests for system user create that were lying in my uncommited files ? 2021-10-24 18:17:02 +02:00
Alexandre Aubin
fcd2ef9d20 [enh] helpers: allow to get/set/delete app settings without explicitly passing app id everytime... 2021-10-24 18:16:21 +02:00
Alexandre Aubin
40cc41d68d
Merge branch 'dev' into fix-eval-in-logging-helpers 2021-10-12 16:49:42 +02:00
Alexandre Aubin
a3c0ca4da6 helpers: Don't use eval in ynh_exec_* helpers to prevent issues with special chars 2021-10-12 15:49:46 +02:00
Alexandre Aubin
1d2e4e78f2 Safer, clearer ynh_secure_remove 2021-10-06 18:57:56 +02:00
Alexandre Aubin
4d3692a70b Black 2021-09-19 23:08:27 +02:00
Alexandre Aubin
18e2fb14c4 tests: uhoh forgot to remove some tmp stuff 2021-09-19 19:35:23 +02:00
Alexandre Aubin
ae03be3bad i18n tests: simplify hardcoded stuff 2021-09-19 17:10:14 +02:00
Alexandre Aubin
1543984a29 Fix i18n tests 2021-09-19 16:51:17 +02:00
Alexandre Aubin
66df3e74c1 Fix autofix translation ci 2021-09-13 12:44:32 +02:00
ljf
060d5b6dc5 [fix] ynh_write_var_in_file and after option 2021-09-06 04:20:35 +02:00
ljf
4a3d6e53c6 [fix] ynh_read_var_in_file with ini file 2021-09-06 00:58:46 +02:00
ljf
0a1e64d88f Merge branch 'enh-config-panel-file' of github.com:YunoHost/yunohost into enh-config-panel-file 2021-09-05 16:08:30 +02:00
ljf
1207b54de6 [fix] ynh_read_var_in_file with endline 2021-09-05 16:08:23 +02:00
Alexandre Aubin
1bf0196ff8 Black + fix some invalid code issues 2021-09-05 00:20:12 +02:00
Alexandre Aubin
d19c8f7632 Merge branch 'dev' into enh-config-panel-file 2021-09-04 19:07:48 +02:00
Alexandre Aubin
29ff4faf30 i18n: Add add_missing_keys script 2021-09-04 19:05:02 +02:00
Alexandre Aubin
cc8247acfd helpers/config: Add unit tests for read/write var from py/ini 2021-09-03 23:36:54 +02:00
Alexandre Aubin
d74bc485dd helpers/config: Add unit tests for read/write var from json/php/yaml 2021-09-03 20:23:12 +02:00
Alexandre Aubin
13fd447b6f
Merge branch 'dev' into reformat-fr-translation 2021-09-03 15:25:34 +02:00
Alexandre Aubin
10fddc427e ci: Add magic script to automagically fix i18n string format in trivial case 2021-09-03 02:01:16 +02:00
Alexandre Aubin
46fb84e071 Expand the reformat locale script to also cover en.json ... 2021-09-02 04:46:31 +02:00
Alexandre Aubin
f96f7dd1fd Fuck orthotypography, let's enforce practices for fr i18n 2021-09-02 04:17:15 +02:00
Alexandre Aubin
c78d31b6c1 Merge branch 'dev' into rework-authenticator-system 2021-08-20 10:12:41 +02:00
ljf
ccb6dc54b1 [fix] Avoid warning and use safeloader 2021-08-17 17:26:00 +02:00
Alexandre Aubin
11325c95cc Merge branch 'dev' into rework-authenticator-system 2021-06-14 18:16:58 +02:00
Alexandre Aubin
075526303e Misc tweaks and fixes, port ldap auth test from moulinette 2021-06-14 17:36:12 +02:00
Alexandre Aubin
8a5213c88b Fix helpers test: SimpleHTTPServer was python2 only, use http.server for python3/bullseye 2021-06-07 17:01:46 +02:00
Alexandre Aubin
27300282da Gotta source the helper when being in the appropriate folder, because of the new 'realpath' for YNH_APP_BASEDIR 2021-05-24 16:55:35 +02:00
Alexandre Aubin
381f789fec ynh_port_available: also check ports used by other apps in settings.yml 2021-04-23 21:00:21 +02:00
Alexandre Aubin
4acfbdeade Fix oopsies, fix and add test for ynh_setup_source with patch 2021-04-01 18:26:18 +02:00
Alexandre Aubin
d11d26bdb4 Generate/server a dummy.tar.gz locally instead of hardcoding an external url 2021-04-01 18:02:23 +02:00
Alexandre Aubin
d76f8d7969 explaaaaain 2021-04-01 18:02:23 +02:00
Alexandre Aubin
d782fe331d Return exit code 1 when at least one test failed 2021-04-01 18:02:23 +02:00
Alexandre Aubin
4d6fcb1b8f mv helpers.tests test_helpers.d, better naming consistency 2021-04-01 18:02:23 +02:00
Alexandre Aubin
94beb52b08 Rename to .sh for syntax highlighting, add /bin/bash shebang 2021-04-01 18:02:23 +02:00
Alexandre Aubin
0ac57e5305 Add drafty test system for helpers 2021-04-01 18:02:23 +02:00
Alexandre Aubin
9e032b04bc Fix i18n key tests 2021-03-22 16:49:41 +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
yunohost-bot
c4439110e1 [CI] Format code 2021-02-02 03:37:40 +00:00
Kay0u
0c382420d3
fix i18n test after format 2021-01-26 22:03:44 +01:00
Alexandre Aubin
ecbd63636b autopep8 --in-place -a -a -a -a -a -r data/ doc/ tests/ src/yunohost/tests/ src/yunohost/utils/ src/yunohost/data_migrations/ 2020-09-03 17:36:59 +02:00