17 Commits

Author SHA1 Message Date
Ivan Kuchin 6d8b1763df move check for api doc enabledness to before action
Otherwise there is double render happending and it is cleaner to use a
before action than to return when rendirng 404
2025-12-19 21:39:07 +01:00
Ivan Kuchin b793d78a74 disable turbo for links from api docs page
Otherwise navigating back to docs page fails
2025-12-19 21:39:06 +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
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
ulferts fdbd6b6d5a forcing to specify allowed actions when forfeiting authorization check 2024-06-11 10:29:22 +02:00
ulferts ed5a162230 allow actions to be called on those not using default authorization before_actions 2024-06-07 16:55:40 +02: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
Markus Kahl 4b1b0d7711 [feature] use openapi explorer for /api/docs
- added styling to use op theming
- remove swagger ui from dev stack
2023-06-09 13:24:13 +02:00
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01:00
Christophe Bliard a33524ef6d remove ruby magic comment for utf-8
ruby interprets source encoding as utf-8 since 2.0.0, making magic comment redundant and useless
2022-03-10 19:36:58 +01:00
Christophe Bliard bc8d423ec2 update copyright information for 2022 2022-03-01 17:05:59 +01:00
Oliver Günther 0e2c397773 Linting 2021-10-05 22:19:56 +02:00
Benjamin Bädorf b6f860c04f Merge branch 'dev' into feature/38520-Sidebar-in-Notification-Center-with-project-filter 2021-09-08 11:15:39 +02:00
Oliver Günther ccfa29c728 Move license and copyright docs to root, fix names and references 2021-09-02 21:50:46 +02:00
Henriette Darge 2282f0ef2b Show a custom sidebar on the notifications page.
(Currently this is just the WP query sidebar as a placeholder. This will be replaced later.)
2021-08-11 11:02:06 +02:00
Markus Kahl 31588fa25a addressed review (including code climate) remarks 2021-06-29 14:42:54 +01:00
Markus Kahl 1a078ea667 /api/docs finished
- made into separate, lazy loaded js/css bundle in angular
- added setting allowing to disable API docs
- added spec lint workflow
- fixed styling (line-height)
- renamed/restructured
2021-06-29 09:42:03 +01:00