Commit graph

10290 commits

Author SHA1 Message Date
Alexandre Aubin
c77d05e693 portal: store custom logos in a /usr/share/yunohost/customassets, and only store the file id which the front should then query as a regular asset 2024-02-03 21:07:45 +01:00
Alexandre Aubin
f248086fb6 nginx: nevermind applogos caching, nowadays nginx/browsers automatically cache static assets with etags etc ? 2024-02-03 20:28:41 +01:00
Alexandre Aubin
8823ef0a2c nginx: can't really delete the old yunohost_panel.conf.inc because it may be included by nginx app confs ~_~ 2024-02-03 20:06:10 +01:00
Alexandre Aubin
6958ea3b0f regenconf: more factorizing in yunohost hook 2024-02-03 20:00:13 +01:00
Alexandre Aubin
a47321e1bc Typo 2024-02-03 19:44:36 +01:00
Alexandre Aubin
402327d6ef regenconf: factorize all the dirs/perm stuff in the yunohost hook 2024-02-03 19:43:13 +01:00
Alexandre Aubin
ceace620da regenconf: factorize nginx regenconf a bit 2024-02-03 18:58:34 +01:00
Alexandre Aubin
ce529107be regenconf: remove unecessary/inconsistent check that script is ran as root... 2024-02-03 18:42:08 +01:00
Alexandre Aubin
41da1daf02 nginx: remove old 'yunohost_panel.conf' stuff 2024-02-03 18:39:25 +01:00
Alexandre Aubin
98701ebdab regenconf: the 'plain' subfolder thing for nginx conf is annoying, flatten things up 2024-02-03 18:36:55 +01:00
Alexandre Aubin
ca835534de portal: serve app logos from an sso-specific route (to keep separation of concern etc) 2024-02-03 18:24:31 +01:00
Alexandre Aubin
69cc6345a5 webadmin: add cache config for app logos 2024-02-03 18:21:02 +01:00
Alexandre Aubin
6a3c77eda1 auth: restrict cookies to the appropriate api 2024-02-03 17:29:19 +01:00
Alexandre Aubin
9a7ec301a6 configpanel: improve debugging/error message when pydantic fails to validate the options etc 2024-02-03 16:51:02 +01:00
Alexandre Aubin
b69cbd33ed
Merge pull request #1768 from yunohost-bot/weblate-yunohost-core
Translations update from Weblate
2024-02-02 22:00:37 +01:00
José M
4e33bf271e Translated using Weblate (Galician)
Currently translated at 100.0% (783 of 783 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/gl/
2024-02-01 12:36:42 +01:00
Carlos Solís
55b601369d Translated using Weblate (Spanish)
Currently translated at 100.0% (783 of 783 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/es/
2024-02-01 03:01:53 +01:00
Alexandre Aubin
b427783721 Make linter happy 2024-01-31 03:17:21 +01:00
Alexandre Aubin
ec8594a325 Zgrombpf 2024-01-31 03:16:07 +01:00
Alexandre Aubin
ddbd367085 Fix app resource test 2024-01-31 02:43:43 +01:00
Alexandre Aubin
133ce6e6b2 Fix permission test 2024-01-31 02:14:35 +01:00
Alexandre Aubin
b4b55fae54 Fix empty catalog test 2024-01-31 02:09:29 +01:00
Alexandre Aubin
e682fe9abd apps/portalconf: use description from local manifest + cases where the app aint in catalog or has no logo hash 2024-01-31 02:06:29 +01:00
Alexandre Aubin
c9a4838b5a tests/sso: add tests for subdomain and secondary 'main' domain 2024-01-31 01:35:37 +01:00
Alexandre Aubin
80d6a6f08d tests: fix/add tests for SSO 2024-01-31 00:16:26 +01:00
Alexandre Aubin
fc048f804e tests/sso: fix redirect test, gotta explicitly tell python to not follow 302s 2024-01-30 22:59:14 +01:00
Alexandre Aubin
61a43df169 Cleanup unused code 2024-01-30 19:53:32 +01:00
Alexandre Aubin
18df4bbc32 ssowatconf: replace use_remote_user_var_in_nginx_conf with protect_against_basic_auth_spoofing, and basic-with/without-password for the auth_header flag 2024-01-30 19:46:18 +01:00
Alexandre Aubin
d9daf111e6 helpers: fix pattern to wait for when fail2ban is starting/reloading 2024-01-30 19:18:06 +01:00
Alexandre Aubin
cc97efa033 helpers: remove pre-4.2 behavior for default file/folders permissions 2024-01-30 17:06:33 +01:00
Francescc
582dc2d4f0 Translated using Weblate (Catalan)
Currently translated at 81.3% (637 of 783 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/ca/
2024-01-30 04:08:51 +01:00
José M
9d9c68f4bf Translated using Weblate (Galician)
Currently translated at 100.0% (783 of 783 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/gl/
2024-01-29 16:08:21 +01:00
Francescc
d730edef52 Translated using Weblate (Catalan)
Currently translated at 70.6% (553 of 783 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/ca/
2024-01-29 03:29:37 +01:00
Lasse Gismo
1fe0ea5062 Translated using Weblate (German)
Currently translated at 100.0% (783 of 783 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/de/
2024-01-29 03:29:37 +01:00
Weblate
e81e6fb92c Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/
2024-01-29 03:29:37 +01:00
Weblate
97c2fe3d49 Added translation using Weblate (Korean) 2024-01-29 03:29:37 +01:00
Jose Riha
5301018490 Translated using Weblate (Slovak)
Currently translated at 32.4% (254 of 783 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/sk/
2024-01-29 03:29:37 +01:00
José M
1a95dd500f Translated using Weblate (Galician)
Currently translated at 100.0% (783 of 783 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/gl/
2024-01-29 03:29:37 +01:00
Christian Wehrli
3f467182cc Translated using Weblate (German)
Currently translated at 99.8% (782 of 783 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/de/
2024-01-29 03:29:37 +01:00
Alexandre Aubin
8120ac2b3f
Merge pull request #1770 from OniriCorpe/cidr
mention cidr notation
2024-01-29 03:29:33 +01:00
OniriCorpe
00698cc2fd mention cidr notation 2024-01-29 02:54:19 +01:00
Alexandre Aubin
3574a7792d
Merge pull request #1769 from Salamandar/fix_port_reuse
Fix port reuse during provisionning.
2024-01-28 22:29:08 +01:00
Alexandre Aubin
820a79c238
Update resources.py: used_ports -> ports_used_by_self 2024-01-28 22:28:45 +01:00
8727e74eab Fix port reuse during provisionning.
Before this, provisionning might use twice the same port (second app install for example).
Indeed, _port_is_used only checks processes and already installed apps. Not the current
app being installed.
2024-01-28 22:22:36 +01:00
Alexandre Aubin
6e85323a8f Unused imports 2024-01-27 18:08:25 +01:00
Alexandre Aubin
8bd2104722 Moar lazy loading 2024-01-27 16:16:14 +01:00
Alexandre Aubin
dda095dc15 Cleanup legacy 2024-01-27 16:13:57 +01:00
Alexandre Aubin
b33a47f27d broken imports ... + more lazy loading 2024-01-27 16:13:37 +01:00
Alexandre Aubin
6a01b657da appscatalog: this 'init' step is overengineered ... let's instead say the nominal case is that there's no apps_catalog.yml defined, and in this case we use the default catalog 2024-01-27 15:51:56 +01:00
Alexandre Aubin
2d42f59377 logs: remove the intermediate useless 'categories' directory, this is triggering me so much 2024-01-27 15:31:10 +01:00