Ivan Kuchin
9b6edd7886
cleanup custom field formats registration
2026-05-19 17:42:45 +02:00
Ivan Kuchin
b648341030
[ #74768 ] Remove calculated_value_project_attribute feature flag
...
https://community.openproject.org/wp/74768
2026-05-19 17:42:42 +02:00
Eric Schubert
52bc1080bd
[ #68700 ] added new enterprise key for weighted item lists
...
- fix migration to rename existing data in custom fields table
- update project custom fields header to show all custom fields with
enterprise addon
- show upsale page for hierarchies and weighted item lists
2025-11-03 15:59:02 +01:00
Eric Schubert
38d5222c5b
[ #68700 ] replace score with weight
...
- add migration for db column name
- update AR relations in code
- update display texts and locale keys
- update test, method, class, variable names
- fix formatting mistake in item base controller
2025-11-03 13:58:05 +01:00
Yauheni Suhakou
0de0713a53
Big rename
...
Renames `scored_list` to `weighted_item_list`
2025-10-30 15:36:55 +01:00
Eric Schubert
deaec0c8a5
[ #67623 ] remove feature flag for weighted item list
...
- https://community.openproject.org/wp/67623
2025-10-30 15:07:02 +01:00
Ivan Kuchin
3cd340da38
separate CustomValue::ScoredListStrategy
2025-10-17 19:31:58 +02:00
Eric Schubert
e321db10d4
[ #67453 ] added hierarchical lists to project custom fields
...
- https://community.openproject.org/work_packages/67453
- added scored list and hierarchy to project attributes
- added new controller and routes
- amended view templates
2025-09-19 17:03:08 +02:00
Eric Schubert
97f14394b9
[ #66410 ] added new custom field type scored list
...
- https://community.openproject.org/work_packages/66410
- works under the hood for now exactly like hierarchy
- added feature flag
2025-08-19 16:17:19 +02:00
Ivan Kuchin
7acbaff85a
add calculated value strategy
...
Display as integer if has only digits otherwise as float
2025-08-11 13:48:50 +02:00
Tobias Dillmann
f0c119ca85
[ #64347 ] Allow viewing/editing calculated values without FF
...
We still show these CFs, but we will not allow creating new ones. This
explictly only applies to enabled/disabled custom fields. We are
stricter with the enterprise flag.
2025-06-30 16:11:32 +02:00
Tobias Dillmann
87f5dc8940
[ #64347 ] inject Primer view for calculated values into existing admin view
...
much like the hierarchy before
2025-06-25 10:13:14 +02:00
ulferts
d6caec6c55
only display hierarchy option in dropdown if ee permits
2025-06-23 12:00:35 +02:00
Christophe Bliard
d36fa67170
Get custom fields traits from configuration instead of FactoryBot
...
Refactored some methods to use `OpenProject::CustomFieldFormat` to get
the `multi_value_possible` information.
2025-01-27 14:59:25 +01:00
Eric Schubert
28b618659f
[ #58865 ] fixed project attributes new form
...
- exclude hierarchies from anything but work packages
2024-11-12 15:38:18 +01:00
Andreas Pfohl
4e80bd3064
[57812] Added model and migration for custom field of type hierarchy ( #16805 )
...
* Added model and migration for custom field of type hierarchy
* Added feature flag for custom field of type hierarchy
* moved feature flag to drop down options
---------
Co-authored-by: Eric Schubert <e.schubert@openproject.com >
2024-09-26 14:42:13 +02:00
Ivan Kuchin
4911b8a149
remove years from copyrights (except for COPYRIGHT file)
2024-07-31 15:02:49 +02:00
Ivan Kuchin
fa5d03eae0
rubocop safe autocorrect all except Rails/WhereRange
2024-05-30 19:54:08 +02:00
Oliver Günther
1f73602839
Add "Link" custom field type
...
https://community.openproject.org/work_packages/26923
2024-04-29 08:35:35 +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
Christophe Bliard
21a696ef9b
Update copyright information for 2023
2022-12-30 15:51:26 +01: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
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
ulferts
23f6d97ccf
hide internal cf value format
2020-10-08 11:30:41 +02:00
Oliver Günther
af4010b003
[33496] Don't try to lookup custom value by value
...
Only for list types, the value will be an integer to look up by id,
but instead use `CustomValue.new(...).typed_value` to use the formatter
classes to correctly look up the value.
https://community.openproject.com/wp/33496
[ci skip]
2020-09-04 12:50:13 +02:00
Henriette Dinger
bd7f4e4814
Update copyright notice
2020-01-15 11:31:26 +01: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
Oliver Günther
6ef4211e77
Bump copyright to 2018 ( #6171 )
...
[ci skip]
2018-02-12 08:51:12 +01:00
ulferts
225be7608b
fix custom value dev reloading ( #5502 )
...
Never use a constant in an initializer which might later on reloaded. This will leave a stale object in the constant cache
[ci skip]
2017-05-16 14:20:47 +02:00
Jens Ulferts
9a347d7e83
move CustomFieldFormat to OpenProject namespace
2017-05-08 11:57:26 +02:00
Jens Ulferts
1a8a03ce56
cleanup code within custom_value area
2017-05-08 11:21:50 +02:00
Oliver Günther
7cf11bb689
Update copyright notice
2017-01-10 15:11:43 +01:00
Alex Coles
e0191e759c
Update year in copyright header to 2015
...
[ci skip]
2015-01-01 00:02:57 +00:00
Jens Ulferts
6ed300af16
splits redmine.rb into initializers
2014-12-12 17:28:53 +01:00