Commit graph

180 commits

Author SHA1 Message Date
alexAubin
0bd69e5622 🎨 Format Python code with Black 2024-06-21 22:47:02 +02:00
Alexandre Aubin
a25033bba5 apps/logs: fix some information not being redacted because of the packaging v2 flows 2024-06-21 14:20:56 +02:00
Alexandre Aubin
8c376c2ae4 apps: remove /var/log/$app during app_remove if --purge is used 2024-06-11 02:31:51 +02:00
Alexandre Aubin
b67d4621fc apps: fix YNH_HELPERS_VERSION again because packaging_format is actually a float hence 1.0/2.0 instead of 1 or 2 x_x 2024-06-03 13:38:43 +02:00
alexAubin
88d221c52e 🎨 Format Python code with Black 2024-06-03 11:10:39 +00:00
Alexandre Aubin
f5dc382888 apps: for YNH_HELPERS_VERSION to be a string for the bash env, otherwise Popen explodes 2024-06-03 13:10:14 +02:00
alexAubin
e3282f2329 🎨 Format Python code with Black 2024-05-27 14:58:01 +00:00
Alexandre Aubin
1e47a1438b apps: auto-define YNH_HELPERS_VERSION from a new 'helpers_version' key in the manifest's [integration] section, or fallback to the 'packaging_format' info 2024-05-27 16:38:09 +02: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
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
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
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
Alexandre Aubin
a44ea14141 Update copyright headers to 2024 using maintenance/update_copyright_headers.sh 2024-01-13 19:26:47 +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
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
54a6a1b3d2 Aleks forgot to remove pdb.set_trace ... 2023-12-09 18:26:02 +01:00
yunohost-bot
0a7b5fb0ba [CI] Format code with Black 2023-12-09 15:12:51 +00:00
Alexandre Aubin
169c921444 Fix change_url again, otherwise the lack of path_url default to the old path and fucks up the nginx regen 2023-12-09 15:54:04 +01:00
Josué Tille
fe3416aa02
Set domain with new_domain and path with new_path 2023-11-29 15:02:47 +01:00
yunohost-bot
f003565074 [CI] Format code with Black 2023-10-10 02:31:47 +00:00
axolotle
a457f8dbcb app: add "support_purge" to app info 2023-09-29 16:43:29 +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
Alexandre Aubin
781f924e30 apps: hotfix for funky issue, apps getting named 'undefined' 2023-07-17 21:13:34 +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
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
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
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
Alexandre Aubin
fb4693be39 apps: be able to customize the user-part and domain-part of email when using allow_email on system user 2023-06-20 17:59:09 +02:00
Alexandre Aubin
29338f79bc apps: don't attempt to del password key if it doesn't exist 2023-06-14 15:48:12 +02:00
yunohost-bot
2f982e26a9 [CI] Format code with Black 2023-06-12 00:30:59 +00:00
tituspijean
cc167cd92c
Rename ynh_load_app_environment into ynh_spawn_app_shell
Co-authored-by: Florent <florent.git@zeteo.me>
2023-05-24 21:12:06 +00:00
tituspijean
2b65913b89
Launch app shell 2023-05-18 19:35:56 +00:00
tituspijean
425670bcfb
Remove useless var declaration in app_shell function 2023-05-18 16:14:50 +00:00
tituspijean
d27e9a9eea
Add ynh_load_app_environment helper 2023-05-18 16:14:49 +00:00
tituspijean
3bb32dc1e4
Init app_shell 2023-05-18 16:14:49 +00:00
Alexandre Aubin
8fa823b414 appsv2: fix funky current_version not being defined when hydrating pre-upgrade notifications 2023-05-13 19:07:34 +02:00