Commit graph

200 commits

Author SHA1 Message Date
Alexandre Aubin
356c081a4f portalapi: implement a proper expiration/prolong mechanism for session cookies 2023-11-28 18:40:49 +01:00
axolotle
5b5527a279 app:config: fix indentation for file content 2023-11-28 14:41:38 +01:00
Alexandre Aubin
3dda3bc4d5 perf: improve perf for a bunch of operations by lazy import + lazy define of config-panel related stuff 2023-11-28 14:31:38 +01:00
axolotle
4a270b88b6 quality: fix lint + some formatting 2023-11-26 17:42:48 +01:00
axolotle
d36ca72887 fix: some test apps has empty string domain 2023-11-09 17:40:04 +01:00
axolotle
03fc739b3c domain: add _get_raw_domain_settings to read settings directly + use it in app_info to avoid infinite recursion 2023-11-09 15:49:19 +01:00
axolotle
ec2ffe6813 configpanel: remove unused arg 'config' from _get_raw_settings() 2023-11-09 14:52:58 +01:00
axolotle
bfba939927 Merge remote-tracking branch 'origin/dev' into bookworm 2023-10-31 02:57:26 +01:00
axolotle
9423168aaf configpanels: fix app is_default + dns alert style 2023-10-30 15:17:01 +01:00
axolotle
3a31984e3c configpanel: allow other ConfigPanels to have no settings defined 2023-10-22 17:51:04 +02:00
axolotle
6bef4b1e0e app: remove call of 'domain_config_get' to avoid infinite recursion 2023-10-22 15:48:07 +02:00
axolotle
2a28e289ad form: rework 'hydrate_questions...' with a new 'parse_raw_options' that parse and validate options 2023-10-22 15:48:07 +02:00
axolotle
37b4eb956d typing: add missing type + misc typing fixes 2023-10-22 15:48:06 +02:00
axolotle
15c827908f configpanel: update run_action 2023-10-22 15:46:57 +02:00
axolotle
5f9ea58313 configpanel: update _apply 2023-10-22 15:46:55 +02:00
axolotle
02948ad49c config: rework config+settings getter methods 2023-10-22 15:19:32 +02:00
axolotle
3ff6e6ed96 app: update app_install 2023-10-22 15:13:12 +02:00
axolotle
8d366e67b0 app_ssowatconf: generate per domain portal config with available apps 2023-10-18 18:29:55 +02:00
yunohost-bot
f003565074 [CI] Format code with Black 2023-10-10 02:31:47 +00:00
Alexandre Aubin
a0ce7c2d28 ssowatconf: drop unused redirected_regex mechanism + we don't need the label+show_tile info in ssowat conf anymore 2023-10-07 17:40:06 +02:00
Alexandre Aubin
8036226935 Typo 2023-10-07 17:12:26 +02:00
axolotle
a457f8dbcb app: add "support_purge" to app info 2023-09-29 16:43:29 +02:00
Alexandre Aubin
db30b3acb8
Merge branch 'bookworm' into portal-api 2023-09-27 18:57:02 +02:00
Alexandre Aubin
883bb2b498 Merge remote-tracking branch 'origin/dev' into bookworm 2023-09-27 17:56:48 +02:00
Alexandre Aubin
8a72bac884
Merge pull request #1692 from YunoHost/logging-is-a-mess
Moulinette logging is an unecessarily complex mess, episode 57682
2023-09-27 17:45:21 +02:00
orhtej2
920fe527f4
Allow system users to send mails from IPv6 localhost and in no-IP contexts. 2023-09-07 22:14:06 +02:00
Pierre de La Morinerie
79e41a1e4b
app.py: fix typo in log statement 2023-09-07 16:22:16 +02:00
Alexandre Aubin
07daa68770 apps: BACKUP_CORE_ONLY was not set for pre-upgrade safety backups, resulting in unecessarily large pre-upgrade backups 2023-08-22 15:37:47 +02:00
Alexandre Aubin
576992899c apps: allow to use jinja {% if foobar %} blocks in their notifications/doc pages 2023-08-16 19:18:37 +02:00
Alexandre Aubin
4fda8ed49f apps: fix another case of no attribute 'value' due to config panels/questions refactoring 2023-07-21 22:02:56 +02:00
Tagada
4385c886a4 Merge branch 'dev' into bookworm 2023-07-20 15:49:45 +02:00
Alexandre Aubin
2ece3b65f6 Moulinette logging is an unecessarily complex mess, episode 57682 2023-07-18 00:19:16 +02:00
Alexandre Aubin
781f924e30 apps: hotfix for funky issue, apps getting named 'undefined' 2023-07-17 21:13:34 +02:00
Alexandre Aubin
f69f87fa65 Merge remote-tracking branch 'origin/dev' into portal-api 2023-07-17 18:56:05 +02:00
yunohost-bot
6e63b6fc53 [CI] Format code with Black 2023-07-17 16:00:11 +00:00
Alexandre Aubin
4b582f72df
Merge pull request #1687 from YunoHost/11.2
11.2
2023-07-17 16:11:20 +02:00
Alexandre Aubin
4561f900df portal refactoring: update ssowat conf format with a dict mapping domains to portal urls. For now, let's have one portal per main/parent domain (which is anyway imposed by cookie management unless we reintroduce complex cross-domain authentication...) 2023-07-15 21:20:15 +02:00
Alexandre Aubin
a81a548f76 Unused imports 2023-07-14 19:12:49 +02:00
Alexandre Aubin
d44b09cf12 quality: cleanup unused code 2023-07-14 15:20:13 +02:00
Alexandre Aubin
a1cf770e1b Merge branch 'dev' into portal-api 2023-07-11 17:11:02 +02:00
Alexandre Aubin
7ba6c37eb8 Merge branch '11.2' into bookworm 2023-07-11 15:56:52 +02:00
Alexandre Aubin
961dc5a6ee
Merge pull request #815 from YunoHost/allow-system-user-to-auth-on-mail-stack
Allow system users to auth on the mail stack and send emails
2023-07-10 19:14:30 +02:00
Alexandre Aubin
e1dcbee2a7
Merge branch '11.2' into before-pydantic-struc 2023-07-10 19:13:39 +02:00
yunohost-bot
14040b8fd2 [CI] Format code with Black 2023-07-10 17:05:52 +00:00
Alexandre Aubin
0d0740826d Revert "apps: fix version.parse now refusing to parse legacy version numbers"
This reverts commit b98ac21a06.
2023-07-10 17:43:31 +02:00
Alexandre Aubin
b98ac21a06 apps: fix version.parse now refusing to parse legacy version numbers 2023-07-10 17:34:46 +02:00
Alexandre Aubin
4152cb0dd1 apps: fix a bug where YunoHost would complain that 'it needs X RAM but only Y left' with Y > X because some apps have a higher runtime RAM requirement than build time ... 2023-07-10 17:34:21 +02:00
Alexandre Aubin
bdc296f858 Merge remote-tracking branch 'origin/dev' into bookworm 2023-07-04 18:10:25 +02:00
orhtej2
5c4493ce96
Further update allowed URLs. 2023-07-03 22:36:34 +02:00
orhtej2
f571aff93c
Allow installation from gitea
[Gitea](https://about.gitea.com/) has branch URL in form `https://domain.tld/gitea/path/<owner>/<repo>_ynh/src/branch/<branch_name>`.
2023-07-03 22:24:47 +02:00