- https://community.openproject.org/work_packages/58865
- show banner below form field selection, if
- hierarchy is selected AND
- enterprise token is not active
- disable submit button, if the enterprise banner is shown
- https://community.openproject.org/work_packages/57814
- add switch to display primer detail page only for custom
fields of type hierarchy
- add all relevant form elements
- remark: spacing is not correct yet and will be fixed for all primer
forms later
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
* ove reporting and reporting_engine js to frontend page
* Replace webhook assets javascript
* Add path augment service to dynamically load scripts
* Remove JS-Files that are not used/not needed any more
* Include AugmentingModule correctly
* Remove special handling for checkbox selection which is outdated and two jquery libs that are not used any more
* Load scripts dynamically that are not needed globally
* Move plugin JS to frontend
* Move toggable fieldsets to global listeners
* Move top-menu to global listeners and convert to TS
* Move action_menu to frontend and port to TS
* Move settings listener to frontend
* Remove global js assets that were not used anyway
* Move date range to timelog dynamic script where it's still used until removed
* Move colors to global-listeners and port to TS
* Replace tooltip with simple form instructions on the one place used
Tooltips were only used at the one place in our application, when changing a users password.
We can simply remove it there and use a modern solution the next time we need a tooltip
* Move danger zone validation to frontend and port to TS
* Move colorcontrast to backlogs vendor where it's used now
* Remove contents of application.js.erb
* Move project and user scripts to dynamically loaded
* Move onboarding tour to dynamically loaded
* Use correct syntax for jQuery so that $ is known keyword within this function
* Fix onboarding tour
* Fix onboarding tour for scrum tour
* Fix specs after moving JS
* Remove application.js.erb
* Move locales and ckeditor to the frontend to dynamically load
* Remove bundles caches
These are no longer being used since angular cli
* Ensure locales are exported before angular
Co-authored-by: Henriette Darge <h.darge@openproject.com>
* enforce having at least one custom option for a list cf
Removes the hand written nested attributes handling by accept_nested_attributes_for.
Removes the arbitrary boundary of having 500 custom options.
* i18n for custom option mgmt
[ci skip]
Lots of toolbars use the notation `<Foobar> >> <Subitem>`,
which did not have a helper yet and requires manually calling html_safe
all over the place.
This fixes it by adding a `breadcrumb_toolbar` helper that properly and
safely joins its components.
NOTE: This patch switches most buttons from `input[type=submit]` to
`button[type=submit]` (Rails' `button_tag` helper sets `[type=submit]`
by default).
This is a quick-fix: ideally, methods should be added to view helpers
/`TabularFormBuilder` that append the relevant modifier/icon classes.
Signed-off-by: Alex Coles <alex@alexbcoles.com>