summaryrefslogtreecommitdiffstats
path: root/test/unit/lib/redmine
Commit message (Collapse)AuthorAgeFilesLines
...
* rubocop: fix Layout/BlockAlignment of ↵Toshi MARUYAMA2019-08-041-1/+2
| | | | | | test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18343 e93f8b46-1217-0410-a6f0-8f06a7374b81
* rubocop: fix Layout/CaseIndentation of ↵Toshi MARUYAMA2019-08-031-2/+2
| | | | | | test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18338 e93f8b46-1217-0410-a6f0-8f06a7374b81
* rubocop: fix Layout/AlignArray of ↵Toshi MARUYAMA2019-07-291-1/+1
| | | | | | test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18332 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
* Issue macro for flexible linking to issues (#29489).Jean-Philippe Lang2019-06-201-0/+10
| | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@18297 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
* Text may unexpectedly be enclosed in pre tags when an issue is created via ↵Jean-Philippe Lang2019-06-201-0/+12
| | | | | | | | HTML email (#31232). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18268 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
* 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-041-0/+19
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18225 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-2556-56/+56
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 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 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
* 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-041-0/+12
| | | | | | | | | 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
* 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
* 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
* 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-051-4/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18039 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in test/**/*.rb (#26561).Go MAEDA2019-03-2114-14/+14
| | | | | | | 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-203-12/+12
| | | | | | | 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-197-72/+48
| | | | | | | | | 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-1641-41/+41
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unnecessary encoding magic comment (#31034).Go MAEDA2019-03-161-1/+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
* 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-1555-72/+182
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 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
* 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
* "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
* 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-091-1/+2
| | | | | | | 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-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
* Adds a permission to log time for another user (#3848).Jean-Philippe Lang2018-12-161-1/+3
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17755 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
* REST API with JSON content missing false values (#20788).Jean-Philippe Lang2018-11-281-0/+9
| | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17643 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Tags start with 'pre' are handled as 'pre' tag in Textile (#8395).Go MAEDA2018-11-261-0/+16
| | | | | | | Patch by Takenori TAKAKI and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17636 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes request and response accessors from Structure class (#28564).Go MAEDA2018-11-031-0/+11
| | | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@17617 e93f8b46-1217-0410-a6f0-8f06a7374b81
* \f or \v character in Textile markup may cause RegexpError exception (#29756).Go MAEDA2018-10-281-0/+6
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17603 e93f8b46-1217-0410-a6f0-8f06a7374b81