160 Commits

Author SHA1 Message Date
Josué Tille bd2a937258 Add warining about config edition 2024-10-12 21:04:46 +02:00
Josué Tille 7064c0c7a4 Fix imap mail config 2024-02-06 00:59:40 +01:00
Josué Tille 57740d8b4c Move all script in script folder 2024-02-05 19:12:10 +01:00
Josué Tille 01f092458d Update login source config and add group support 2024-01-25 00:21:50 +01:00
Josué Tille 77c36786f4 Disable reverse proxy authentication temporately 2024-01-25 00:16:19 +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 b0e2306674 Force LDAP sync at first start 2024-01-24 22:46:20 +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 479e4d7b2d cleanup app.ini 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
Josué Tille 9c40efe2f7 Upgrade gitea to 1.21.1 2023-11-28 22:11:52 +01:00
CodeShakingSheep 3fa0b276cd Replace SKIP_VERIFY with FORCE_TRUST_SERVER_CERT in app.ini 2023-11-24 18:33:18 +01:00
Josué Tille f1d06a571e Upgrade gitea to 1.21.0 2023-11-22 15:56:24 +01:00
CodeShakingSheep 7f4e720af4 Replacements for access, router and xorm log in app.ini 2023-11-13 16:01:31 +01:00
Josué Tille 9355477b50 Upgrade gitea to 1.20.5 2023-10-12 08:07:41 +02:00
Josué Tille 768ec56400 Upgrade gitea to 1.20.4 2023-09-12 08:37:31 +02:00
Josué Tille 87ec046a19 Upgrade gitea to 1.20.3 2023-08-22 08:00:58 +02:00
Josué Tille 679da9647a Upgrade gitea to 1.20.2 2023-08-02 08:32:44 +02:00
Josué Tille a3c08f6f1f Upgrade gitea to 1.20.1 2023-07-25 08:50:33 +02:00
Josué Tille 9fa36a7746 Upgrade gitea to 1.20.0 2023-07-18 12:54:37 +02:00
Josué Tille 602dec3db3 Upgrade gitea to 1.19.4 2023-07-05 09:01:33 +02:00
Josué Tille 0306a65b6a Upgrade gitea to 1.19.3 2023-05-09 08:14:17 +02:00
Josué Tille 3fcbdd8b1d Upgrade gitea to 1.19.2 2023-05-02 07:55:21 +02:00
Josué Tille 73a205bfb1 Upgrade gitea to 1.19.1 2023-04-27 07:52:44 +02:00
Typhlos 57cdd0ea53 Activating gitea actions 2023-03-30 13:20:13 +00:00
Josué Tille b6965e9dfb Upgrade gitea to 1.19.0 2023-03-21 08:03:05 +01:00
Josué Tille 43282662a9 Upgrade gitea to 1.18.5 2023-02-24 07:47:21 +01:00
Josué Tille 44c9405cb0 Upgrade gitea to 1.18.4 2023-02-21 08:15:36 +01:00
Josué Tille 7dab417809 Upgrade gitea to 1.18.3 2023-01-25 08:03:48 +01:00
Josué Tille b83c8250d1 Upgrade gitea to 1.18.2 2023-01-22 01:05:28 +01:00
Josué Tille 315deacb89 Upgrade gitea to 1.18.1 2023-01-18 08:02:59 +01:00
Josué Tille 6bdd9c9804 Update config 2023-01-13 08:04:03 +01:00
Josué Tille ebe8c71b08 Upgrade gitea to 1.18.0 2023-01-06 06:47:13 +01:00
Josué Tille 48a1b478c7 Upgrade gitea to 1.17.4 2022-12-23 17:52:27 +01:00
Josué Tille 42c838363f Upgrade gitea to 1.17.3 2022-10-18 08:32:48 +02:00
Josué Tille 5e634a769f Upgrade gitea to 1.17.2 2022-09-12 20:00:07 +02:00
Josué Tille c3bd422a32 Fix auto registration 2022-08-21 09:35:45 +02:00
Josué Tille e93e105abc Upgrade gitea to 1.17.1 2022-08-21 09:24:38 +02:00
Josué Tille be6cb47687 Upgrade gitea to 1.17.0 2022-08-21 09:24:37 +02:00
Éric Gaspar 7f8213a32d Add LFS support 2022-07-19 23:42:47 +02:00
Josué Tille 1052d352c8 Upgrade gitea to 1.16.9 2022-07-13 08:14:34 +02:00