summaryrefslogtreecommitdiffstats
path: root/lib/redmine/field_format.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Adds file custom field format (#6719).Jean-Philippe Lang2016-10-231-0/+129
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15917 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Encode values, not full URL (#23841).Jean-Philippe Lang2016-10-011-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes calls to #assert_template and #assigns in functional tests.Jean-Philippe Lang2016-07-181-0/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15695 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes spent time queries savable (#14790).Jean-Philippe Lang2016-07-121-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15639 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Custom field List Link values to URL breaks on entries with spaces (#23067).Jean-Philippe Lang2016-06-181-1/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15539 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow global versions to be shown outside of a project for version custom ↵Jean-Philippe Lang2016-06-181-7/+14
| | | | | | | | fields (#23083). Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@15536 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Limits the schemes that custom field URL patterns can use (#22925).Jean-Philippe Lang2016-06-011-2/+15
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15435 e93f8b46-1217-0410-a6f0-8f06a7374b81
* NoMethodError: undefined method `id' error on ↵Jean-Philippe Lang2016-05-281-1/+1
| | | | | | | | EnumerationFormat#value_from_keyword (#22911). Patch by Haihan Ji. git-svn-id: http://svn.redmine.org/redmine/trunk@15429 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use HTML5 date input fields instead of text fields with jquery ui date ↵Jean-Philippe Lang2016-05-071-2/+2
| | | | | | | | pickers (#19468). Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15375 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Hide custom field link values from being shown when value is empty (#21944).Jean-Philippe Lang2016-03-151-1/+1
| | | | | | Patch by Anders Thomsen. git-svn-id: http://svn.redmine.org/redmine/trunk@15250 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
* Moved custom fields totals logic to FieldFormat (#21413).Jean-Philippe Lang2015-12-051-0/+21
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14944 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds Enumeration custom field format (#21060).Jean-Philippe Lang2015-10-251-2/+27
| | | | | | Similar to List format but stores possible values as records. git-svn-id: http://svn.redmine.org/redmine/trunk@14745 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Truncates link custom field URL for display (#21012).Jean-Philippe Lang2015-10-211-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14716 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display all versions in query filter (#19271).Jean-Philippe Lang2015-09-261-9/+24
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14623 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use same logic for finding user as a custom field (#950).Jean-Philippe Lang2015-08-151-2/+28
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14503 e93f8b46-1217-0410-a6f0-8f06a7374b81