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
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
Alexandre Aubin
902e65f9bc
domain: don't regen the ssowat conf when changing the main domain (creates an issue during postinstall)
2024-01-27 15:23:22 +01:00
Alexandre Aubin
045869283c
portalapi: don't leak the full list of users nor private apps
2024-01-22 21:39:54 +01:00
Alexandre Aubin
16d7f77f91
apps: checking that relevant services are up before app actions: the 'services' key is a super old thing from packaging v1 era, and nowadays mariadb/php/.. are likely to be installed on the fly, not pre-installed on the system anymore. This should be reworked someday
2024-01-22 21:19:56 +01:00
Alexandre Aubin
0796273be3
sso/portal: more tests
2024-01-22 19:52:25 +01:00
Alexandre Aubin
fc12cb198c
apps: people insist on trying to install Nextcloud after creating a user called nextcloud ... So let's check this stupid case
2024-01-21 21:14:02 +01:00