Commit Graph

13 Commits

Author SHA1 Message Date
Alexander Brandon Coles d3caa627f7 Fix missing copyright notices in app/controllers 2025-07-18 18:02:18 +01:00
Alexander Brandon Coles f15be6e07f Freeze string literals in app/controllers
rubocop -A --only Style/FrozenStringLiteralComment,Layout/EmptyLineAfterMagicComment,Style/RedundantFreeze app/controllers
2025-07-18 17:51:00 +01:00
Cyril Rohr ce5fa0597f Make unacceptable actually return a 422 status code, since it returns the 422.html page 2025-04-01 15:00:59 +02:00
Cyril Rohr c2ce445ef1 :unacceptable is not a recognized rails status code 2025-03-31 15:36:22 +02:00
Oliver Günther c7286fb91f Set default host at all times
This results in us having to use a bit more helpers around request and feature specs
to ensure that the configured host name also matches the requested one.
2024-07-08 16:11:09 +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 8fa8584538 Run rubocop --autocorrect on all files
Only the safe cops have run. rubocop version is 1.59.0.
2024-01-05 15:27:09 +01:00
Christophe Bliard 9e865b4f7b lint: Run rubocop safe autocorrect
Command is `rubocop --safe --autocorrect app lib lib_static modules spec`
2023-03-09 10:25:57 +01:00
Oliver Günther 51730215b2 Remove sentry 2022-12-12 14:12:36 +01:00
Oliver Günther 3bb52f6f7f Bump sentry and remove doubled exceptions capture
We have our own exceptions app to render proper errors with the
OpenProject layouts.

In there, we capture exceptions meant for sentry, but don't use the 'action_dispatch.exception'
original exception.

At the same time, sentry has its own CaptureExceptions middleware, that
does the same thing.
2021-11-16 08:11:54 +01:00
Oliver Günther b75fbcfc4e Render error pages using our own templates (#9455) 2021-07-19 11:29:44 +02:00