33 Commits

Author SHA1 Message Date
Klaus Zanders a9a6898153 Remove inline disables for DynamicFindBy 2026-04-27 09:22:18 +02:00
Jan Sandbrink d61bb47b2b Rename rest_api_enabled to api_tokens_enabled
The name of this setting was pretty outdated by now.
It might have disabled the entire API in the past, but that time
is long gone. By now the APIv3 can't be disabled at all and OpenProject
would fall apart if it was disabled.

The only thing that this setting changes, is whether users can create
an access token in their account settings and whether tokens created
this way are accepted by OpenProject. So naming and description have
been adapted accordingly.
2026-02-13 09:24:53 +01:00
Klaus Zanders 42628c8d2b Merge branch 'dev' into merge-release/17.0-20260116110207 2026-01-16 12:03:34 +01:00
Oliver Günther 0728ed5739 Merge remote-tracking branch 'origin/release/16.6' into release/17.0 2026-01-16 10:34:35 +01:00
Klaus Zanders f8ae64fd12 Use correctly scoped loading for sessions 2026-01-16 10:33:23 +01:00
Klaus Zanders 3d3d7d0edd Remove show method from SessionsController 2026-01-16 10:33:22 +01:00
Jan Sandbrink 0d61dec724 Generalize the storage token list to OAuth clients
We can use this list for all kinds of OAuth clients essentially.
Nothing there needs to be Storage-specific. The main change is that
we now also indicate which kind of integration the token belongs to.
2026-01-12 08:42:57 +01:00
Jan Sandbrink 478b24af4b Use BorderBoxTable to render access token information
This is part of primerizing the access tokens view and
makes everything look more consistent.
2026-01-12 08:42:56 +01:00
Jan Sandbrink 91104f57f7 Use primer Subhead for headlines in access token views
This is part of primerizing the access tokens view.
2026-01-12 08:41:59 +01:00
Oliver Günther 9c51ea8e57 Disable placeholder on enterprise 2025-10-21 10:01:31 +02:00
Oliver Günther 14192a74c3 Replace confirm with turbo-confirm, method with turbo-method 2025-09-26 09:15:04 +02:00
Oliver Günther a17dfbbc3c Add scope for autologged/non_autologged 2025-09-24 13:46:09 +02:00
Oliver Günther ec298dc143 Move destruction into the autologin token and session link 2025-09-24 13:46:09 +02:00
Oliver Günther 8fee175faf Assign autologin session link, and use it to show and delete sessions 2025-09-24 13:46:09 +02:00
Klaus Zanders 736290af3d Fix specs for meeting token 2025-08-18 16:31:22 +02:00
Klaus Zanders 1848c02e36 Revocation and tests for ical meeting tokens 2025-08-18 13:42:52 +02:00
Klaus Zanders cbdc7e83f5 move specs from my controller to new access tokens controller 2025-08-18 13:42:49 +02:00
Klaus Zanders a6c1a7a658 Normalize API Token components to reuse them for other tokens 2025-08-18 13:42:48 +02:00
Klaus Zanders 57d2e3765f Fixes about the dialog for generating tokens 2025-08-18 13:42:46 +02:00
Klaus Zanders 6c395b620a Render the new token dialog via turbo stream 2025-08-18 13:42:45 +02:00
Klaus Zanders 18ecb2ef8f Extract Access Tokens into their own controller 2025-08-18 13:42:45 +02:00
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
Mir Bhatia 81d34331a0 Add trial banner 2025-06-04 11:19:20 +02:00
Oliver Günther 9d4fb32c63 Add banner frame so we can load the banner component from the frontend 2025-04-07 10:55:25 +02:00
Oliver Günther 0dc8e166e6 Implement dismissable banners 2025-04-07 10:55:21 +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
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
Oliver Günther 7bfec434a4 Show autologin tokens in the my/sessions view 2023-11-23 10:45:54 +01:00
Oliver Günther 5756195947 Basic session management table 2023-06-21 15:54:24 +02:00