54 Commits

Author SHA1 Message Date
Alexander Brandon Coles e1c6f3aad2 [#70148] Fix ERb/HTML markup (Herb Parse errors)
Fix malformed HTML (e.g. unmatched closing tags) as well as other issues
identified as "parse errors" when running:

    herb analyze .

https://community.openproject.org/work_packages/70148
2025-12-22 10:39:03 -03:00
Oliver Günther 14192a74c3 Replace confirm with turbo-confirm, method with turbo-method 2025-09-26 09:15:04 +02:00
Dombi Attila 0e66e4b0f5 [#65513] Form configuration page is broken on the work packages page
https://community.openproject.org/work_packages/65513
2025-07-04 12:56:21 +03:00
Tobias Dillmann 062b0d2b34 [#65074] Remove broken custom field creation option
It was missing the necessary format. As the creation button is right
above this area, I chose to remove it rather than inserting an action
button here.
2025-06-27 14:17:15 +02:00
ulferts f8fad16c77 move and adapt custom field feature specs 2025-06-23 12:00:33 +02:00
ulferts e1a6f7157b move enterprise banner for hierarchy fields 2025-06-19 16:04:57 +02:00
Ivan Kuchin a98789d986 erb_lint auto fix part of style 2/3 2025-02-11 18:49:21 +01: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
Eric Schubert de4eb6cfa5 [#60183] add pattern contract validation to subject configuration
- https://community.openproject.org/work_packages/60183
- rewrite work package type routes
- added new controller for subject configuration
- fixed test expectation values for radio buttons
- removed tests for disabled submit button
- extracted tests to new controller
2025-01-17 13:24:27 +01:00
Oliver Günther 47da171ac1 Provide option to hide highlight on col 2024-08-19 07:34:10 +02:00
Oliver Günther 44412c3006 Replace opHighlightCol with stimulus controller 2024-08-16 19:16:13 +02:00
Ivan Kuchin 4bd18626f9 little refactor of showning no custom fields box when tab has none 2024-08-15 13:31:26 +02:00
Ivan Kuchin 6df2acda88 project custom fields have separate interface 2024-08-15 13:31:26 +02: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
Aaron Contreras 99f920f2a8 [FEAT-47002] Remove EE-restriction banner from custom_fields#index
The tab reached by following:

Administration -> Custom Fields -> Work Packages Tab

was displaying an Enterprise Edition banner restriction which should
be removed.
2023-04-21 15:37:10 -05:00
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01:00
Behrokh Satarnejad 8d9f2ec5bf [44481]Expandable Enterprise Edition banners (#11503)
* make enterprise banner component extendible

* make the collapsible input public

* use spot classes for icons

* replace EE banners in admin settings

* replave EE banner for custom fields, project filters, stutus form, and wp form configurations

* replace EE banner in WP filters. WP table view configurations and add widget modal

* undo some replacements
2022-11-01 14:36:06 +01:00
Behrokh Satarnejad 10d2f1d7b4 [40774] Unify Enterprise Edition pages (#11084)
* fix min width for a column including auto completer

* move the EE banner to the top of the screen in custom fields

* change the border color for the upsale block and fix the spacing issue

* show the ee baner for wp status while there is no ee key and show the text when the checkbox in enabled

* add some space to the bottom of ee banner in project setting

* Revert "fix min width for a column including auto completer"

This reverts commit 340649f394.

* put the banner inside a form field

* remove duplicated code

* revert the width style for ee banner in new status page

* remove the unnecessary margin from the bottom of EE banners

* move orm-filed elemnt to the correct location

* set a specific class for the image used in upale home pgae block

* revert the value set to the columns of grid view
2022-08-10 15:12:55 +02:00
Henriette Darge 7bc4a2f42a Remove the moreInfoText for EnterpriseBanners since it was the same for every instance. Further cleanup the locales files. 2022-07-27 14:16:58 +02:00
Henriette Darge 969e7cc31d Extract links to varibles 2022-07-27 13:37:34 +02:00
Henriette Darge 3efd599430 Remove unnecessary differntiation between HTML and text-only input 2022-07-27 11:03:33 +02:00
bsatarnejad 9690b3884b add ee banner for custom fields 2022-07-26 14:00:35 +02:00
Christophe Bliard bc8d423ec2 update copyright information for 2022 2022-03-01 17:05:59 +01:00
Benjamin Bädorf 3aaac1c7ce Rename most notification to toaster instances (#9765)
* Rename most notification to toaster instances

* Frontend builds

* Fix spec build

* Rename more notification elements to toaster

* Rename toaster-box to op-toast

* Fix op-toast-container

* Rename toasters upload progress

* Try fixing page.rb toaster check

* Fix some specs, break some others

* Correctly overwrite toast_type

* Fix more specs

* Fix one more notification to toaster rename

* Fix linting errors, harmonize naming more

* Remove byebug debugging statement

* Remove byebug debugging statement

* Rename notification in the backend, too

* Rename more instances of notifications to toastService

* Rename backend back to notification since bundle gems expect it there

* expect_toaster -> expect_toast

Co-authored-by: Henriette Darge <h.darge@openproject.com>
2021-11-04 16:25:55 +01:00
Henriette Darge a52105d970 Move "Create" button to toolbar on pages with rendered tabs. Thus the button is shown at the top and easily available. 2021-09-15 13:02:13 +02:00
Oliver Günther ccfa29c728 Move license and copyright docs to root, fix names and references 2021-09-02 21:50:46 +02:00
Benjamin Bädorf 87cd178270 Fixed more linting errors (#9452)
* Fixed more linting errors

* Update the selector of the focus directive to opFocus

* Update the selector and BEM class of the focus-within directive

* More linting fixes

* Remove unused directives, merge focus and autofocus directive, remove now empty a11y module

* Some small fixes

* Fix ReorderDeltaBuilder

* Fix failing specs, linting

* Fix a couple of linting errors

* Reenable linting rules for unsafe any

* Reset broken code, update some html coding style
2021-07-20 09:00:42 +00: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 27b41a313c replace custom i18n function in views 2020-09-15 07:23:59 +02:00
Henriette Dinger bd7f4e4814 Update copyright notice 2020-01-15 11:31:26 +01:00
Inga Mai edc3bcc613 Remaining Labels removed; titles for all buttons instead 2018-12-06 09:15:18 +01:00
Inga Mai de20d43ee3 Delete and edit icon texts in tables removed 2018-12-04 15:04:39 +01:00
Oliver Günther 166e00a185 [29034] Redirect to correct CF page with tab
https://community.openproject.com/wp/29034

[ci skip]
2018-11-19 14:50:16 +01:00
Oliver Günther 6ef4211e77 Bump copyright to 2018 (#6171)
[ci skip]
2018-02-12 08:51:12 +01:00
Wieland Lindenthal fd84c9277f Feature #25065 Guidance activating custom fields (#5525)
* Instructions for form configuration

* Improve wording and presentation of instructions

[ci skip]
2017-05-19 10:26:16 +02:00
Wieland Lindenthal fd1f14df73 Feature #25064 Custom Fields table: Remove sorting for work package CFs and link to types (#5503)
* CF table: Remove sorting for work package custom fields and add types that use that cf

* Optimize query

[ci skip]
2017-05-16 16:42:10 +02:00
Oliver Günther 4fe4fc4d85 Merge pull request #5457 from opf/fix/list_cf_export
[ci skip]
2017-05-09 13:18:52 +02:00
Jens Ulferts 84a4f4b73f fix specs 2017-05-08 13:35:16 +02:00
Jens Ulferts 9a347d7e83 move CustomFieldFormat to OpenProject namespace 2017-05-08 11:57:26 +02:00
Oliver Günther f8ea615334 Add icons helper to create an icon with aria-hidden 2017-05-08 07:39:21 +02:00
Jens Ulferts 32a3b0865b fix sorting of custom fields back url 2017-05-04 09:55:28 +02:00
Jens Ulferts ec41e10013 code prettification 2017-05-04 09:55:05 +02:00
Oliver Günther 8c8f4d329c Remove interactiv-table and background usages 2017-02-23 10:21:04 +01:00
Oliver Günther 7cf11bb689 Update copyright notice 2017-01-10 15:11:43 +01:00
Henriette Dinger 458071df19 Remove obselete info from add button 2016-09-15 16:42:57 +02:00
Oliver Günther b7040e0960 Remove role="grid" from tables
As described in https://community.openproject.org/work_packages/20429/activity#activity-19,
the role 'grid' effectively blocks impaired users from detecting input elements in
cells of those tables.
2016-01-06 14:05:06 +01:00
Henriette Dinger 84580b2e4a Use class 'generic-table--action-buttons' for correct styling of buttons under tables 2015-11-06 09:52:41 +01:00