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
5c2329c5b6
Refuse to add ssh/sftp permissions to all users
2021-04-01 20:12:31 +02:00
Alexandre Aubin
22e397f71c
Fix oopsies
2021-04-01 20:12:17 +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
83d03dc074
Simplify migration / be more explicit about what new rdn to inject
2021-04-01 19:37:39 +02:00
Alexandre Aubin
ce946cc0b0
Introduce a decorator to automatically backup/rollback ldap db during ldap-related migrations
2021-04-01 19:12:19 +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
b40f21458f
ssh config: indent, misc readabilty improvements
2021-03-25 16:19:40 +01:00
Alexandre Aubin
f158a4da9e
Use YunohostValidationError instead of raw Exceptions
2021-03-25 16:10:00 +01:00
Alexandre Aubin
514112a538
Misc permission tweak, set everything as owned by root by default
2021-03-25 16:03:18 +01:00
Alexandre Aubin
fb1fddd07e
To be consistent with migration 0020, all new users should have /bin/bash as terminal, also we probably don't care about fetching loginShell anymore
2021-03-25 15:03:53 +01:00
Alexandre Aubin
f0c4498c80
Merge branch 'dev' into sftp_permission
2021-03-25 14:42:30 +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
axolotle
ff772cd294
split '/diagnosis/ignore' and '/diagnosis/ungignore'
2021-03-22 23:41:06 +01:00
axolotle
113d9f5a8b
PUT for '/apps/<app>/config' & 'appscatalog' to 'apps/catalog'
2021-03-22 23:22:56 +01:00
axolotle
63f9048504
add PUT '/migration' to avoid specifying the list of the migrations to run
2021-03-22 22:31:18 +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
axolotle
20553de539
update firewall port update routes
2021-03-22 20:29:17 +01:00
Alexandre Aubin
11c50c0187
Fix log_ref injection
2021-03-22 18:49:25 +01:00
axolotle
27eefcb286
reexpose '/hooks/<name>' since the web-admin needs it for backups
2021-03-22 18:43:21 +01:00