36 Commits

Author SHA1 Message Date
Mir Bhatia e561086d38 Update all remaining components to work with multiple roles 2026-04-28 13:08:26 +02:00
Mir Bhatia b8b5574df0 Update specs to work with multiple roles 2026-04-24 17:32:46 +02:00
David F 32831e08dc Merge remote-tracking branch 'origin/dev' into feature/72383-workflows-ux-improvement-apply-workflow-setting-from-role-to-role 2026-04-13 17:41:13 +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. 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 4c7d03bcad Add and update specs 2026-03-19 14:38:42 +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
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
ulferts 602e9bd79d fix permitted params on workflow editing 2025-04-07 12:19:18 +02:00
Mir Bhatia a7770d7bd3 Update wording in spec 2024-08-27 16:04:00 +02: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
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 79a6cfc728 remove unnecessary tap s 2023-10-11 14:17:01 +02:00
ulferts 2b2abf864a introduce ProjectRole model 2023-10-09 14:34:20 +02:00
Christophe Bliard 4c2a9d0aa8 Enable RSpec zero monkey patching mode
The plan for RSpec 4.0 is to disable monkey patching.

See https://github.com/rspec/rspec-core/blob/main/features/configuration/zero_monkey_patching_mode.feature for details.
2023-05-31 19:22:29 +02:00
Christophe Bliard 85b3258a29 Autocorrect with some rubocop cops
RSpec/Rails/InferredSpecType and Style/RedundantConstantBase

rubocop --autocorrect-all --only RSpec/Rails/InferredSpecType,Style/RedundantConstantBase spec modules/*/spec
2023-01-13 14:28:59 +01: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 b50855a955 Use ServiceResult factory methods where possible
All was automatic through the use of `rubocop --autocorrect --only
OpenProject/UseServiceResultFactoryMethods app lib lib_static modules
spec`.
2022-06-16 10:01:57 +02:00
Christophe Bliard 48a4f1b6ad lint with rubocop --autocorrect (safe cops only) 2022-06-02 10:40:10 +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 f08bea3467 Remove FactoryBot.* prefix where applicable 2022-01-25 08:19:06 +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 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
Henriette Dinger bd7f4e4814 Update copyright notice 2020-01-15 11:31:26 +01:00
ulferts fe6a96dd08 improve performance of workflow updating 2019-08-12 14:13:45 +02:00