Commit graph

387 commits

Author SHA1 Message Date
tituspijean
3182aa85e7
Merge branch 'dev' into bookworm 2024-04-20 10:45:38 +02:00
Alexandre Aubin
5e4e59a133
Update resources.py 2024-04-11 23:30:18 +02:00
alexAubin
a665f2550c 🎨 Format Python code with Black 2024-04-11 22:45:57 +02:00
Alexandre Aubin
a5560c3035
Update resources.py: fix edge case when parsing app ustream version from resource manager 2024-04-11 21:19:14 +02:00
Alexandre Aubin
22b30c79c0 Zgrompf 2024-04-11 16:03:10 +02:00
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
Alexandre Aubin
11cabc0fe7 Merge remote-tracking branch 'origin/dev' into bookworm 2024-03-14 09:13:37 +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
30679c0c57 [CI] Format code with Black 2024-03-01 01:08:42 +00: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
9a7ec301a6 configpanel: improve debugging/error message when pydantic fails to validate the options etc 2024-02-03 16:51:02 +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
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
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
388c30c40f Drop a bunch of legacy stuff from the 4.x era 2024-01-14 18:58:57 +01:00
Alexandre Aubin
5975dd4310 Merge remote-tracking branch 'origin/dev' into bookworm 2024-01-14 16:25:02 +01:00
Alexandre Aubin
a44ea14141 Update copyright headers to 2024 using maintenance/update_copyright_headers.sh 2024-01-13 19:26:47 +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
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
fb2ca1f27d Add __ARCH__ and __DEBIAN_VERSION__ to available variables in manifest.toml 2023-12-14 17:30:11 +01:00
7981653c23 Apply __APP__ -> self.app recursively thanks to recursive_apply 2023-12-14 17:30:11 +01:00
dc8f51e2f8 Add a new utils.algorithms file for code helpers.
The first helper, recursive_apply, goes through recursive dict/lists to apply a function on non-recursable types
2023-12-14 17:30:11 +01:00
Alexandre Aubin
830d7b47e0 systemutils: when checking debian version and system arch, redirect stderr to /dev/null to prevent stupid issues, for example when the current working dir doesnt exist anymore.. 2023-12-13 13:15:55 +01:00
axolotle
1d734b5df5 form: fix SelectOption's choices coercing list to dict 2023-12-12 12:17:19 +01:00
axolotle
2db709e043 i18n: add domain configpanel help keys in expected keys + add/remove some keys 2023-12-07 14:28:08 +01:00
axolotle
544fe85773 i18n: rename pydantic errors + register in form file 2023-12-07 14:26:01 +01:00