23 Commits

Author SHA1 Message Date
Oliver Günther ec169aeafe Use service to clean sessions (#17383)
* Use service to clean sessions

* Update app/services/sessions/clear_old_sessions_service.rb

Co-authored-by: Klaus Zanders <klaustopher@users.noreply.github.com>

---------

Co-authored-by: Klaus Zanders <klaustopher@users.noreply.github.com>
2024-12-08 21:43:56 +01:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
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
Ivan Kuchin 9e4934cd0a change quotes using rubocop --only Style/StringLiterals,Style/QuotedSymbols -a 2024-03-20 18:05:22 +01:00
Christophe Bliard c795874f7f Update copyright year for 2024
command used: `rg -l 'Copyright \(C\) 2012-202\d the OpenProject' | xargs -n 100 sed -i -r 's/Copyright \(C\) 2012-202. the OpenProject/Copyright (C) 2012-2024 the OpenProject/'`
2024-01-02 16:23:54 +01:00
Oliver Günther acbc421ba5 Set statement_timeout to 0 when running migrations (#13818)
* Set statement_timeout to 0 when running migrations

* Remove statement timeout manager

* Revert "Add troubleshooting section on upgrade guide"

This reverts commit bb5762b13c.

* Change headline in update docs

---------

Co-authored-by: ulferts <jens.ulferts@googlemail.com>
2023-10-09 13:56:00 +02:00
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01:00
Christophe Bliard 48a4f1b6ad lint with rubocop --autocorrect (safe cops only) 2022-06-02 10:40:10 +02:00
Christophe Bliard bc8d423ec2 update copyright information for 2022 2022-03-01 17:05:59 +01:00
Oliver Günther ccfa29c728 Move license and copyright docs to root, fix names and references 2021-09-02 21:50:46 +02:00
Cyril Rohr 588a526531 Make postgres13 the default version when installing OpenProject (#9088)
* Reexport PGVERSION and PGBIN according to existing install
* Display message if PostgreSQL version deprecated
* Do not launch postgres if using external URI
* Add script to auto-upgrade postgres database for all-in-one dockerfile
* Add documentation for packages and all-in-one docker image
2021-06-11 10:05:21 +02: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 6140f4c7e9 update copyright to 2021 (#8925)
Updates the copyright to 2021 for all files that have a copyright. Files in our source code without the copyright header still do not receive one automatically. Additionally, backlisted files are also excluded.

Previously the copyright of chiliproject which references redmine stated a copyright of redmine up to and including 2017 which is not true for the code we have in here. Because of that I changed that to 2013
2021-01-13 17:47:45 +01:00
Henriette Dinger bd7f4e4814 Update copyright notice 2020-01-15 11:31:26 +01:00
ulferts d135e1a824 prevent using db other than postgresql 2019-06-05 22:07:35 +02:00
Oliver Günther 6ef4211e77 Bump copyright to 2018 (#6171)
[ci skip]
2018-02-12 08:51:12 +01:00
Oliver Günther ef11ebb4ec Make database incompatibility warning more present
[ci skip]
2018-02-01 11:42:29 +01:00
Oliver Günther cee2652f3c Check version compatibility before running db:migrate 2018-01-29 09:52:18 +01:00
Oliver Günther 7cf11bb689 Update copyright notice 2017-01-10 15:11:43 +01:00
Alex Coles a58650e7c6 Add/update Copyright headers in lib code
Signed-off-by: Alex Coles <alex@alexbcoles.com>
2015-04-21 10:24:04 +02:00
Alex Coles b8b26cfcf0 Fix syntax (w/Rubocop) in tasks
Signed-off-by: Alex Coles <alex@alexbcoles.com>
2014-11-03 22:15:13 +01:00
Martin Linkhorst 8d34d46c9b enabled ActiveRecord based session store and make it configurable 2014-04-30 17:45:33 +02:00