summaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
...
* Render mentioned users with leading @ and highlight (#36699, #13919).Marius Balteanu2022-03-191-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21468 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Deprecate and rename rss_* methods to atom_* methods (#15118).Marius Balteanu2022-03-191-7/+7
| | | | | | | Patch by Mischa The Evil and Marius BĂLTEANU git-svn-id: http://svn.redmine.org/redmine/trunk@21467 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Comments for Textile text formatting (#20511).Go MAEDA2022-03-171-0/+32
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21457 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add habtm relation between roles and queries_roles (#36416).Marius Balteanu2022-02-281-0/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21444 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Destroy overridden time entry activities and rows from the habtm join table ↵Marius Balteanu2022-02-241-0/+10
| | | | | | | | | | @queries_roles@ on project deletion (#36416). Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@21437 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow users to be mentioned using @ in issues and wiki pages (#13919):Marius Balteanu2022-02-233-0/+229
| | | | | | | | | | * the user must have add watchers permission on that object in order to mention other users * mentioned user will receive a notification email * only visible users who can view the object can be mentioned git-svn-id: http://svn.redmine.org/redmine/trunk@21435 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix import with issue relations and invalid issues hangs without any error ↵Marius Balteanu2022-02-201-0/+22
| | | | | | message in UI (#35656). git-svn-id: http://svn.redmine.org/redmine/trunk@21422 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Explicitly specify text formatting in the tests (#35952).Marius Balteanu2022-01-223-128/+191
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21386 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable task list items for Common Mark text formatting (#35742).Marius Balteanu2022-01-221-0/+21
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21383 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that I18nTest#test_custom_pluralization_rules randomly fails (#36396, ↵Go MAEDA2022-01-221-1/+3
| | | | | | | | | #36461). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21382 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Custom I18n Pluralization rules are not applied correctly (#36396).Go MAEDA2022-01-151-0/+9
| | | | | | | Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21365 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Restore the value of Setting.cross_project_issue_relations to prevent random ↵Go MAEDA2022-01-131-27/+27
| | | | | | | | | test failures (#36361). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21363 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change the default value for "Time span format" from "decimal" to "minutes" ↵Go MAEDA2022-01-082-2/+2
| | | | | | (#36391). git-svn-id: http://svn.redmine.org/redmine/trunk@21355 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix wrong variable name in Import#set_default_settings (#34718).Go MAEDA2022-01-071-0/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21354 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Auto guess file encoding when importing CSV file (#34718).Go MAEDA2022-01-072-0/+44
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21352 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-02143-143/+143
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes for Performance/StringIdentifierArgument introduced in RuboCop ↵Go MAEDA2021-12-294-8/+8
| | | | | | Performance 1.13.0 (#35142). git-svn-id: http://svn.redmine.org/redmine/trunk@21330 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use File.exist? instead of deprecated File.exists? (#36358).Go MAEDA2021-12-272-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21327 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes for Style/FileWrite offense introduced in RuboCop 1.24.0 (#35136).Go MAEDA2021-12-241-3/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21322 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Saving time tracking activities without any change may turn a system ↵Go MAEDA2021-12-211-3/+26
| | | | | | | | | activity into a project activity (#36318). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21319 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Lazy load inline images (#36294).Go MAEDA2021-12-141-1/+1
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@21313 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Drop OpenID support (#35755).Go MAEDA2021-12-141-33/+0
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21312 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix test failure due to r21309 (#13099).Go MAEDA2021-12-131-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21311 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include an authentication method name in LDAP connection error messages ↵Go MAEDA2021-12-131-2/+4
| | | | | | | | | (#33345). Contributed by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21310 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix redmine:plugins:assets rake task fails (#36287, #32938).Go MAEDA2021-12-081-0/+14
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@21300 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix plugin assets are no longer copied under plugin name (#36218, #29914, ↵Marius Balteanu2021-11-251-0/+47
| | | | | | #32938). git-svn-id: http://svn.redmine.org/redmine/trunk@21295 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Download all attachments in a journal (#35462).Go MAEDA2021-11-221-0/+14
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@21292 e93f8b46-1217-0410-a6f0-8f06a7374b81
* You can configure default project queries in the following places (#35795):Marius Balteanu2021-11-151-1/+36
| | | | | | | * App-level: Administration > Projects > Default query (Projects list defaults section) * User-level: My account > Default project query git-svn-id: http://svn.redmine.org/redmine/trunk@21281 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing fixtures to UserTest (#35975).Go MAEDA2021-11-111-1/+2
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21277 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix typo in class 'icon-expended' (#36149).Marius Balteanu2021-11-081-3/+3
| | | | | | Patch by Bernhard Rohloff. git-svn-id: http://svn.redmine.org/redmine/trunk@21275 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow addition/removal of subtasks to show in parent's history (#6033).Go MAEDA2021-11-083-26/+68
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21273 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add tests for #35764.Marius Balteanu2021-10-052-0/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21239 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Tokenize search parameter in order to allow multiple search terms in:Marius Balteanu2021-10-051-0/+27
| | | | | | | | | * the "contains" operator of text filters * in issue autocomplete Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use sanitize_sql_like in Query#sql_contains (#35073).Marius Balteanu2021-10-031-0/+15
| | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21232 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use sanitize_sql_like in like scopes (#35073).Marius Balteanu2021-10-034-0/+64
| | | | | | Patch Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21231 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use sanitize_sql_like on search tokens (#35073).Marius Balteanu2021-10-031-0/+24
| | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21230 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes '%' signs from test strings in search test (#35073).Marius Balteanu2021-10-031-3/+3
| | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21229 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove references to deleted user from "user"-Format CustomFields when ↵Marius Balteanu2021-09-061-0/+35
| | | | | | | | destroying an user (#32977). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21207 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't unlink files before closing them (#35539, #35721).Go MAEDA2021-08-181-4/+8
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@21194 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unify code block and add "data-language" attribute with the user-supplied ↵Marius Balteanu2021-08-152-9/+35
| | | | | | | | language for Textile and Markdown formaters (#35104). Patch by Martin Cizek. git-svn-id: http://svn.redmine.org/redmine/trunk@21183 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "data-language" attribute to code block with the user-supplied language ↵Marius Balteanu2021-08-152-15/+36
| | | | | | | | for CommonMark formater (#35104, #32424). Patch by Martin Cizek. git-svn-id: http://svn.redmine.org/redmine/trunk@21182 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update failing test after hardbreaks enabled by default (#35754, #32424).Marius Balteanu2021-08-151-2/+2
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21177 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed failing test on CommonMark by striping the trailing whitespace ↵Marius Balteanu2021-08-111-1/+1
| | | | | | returned by the footnote (#32424). git-svn-id: http://svn.redmine.org/redmine/trunk@21164 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed Layout/HeredocIndentation: Use 2 spaces for indentation in a heredoc ↵Marius Balteanu2021-08-111-11/+11
| | | | | | by using <<~ instead of <<- (#32424). git-svn-id: http://svn.redmine.org/redmine/trunk@21163 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Relax allowed protocols in links by denying specific protocols for ↵Marius Balteanu2021-08-112-5/+60
| | | | | | | | CommonMark text formatting (#32424). Patch by Martin Cizek. git-svn-id: http://svn.redmine.org/redmine/trunk@21161 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds CommonMark Markdown (GitHub Flavored) as third text formatting option ↵Marius Balteanu2021-08-117-0/+755
| | | | | | | | (#32424). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21156 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing fixtures to Redmine::ProjectJumpBoxTest (#35727).Go MAEDA2021-08-101-1/+1
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21147 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unused setting 'Blind carbon copy recipients (bcc)' (#30820).Marius Balteanu2021-08-012-15/+15
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21130 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unnecessary comments (#35606).Go MAEDA2021-07-281-3/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21099 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Locked users should not be displayed in the members box of the project ↵Go MAEDA2021-07-271-0/+10
| | | | | | | | | overview page (#35606). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@21090 e93f8b46-1217-0410-a6f0-8f06a7374b81