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
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
axolotle
7f53f56471
portal: add app's description + logo from catalog in portal settings
2024-01-19 13:33:24 +01:00
axolotle
56b5670e4c
domaiiconfig: add portal search engine option
2024-01-19 13:31:21 +01:00
axolotle
3bb5702855
UrlOption: fix serialize HttpUrl to str in post validator so it can be saved
2024-01-19 13:22:31 +01:00
axolotle
94d16d6d76
configpanels: avoid settings being None when empty
2024-01-19 13:20:45 +01:00
Alexandre Aubin
13638b0aa8
Oopsies
2024-01-14 19:54:09 +01:00
Alexandre Aubin
d41d6549eb
legacy: drop autopatching of PHP versions, nowadays Sury is here by default and offers more flexibility over which PHP versions may be installed e.g. even 5.6 can still be installed on Bookworm, but anyway only a ~handful of apps are still using 7.2 or lower
2024-01-14 19:41:54 +01:00
Alexandre Aubin
99ac76e7d6
Drop legacy snippet from the 3.x era
2024-01-14 19:36:03 +01:00
Alexandre Aubin
388c30c40f
Drop a bunch of legacy stuff from the 4.x era
2024-01-14 18:58:57 +01:00
Alexandre Aubin
d3b50db951
Unused import
2024-01-14 17:53:57 +01:00
Alexandre Aubin
e2aaf72076
Portal theme is no more as well, now handled on a per-main-domain basis
2024-01-14 17:36:05 +01:00
Alexandre Aubin
0dcecf5f47
Remove rspamd from recommends, replace with a global setting similar to pop3 to enable/disable antispam
2024-01-14 17:19:52 +01:00
Alexandre Aubin
1cbc30e0d5
So the reason the 'enable pop3' thing is not working properly is because the config panel was spitting inconsistent boolean shit like 1, True or 'yes' depending on whatever...
2024-01-14 17:08:24 +01:00
Alexandre Aubin
5975dd4310
Merge remote-tracking branch 'origin/dev' into bookworm
2024-01-14 16:25:02 +01:00
Alexandre Aubin
491588bb88
Merge pull request #1763 from YunoHost/fix-dns-suffix-during-xmpp-cert-setup
...
Fix DNS suffix edge case during XMPP certificate setup
2024-01-13 19:30:40 +01:00
Alexandre Aubin
54ad8dd2cb
Merge pull request #1761 from YunoHost/small-tools
...
Add basic-space-cleanup command
2024-01-13 19:29:25 +01:00
Alexandre Aubin
a44ea14141
Update copyright headers to 2024 using maintenance/update_copyright_headers.sh
2024-01-13 19:26:47 +01:00
tituspijean
8ca59703c5
Improve basic-space-cleanup shell calls and documentation
2024-01-13 12:11:05 +01:00
Alexandre Aubin
699500dbb0
Fix DNS suffix edge case during XMPP certificate setup
2024-01-12 22:00:10 +01:00
c8f0f131fd
app.py, helpers: Reword YNH_APP_UPGRADE_TYPE
...
* remove UPGRADE_FULL
* rename DOWNGRADE_FORCED -> DOWNGRADE
* rename UPGRADE_FORCED -> UPGRADE_SAME
* keep the helper ynh_check_app_version_changed behaviour for reverse compatibility.
2024-01-11 10:15:28 +01:00
tituspijean
b920b82f4e
Add basic-space-cleanup command
2024-01-07 22:14:27 +01:00
OniriCorpe
b424ae01c1
document changelog link for latest_github_release
2024-01-04 23:59:02 +01:00
Alexandre Aubin
0a01423408
Merge remote-tracking branch 'origin/dev' into bookworm
2023-12-28 02:57:12 +01:00
yunohost-bot
8952d69e05
[CI] Format code with Black
2023-12-27 19:07:29 +00:00
Alexandre Aubin
7eb1413d09
zgrmbl
2023-12-27 05:09:36 +01:00
Alexandre Aubin
570a22a31c
Make linters happy
2023-12-27 04:28:08 +01:00
Alexandre Aubin
61551eb40d
Fix tests in CI context / yunohost-api is down and it's expected
2023-12-27 04:24:37 +01:00
Alexandre Aubin
0856f27b46
Unused imports
2023-12-27 03:22:30 +01:00
Alexandre Aubin
665592374d
user/password: move to passlib hash.sha512_crypt to generate password hashes to replace deprecated crypt lib
2023-12-27 03:18:48 +01:00
Alexandre Aubin
f505efc8bb
password: utils/password.py is not used by ssowat anymore
2023-12-27 02:41:52 +01:00
Alexandre Aubin
7f02fcd985
portalapi/sso: add a first bunch of unit tests
2023-12-27 02:41:24 +01:00
Alexandre Aubin
29cac1791d
tests: fix hardcoded domain / typo x_x
2023-12-26 19:00:44 +01:00
Alexandre Aubin
351d9361fa
sso: use PCRE regexes instead of LUA regex
2023-12-23 20:40:20 +01:00
Josue-T
a729c78379
apps: add mailbox/IMAP support for apps that declared a system user with mail enabled ( #1745 )
...
* Add missing account registration for apps in postfix
* Also set email on dovecot DB
* fix undefined var
* Fix missing username format config in dovecot
2023-12-23 19:34:22 +01:00
Alexandre Aubin
7e7a6845d5
portal-api: improve handling of ldap interfaces
2023-12-22 01:11:49 +01:00
Alexandre Aubin
2be1dccb91
mypy doesn't like the function attribute trick
2023-12-22 00:34:15 +01:00