summaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
* code clean up RepositoryGitTest for test repository updateToshi MARUYAMA2019-04-041-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18036 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that deleting a version silently deletes its attachments (#31087).Go MAEDA2019-03-261-0/+7
| | | | | | | Patch by Karel Pičman and Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@18008 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in test/**/*.rb (#26561).Go MAEDA2019-03-2131-31/+31
| | | | | | | Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17996 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use #b shortcut instead of #force_encoding (#31059).Go MAEDA2019-03-206-20/+20
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17992 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Decode hexadecimal-encoded literals in order to be frozen string literals ↵Go MAEDA2019-03-1922-156/+99
| | | | | | | | | friendly (#31004). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17991 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for some files under test directory (#26561).Go MAEDA2019-03-1696-96/+96
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unnecessary encoding magic comment (#31034).Go MAEDA2019-03-1613-25/+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
* Show recent documents first (#29725).Jean-Philippe Lang2019-03-151-1/+1
| | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17972 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add a description for trackers (#442).Jean-Philippe Lang2019-03-151-0/+6
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17970 e93f8b46-1217-0410-a6f0-8f06a7374b81
* PluginRequirementError is now raised instead of PluginNotFound (#31030).Jean-Philippe Lang2019-03-151-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17966 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-15127-72/+326
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix the test (#4502).Go MAEDA2019-03-131-2/+6
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17942 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r17891 (#30099).Go MAEDA2019-03-101-12/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17939 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow collapse/expand in gantt chart (#6417).Go MAEDA2019-03-051-5/+8
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17929 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issue emails cannot be threaded by some mailers due to inconsistent ↵Go MAEDA2019-03-041-10/+20
| | | | | | | | | Message-ID and References field (#17096). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17927 e93f8b46-1217-0410-a6f0-8f06a7374b81
* "View all issues" link in email reminders points to issues list which does ↵Go MAEDA2019-03-031-0/+5
| | | | | | | | | not include issues assigned to a group (#30955). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17918 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test for r17914 (#17699).Go MAEDA2019-03-031-0/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17915 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Option to parse HTML part of multipart (HTML) emails first (#30838).Go MAEDA2019-03-031-0/+11
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17913 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Multiple issue ids in "Subtasks" filter (#30808).Go MAEDA2019-02-281-0/+10
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17908 e93f8b46-1217-0410-a6f0-8f06a7374b81
* New setting to include the status changes in issue mail notifications ↵Go MAEDA2019-02-281-0/+44
| | | | | | | | | subject (#13111). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17907 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Multiple blank lines in pre tags are not preserved in Textile (#30099).Go MAEDA2019-02-201-0/+12
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@17891 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Daylight savings causes inconsistency of Message-Id (#13888).Go MAEDA2019-02-191-0/+11
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17890 e93f8b46-1217-0410-a6f0-8f06a7374b81
* "rake db:fixtures:load" does not work (#30811).Go MAEDA2019-02-191-5/+5
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@17889 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mail handler does not ignore emails sent from emission email address if ↵Go MAEDA2019-02-181-7/+16
| | | | | | | | | Setting.mail_from includes display name (#30785). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17879 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r17862.Go MAEDA2019-02-181-17/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17878 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test that List-Id header field does not include display name and extra angle ↵Go MAEDA2019-02-161-2/+5
| | | | | | | | | brackets (#14792). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17873 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show author's name in the From field of email notifications (#5913).Go MAEDA2019-02-151-0/+19
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17870 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ensure that the current language is 'en' in the test (#30718).Go MAEDA2019-02-151-0/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17868 e93f8b46-1217-0410-a6f0-8f06a7374b81
* TimeEntryTest#test_create_should_validate_user_id occasionally fails (#30806).Go MAEDA2019-02-141-0/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17867 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix: Mail handler does not ignore emails sent from emission email address if ↵Go MAEDA2019-02-121-0/+17
| | | | | | | | | Setting.mail_from includes display name (#30785). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17862 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show Edit/Preview tabs for full width layout custom fields with text ↵Go MAEDA2019-02-121-0/+8
| | | | | | | | | formatting enabled (#29712). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17858 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes sure the generated thumbnail is always of at least the requested size ↵Go MAEDA2019-02-051-0/+18
| | | | | | | | | (#13688). Patch by Jens Krämer and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17850 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Multiple issue ids in "Parent task" filter (#30482).Go MAEDA2019-02-011-0/+10
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17843 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Start date and due date in email notifications (#13307).Go MAEDA2019-01-251-1/+3
| | | | | | | Patch by Senya Senya. git-svn-id: http://svn.redmine.org/redmine/trunk@17840 e93f8b46-1217-0410-a6f0-8f06a7374b81
* New date filter operators: tomorrow, next week, next month (#4502).Go MAEDA2019-01-191-1/+43
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17811 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Import UTF-8 issue CSV files with BOM and quoted strings (#30412).Go MAEDA2019-01-121-0/+9
| | | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@17786 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Redmine::WikiFormattingTest#test_links_separated_with_line_break_should_link ↵Go MAEDA2019-01-101-0/+1
| | | | | | | | | tests nothing (#30347). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17785 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove trailing whitespaces from test/unit/lib/redmine/wiki_formatting_test.rbGo MAEDA2019-01-101-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17784 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing fixtures to several tests (#30276).Go MAEDA2019-01-095-5/+8
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17780 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test for r17763 (#30171).Go MAEDA2018-12-171-2/+3
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17764 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set User.current to nil before unit tests.Jean-Philippe Lang2018-12-1663-0/+146
| | | | 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-161-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17758 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a permission to log time for another user (#3848).Jean-Philippe Lang2018-12-162-2/+22
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17755 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Clear thumbnails directory to prevent test failure.Jean-Philippe Lang2018-12-161-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17752 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test failure.Jean-Philippe Lang2018-12-161-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17741 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
* Deletes thumbnails when the attachment diskfile is deleted (#30177).Go MAEDA2018-12-151-0/+15
| | | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@17736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allows re-use of thumbnails for identical attachments (#30177).Go MAEDA2018-12-151-1/+23
| | | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@17735 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed instance variables that are no longer used after r17727 (#30163).Jean-Philippe Lang2018-12-131-10/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17733 e93f8b46-1217-0410-a6f0-8f06a7374b81