Oliver Günther
637a45beb4
Fix id parsing for wiki toolbar now that we use actual html
2026-03-20 09:49:11 +01:00
Oliver Günther
4d731dcab6
Replace raw and explicit html_safe calls
2026-03-20 09:49:10 +01:00
Alexander Brandon Coles
f6ee0dac59
Revert "Rename datepicker component id to inputId so it won't interfere with the componen's id."
...
This reverts commit d4924d2921 .
2025-09-12 12:41:59 +01:00
Alexander Brandon Coles
51213056b0
Replace .hidden-for-sighted with Primer's .sr-only
...
See (docs): https://primer.style/css/storybook/?path=/story/utilities-layout--screen-reader-only
See (source): https://github.com/primer/css/blob/main/src/utilities/visibility-display.scss#L96
2025-07-21 11:25:24 +01:00
Jens Ulferts
108d304ee9
Merge pull request #18223 from opf/code-maintenance/61352-upgrade-rails-to-80
...
Code maintenance/61352 upgrade rails to 80
2025-03-12 15:36:15 +01:00
Dombi Attila
d4924d2921
Rename datepicker component id to inputId so it won't interfere with the componen's id.
2025-03-12 14:34:30 +02:00
ulferts
0c12697199
add check_box explicitly to tabular_form_builder supported fields
2025-03-11 13:27:57 +01:00
Jan Sandbrink
bc861f0929
Make a few more files ready to handle frozen string literals
...
Affected files were previously modifying string literals in-place
and have now been changed to either ensure they are declared as
mutable or avoid modifying them at all.
2025-03-07 16:51:05 +01:00
ulferts
bb780232f8
handle having a nil model in forms - using form_with
2025-03-04 17:42:43 +01:00
Oliver Günther
549cf77daf
Linting
2024-08-16 19:16:15 +02:00
Oliver Günther
ac39406347
Replace dynamic bootstrapped components with angular elements
2024-08-16 19:16:13 +02:00
Ivan Kuchin
4911b8a149
remove years from copyrights (except for COPYRIGHT file)
2024-07-31 15:02:49 +02:00
Klaus Zanders
e896ddabd5
Allow specifiying a name for date picker names
2024-07-15 14:56:40 +02:00
Ivan Kuchin
fa5d03eae0
rubocop safe autocorrect all except Rails/WhereRange
2024-05-30 19:54:08 +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
Dombi Attila
72c0b93eb7
Fix tabular form builder specs, also scope the localized label inference to the form's object name.
2024-02-01 14:22:10 +02:00
Christophe Bliard
8fa8584538
Run rubocop --autocorrect on all files
...
Only the safe cops have run. rubocop version is 1.59.0.
2024-01-05 15:27:09 +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
Dombi Attila
8b3274a7c3
[ #49489 ] Fix required inputs on the meetings form
...
https://community.openproject.org/work_packages/49489
2023-08-02 15:30:11 +03: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
789400122d
Prevent re-initialising the datepicker date when the non working days switch is toggled on the single datepicker
2023-02-15 14:05:30 +02:00
ulferts
f3dd2f587b
fix form builder working with symbols
2023-01-31 17:47:42 +01:00
Dombi Attila
13ece2c0f2
Make the date_picker form helper to handle nested attribute indexes correctly
2023-01-31 17:34:46 +02:00
Dombi Attila
65897a2fbf
Fix displaying the hidden label on hourly rates rate, also make date picker to fill empty space in table
2023-01-31 17:34:45 +02:00
Dombi Attila
9913d09c5d
Make date picker data behave as the other fields
2023-01-26 18:31:37 +02:00
Dombi Attila
7e1783f57a
Fix unit specs
2023-01-26 18:24:17 +02:00
Dombi Attila
4c7169772f
Fix specs in add_cost_entry_spec.rb
2023-01-26 16:53:35 +02:00
Benjamin Bädorf
8d9cf86115
Fix custom field form builder specs
2023-01-25 11:47:56 +01:00
Benjamin Bädorf
1a32034950
Add date_picker form field type to FormBuilder and use it where possible
2023-01-24 16:48:26 +01:00
Benjamin Bädorf
7401f7c749
Add slot for extra form fields in date picker, make non working days toggle configurable
2023-01-24 14:21:30 +01:00
Christophe Bliard
21a696ef9b
Update copyright information for 2023
2022-12-30 15:51:26 +01: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
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
ulferts
ae38be12c9
fix ruby 2.7 deprecations
2020-12-03 17:30:50 +01:00
ulferts
5968c0b18a
Fix/replace custom i18n function ( #8681 )
...
* replace custom i18n function calls
* remove custom i18n method
2020-09-16 11:26:15 +02: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
Cyril Rohr
a4db01bf97
Add UI to administrate OpenID Connect providers (azure, google)
2019-05-16 12:44:47 +00:00
Inga Mai
7b43a78836
Required fields implementation corrected, tests adapted
2019-02-28 13:50:21 +01:00
Oliver Günther
03448e758e
Move ckeditor components into one and add markdown source
2018-09-17 12:22:20 +02:00
Oliver Günther
0a136e61b4
Use larger form controls for ckeditor fields
2018-08-20 07:43:57 +02:00
Oliver Günther
6919209adf
Merge remote-tracking branch 'origin/dev' into feature/wiki-inline-editable-toolbar
2018-08-03 08:17:40 +02:00
Oliver Günther
8e5b870e41
Editable toolbar
...
Implement editable toolbar
2018-08-02 15:43:51 +02:00
Jens Ulferts
cc7f257caa
fix context links used for previewing
2018-07-20 12:43:49 +02:00