Commit graph

4449 commits

Author SHA1 Message Date
Alexandre Aubin
7a077b5de9 Merge remote-tracking branch 'origin/dev' into bookworm 2024-04-11 15:51:19 +02:00
Alexandre Aubin
29c597ed8e Missing import oopsi 2024-04-11 14:32:39 +02:00
Alexandre Aubin
cc39fca559 Merge branch 'dev' into bookworm 2024-04-11 00:39:00 +02:00
Alexandre Aubin
a3ab7c9199 app resources: add __YNH_DEBIAN_VERSION_ID__ in available variable, corresponing to debian number (11, 12, ...) 2024-04-11 00:38:23 +02:00
Alexandre Aubin
85f83af862 perf: add cache for system utils that fetch debian_version, debian_version_id, system_arch, system_virt 2024-04-10 23:08:40 +02:00
Alexandre Aubin
2e3b4ae1f2 perf: add cache for system utils that fetch debian_version, debian_version_id, system_arch, system_virt 2024-04-10 23:08:31 +02:00
tituspijean
ff6b6954aa 🎨 Format Python code with Black 2024-04-10 20:32:30 +00:00
tituspijean
835303200d
Fix and enh variables for app resources
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2024-04-10 22:31:53 +02:00
Alexandre Aubin
26bead701d Merge branch 'migrate-to-bookworm' into bookworm 2024-04-10 21:14:48 +02:00
Alexandre Aubin
383fd6f5d4 First draft for migrate_to_bookworm 2024-04-10 21:13:55 +02:00
Alexandre Aubin
458221e845 Merge remote-tracking branch 'origin/dev' into bookworm 2024-04-10 21:09:18 +02:00
alexAubin
a733ea45c3 🎨 Format Python code with Black 2024-04-10 19:03:03 +00:00
Alexandre Aubin
ba0ad78df5
Merge pull request #1751 from Salamandar/variables_in_manifest
Variables in manifest
2024-04-10 21:02:44 +02:00
Alexandre Aubin
0864014ea1 Move recursive_apply directly where it's used, having a small algorithms.py just for this is too convoluted 2024-04-10 20:59:54 +02:00
orhtej2
10c6c807bf Return auth cookie valid for whole main domain. 2024-03-26 01:04:43 +01:00
manor-tile
30a4fe1646
Merge branch 'YunoHost:dev' into enh-2047-log-show-last-x 2024-03-21 10:16:43 +00:00
manor-tile
45e3f6b1a2 error if X in last-X is too big 2024-03-21 11:16:02 +01:00
BELLAHBIB Ayoub
f9d3ae1084 show_log: support names 'last' and 'last-x' in path
Co-authored-by: manor-tile <159947643+manor-tile@users.noreply.github.com>
2024-03-21 11:16:02 +01:00
Alexandre Aubin
96494cbee4 apps: simplify env creation for config panel script, _make_environment_for_app_script already handles everything.. 2024-03-14 09:14:10 +01:00
Alexandre Aubin
11cabc0fe7 Merge remote-tracking branch 'origin/dev' into bookworm 2024-03-14 09:13:37 +01:00
Josué Tille
006318effa Avoid to override new settings 2024-03-07 10:05:10 +01:00
Josué Tille
c9d570e6a1 Add generales var in config panel like domain, path, etc 2024-03-07 10:05:10 +01:00
Alexandre Aubin
e8ad12de24
Merge pull request #1793 from YunoHost/fixes-doc-markdown
doc generation: fix markdown
2024-03-02 16:10:10 +01:00
OniriCorpe
c512425bd9 dog generation: fix markdown 2024-03-02 08:30:57 +01:00
OniriCorpe
8f6df354b8
break line 2024-03-01 03:31:43 +01:00
yunohost-bot
105f4dc515 [CI] Format code with Black 2024-03-01 02:10:08 +00:00
yunohost-bot
30679c0c57 [CI] Format code with Black 2024-03-01 01:08:42 +00:00
ljf (zamentur)
6a84564cdc
[fix] List root ssh keys 2024-02-29 18:36:25 +01:00
c5e9cec933 Fix readonly questions (display_text, etc): the code did not handle them anymore on the app side 2024-02-29 16:58:19 +01:00
OniriCorpe
da5181f057
Add autoupdate.version_regex to the doc
original commit: 93793fef44
2024-02-24 02:07:53 +01:00
Alexandre Aubin
ec4b1e9f96
Merge pull request #1776 from OniriCorpe/update-autoupdate-docs
Autoupdate: update docs
2024-02-15 02:38:06 +01:00
OniriCorpe
cfee750e32 draft 2024-02-15 02:24:45 +01:00
yunohost-bot
c695aa549a [CI] Format code with Black 2024-02-09 20:12:27 +00:00
Alexandre Aubin
077b745d60 configpanels: some helpers behavior depend on YNH_APP_PACKAGING_FORMAT which is not set when calling the config script... 2024-02-09 20:01:20 +01:00
Alexandre Aubin
99e252107f Dafuq Aleks, we do need to send the SSO cookie on all route not just the portal API route 2024-02-04 15:18:48 +01:00
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
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
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
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