summaryrefslogtreecommitdiffstats
path: root/lib/redmine/field_format.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
* Add an option to render Integer and Float custom fields with thousands ↵Go MAEDA2024-07-181-0/+1
| | | | | | | | | delimiters (#39997). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22935 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor ApplicationHelper#format_object to accept options as a hash (#39997).Go MAEDA2024-07-181-1/+1
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22933 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Key/value-pair custom field type not available to all customizable contents ↵Go MAEDA2024-05-161-0/+2
| | | | | | | | | (#27543). Patch by Felix Schäfer (@felix) and Takenori TAKAKI (@takenory). git-svn-id: https://svn.redmine.org/redmine/trunk@22834 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
* Support localized decimal separators for float values (#22024).Go MAEDA2024-01-041-1/+2
| | | | | | | Patch by Liane Hampe (@liane_hampe). git-svn-id: https://svn.redmine.org/redmine/trunk@22592 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rendering a custom field with a URL pattern set and containing " :" in the ↵Go MAEDA2023-04-211-5/+5
| | | | | | | | | value raises Addressable::URI::InvalidURIError (#38464). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22205 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ruby 2.7: Fix RuboCop offense Performance/MapCompact (#38134).Go MAEDA2023-01-171-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22055 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Performance/RedundantEqualityComparisonBlock (#38146).Go MAEDA2023-01-111-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22031 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
* Uses the new html sanitizer for links rendered by custom fields (#37750).Marius Balteanu2022-10-041-5/+7
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21901 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
* Fixes for Performance/StringIdentifierArgument introduced in RuboCop ↵Go MAEDA2021-12-291-2/+2
| | | | | | Performance 1.13.0 (#35142). git-svn-id: http://svn.redmine.org/redmine/trunk@21330 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
* Drag and drop file upload to file type custom field (#30776).Go MAEDA2021-01-131-1/+2
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@20712 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of lib/redmine/field_format.rbToshi MARUYAMA2020-12-091-21/+47
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20596 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of lib/redmine/field_format.rbToshi MARUYAMA2020-11-191-5/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20430 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use "do end" instead of {} at lib/redmine/field_format.rbToshi MARUYAMA2020-11-131-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20359 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of lib/redmine/field_format.rbToshi MARUYAMA2020-11-101-1/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20323 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
* Ruby 2.7: Remove deprecated URI.escape/unescape (#32752).Go MAEDA2020-01-231-5/+5
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19455 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up lib/redmine/field_format.rbToshi MARUYAMA2019-11-251-2/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19299 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Lint/ParenthesesAsGroupedExpression in ↵Toshi MARUYAMA2019-11-241-2/+2
| | | | | | lib/redmine/field_format.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19261 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in lib/redmine/field_format.rbToshi MARUYAMA2019-11-091-2/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19038 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "<< me >>" option to user format issue custom fields (#31444).Jean-Philippe Lang2019-06-201-1/+4
| | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18288 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
* Use Regexp#match? to reduce allocations of MatchData object (#28940).Go MAEDA2019-03-271-6/+6
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18011 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in lib/**/*.rb (#26561).Go MAEDA2019-03-171-1/+1
| | | | | | | Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17988 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for some files under app and lib directory ↵Go MAEDA2019-03-161-1/+1
| | | | | | (#26561). git-svn-id: http://svn.redmine.org/redmine/trunk@17977 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
* Missing validation for custom field formats based on RecordList (#29674).Jean-Philippe Lang2018-11-281-0/+10
| | | | | | Patch by Alexander Achenbach. git-svn-id: http://svn.redmine.org/redmine/trunk@17645 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Strip whitespace from integer custom field (#8317).Go MAEDA2018-11-081-1/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17625 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use find_by instead of where.first to remove unnecessary sorting (#26747).Go MAEDA2018-10-061-7/+7
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17586 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Dangerous query method deprecation warnings (#23630).Jean-Philippe Lang2018-06-231-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17411 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Links for custom field value don't have "external" class (#27024).Go MAEDA2018-01-011-2/+6
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17138 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-5.1 branch (#23630).Jean-Philippe Lang2017-07-231-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16859 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-4/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16574 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow to set multiple values in emails for list custom fields (#16549).Jean-Philippe Lang2017-03-081-10/+38
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16380 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts unwanted change (#24769).Jean-Philippe Lang2017-01-301-2/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16318 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show all members in user custom field filter on the cross project issue list ↵Jean-Philippe Lang2017-01-301-6/+4
| | | | | | (#24769). git-svn-id: http://svn.redmine.org/redmine/trunk@16310 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Raise the height of text custom fields.Jean-Philippe Lang2017-01-251-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16252 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Option for long text custom fields to be displayed under the description ↵Jean-Philippe Lang2017-01-251-1/+1
| | | | | | | | field (#21705). Based on patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16251 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Group versions by status in version custom field filter (#23265).Jean-Philippe Lang2017-01-141-5/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16194 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "me" value for logged users only.Jean-Philippe Lang2017-01-141-1/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16193 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't preload custom field filter values (#24787).Jean-Philippe Lang2017-01-121-1/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16173 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed left-over code comment.Jean-Philippe Lang2016-11-181-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15961 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Typo in class name (#24150).Jean-Philippe Lang2016-11-181-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15960 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't bulk edit file custom fields (#6719).Jean-Philippe Lang2016-10-231-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15923 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Option to specify allowed extensions for a file custom field (#6719).Jean-Philippe Lang2016-10-231-2/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15921 e93f8b46-1217-0410-a6f0-8f06a7374b81