summaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
...
* Issues in paginated views may be lost because sorting criteria are not ↵Jean-Philippe Lang2019-06-202-0/+29
| | | | | | | | unique (#29581). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18263 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update Rouge to 3.4.1 (#31556).Go MAEDA2019-06-161-1/+1
| | | | | | | Patch by Marius BALTEANU and Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18258 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issue subject may be broken if the subject field is split into multiple ↵Jean-Philippe Lang2019-06-101-0/+11
| | | | | | | | lines (#31365). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18245 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "Undefined local variable sender_email" error in ↵Go MAEDA2019-06-101-0/+11
| | | | | | | | | MailHandler#receive_message_reply when receiving a reply to a locked topic (#31503). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18239 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove trailing whitespaces from test (#31506).Go MAEDA2019-06-068-34/+34
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18233 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing frozen string literals and copyrights (#31508).Go MAEDA2019-06-042-0/+38
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18225 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support "YYYY/MM/DD" date format when importing issues (#31450).Go MAEDA2019-05-301-0/+9
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18205 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-25128-128/+128
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't rescue Exception class (#31387).Go MAEDA2019-05-255-7/+7
| | | | | | | Patch by Go MAEDA and Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* MailerTest fails depending on the time (#31225).Go MAEDA2019-05-221-4/+9
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18190 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds favorites and recently used projects lists to project jump box (#31355).Go MAEDA2019-05-201-0/+126
| | | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@18181 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Small refactorization of avatar methods (#31391).Go MAEDA2019-05-191-0/+2
| | | | | | | | | | | | | * move existing methods from ApplicationHelper to a new helper file (AvatarsHelper) * change default avatar size from 50 to 24 because most of the avatars are using the size 24 * class 'gravatar' is always added and all custom classes are appended * added user name as default title for avatar images * added two new methods: @assignee_avatar@ and @author_avatar@ Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18175 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show the number of days left until the due date in reminders (#31225).Go MAEDA2019-05-191-9/+9
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18174 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show selected columns in gantt chart (#27672).Go MAEDA2019-05-161-0/+26
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18171 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test for r18158 (#22481).Go MAEDA2019-05-121-5/+16
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18159 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allows setting the private flag via mail keyword (#31324).Go MAEDA2019-05-091-0/+15
| | | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@18150 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Import time entries (#28234).Go MAEDA2019-05-091-0/+136
| | | | | | | Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@18146 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Generalize issues imports (#28234).Go MAEDA2019-05-091-0/+6
| | | | | | | | | Extend import controller to support arbitrary imports based on Import subclasses. This way, we may add other kinds of imports, by providing some views and a custom import class. This may also be done from within plugins. Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@18145 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix tests to test Mailer.deliver_issue_edit instead of ↵Go MAEDA2019-05-061-6/+10
| | | | | | | | | Mailer.deliver_issue_add (#13111, #31065). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18134 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup: remove a unused variable last_rev_author from ↵Go MAEDA2019-05-061-1/+0
| | | | | | test_last_rev_with_spaces_in_filename. git-svn-id: http://svn.redmine.org/redmine/trunk@18133 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Attachment preview does not work for some source files such as JavaScript ↵Go MAEDA2019-05-042-0/+29
| | | | | | | | | and Go (#29259). Patch by Go MAEDA with the help of Stephan Wenzel's contribution. git-svn-id: http://svn.redmine.org/redmine/trunk@18122 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Redmine::SyntaxHighlighting.highlight_by_filename may not be able to ↵Go MAEDA2019-05-031-0/+53
| | | | | | | | | determine the language by filename alone (#31285). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18118 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issue filtering by spent time (#26826).Go MAEDA2019-04-301-1/+20
| | | | | | | Patch by Tobias Umbach and Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@18112 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source code indents in GitAdapterTestToshi MARUYAMA2019-04-301-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18111 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changes Query#as_params for more complete serialization (#31276).Go MAEDA2019-04-301-0/+15
| | | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@18103 e93f8b46-1217-0410-a6f0-8f06a7374b81
* New Permission: Edit own issue (#1248).Go MAEDA2019-04-251-0/+17
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18081 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Raise an exception if the plugin directory name differs from the plugin id ↵Go MAEDA2019-04-191-0/+8
| | | | | | | | | (#31110). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18064 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix plugins test to use correct plugin name and directory (#31110).Go MAEDA2019-04-191-26/+29
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@18063 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show the total number of open issues in a reminder (#31104).Go MAEDA2019-04-181-1/+10
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18061 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't raise an exception when the emission email address is not RFC ↵Go MAEDA2019-04-081-0/+12
| | | | | | | | | compliant (#5913). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18050 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: fix non ascii branch and tag browsing (#16881)Toshi MARUYAMA2019-04-051-0/+64
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18042 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code clean up GitAdapterTestToshi MARUYAMA2019-04-051-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18041 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: add new one latin1 tag to test repository (#16881)Toshi MARUYAMA2019-04-051-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18040 e93f8b46-1217-0410-a6f0-8f06a7374b81
* scm: git: add new two latin1 branches to test repository (#16881)Toshi MARUYAMA2019-04-052-5/+15
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18039 e93f8b46-1217-0410-a6f0-8f06a7374b81
* 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