summaryrefslogtreecommitdiffstats
path: root/app/helpers/custom_fields_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use anonymous block forwarding introduced in Ruby 3.1 (#38585).Go MAEDA2024-08-211-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22973 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/EmptyLinesAroundModuleBody, one of the offenses ↵Go MAEDA2024-08-121-1/+0
| | | | | | enabled in rubocop-rails-omakase (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22951 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor ApplicationHelper#format_object to accept options as a hash (#39997).Go MAEDA2024-07-181-2/+2
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22933 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove current year from source file copyright headers and update year in ↵Marius Balteanu2024-02-261-1/+1
| | | | | | footer to 2024 (#40043). git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/InverseMethods: Use `present?` instead of ↵Go MAEDA2023-03-251-1/+1
| | | | | | inverting `blank?` (#37248). git-svn-id: https://svn.redmine.org/redmine/trunk@22152 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show a custom field description as a placeholder (#14275).Go MAEDA2022-03-171-0/+3
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21460 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use a variable to reference a CustomField object (#14275).Go MAEDA2022-03-171-5/+6
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21459 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add class 'error' to custom fields with validation errors (#32764, #34580).Go MAEDA2021-01-111-1/+2
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20710 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Store inline autocomplete data sources in a JS variable (#34122).Go MAEDA2020-10-251-5/+3
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20191 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace Hash#merge! with Hash#[]= (#34160).Go MAEDA2020-10-241-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20175 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of CustomFieldsHelperToshi MARUYAMA2020-09-211-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20061 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix issue inline auto complete in issues bulk edit page for custom fields ↵Go MAEDA2020-04-111-1/+7
| | | | | | | | | with text formatting enabled (#33255). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19693 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show toolbar for full width custom fields with text formatting enabled on ↵Go MAEDA2020-04-111-1/+5
| | | | | | | | | issues bulk edit page (#32471). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19691 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unify CSS classes for custom fields in issue#show, issue#edit and ↵Go MAEDA2020-04-111-2/+2
| | | | | | | | | issue#bulk_edit (#32471). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19690 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unable to edit user or group that has custom fields with text formatting ↵Go MAEDA2020-03-241-1/+1
| | | | | | | | | enabled (#33183). Patch by Go MAEDA and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19613 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in ↵Toshi MARUYAMA2019-11-091-8/+9
| | | | | | app/helpers/custom_fields_helper.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18991 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Inline auto complete for issue (#) in wiki-edit fields (#31989).Go MAEDA2019-09-091-2/+10
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18444 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set an appropriate default type in New custom field page depending on the ↵Go MAEDA2019-05-111-0/+11
| | | | | | | | | current tab (#31320). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18156 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in app/**/*.rb (#26561).Go MAEDA2019-03-171-3/+3
| | | | | | | Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17987 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unnecessary encoding magic comment (#31034).Go MAEDA2019-03-161-2/+0
| | | | | | | | | The default script encoding is UTF-8 in Ruby 2.0 or later. Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17976 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor custom field value tag for custom fields with full text formatting ↵Go MAEDA2019-02-121-0/+11
| | | | | | | | | enabled (#29712). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17859 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show Edit/Preview tabs for full width layout custom fields with text ↵Go MAEDA2019-02-121-3/+6
| | | | | | | | | formatting enabled (#29712). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17858 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cusotom field label should not be associated to the first input (#25760).Jean-Philippe Lang2017-05-271-2/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16574 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Helper method for custom field title.Jean-Philippe Lang2015-10-251-0/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14751 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Help cursor showing up on span tags with title (#20633).Jean-Philippe Lang2015-09-121-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14552 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include custom fields description in project settings and issue view (#19296).Jean-Philippe Lang2015-03-211-2/+7
| | | | | | Patch by Sebastian Paluch. git-svn-id: http://svn.redmine.org/redmine/trunk@14154 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds custom fields to documents (#7249).Jean-Philippe Lang2015-02-141-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14004 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Custom field is rendered, even if its value is empty (for multiple) ↵Jean-Philippe Lang2015-01-101-0/+11
| | | | | | (#18654). git-svn-id: http://svn.redmine.org/redmine/trunk@13864 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Option to render boolean custom fields as a single check box or radio ↵Jean-Philippe Lang2014-07-051-2/+6
| | | | | | buttons (#17003). git-svn-id: http://svn.redmine.org/redmine/trunk@13216 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show tabs for existing custom field types only and adds a view for choosing ↵Jean-Philippe Lang2014-02-071-2/+7
| | | | | | the type when adding a new custom field. git-svn-id: http://svn.redmine.org/redmine/trunk@12849 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged custom fields format refactoring.Jean-Philippe Lang2013-12-141-87/+44
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12400 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allows user to clear dates and text fields when bulk editing issues (#2199).Jean-Philippe Lang2013-09-301-3/+15
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12192 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved CUSTOM_FIELDS_TABS out of the model.Jean-Philippe Lang2013-08-041-1/+22
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12077 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed test broken by r11787 (#13943).Jean-Philippe Lang2013-05-041-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11789 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Preserve field values on bulk edit failure (#13943).Jean-Philippe Lang2013-05-041-6/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11787 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing tab from app/helpers/custom_fields_helper.rbToshi MARUYAMA2013-02-171-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11414 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* move CustomFieldsHelper tabs variable to model constant for common use (#12018)Toshi MARUYAMA2012-10-041-10/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10554 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Workflow enhancement: editable and required fields configurable by role, ↵Jean-Philippe Lang2012-07-151-5/+7
| | | | | | tracker and status (#703, #3521). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes custom_field_tag helper broken by r9682.Jean-Philippe Lang2012-05-131-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9686 e93f8b46-1217-0410-a6f0-8f06a7374b81