Commit Graph

416 Commits

Author SHA1 Message Date
Josué Tille
39be9a3b28
Update ldap config also on update 2024-01-24 22:58:29 +01:00
Josué Tille
0dbe2ed538
Fix email retriving
With the previous config we have this error:
Error while processing incoming emails: could not connect to server 'localhost:993': tls: failed to verify certificate: x509: certificate is valid for domain.tld, not localhost
2024-01-24 22:57:48 +01:00
Josué Tille
b402f9038d
Improve permission config 2024-01-24 22:46:44 +01:00
Josué Tille
b0e2306674
Force LDAP sync at first start 2024-01-24 22:46:20 +01:00
Josué Tille
0747739c76
Use $app instead of $YNH_APP_ID 2024-01-24 22:46:09 +01:00
Josué Tille
cd38b3eae1
Fix linter 2023-12-16 14:59:13 +01:00
Josué Tille
b7b73bbf89
Add jwt secret because gitea edit config if not present 2023-12-13 10:38:10 +01:00
Josué Tille
676d283d14
Use localhost instead of domain for mail server address 2023-12-13 10:10:44 +01:00
Josué Tille
1a620afa86
Fix log configuration
Fix warning:

Failed to load writer mode "router" for logger router: invalid log writer type (mode): router, maybe it needs something like 'MODE=file' in [log.router] section
Failed to load writer mode "xorm" for logger xorm: invalid log writer type (mode): xorm, maybe it needs something like 'MODE=file' in [log.xorm] section

Fix log level in file because:
- warning level break startup service detection (with ynh_systemd_action)
- warning level break fail2ban
2023-11-30 14:49:11 +01:00
Josué Tille
396f0d4aaa
Use correct email to reply
when we use other user for email than gitea we have this error: gomail: could not send email 1: failed to issue RCPT command: 553 5.7.1 : Sender address rejected: not owned by user gitea
2023-11-30 14:26:08 +01:00
Josué Tille
a315e28309
Use smtp with starttls (not smtps)
When we use smtps+starttls we have this error : gomail: could not send email 1: SMTP server does not support AUTH, but credentials provided
2023-11-30 14:24:43 +01:00
Josué Tille
7e2809de42
Remove skype verify as it's obsolete
Deprecated config option `[mailer]` `SKIP_VERIFY` present. Use `[mailer]` `FORCE_TRUST_SERVER_CERT` instead. This fallback will be/has been removed in v1.19.0
2023-11-30 14:19:42 +01:00
Josué Tille
b91b7e2464 Remove limit on data in nginx 2023-11-29 17:26:25 +01:00
Josué Tille
361d0bb652 Fix email stack config 2023-11-29 17:26:25 +01:00
Josué Tille
e73acdd808 cleanup all scripts 2023-11-29 17:26:25 +01:00
Josué Tille
d5f508aa85 fix init permissions 2023-11-29 17:26:25 +01:00
Josué Tille
479e4d7b2d cleanup app.ini 2023-11-29 17:26:25 +01:00
Josué Tille
18696acb10 Fix manifest 2023-11-29 17:26:25 +01:00
Josué Tille
5e22a74cd7 We don't need ram to build app 2023-11-29 17:26:25 +01:00
Josué Tille
238dec4aaf SSO is supported 2023-11-29 17:26:25 +01:00
Josué Tille
c3d72d5bc6 Fix mail config 2023-11-29 17:26:25 +01:00
Félix Piédallu
bc7f0005ad Fix app.ini: Add authentication for email sending 2023-11-29 17:26:25 +01:00
Félix Piédallu
60cb5e5ae4 Migrate to manifestv2 and other changes:
* Move app install dir from /opt to /var/www
* Revamp the way binaries are downloaded thanks to manifestv2 (no need to check for arch, etc)
* Remove custom helpers (exec_as, ynh_handle_app_migration)
* Rename LFS_KEY as LFS_JWT_SECRET and KEY as SECRET_KEY as named in app.ini
* Add JWT_SECRET for oauth and INTERNAL_TOKEN in app.ini
* update upstream sample app.ini URL
* Disable actions for now.
* Automatically add ssh permissions to the system user
* Remove support for upgrade before 1.6.4. Edit test_upgrade_from accordingly.
2023-11-29 17:26:25 +01:00
Josue-T
b51febc0f9
Merge pull request #91 from YunoHost-Apps/testing
Testing
2023-11-29 10:40:28 +01:00
Josué Tille
4ebb71f581
Fix manifest 2023-11-29 08:39:04 +01:00
yunohost-bot
ab3e927fa5 Auto-update README 2023-11-28 21:20:59 +00:00
Josué Tille
9c40efe2f7
Upgrade gitea to 1.21.1 2023-11-28 22:11:52 +01:00
Josue-T
22fd459bed
Merge pull request #90 from CodeShakingSheep/replace-deprecated-mailer-config-option
Replace SKIP_VERIFY with FORCE_TRUST_SERVER_CERT in app.ini
2023-11-24 22:18:23 +01:00
CodeShakingSheep
3fa0b276cd
Replace SKIP_VERIFY with FORCE_TRUST_SERVER_CERT in app.ini 2023-11-24 18:33:18 +01:00
Josue-T
d4f9245d2b
Merge pull request #89 from YunoHost-Apps/testing
Testing
2023-11-24 10:39:44 +01:00
yunohost-bot
15cdf62c51 Auto-update README 2023-11-22 18:16:26 +00:00
Josué Tille
f1d06a571e
Upgrade gitea to 1.21.0 2023-11-22 15:56:24 +01:00
Josue-T
7cf829e71c
Merge pull request #88 from CodeShakingSheep/replace-deprecated-log-config-options
Replacements for access, router and xorm log in app.ini
2023-11-22 15:47:34 +01:00
CodeShakingSheep
7f4e720af4
Replacements for access, router and xorm log in app.ini 2023-11-13 16:01:31 +01:00
yunohost-bot
a9ceb15703 Auto-update README 2023-10-31 14:13:07 +00:00
Josue-T
9a2f61a5db
Merge pull request #86 from YunoHost-Apps/testing
Testing
2023-10-17 08:09:24 +02:00
yunohost-bot
21c7350746 Auto-update README 2023-10-12 06:12:02 +00:00
Josué Tille
9355477b50
Upgrade gitea to 1.20.5 2023-10-12 08:07:41 +02:00
Josue-T
b6fac9fd8a
Merge pull request #85 from YunoHost-Apps/testing
Testing
2023-09-12 18:32:25 +02:00
yunohost-bot
a7eb5d52eb Auto-update README 2023-09-12 06:46:40 +00:00
Josué Tille
768ec56400
Upgrade gitea to 1.20.4 2023-09-12 08:37:31 +02:00
yunohost-bot
07b5e3f5a9 Auto-update README 2023-08-22 06:07:03 +00:00
Josué Tille
87ec046a19
Upgrade gitea to 1.20.3 2023-08-22 08:00:58 +02:00
yunohost-bot
c0112827e5 Auto-update README 2023-08-02 20:54:13 +00:00
Josué Tille
679da9647a
Upgrade gitea to 1.20.2 2023-08-02 08:32:44 +02:00
Josue-T
b327ccd302
Merge pull request #81 from YunoHost-Apps/testing
Testing
2023-07-25 12:11:31 +02:00
yunohost-bot
1a563e8c67 Auto-update README 2023-07-25 06:50:56 +00:00
Josué Tille
a3c08f6f1f
Upgrade gitea to 1.20.1 2023-07-25 08:50:33 +02:00
yunohost-bot
f0c6d6cb1d Auto-update README 2023-07-18 10:56:07 +00:00
Josué Tille
9fa36a7746
Upgrade gitea to 1.20.0 2023-07-18 12:54:37 +02:00