Commit graph

6371 commits

Author SHA1 Message Date
Alexandre Aubin
037a2a66a4 Not sure what I'm doing but for some reason can't remove yolo.test anymore because it's the main domain during tests idk 2021-04-03 00:30:44 +02:00
Alexandre Aubin
72eb0b2e49 We don't use the info.json during restore from 3.8 anymore 2021-04-02 23:02:08 +02:00
Alexandre Aubin
dc10e88b1e Unused imports 2021-04-02 22:36:34 +02:00
Alexandre Aubin
2c1923a142 Merge remote-tracking branch 'origin/dev' into smarter-migration-during-restore 2021-04-02 22:20:42 +02:00
Alexandre Aubin
08fbfa2e39 Add new ssowat panel overlay setting description 2021-04-02 17:18:39 +02:00
Alexandre Aubin
8e70484c63 Stale strings 2021-04-02 04:56:03 +02:00
Alexandre Aubin
93813e773f Typo 2021-04-02 04:53:37 +02:00
Alexandre Aubin
c552b4f006 Be able to define directly in migrations hooks that are called when restoring system/apps prior to the introduction of the migration 2021-04-02 04:28:52 +02:00
Alexandre Aubin
df49cc83d5 Drop legacy stuff for backups from before the 3.7 era 2021-04-02 03:55:20 +02:00
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
Alexandre Aubin
514112a538 Misc permission tweak, set everything as owned by root by default 2021-03-25 16:03:18 +01: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
ericgaspar
3a7cf0a1b3
Update nodejs 2021-03-24 18:25:00 +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