Commit graph

153 commits

Author SHA1 Message Date
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
yunohost-bot
74f4c1660c [CI] Format code with Black 2023-05-08 14:27:54 +00:00
tituspijean
328d9276f0
Fix str(current_version)
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2023-05-02 13:16:38 +02:00
tituspijean
667612619b
Fix current_version parsing for notifications
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2023-05-01 18:04:31 +02:00
axolotle
c1f0ac04c7 rename Option.name to Option.id 2023-04-19 20:27:17 +02:00
axolotle
ba32078180 configpanel: rename data methods 2023-04-19 20:27:17 +02:00
axolotle
67687b7cff configpanel: reorder ConfigPanel methods 2023-04-19 20:27:17 +02:00
axolotle
f9fd379997 form: rename Questions to Options 2023-04-19 20:27:17 +02:00
tituspijean
c96b378d3e
[enh] app id in settings 2023-04-12 21:30:28 +02:00
axolotle
bee218e560 fix configpanel.py and form.py imports 2023-04-04 16:05:36 +02:00
yunohost-bot
98c7b60311 [CI] Format code with Black 2023-03-09 16:19:40 +00:00
Alexandre Aubin
738d0679da
Merge pull request #1615 from YunoHost/sources_toml
helpers: add support for a 'sources' app resources to modernize and replace app.src format
2023-03-09 15:20:06 +01:00
Alexandre Aubin
4102d626e5 appsv2/sources: change 'sources.toml' to a new 'sources' app resource instead 2023-03-06 19:57:12 +01:00
Alexandre Aubin
729868429a appsv2: when hydrating template, the data may be not-string, eg ports are int 2023-03-03 22:54:37 +01:00
yunohost-bot
76ff5b1844 [CI] Format code with Black 2023-03-01 00:47:18 +00:00
Alexandre Aubin
c48d9ec483 appsv2/mail: add new 'allow_email' flag on app system users that will autogenerate a passwd-like file to be used by dovecot + map for postfix 2023-02-28 17:56:49 +01:00
Alexandre Aubin
276cf11c4d
Merge pull request #1602 from YunoHost/app-upgrade-continue-on-failures
feat: add '--continue-on-failure' to 'yunohost app upgrade
2023-02-28 13:33:50 +01:00
Laurent Peuch
404746c125 feat: add '--continue-on-failure' to 'yunohost app upgrade 2023-02-24 03:33:10 +01:00
Alexandre Aubin
bab27014d9 apps: when creating the app's bash env for script, make sure to use the manifest from the workdir instead of app setting dir, which is important for consistency during edge case when upgrade from v1 to v2 fails 2023-02-23 14:53:57 +01:00
Alexandre Aubin
df6a2a2cd2 apps: add 'YNH_DEBIAN_VERSION' variable in apps contexts 2023-02-21 13:03:51 +01:00
Alexandre Aubin
e1d62a1910
apps: Fix edge case in change_url where old_nginx_conf_backup could be None 2023-02-20 20:50:53 +01:00
yunohost-bot
95b80b056f [CI] Format code with Black 2023-02-20 19:46:58 +00:00
Alexandre Aubin
2b70ccbf40 apps: simplify the redaction of change_url scripts by adding a new ynh_change_url_nginx_config helper + predefining new/old/change domain/path variables 2023-02-20 17:52:27 +01:00
Alexandre Aubin
890b8e8082 Semantic 2023-02-20 17:52:27 +01:00
Alexandre Aubin
d3ec5d055f apps: fix edge case when upgrading using a local folder not modified since a while 2023-02-19 18:10:35 +01:00
Alexandre Aubin
58ac633d80 apps: don't miserably crash when failing to read .md file such as DESCRIPTION.md 2023-02-17 15:27:28 +01:00
yunohost-bot
069b782f07 [CI] Format code with Black 2023-02-15 21:37:05 +00:00
Alexandre Aubin
7be7eb1154 apps: fix inconsistent app removal during remove-after-failed-upgrade and remove-after-failed-backup contexts 2023-02-14 17:33:50 +01:00