528 Commits

Author SHA1 Message Date
Ivan Kuchin f6e073f0a1 [#74769] Remove portfolio_models feature flag
https://community.openproject.org/wp/74769
2026-05-28 13:53:08 +02:00
OpenProject Actions CI 53ad486160 Merge branch 'release/17.1' into release/17.2 2026-03-03 13:38:43 +00:00
ulferts 00e9f89ace move helper methods into helper 2026-02-27 16:00:03 +01:00
ulferts b8546a4292 fix saving project quries broken because of an unreachable method definition 2026-02-27 15:53:25 +01:00
Klaus Zanders 2a934faeb9 Fix archiving controller 2026-02-09 15:08:26 +01:00
Jan Sandbrink 1e2c0922b6 Simplify project export
Instead of showing a huge dialog that then just shows three
links with huge icons and no further description, we just use
a submenu, that immediately shows the export options as menu items.
2026-01-06 12:55:18 +01:00
ulferts 2a924d1a65 split up project/program/portfolio creation among dedicated controllers 2025-12-04 16:24:00 +01:00
ulferts 58e7c96fb3 permit project creation query params on login back url 2025-12-04 15:10:18 +01:00
Ivan Kuchin 4658b4c64e use global layout for project new when showing enterprise banner 2025-11-26 20:12:56 +01:00
Ivan Kuchin d7928e9b26 show enterprise banner for new workspace 2025-11-26 20:12:56 +01:00
Oliver Günther d53eb1009e Move to second step when parent defines template 2025-11-25 09:01:40 +01:00
Dombi Attila cb873f4460 Render the correct second step when the parent is invalid, display the inline error message on the parent autocompleter. 2025-11-24 19:29:13 +02:00
Dombi Attila a8f5b397c1 Mute rubocop 2025-11-21 20:31:15 +02:00
Dombi Attila 3d3e7d90a9 Merge branch 'dev' into feature/68856-project-create-separate-template-page 2025-11-21 20:31:13 +02:00
Dombi Attila 125dafb545 Update specs 2025-11-21 19:42:07 +02:00
Ivan Kuchin 1bdf3df07f add workspace type specific create routes to use same logic for finding template 2025-11-20 20:30:55 +01:00
Dombi Attila 06a7b142a4 Move the total_step method from the ProjectsController to the ProjectCreationFooterComponent. 2025-11-20 18:25:47 +02:00
Henriette Darge 10cfda4aaa Abstract stepWizard footer to a generic component so that it can be re-used for project creation 2025-11-20 13:52:51 +01:00
Dombi Attila 3bba5bcd1c Merge branch 'dev' into feature/68856-project-create-separate-template-page 2025-11-19 22:23:31 +02:00
Dombi Attila 9b842ed326 Handle validation errors between the steps of the project creation wizard. 2025-11-19 22:07:41 +02:00
Dombi Attila 53b0c14191 Skip validating custom fields when creating a project from a template. 2025-11-19 20:14:10 +02:00
Dombi Attila c4984ade97 [#69034] Change enforcement of project attributes on creation for templates
https://community.openproject.org/work_packages/69034
2025-11-19 20:14:09 +02:00
Dombi Attila 40a64f2a5b Remove copy options when creating from template, store the step in a hidden field for validations, display the description field. 2025-11-19 12:49:06 +02:00
as-op 2bfff77b48 obey rubocop 2025-11-19 10:11:21 +01:00
Andrej Sandorf 99a06d1159 Merge branch 'dev' into feature/69001-pdf-export-of-pm-pmflex-project-initiation-requests 2025-11-19 09:27:48 +01:00
as-op 6069c611f3 [#69124] Introduce permission to export projects
https://community.openproject.org/work_packages/69124
2025-11-18 09:47:59 +01:00
as-op ee0db7fc2f fix class name 2025-11-13 09:15:26 +01:00
as-op 8bea8442c4 fix snake_casing 2025-11-12 15:34:28 +01:00
as-op 530d50ee32 introduce project creation PDF export
refactor project-list-PDF-export related code, generalize and reuse
2025-11-12 15:24:44 +01:00
Alexander Brandon Coles 0936b2a717 [#64885] Impl. Danger Dialog for Project Delete 2025-08-27 16:19:53 +01:00
Dombi Attila 7b1fd5f09a Add program creation form and global permission. 2025-08-22 15:23:16 +03:00
ulferts 272a85d250 use non nested default parameter to be in line with other params 2025-08-21 10:29:58 +03:00
ulferts 44d73d1563 prevent access to new page unless feature flag is active 2025-08-21 10:29:58 +03:00
ulferts 64805d3bba add portfolio creation using existing project creation 2025-08-21 10:29:56 +03:00
Henriette Darge 0d692757bb Highlight correct menu item when copying a project 2025-07-10 11:15:03 +02:00
Alexander Brandon Coles 2a30b50e6e [#63594] Primerize Project copy form
Updates the form visuals based on new mockups: the Project copy form now
only includes required (built-in and custom) fields, along with the
"Subproject of" field.

In detail:

* Introduces `Projects::CopyFormComponent`.
* Adds `Projects::CopyForm` with basic specs.
* Adds `ProjectsController#copy_form` action, permissions and route
  mappings.
* Updates copy project feature specs to reflect form changes.
2025-07-01 12:30:02 +01:00
Jan Sandbrink f824b479e8 Merge DialogStreamHelper into ComponentStream
The former depended 100% on the latter anyways and there
was no clear separation of concerns between the two. For
example ComponentStream had methods to close a dialog.
Thus it made sense to merge the two.
2025-06-20 08:14:49 +02:00
Jan Sandbrink ef6fdb29d5 Base respond_with_dialog on OpTurbo::ComponentStream
This allows us to combine the methods offered by the
component stream with a dialog. E.g. it's possible to
render a dialog, while at the same time updating a component
on the page using the same response.

Since there can/should only be one dialog opened usually,
I decided to keep the respond_with_dialog as the only way to
generate a dialog this way, because it enforces that there can
only be one dialog per response. Alternatively we could have added
a dialog-specific method to ComponentStream, theoretically allowing
multiple dialogs per response.

A consequence of this change is that using OpTurbo::DialogStreamHelper
now also requires OpTurbo::ComponentStream, though usually both were used
at the same time anyways.
2025-06-19 15:38:55 +02:00
Alexander Brandon Coles 7266897a15 Update #create action to permit minimal params
Consolidates param filtering in `PermittedParams`.
2025-06-11 23:28:02 +01:00
Alexander Brandon Coles e225422ccd [#63593] Primerize Project create form
Updates the form visuals according to new wireframes: the Project create
form now only includes required (built-in and custom) fields, along with
the "Subproject of" field.

In detail:

* Introduces `Projects::NewComponent` and `TemplateSelectComponent`.
* Adds, extends necessary Primer forms with basic specs.
* Adds `ProjectsController#create` action, routes and permissions.
* Adds `highlight-when-value-selected` Stimulus controller.
* Updates project feature specs for new form, including rewriting some
  expectations that were reliant on `data-qa-name` attribute that Primer
  form components do not render by default.
* Removes now obsolete Project Status administation feature spec.
2025-06-11 16:31:30 +01:00
Klaus Zanders 3f20102c7b fix rubocop issues 2024-11-19 13:00:20 +01:00
ulferts 69f6194151 turn factory project independent - move ProjectQuery services and contracts 2024-09-27 09:25:01 +02:00
Tobias Dillmann 3ca936a1cd [#55392] fix typo in params name 2024-09-20 09:28:46 +02:00
Aaron Contreras c76f699ae3 Merge branch 'dev' into project-index-turbofy 2024-08-21 10:18:04 -05:00
ulferts 570478e31b have project list export modal be loaded asynchronously 2024-08-19 10:57:21 +02:00
Aaron Contreras 58edf3fdef Update filter counter as well when performing turbo requests 2024-08-14 12:21:04 -05:00
Aaron Contreras 75b827e60d Merge branch 'dev' into project-index-turbofy 2024-08-06 10:27:32 -05:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
Klaus Zanders 842913f0f8 Add flash message 2024-07-30 10:37:15 +02:00
Klaus Zanders 3d64498f14 Update sidebar and re-enable tests 2024-07-30 09:27:41 +02:00