88 Commits

Author SHA1 Message Date
Mir Bhatia 9e0a7367fe Refactor and clean up 2026-04-28 17:10:03 +02:00
Mir Bhatia e561086d38 Update all remaining components to work with multiple roles 2026-04-28 13:08:26 +02:00
Mir Bhatia df5eca254e Replace ActionMenu with multi select SelectPanel for role selector 2026-04-23 16:02:49 +02:00
David F fb564e24e6 Sideload workflow matrix to safely revert on ignored changes. wp/72383 2026-04-13 16:28:07 +02:00
David F b670ac19a6 Redraw the workflow form on empty statuses. wp/72383 2026-04-09 15:55:55 +02:00
David F 6e2efe8eb1 Merge branch 'dev' into feature/72383-workflows-ux-improvement-apply-workflow-setting-from-role-to-role 2026-04-09 09:42:46 +02:00
David F e729229df1 Add refactored Unsaved dialog to workflow copy button. wp/72383 2026-04-07 15:52:55 +02:00
Mir Bhatia c4c8ec2289 Show confirmation dialog when statuses are only added or removed 2026-03-26 17:34:19 +01:00
David F d1a541a2b0 Merge branch 'epic/workflows-ux-quick-wins' into feature/72383-workflows-ux-improvement-apply-workflow-setting-from-role-to-role 2026-03-24 16:46:48 +01:00
David F 5ebe35afb3 Deduplicate workflows’ eligible roles. wp/72383 2026-03-24 15:40:07 +01:00
David. 882e4d16ca Merge branch 'epic/workflows-ux-quick-wins' into feature/72383-workflows-ux-improvement-apply-workflow-setting-from-role-to-role 2026-03-24 15:14:50 +01:00
David F 4ab123f066 Refactor workflow summary into new namespaced controllers scheme. wp/72383 2026-03-24 11:17:21 +01:00
David F 117469a0a8 Copy a type’s workflows to another one. wp/72383 2026-03-24 10:48:18 +01:00
Mir Bhatia dca920c2f1 Merge branch 'feature/72239-workflows-ux-improvement-select-relevant-statuses' into feature/72924-workflows-ux-improvement-make-saving-changes-more-straightforward-and-less-error-prone 2026-03-24 10:40:08 +01:00
Mir Bhatia e2914109b1 Adjust spacing and add comment 2026-03-24 10:22:54 +01:00
Mir Bhatia 1c50c8bfcb Incorporate PR feedback 2026-03-23 18:54:52 +01:00
Mir Bhatia c3b2556bf5 Add and update specs 2026-03-23 16:20:12 +01:00
Mir Bhatia 4558e8fda2 Show confirmation dialog when switching tabs 2026-03-23 15:56:08 +01:00
Mir Bhatia 581fbb342d Show confirmation dialog when switching roles with unsaved changes 2026-03-23 13:42:35 +01:00
Mir Bhatia bbf271abfe Show updated list of statuses in status dialog on apply
Before, the statuses in the list were only those read from the DB. Thus,
adding/removing statuses and clicking apply did not update the list
before saving the entire form
2026-03-18 12:30:22 +01:00
Mir Bhatia cfafd01fb0 Show different status matrices per tab 2026-03-17 15:52:01 +01:00
Mir Bhatia 7718a0c527 Merge branch 'feature/72234-workflows-ux-improvement-show-workflows-by-type' into feature/72239-workflows-ux-improvement-select-relevant-statuses 2026-03-13 15:02:08 +01:00
Mir Bhatia 24de72b48b Add new dialogs to manage and remove statuses 2026-03-13 10:43:27 +01:00
Mir Bhatia cf24316722 Show role specific statuses on workflow edit page by default 2026-03-12 17:52:08 +01:00
David F 09f36d96ab WIP: List types on workflows admin index before editing one of them. #72234 2026-03-12 12:26:47 +01:00
Alexander Brandon Coles 14caa706c8 [#69980] Ensure all columns highlightable in Workflows 2025-12-15 21:15:51 -03:00
Henriette Darge 10e45aead5 [64823] Improve usability of Workflow tables (#20581)
* Split workflow tables into multiple tabs

Co-authored-by: Behrokh Satarnejad <b.satarnejad@openproject.com>

* make header and first column sticky in work flow tables

* calculate the height of the table

* Update the tabs individually

* calculate the height of the table

* Add tests for separated Workflow update process

* add a new style sheet for the workflows page and handle vertical and horizontal scroll in it

* set a class for page header in workflows page

* set page header class for other pages like summary and copy as well

* make header and first column sticky in summary page

* make the button sticky while scrolling horizontally

* redirect to the current tab in update method

---------

Co-authored-by: Behrokh Satarnejad <b.satarnejad@openproject.com>
2025-10-16 09:55:52 +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
as-op a283534b00 Merge branch 'release/15.5' into merge-15.5-into-dev
# Conflicts:
#	config/locales/crowdin/ru.yml
#	modules/boards/config/locales/crowdin/cs.yml
#	modules/reporting/app/workers/cost_query/pdf/timesheet_generator.rb
#	modules/storages/config/locales/crowdin/it.yml
2025-04-24 10:33:22 +02:00
Henriette Darge ee8452282a [63485] Remove show_local_breadcrumb and default_breadcrumb (#18663)
* add a new helper for breadcrumb in wiki page

* set page header in destroy page

* set page header in edit page

* set page header in history and rename and edit parent pages

* change toolbar items into page header items

* add new wiki action to sub header

* remove version edit page which is not in use any more

* add export as a menu item of the header

* fix rubocup errors

* fix failing tests

* replace page header in annotate page

* replace page header in diff page

* add page header in select menu page

* fix rubocup errors

* fix errors on rename test

* fix errors on selecting items from toolbar

* fix errors on tests for child pages

* set correct permission for configure menu item

* replace page header in summary page

* replace page header in summary details page

* edit docs of sub header

* add page header in wiki new page

* remove controller and a route for edit method

* undo changes for docs of sub header

* extract header in show page into a new component

* use helper method in header component

* add wiki module to the breadcrumb

* rename page header component for wiki page

* simplify how lock and lock implemented

* extract sub header

* remove wiki title from header of history page

* fix page header in new page

* use page.find_test_selector in test

* fix failing test for summary page

* fix failing test for wiki child pages

* change the summary test

* use test selector for page header title

* undo changes for activate user in admin

* use test selector in adding editing history test

* use test selector in attachment upload test

* use test selector in child pages tests

* use test selector in wiki menu items tests

* change test selector for breadcrumbs

* extract conditions to show edit button into a method

* extract conditions to show rollback action menu item into a method

* extract conditions to show create button into a method

* fix duplicated code in test

* Remove outdated `show_local_breadcrumb` method which is replaced by the Primer::PageHeader breadcrumb

* Remove `default_breadcrumb` method as it serves no prupose any more

* Remove the old breadcrumb and its hook completely

* remove breadcrumbs path from rename

* fix translations errors in storages

* undo changes on translations

* remove default breadcrumbs in time tracking controller

---------

Co-authored-by: Behrokh Satarnejad <b.satarnejad@openproject.com>
Co-authored-by: Behrokh Satarnejad <62008897+bsatarnejad@users.noreply.github.com>
2025-04-23 10:40:43 +02:00
ulferts 3436442479 avoid error on empty workflow params 2025-04-16 14:47:44 +02:00
ulferts 602e9bd79d fix permitted params on workflow editing 2025-04-07 12:19:18 +02:00
ulferts 02c0481b3d filter workflow params 2025-03-01 21:27:22 +01:00
Oliver Günther ad339e14a0 Uncheck workflow status checkbox by default
https://community.openproject.org/work_packages/57421
2024-08-27 11:15:03 +02:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
Henriette Darge a7676bab78 Introduce Primer::OpenProject::PageHeader in Admin/workPackages to harmonize the breadcrumb structure 2024-07-23 08:29:48 +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
ulferts 7c92cfc27d introduce work_package_sharing EE action and apply to workflow administration 2023-11-20 11:51:11 +01:00
ulferts a342977064 add work package editor role to workflow administration 2023-11-20 11:51:07 +01:00
ulferts a5f20ed5de limit some administration to ProjectRole 2023-10-09 14:34:24 +02:00
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01:00
ulferts 81d90579e5 replace legacy spec 2022-10-07 16:50:53 +02: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 ccfa29c728 Move license and copyright docs to root, fix names and references 2021-09-02 21:50:46 +02:00
ulferts 1bdd2ab9ae safe automatic fixes by rubocop (#8994) 2021-02-11 16:02:18 +01:00
ulferts 6140f4c7e9 update copyright to 2021 (#8925)
Updates the copyright to 2021 for all files that have a copyright. Files in our source code without the copyright header still do not receive one automatically. Additionally, backlisted files are also excluded.

Previously the copyright of chiliproject which references redmine stated a copyright of redmine up to and including 2017 which is not true for the code we have in here. Because of that I changed that to 2013
2021-01-13 17:47:45 +01:00