Commit Graph

25 Commits

Author SHA1 Message Date
Go MAEDA
e70c283a22 Remove unnecessary encoding magic comment (#31034).
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
2019-03-16 06:26:33 +00:00
Jean-Philippe Lang
ccda34cac6 Display user's groups on profile (#12796).
Only for admins or when viewing its own profile.

git-svn-id: http://svn.redmine.org/redmine/trunk@17973 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 11:49:51 +00:00
Go MAEDA
5861160ffc Add "frozen_string_literal: false" for all files (#26561).
This will be changed to true in the future.


git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Go MAEDA
193b02567b URLs end with "-" are rendered incorrectly in Textile (#30259).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-03 15:18:04 +00:00
Go MAEDA
0a23eabdce Cannot make cross-project wiki link if the project name includes square brackets (#30256).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-27 23:44:16 +00:00
Go MAEDA
f4b2c1a0d3 Line height is too large when previewing files with syntax highlighting if the line terminators are CRLF (#30434).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-03 22:34:08 +00:00
Jean-Philippe Lang
eb1e6d8c26 Syntax highlighter: replace CodeRay with Rouge (#24681).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-29 06:57:40 +00:00
Jean-Philippe Lang
5282a45b9b Link to user in wiki syntax only works when login is written in lower case (#26892).
Patch by Marius BALTEANU and Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17516 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 14:55:35 +00:00
Jean-Philippe Lang
e501cb3481 Special character like quote breaks wiki links (#22967).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-15 09:11:13 +00:00
Go MAEDA
60ee5e109e Adds ##123 extended issue linking syntax (#29488).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@17478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-08 06:43:13 +00:00
Go MAEDA
12b37ae754 Remove filename from attachment preview links (#27822).
Patch by Felix Schäfer and Gregor Schmidt.


git-svn-id: http://svn.redmine.org/redmine/trunk@17440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-09 14:29:38 +00:00
Go MAEDA
cb5fce0442 Adds link to container to attachment view (#29190).
Patch by Gregor Schmidt.


git-svn-id: http://svn.redmine.org/redmine/trunk@17435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-07-08 00:27:58 +00:00
Jean-Philippe Lang
f748296121 Image filename for HDPI monitors (image@2x.jpg) are misrecognized as email address (#27968).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17394 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-17 06:00:21 +00:00
Jean-Philippe Lang
b1b89ff0ac "attachment:filename" link syntax would not work if the file name contains "@" (#26507).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17393 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-17 05:57:39 +00:00
Jean-Philippe Lang
270b6c4d7e User link syntax (user:login) doesn't work for logins consisting of an email adress (#26443).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17392 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-17 05:45:17 +00:00
Jean-Philippe Lang
4137ba8e81 Removes repository routes without repository_id (#26522).
git-svn-id: http://svn.redmine.org/redmine/trunk@17386 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-16 14:27:51 +00:00
Go MAEDA
e7c4970b94 Rails 5.2: image_tag no longer generates default alt text (#28932).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17356 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-02 03:53:11 +00:00
Go MAEDA
09dafbf797 Add test for r17345 (#16313).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17346 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-05-20 23:56:33 +00:00
Go MAEDA
ca2875fab2 Allow switching the encoding to UTF-8 when exporting to CSV (#26279).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17328 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-05-07 01:13:12 +00:00
Jean-Philippe Lang
82c65a5a98 Avatar tests cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@17283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-07 09:56:35 +00:00
Jean-Philippe Lang
9e05f69fde Anonymous icon is wrongly displayed when assignee is a group (#28208).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17263 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-07 07:25:27 +00:00
Go MAEDA
e9fb90856f Move textile footnotes test to TextileFormatterTest (#28207).
Patch by Mischa The Evil.


git-svn-id: http://svn.redmine.org/redmine/trunk@17222 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-03-02 04:58:52 +00:00
Go MAEDA
8117d481ac Test that "img" tag for an avatar of AnonymousUser has "width" and "height" attributes (#28204).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17201 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-02-18 05:05:50 +00:00
Jean-Philippe Lang
c7948ed40d Anonymous user should have their icon (#26699).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17150 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-01-07 22:01:56 +00:00
Jean-Philippe Lang
a9e4b41d4a Move helper tests to test/helpers (#26504).
git-svn-id: http://svn.redmine.org/redmine/trunk@16930 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-30 18:23:06 +00:00