Commit graph

6308 commits

Author SHA1 Message Date
Alexandre Aubin
a8656c835c Use backups from 3.8 instead of old 2.4 archives for system/apps restore tests 2021-04-02 03:48:25 +02:00
Alexandre Aubin
8b8a8fb3c7 Drop support for restoring backup archives from prior to 3.8 2021-04-02 03:13:53 +02:00
cyxae
30421954a4
Add an option to disable the 'YunoHost' panel overlay in web apps (#1071)
* Add an option to disable the 'YunoHost' panel overlay in apps

* set default value for overlay as true

* Add a hook to auto-update nginx conf + fix deprecated 'service regen-conf'

* Change name of setting to ssowat.panel_overlay.enabled

* [fix] Duplicate function

* Quote var, just in case the var is empty for some reason

Co-authored-by: ljf (zamentur) <zamentur@users.noreply.github.com>
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2021-04-02 02:21:29 +02:00
Alexandre Aubin
a03b62245d
Merge pull request #1184 from YunoHost/cron-legacy
Don't backup crons + manage crons from the regenconf
2021-04-02 00:27:35 +02:00
Alexandre Aubin
378cf904c8
Merge branch 'dev' into cron-legacy 2021-04-02 00:27:19 +02:00
Alexandre Aubin
37db93b49a Typo 2021-04-01 23:27:56 +02:00
Alexandre Aubin
40b22617d3 Unused mports 2021-04-01 23:14:43 +02:00
Alexandre Aubin
00ec7b2fc4 Support having .tar / .tar.gz in the archive name arg of backup_info/restore 2021-04-01 22:58:04 +02:00
Alexandre Aubin
d5ecdca896
Merge pull request #1201 from YunoHost/helpers-tests
Add quick-and-dirty test system for helpers
2021-04-01 19:53:38 +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
875fead9b5 Add test-helpers in gitlab CI pipeline 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
cd1f64383b log.py: don't inject log_ref if the operation didnt start yet 2021-04-01 15:55:46 +02:00
Alexandre Aubin
4f44df388e services.py, python3: missing decode() in subprocess output fetch 2021-04-01 15:51:49 +02:00
Alexandre Aubin
45b55d1050
Add --keep to ynh_setup_source to keep files that may be overwritten during upgrade (#1200) 2021-03-31 17:41:20 +02:00
Kayou
8751dcdd1b
Update changelog for 4.2 (#1195)
* Update changelog for 4.2

* changelog: Improving error semantic

* Update changelog

Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2021-03-25 01:05:41 +01:00
Alexandre Aubin
6f7a8af2de
Merge pull request #1198 from yunohost-bot/weblate-yunohost-core
Translations update from Weblate
2021-03-25 01:00:02 +01:00
Flavio Cristoforetti
c2af36a652 Translated using Weblate (Italian)
Currently translated at 100.0% (630 of 630 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/it/
2021-03-24 19:33:41 +00:00
Daniel
44637237ce Translated using Weblate (German)
Currently translated at 86.5% (545 of 630 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/de/
2021-03-24 19:33:40 +00:00
Alexandre Aubin
e27ac6ff2c Rely on YNH_APP_BASEDIR to check the sources/ dir 2021-03-24 20:28:42 +01:00
Alexandre Aubin
d98ec6ce35 Download ynh_setup_source stuff to /var/cache/yunohost/download 2021-03-24 20:28:42 +01:00
Alexandre Aubin
87b0b10e0e Enforce permissions on /var/cache/yunohost 2021-03-24 20:28:42 +01:00
Alexandre Aubin
0a2633eca0
Merge pull request #1193 from yunohost-bot/weblate-yunohost-core
Translations update from Weblate
2021-03-23 04:00:49 +01:00
Krzysztof Nowakowski
ea5971e355 Translated using Weblate (Polish)
Currently translated at 1.5% (10 of 630 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/pl/
2021-03-22 23:34:11 +00:00
Quentí
cf884b1149 Translated using Weblate (Occitan)
Currently translated at 57.6% (363 of 630 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/oc/
2021-03-22 23:34:11 +00:00
Christian Wehrli
c45d1010d6 Translated using Weblate (German)
Currently translated at 85.3% (538 of 630 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/de/
2021-03-22 23:34:11 +00:00
Alexandre Aubin
6725a7f2bf
Merge pull request #1187 from YunoHost/improve-error-semantic
Improve error semantic
2021-03-23 00:34:06 +01:00
Alexandre Aubin
a5fe21fd38 Zblerg multiple forgotten import / typo >_> 2021-03-23 00:32:44 +01:00
Alexandre Aubin
e63ca06d37 Missing import 2021-03-22 21:58:15 +01:00
Alexandre Aubin
ab454ff62f Missing decode() for Popen output in certificate.py 2021-03-22 21:40:33 +01:00
Alexandre Aubin
33fab1c99f Be more robust against non-int values for level in app catalog (e.g. for apps 'inprogress' for which level is '?') 2021-03-22 20:45:03 +01:00
Alexandre Aubin
11c50c0187 Fix log_ref injection 2021-03-22 18:49:25 +01:00
Alexandre Aubin
09d306924a Fix minor issue with main_space diagnosis: duplicated error/warning, missing / partition when it's on a /dev/loop 2021-03-22 17:46:32 +01:00
Alexandre Aubin
9e032b04bc Fix i18n key tests 2021-03-22 16:49:41 +01:00
Alexandre Aubin
f0827451ca Fix translation inconsistency 2021-03-17 16:37:07 +01:00
Alexandre Aubin
f84b6535f3
Merge pull request #1167 from Salamandar/fix_helper_doc
helper doc : Fix all doc (mostly)
2021-03-17 15:41:26 +01:00
Alexandre Aubin
2aa1898e4a
Merge pull request #1174 from yunohost-bot/weblate-yunohost-core
Translations update from Weblate
2021-03-17 15:39:45 +01:00
Christian Wehrli
ad4ca718f7 Translated using Weblate (German)
Currently translated at 84.7% (534 of 630 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/de/
2021-03-17 14:32:48 +00:00
Radek S
18cc2ecbc8 Translated using Weblate (Czech)
Currently translated at 1.7% (11 of 630 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/cs/
2021-03-17 14:32:48 +00:00
Christian Wehrli
0b7e040ee2 Translated using Weblate (German)
Currently translated at 84.6% (533 of 630 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/de/
2021-03-17 14:32:48 +00:00
Christian Wehrli
4fadd4b68f Translated using Weblate (German)
Currently translated at 84.2% (531 of 630 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/de/
2021-03-17 14:32:48 +00:00
Scapharnaum
acd4d223cb Translated using Weblate (German)
Currently translated at 83.6% (527 of 630 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/de/
2021-03-17 14:32:48 +00:00
Scapharnaum
74a9512d8e Translated using Weblate (German)
Currently translated at 81.1% (511 of 630 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/de/
2021-03-17 14:32:48 +00:00
Christian Wehrli
56321d41c4 Translated using Weblate (German)
Currently translated at 81.1% (511 of 630 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/de/
2021-03-17 14:32:48 +00:00
Quentí
394fd90383 Translated using Weblate (Occitan)
Currently translated at 53.9% (340 of 630 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/oc/
2021-03-17 14:32:48 +00:00