Commit Graph

43 Commits

Author SHA1 Message Date
ulferts 3b2121f733 Revert "Merge remote-tracking branch 'origin/release/13.4' into dev"
This reverts commit 40b2bbeb09, reversing
changes made to b4c6cb17cc.
2024-03-21 11:31:17 +01:00
Ivan Kuchin 7787e457a3 Revert "Merge branch 'dev' into release/13.4"
This reverts commit a901541269, reversing
changes made to e573ca00b7.
2024-03-20 20:19:08 +01:00
Oliver Günther 337eda7dfa Revert "Revert "Merge pull request #12998 from opf/task/48717-replace-delayedjob""
This reverts commit dfa75621ea.
2024-03-07 13:59:24 +01:00
Markus Kahl dfa75621ea Revert "Merge pull request #12998 from opf/task/48717-replace-delayedjob"
This reverts commit 9f3e4c48ea, reversing
changes made to 10412f7c85.
2024-03-07 12:40:15 +00:00
Pavel Balashou fd6a899b29 [#48717] Replace DelayedJob with GoodJob.
https://community.openproject.org/work_packages/48717
2024-02-14 10:18:27 +01:00
Christophe Bliard 9ff9f89567 Set default language for a packaged installation
The value is set by packager only during the seeding time to ensure it remains writable
2023-06-16 10:32:29 +02:00
Christophe Bliard 3553a80990 Remove deprecated environment variables used with docker
Fixes https://community.openproject.org/wp/43551
2022-12-28 13:58:49 +01:00
Oliver Günther 94dad6e21e Improve SMTP documentation for UI setting 2022-06-13 11:42:18 +02:00
Oliver Günther cb6d9c715c Remove postinstall and bash-based mail check 2022-06-13 11:42:18 +02:00
Markus Kahl 61f9ade718 prevent error output during initial installation with smtp skip 2022-05-26 11:05:00 +01:00
Markus Kahl 34a8b7f24c fix settings application and sendmail error 2022-05-12 12:06:50 +02:00
Markus Kahl 3436b3694d set smtp opts via settings allowing runtime override
otherwise it's impossible to update
it at runtime/inapp since the merge
of configuration and settings in 12.1
2022-05-10 13:29:55 +02:00
Markus Kahl c9256e644c only use puma, introduce rack-timeout (#9718)
Co-authored-by: Oliver Günther <mail@oliverguenther.de>
2021-10-04 15:42:37 +02:00
Oliver Günther 385840ec89 Implemennt workdays component 2021-10-04 08:46:20 +02:00
Oliver Günther 9e715063cf [#37440] OpenProject backup fails on etc folder (#9306)
The backup script was changed to include the config folder in
https://github.com/opf/openproject/pull/9189

This however results in permission errors depending on how the apache
integration is configured. Files added there are owned by root, not
openproject.

The reason behind the PR was to backup the installer.dat and conf.d
entries however, so we can just explicitly add those, avoiding the
permission errors.

https://community.openproject.org/work_packages/37440
2021-05-25 09:25:46 +02:00
Oliver Günther 15612296e7 Use worker script for packager (#9245) 2021-05-10 14:07:08 +02:00
ulferts 2038abd0ad Merge branch 'release/11.2' into dev 2021-04-27 08:08:27 +02:00
Oliver Günther ebffdad0eb Backup the entire /etc/openproject folder (#9189)
Also includes the installer.dat to avoid running through all of the
wizard.
2021-04-26 16:49:46 +02:00
Oliver Günther 3429161e14 Allow to use puma for packager again (#9180) 2021-04-22 08:43:58 +01:00
Oliver Günther 412302a093 Better database connection check
Fixes the MySQL output and adds a rake task to properly check the connection

This will e.g., output something like this

```
Database connection failed with error: FATAL:  Datenbank »bla« existiert nicht
```
2021-04-19 10:09:58 +02:00
ulferts 1bdd2ab9ae safe automatic fixes by rubocop (#8994) 2021-02-11 16:02:18 +01:00
Oliver Günther ad4306fb51 Remove mysql from packager backup script
[ci skip]
2020-03-12 13:55:42 +01:00
Markus Kahl 60c29cce82 Support using puma if configured via USE_PUMA=true (multithreading) 2019-07-11 10:35:44 +01:00
Oliver Günther 060bb27089 [29353] Unescape DATABASE_URL password before backup
https://community.openproject.com/wp/29353

[ci skip]
2019-01-08 10:46:05 +01:00
Oliver Günther a43179ff7d Improve backup script to allow postgresql dumps 2018-09-11 09:09:11 +02:00
Cyril Rohr 6fbbaad1d8 Remove duplicate line 2017-06-09 14:14:27 +01:00
Cyril Rohr 4a4179109e Set enable_starttls_auto on smtp connection
This has to happen before sending the test email, otherwise this fails with AWS SES for instance.
2017-06-09 14:13:19 +01:00
Oliver Günther e5a9e982f3 Extend backup script
Extends the packager backup script to include Git repositories.
2015-10-21 17:48:46 +02:00
Oliver Günther c5a33fc4fa [ci skip] Remove reposman functionality.
This commit removes the functionality provided by reposman.rb,
and replaces that script with an empty placeholder printing only
a deprecation warning (as to not throw errors in existing cronjobs).

In detail, this commit does:

* replace reposman.rb with an script printing a deprecation only.
* Remove repositories creation API in SysController and corresponding
specs
* Update documentation guides concerning the deprecation of reposman
* Remove packager scripts for creating a reposman.rb cronjob.
* Adds a rake task to migrate repositories to managed type with a common
* URL prefix.
2015-10-06 16:16:26 +02:00
Jonas Heinrich 501079801c refactores authentication mode cases 2014-12-09 11:47:29 +01:00
Jonas Heinrich 3a2fabcd0e allows 'none' as authentication mode 2014-12-09 11:03:56 +01:00
Cyril Rohr fe072de37a Use new installer feature from packager.io
Postinstall for openproject is now in its own addon at https://github.com/pkgr/addon-openproject.
2014-10-08 08:32:55 +00:00
Cyril Rohr f490a10f55 Can now switch package names and everything will work 2014-09-01 13:24:32 +02:00
Cyril Rohr 772ad4352f Modify create-svn-repositories so that APP_NAME can be overwritten more
easily.
2014-09-01 13:24:03 +02:00
Cyril Rohr 5082c3b886 Use APP_NAME everywhere, and handle ssl connection in backup script.
Conflicts:

	packaging/scripts/backup
2014-09-01 13:23:03 +02:00
Cyril Rohr 24df87e713 Simplify database check script 2014-09-01 13:13:13 +02:00
Cyril Rohr 536fa9ce58 Fix check script to use APP_USER 2014-08-20 11:34:13 +02:00
Cyril Rohr 5f8ef30a7d Use APP_GROUP instead of hardcoded openproject group 2014-08-20 11:33:50 +02:00
Philipp Tessenow f1d10dd940 only specify backup target once 2014-08-14 14:10:03 +02:00
Cyril Rohr 824b39cd8b Exit if sendmail can't be found 2014-08-14 14:10:03 +02:00
Cyril Rohr b9e3386471 Save config 2014-08-14 14:10:03 +02:00
Cyril Rohr 53db3e7711 Add check script 2014-08-14 14:10:03 +02:00
Cyril Rohr 2815b702c3 Add files required for packaging OpenProject with Packager.io 2014-08-14 14:10:03 +02:00