34 Commits

Author SHA1 Message Date
Dombi Attila 652551d537 [#68040] Switching a multi select list cf to a single select cf of projects breaks opening the editing modal on the overview page
https://community.openproject.org/work_packages/68040

Change the custom_value_for method signature to always use a custom field.
2025-11-12 20:25:16 +02:00
Ivan Kuchin 0f6a12da3a erb_lint auto fix layout 2025-02-11 18:49:20 +01:00
Ivan Kuchin fb715f21b9 erb_lint auto fix quotes 2025-02-11 18:49:19 +01:00
Ivan Kuchin 0b1f73ec79 erb_lint auto except rubocop linter 2025-02-11 18:49:19 +01:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02: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
Yule a06aa9b5fa Use basic single date picker in the tabular form builder (#12134)
* Use basic single date picker in the tabular form builder

* Fix meetings pages specs

* Fix members hourly rates spec

* Fix CustomFieldFormBuilder specs

* Make custom field datepickers to have the same size as the normal datepicker

* Add the remote field loader on the basic-single-datepicker component for the add cost form

* Change position of remoteFieldKey input

* Refactor the container_class option for the datepicker, make the project custom form field to have a reduced width

* Add typeguard to satisfy eslint

---------

Co-authored-by: Dombi Attila <83396+dombesz@users.noreply.github.com>
2023-02-22 16:07:14 +00:00
Dombi Attila b3f3ed8f43 refactor: Extract customField1 json format into the CustomField#attribute_name method 2023-01-23 14:54:25 +02:00
Christophe Bliard 10085736da refactor: Rename and generalize #accessor_name as #attribute_name
Also extract #attribute_getter and #attribute_setter when
using #attribute_name in the context of calling the getter/setter
methods.
2023-01-17 09:39:27 +01:00
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +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
Oliver Günther ac049663a3 Add multiple option for project custom fields (#9125)
* Allow multi-select CFs for projects

* Render multiple custom values in project row

* Output arrays from custom_value_attributes for multiselect values

* Add spec for copying multi-value cf

* Fix custom field multiselect form on new custom fields

* Fix custom field builder specs

* Add spec for creating/updating projects with multi select

* Add spec to create new multi select project cfs

* Add spec for projects index displaying of custom fields
2021-03-30 17:29:32 +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
Oliver Günther c369a71f4d Allow project help texts on the rails form
Renders help texts on a project core attributes and custom fields
2020-08-20 09:04:33 +02:00
Henriette Dinger bd7f4e4814 Update copyright notice 2020-01-15 11:31:26 +01:00
ulferts 4beff7d46d fix rendering customizable form 2019-09-27 12:50:47 +02:00
ulferts aed11d26e8 harmonize width of text custom field on project settings 2019-09-27 10:41:27 +02:00
ulferts 5733679291 add project status to project settings page 2019-09-27 08:51:32 +02:00
Oliver Günther bb48a3b36d Allow WYSIWYG in project/other long text formattible fields
The project text custom field was not using the WYSIWYG editor, but was
outputting plain text.

https://community.openproject.com/wp/30433
2019-08-08 16:13:26 +02:00
Henriette Dinger 9004bc4f03 Add custom fields to permitted params for groups 2019-02-14 16:21:14 +01:00
Oliver Günther 6ef4211e77 Bump copyright to 2018 (#6171)
[ci skip]
2018-02-12 08:51:12 +01:00
Wieland Lindenthal 23d6dfcec9 Set width for all custom fields to wide. (#5760)
That is better than full width but yet not optimal as some inputs could
be smaller, such as numbers.

https://community.openproject.com/projects/openproject/work_packages/257
63/activity?query_id=936

[ci skip]
2017-07-17 07:47:05 +02:00
Henriette Dinger 2f092e3f0e Merge remote-tracking branch 'origin/release/6.1' into merge-dev-release 2017-03-07 09:46:10 +01:00
Henriette Dinger 0990cb219d Create modal for registration form 2017-01-20 09:21:20 +01:00
Oliver Günther 7cf11bb689 Update copyright notice 2017-01-10 15:11:43 +01:00
Peter Lehwess af87071112 Re-arrange the custom fields for new project view 2015-10-28 17:34:55 +01:00
Alexander Bach 0d95ce85dd Remove duplicate boolean cast 2015-10-05 09:39:36 +02:00
Alexander Bach 0b8021bedf Remove custom field heading in profile menu 2015-10-05 09:39:35 +02:00
Alexander Bach 52779411d4 Only shorten input sizes for my account 2015-10-05 09:39:34 +02:00
Henriette Dinger 0a44f54a12 Resize input field of custom field 2015-10-05 09:39:34 +02:00
Alexander Bach 29d52b8ca3 Add section title for custom fields 2015-10-05 09:39:33 +02:00
Alex Coles f191f2af5e Use TabularFormBuilder for register custom fields
Signed-off-by: Alex Coles <alex@alexbcoles.com>
2015-02-10 18:49:51 +01:00
Jens Ulferts 0de9315e4d harmonize custom_value forms 2015-02-09 12:39:50 +01:00