217 Commits

Author SHA1 Message Date
Oliver Günther e3efe6bc45 Create PDF as attachment 2025-11-24 10:34:04 +01:00
Christophe Bliard 5e5a01e37f Create artifact work package on project initiation request submission
https://community.openproject.org/wp/68862

A service takes care of creating the artifact work package.
2025-11-24 09:52:00 +01:00
Eric Schubert ffdc747565 [#69144] fix initial display of storage selector
- fix caption text for export type file link with project context
2025-11-21 15:42:34 +01:00
Eric Schubert a5377ec1f7 [#69144] update project artifact export settings
- https://community.openproject.org/work_packages/69144
- added controller action
- used path helper to target that controller action on form submit
- rename attributes to match other setting names
- added controller action permission
2025-11-21 15:42:01 +01:00
Mir Bhatia ae668ba737 Update submission attribute names 2025-11-21 13:32:54 +01:00
Mir Bhatia ed5b5197c6 Add form with placeholder select list 2025-11-19 17:25:34 +01:00
Mir Bhatia 93e1c17b93 Incorporate PR feedback 2025-11-19 13:40:27 +01:00
Mir Bhatia fd15e46458 Add specs 2025-11-18 17:57:56 +01:00
Mir Bhatia ee42e49ae6 Update form and only show email text area when checked 2025-11-18 17:36:42 +01:00
Mir Bhatia c2857596dc Update assignee field to custom field of type user 2025-11-18 17:36:41 +01:00
Mir Bhatia 9f8333e68f Add form with placeholder assignee field 2025-11-18 17:36:41 +01:00
Oliver Günther fbb8e38d97 Merge pull request #21053 from opf/feat/creation-wizard-attributes
Add select for project attributes to creation wizard
2025-11-18 15:18:41 +01:00
Tobias Dillmann 8774d5dea2 [#68876] Keep component size when refreshing via turbo stream 2025-11-18 12:03:40 +01:00
Oliver Günther 7e4108a350 Add bulk enable/disable 2025-11-18 08:58:19 +01:00
Oliver Günther 27c9ff81d5 Restrict wizard attributes 2025-11-17 21:25:05 +01:00
Oliver Günther 3cd9aa9f96 Add attributes to creation wizard 2025-11-17 21:25:05 +01:00
Oliver Günther a32587e8fb Fix error state 2025-11-17 20:16:40 +01:00
Oliver Günther bf815e7f05 Allow rendering no_menu inside a @project 2025-11-17 20:16:39 +01:00
Oliver Günther 6717b86738 Project wizard to fill out attributes 2025-11-17 20:16:39 +01:00
Mir Bhatia 067f42b11c Add disable danger dialog 2025-11-13 12:36:19 +01:00
Mir Bhatia 351a249cd3 Add initial blankslate 2025-11-13 10:36:17 +01:00
Oliver Günther 4f97b217f7 Start work on multi-tab settings 2025-11-12 21:27:25 +01:00
Mir Bhatia 0fb6dfcdf6 Add project wizard setting and basic form 2025-11-12 15:55:55 +01:00
ulferts c1e463604d readd confirmation dialog on project archive 2025-11-03 17:48:47 +01:00
Oliver Günther 4642663272 Fix method on project index 2025-09-26 09:15:23 +02:00
Oliver Günther 14192a74c3 Replace confirm with turbo-confirm, method with turbo-method 2025-09-26 09:15:04 +02: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 352547cd85 [#59079] Remove deprecated ordering versions by semver_name
https://community.openproject.org/work_packages/59079
2025-07-08 19:32:48 +02:00
Ivan Kuchin bf556f4f30 remove stages_and_gates usage from production code 2025-06-20 12:34:59 +02: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 c042ec8e95 [#64839] Fix duplicate banners on Project Settings
Fixes error flash messages persisting on page reload.
2025-06-16 14:01:52 +01:00
ulferts abc3f387c2 rename project phases` services and contracts 2025-06-10 13:12:51 +02:00
dombesz 9f621bbb19 Merge pull request #18824 from opf/feature/59180-automatic-scheduling-for-phases-and-phase-gates-2
Feature/59180 activation service that reschedules instead of plain upsert
2025-05-19 13:38:54 +02:00
Henriette Darge f496da2aad Merge release/16.0 into dev 2025-05-16 14:56:25 +02:00
Ivan Kuchin 6ead8b8d14 activation service that reschedules instead of plain upsert 2025-05-08 15:58:59 +02: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
Bruno Pagno 4a1ae02615 adjust banners + settings for internal comments 2025-04-29 10:30:35 +02: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
Bruno Pagno 97ccf0bfc5 adjust internal comments internal representation 2025-04-24 13:12:32 +02:00
Oliver Günther 816b74bff5 Warn about self registration and public projects 2025-04-22 20:17:15 +02:00
Bruno Pagno ab008554b4 Merge branch 'dev' into impl/60990-wp-settings-activities 2025-04-04 09:32:22 +02:00
Dombi Attila 070833adca Make the project admin life cycle settings page work. 2025-04-01 16:41:47 +03:00
ulferts 464e97499c rename steps and step definitions 2025-04-01 16:39:37 +03:00
Bruno Pagno 31f65ec4ff store project settings data and include feature specs 2025-03-24 13:59:51 +01:00
Bruno Pagno e61b0447ee scaffold settings page for activities 2025-03-24 13:59:50 +01:00
Ivan Kuchin 7b93b6072e use touch_and_save_journals 2025-03-20 13:54:07 +01:00
Ivan Kuchin 5c58a7e65f create journal when enabling/disabling life cycle steps 2025-03-20 13:53:58 +01:00
Bruno Pagno c5a5d5260b adjust urls and permissions 2025-03-14 14:24:58 +01:00