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
378cf904c8
Merge branch 'dev' into cron-legacy
2021-04-02 00:27:19 +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
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
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
MercierCorentin
afe62877d3
Domain settings: transform cli to be like app settings
2021-03-29 14:46:03 +02:00
Paco
4a92f97b4e
Merge branch 'dev' of https://github.com/YunoHost/yunohost into enh-dns-autoconf
2021-03-25 21:11:33 +01:00
Paco
1dcf9ab647
Merge branch 'enh-dns-autoconf' of https://github.com/MercierCorentin/yunohost into enh-dns-autoconf
2021-03-25 21:08:47 +01:00
Paco
503a5ed6d2
Add yunohost domain config list
command
2021-03-25 21:08:08 +01:00
MercierCorentin
223d260391
Merge branch 'enh-dns-autoconf' of https://github.com/MercierCorentin/yunohost into enh-dns-autoconf
2021-03-25 20:52:18 +01:00
MercierCorentin
b367505157
XMPP configuration for subdomains (i.e. not owned zone dns)
2021-03-25 20:52:14 +01:00
Alexandre Aubin
f158a4da9e
Use YunohostValidationError instead of raw Exceptions
2021-03-25 16:10:00 +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
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
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
axolotle
473c5762c6
replace api action group.update with group.add and group.remove
2021-03-22 18:41:18 +01:00
axolotle
5f994bba98
separate update, add and remove permission on exposed API
2021-03-22 16:24:23 +01:00
Paco
4876860b47
Merge branch 'enh-dns-autoconf' of https://github.com/MercierCorentin/yunohost into enh-dns-autoconf
2021-03-22 01:58:41 +01:00
Paco
fa818a476a
Change API naming etc. Expect a new change to come!
2021-03-22 01:57:20 +01:00
MercierCorentin
3b6599ff0d
Check if DNS zone is owned by user
2021-03-22 00:00:03 +01:00
Paco
f295dffd00
Fix old_domains not assigned
2021-03-21 22:27:57 +01:00
Alexandre Aubin
1fb9ddd42a
Tweak tools update/upgrade to have a single 'target' arg for simpler routing
2021-03-19 17:45:37 +01:00
Paco
fa5b3198cc
Add TODOs for locales
2021-03-17 21:26:45 +01:00
Paco
cc3c073dc5
Saving domain settings in /etc/yunohost/domains.yml
2021-03-17 21:24:13 +01:00
Kay0u
4a19a60b44
dirty patch to wait for services to finish reloading
2021-03-17 15:32:19 +01:00
Kay0u
3c3e8711ed
fix _patch_legacy_helpers
2021-03-16 16:28:12 +01:00
ljf (zamentur)
7a947dbce1
[fix] True instead of description ( #1189 )
2021-03-15 00:03:31 +01:00
Alexandre Aubin
721f6f265e
Typo ...
2021-03-14 18:45:36 +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
727e135c72
Unused import
2021-03-10 19:39:45 +01:00
Alexandre Aubin
e639c8cd5a
Move applist refresh cron + lets encrypt renewal cron to regen conf
2021-03-10 19:00:24 +01:00
Paco
8dd5859a46
Integration of domain settings loading/generation with domains DNS entries generation
2021-03-09 23:59:42 +01:00
Paco
01fe61c15b
Merge branch 'enh-dns-autoconf' of https://github.com/MercierCorentin/yunohost into enh-dns-autoconf
2021-03-09 23:54:03 +01:00