34 Commits

Author SHA1 Message Date
Tomas Hykel 42c79fe19a switch to server-only ID length validation 2026-03-16 21:08:23 +01:00
Tomas Hykel b8f59a3a24 Fix a test 2026-03-16 20:35:09 +01:00
Klaus Zanders 538b3cd29b Merge branch 'dev' into more-visible-scopes 2026-02-12 11:19:23 +01:00
Dombi Attila 8ff1ecd550 Update error messages. 2026-02-10 17:37:42 +02:00
Dombi Attila 096904006a Prevent wizard activation when type or status is missing. 2026-02-10 13:46:12 +02:00
Klaus Zanders 3e3c113c31 Fix loading visible 2026-02-09 15:08:04 +01:00
Klaus Zanders 7d47953e1d Fix specs on status controller 2026-02-09 15:08:01 +01:00
Tobias Dillmann 78409c4476 [#68876] Status button component specs 2025-11-18 12:03:40 +01:00
Henriette Darge f496da2aad Merge release/16.0 into dev 2025-05-16 14:56:25 +02:00
Jan Sandbrink 03c8db36bf Merge pull request #18806 from opf/frozen-specs
Freeze string literals in specs
2025-05-07 07:54:10 +02:00
Jan Sandbrink 0b87e7543f Freeze string literals in specs
Rolling out frozen string literals further by freezing all
string literals in core specs.
2025-05-05 09:29:55 +02:00
Alexander Brandon Coles 00c99b418e DRY up Projects::StatusController spec
Also aggregates failures where multiple expectations per example.
2025-05-02 00:43:48 +01:00
Alexander Brandon Coles 3550aade49 Use DELETE method to unset project status
* Updates `StatusButtonComponent` to use `turbo-method: :delete` for
  "Not set" menu item.
* Adds `Projects::StatusController#destroy` action, routes and
  accompanying permissions.
2025-05-02 00:43:47 +01:00
Alexander Brandon Coles 7d92ee2831 [#63482] Implement Project Status Button Component
* Introduces `Projects::StatusButtonComponent` and its Lookbook Preview.
* Defines colours, icons as (Ruby) constants nested under
  `Project::Statuses` (c.f. `Meetings::Statuses`).
* Adds `Projects::StatusController` with `#update` action, routes and
  accompanying permissions.
2025-05-01 16:06:18 +01:00
Alexander Brandon Coles b8988b3a69 [#61889] Primerize Project Settings>Information forms
Updates the form visuals and functionality according to new wireframes:
the form on the Project Settings > Information page has been split into
multiple discrete forms.

In detail:

* Introduces `Projects::Settings::General::ShowComponent`.
* Creates Primer forms with basic specs.
* Adds `Projects::Settings::GeneralController#update` action, routes and
  accompanying permissions.
* Updates "Edit Settings" feature specs for new forms, also rewriting
  some expectations that were reliant on `data-qa-name` attribute that
  Primer form components do not render by default.
2025-04-28 15:13:05 +01:00
Oliver Günther fa99c5bef6 Render with status: :unprocessable_entity 2024-10-11 08:42:58 +02:00
ulferts 69f6194151 turn factory project independent - move ProjectQuery services and contracts 2024-09-27 09:25:01 +02:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
Klaus Zanders c2775b2ad6 Add tests for toggling to public and private 2024-07-09 15:58:32 +02:00
Klaus Zanders 4e40a49628 Fix specs 2024-07-09 08:21:22 +02:00
Klaus Zanders 018ff2c677 Fix toggle public specs 2024-07-02 15:04:09 +02:00
Klaus Zanders db580141cc Move ProjectQuery model to the main namespace 2024-06-26 16:23:10 +02:00
Klaus Zanders 3264517c50 Fix specs 2024-05-23 17:14:05 +02:00
Klaus Zanders 28d39f405b Use positional arguments for user in viible methods 2024-05-23 16:59:27 +02:00
Klaus Zanders dae9450c43 Add conroller tests 2024-05-23 16:59:23 +02:00
Klaus Zanders eef97fc959 Fix the QueriesController so that the user is the proper owner of the query 2024-05-23 16:59:22 +02:00
Ivan Kuchin 1a0ba2506e don't allow renaming modified project list and modifying the list while renaming 2024-05-23 12:41:24 +02:00
Ivan Kuchin 86909ef457 rename persisted project query 2024-05-21 16:18:04 +02:00
Ivan Kuchin 3f000c58cb test Projects::QueriesController 2024-05-07 18:54:22 +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
Christophe Bliard 4529087e69 [46176] Use valid identifier in project urls
When project identifier is changed to an invalid value, the previous value must be used to generate urls.
2023-02-09 12:57:38 +01:00