summaryrefslogtreecommitdiffstats
path: root/test/unit/lib/redmine/field_format
Commit message (Collapse)AuthorAgeFilesLines
* Merged r23391 from trunk to 5.1-stable (#41961).Go MAEDA2024-12-124-21/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@23405 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22746 from trunk to 5.1-stable (#40043).Marius Balteanu2024-02-2710-10/+10
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22755 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rendering a custom field with a URL pattern set and containing " :" in the ↵Go MAEDA2023-04-211-0/+8
| | | | | | | | | 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
* Use `require_relative` instead of `require File.expand_path(..., __FILE__)` ↵Go MAEDA2023-01-0110-10/+10
| | | | | | | | | (#38093). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-0110-10/+10
| | | | 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-044-14/+14
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21901 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Explicitly specify text formatting in the tests (#35952).Marius Balteanu2022-01-221-4/+8
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21386 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-0210-10/+10
| | | | 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-2510-10/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of ↵Toshi MARUYAMA2020-12-091-11/+26
| | | | | | test/unit/lib/redmine/field_format/version_field_format_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20594 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add space after comma to test/unit/lib/redmine/field_format/list_format_test.rbToshi MARUYAMA2020-11-041-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20245 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-0310-10/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in ↵Toshi MARUYAMA2019-11-231-1/+3
| | | | | | test/unit/lib/redmine/field_format/version_field_format_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19186 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing fixtures in AttachmentFormatVisibilityTest (#31705).Go MAEDA2019-07-121-0/+1
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18327 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test failure (#31444).Jean-Philippe Lang2019-06-201-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18302 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "<< me >>" option to user format issue custom fields (#31444).Jean-Philippe Lang2019-06-201-0/+8
| | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18288 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove trailing whitespaces from test (#31506).Go MAEDA2019-06-061-1/+1
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18233 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-2510-10/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in test/**/*.rb (#26561).Go MAEDA2019-03-213-3/+3
| | | | | | | Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17996 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for some files under test directory (#26561).Go MAEDA2019-03-167-7/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-1510-35/+55
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing fixtures to several tests (#30276).Go MAEDA2019-01-091-1/+2
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17780 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set User.current to nil before unit tests.Jean-Philippe Lang2018-12-168-0/+18
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17761 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test failure.Jean-Philippe Lang2018-12-161-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17759 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test failure.Jean-Philippe Lang2018-12-151-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17737 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Tests failure with SQLite3.Jean-Philippe Lang2018-12-011-1/+2
| | | | | | ActiveRecord::RecordNotUnique: SQLite3::ConstraintException: UNIQUE constraint failed: custom_fields_trackers.custom_field_id, custom_fields_trackers.tracker_id: INSERT INTO "custom_fields_trackers" ("custom_field_id", "tracker_id") VALUES (?, ?) git-svn-id: http://svn.redmine.org/redmine/trunk@17675 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Tests for #29674.Jean-Philippe Lang2018-11-283-0/+39
| | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@17646 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unable to download file if custom field is not defined as visible to any ↵Jean-Philippe Lang2018-01-081-0/+59
| | | | | | users (#26705). git-svn-id: http://svn.redmine.org/redmine/trunk@17158 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Links for custom field value don't have "external" class (#27024).Go MAEDA2018-01-014-14/+14
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17138 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-259-9/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow to set multiple values in emails for list custom fields (#16549).Jean-Philippe Lang2017-03-083-0/+47
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16380 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test failures.Jean-Philippe Lang2017-03-031-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16359 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Group versions by status in version custom field filter (#23265).Jean-Philippe Lang2017-01-141-2/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16194 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't preload custom field filter values (#24787).Jean-Philippe Lang2017-01-121-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16173 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds file custom field format (#6719).Jean-Philippe Lang2016-10-231-0/+163
| | | | 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-0/+16
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Custom field List Link values to URL breaks on entries with spaces (#23067).Jean-Philippe Lang2016-06-181-0/+8
| | | | 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-0/+9
| | | | | | | | 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-0/+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-0/+4
| | | | | | | | EnumerationFormat#value_from_keyword (#22911). Patch by Haihan Ji. git-svn-id: http://svn.redmine.org/redmine/trunk@15429 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-138-8/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set locale in tests (#21060).Jean-Philippe Lang2015-10-251-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14748 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds Enumeration custom field format (#21060).Jean-Philippe Lang2015-10-251-0/+86
| | | | | | 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
* Display all versions in query filter (#19271).Jean-Philippe Lang2015-09-261-0/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14623 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-117-7/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Quote values in DOM selectors for Nokogiri compatibility.Jean-Philippe Lang2014-11-202-5/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13619 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixtures to Redmine::VersionFieldFormatTestToshi MARUYAMA2014-09-121-1/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13385 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixtures to Redmine::UserFieldFormatTestToshi MARUYAMA2014-09-121-1/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13379 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Option to render boolean custom fields as a single check box or radio ↵Jean-Philippe Lang2014-07-051-0/+63
| | | | | | buttons (#17003). git-svn-id: http://svn.redmine.org/redmine/trunk@13216 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: unable to clear value for list custom field with multiple values and ↵Jean-Philippe Lang2014-05-241-0/+12
| | | | | | checkboxes style (#16798). git-svn-id: http://svn.redmine.org/redmine/trunk@13167 e93f8b46-1217-0410-a6f0-8f06a7374b81