Commit Graph

582 Commits

Author SHA1 Message Date
Toshi MARUYAMA
2795d1edc3 code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in app/helpers/application_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18564 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-30 11:42:15 +00:00
Toshi MARUYAMA
fb04274fc0 code cleanup: rubocop: fix Layout/EmptyLinesAroundBlockBody in app/helpers/application_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18557 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-30 08:59:43 +00:00
Go MAEDA
5ca458864e Inline auto complete for issue (#) in wiki-edit fields (#31989).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18444 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-09-09 21:49:48 +00:00
Go MAEDA
880883229f Add different style for group names in the New member modal window (#6831).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18385 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-24 07:30:41 +00:00
Go MAEDA
e2a00d2dc8 Fix JQMIGRATE: jQuery.fn.load() is deprecated (#31884, #31196).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18364 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-13 14:23:46 +00:00
Go MAEDA
49090c5889 Updates jQuery to 2.2.4 and adds jQuery Migrate library to find APIs and features that have been or will be removed from jQuery core (#31196).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18363 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-13 14:18:41 +00:00
Go MAEDA
be8372e7cc Previous and next month links in gantt (#31373).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18346 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-04 09:42:58 +00:00
Jean-Philippe Lang
93935f7c39 Wiki page collapse block image is not displayed in exported PDF (#30162).
Patch by Jun NAITOH.

git-svn-id: http://svn.redmine.org/redmine/trunk@18307 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 16:58:01 +00:00
Jean-Philippe Lang
1cc269967a Add a randomized name attribute to all form fields (#26604).
This is a workaround for a Bug in Firefox described at
https://bugzilla.mozilla.org/show_bug.cgi?id=1279253

Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@18306 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 16:46:10 +00:00
Jean-Philippe Lang
d4312d2565 Allow tabs to have a custom action (#3058).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18271 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 07:06:47 +00:00
Jean-Philippe Lang
2663ae66ae Roadmap shows 100%, but one of its tasks is still set to 90% (#30949).
Patch by Bernhard Rohloff.

git-svn-id: http://svn.redmine.org/redmine/trunk@18265 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 06:29:11 +00:00
Go MAEDA
5b29b2b5d1 Use the regular "icon icon-*" classes for sort-handle (#31433).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18203 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-27 21:19:51 +00:00
Go MAEDA
4082069c75 Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
29403e710a Adds favorites and recently used projects lists to project jump box (#31355).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@18181 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-20 22:26:30 +00:00
Go MAEDA
f992df684f Small refactorization of avatar methods (#31391).
* 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
2019-05-19 22:27:41 +00:00
Go MAEDA
ae24985e03 Hierarchy in TOC is not preserved when Wiki index is exported to HTML (#20910).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18149 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-09 15:17:30 +00:00
Go MAEDA
bf0246ce83 Add avatar_server_url configuration option in order to support Libravatar (#9112).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18124 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-04 15:59:50 +00:00
Go MAEDA
42532605db Update Rails ujs (#31205).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18062 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-18 16:04:13 +00:00
Go MAEDA
51b0542e7d Attachments with Unicode uppercase names are not shown in wiki pages (#30441).
Patch by Evgeny Seliverstov.


git-svn-id: http://svn.redmine.org/redmine/trunk@18057 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-12 05:25:31 +00:00
Go MAEDA
09b63e39ed Simpler link syntax "#note-123" to make a link to a note of the current issue (#30829).
Contributed by Marius BALTEANU and Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17993 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-20 05:15:59 +00:00
Go MAEDA
bf67729a28 Remove unused method ApplicationHelper#generate_csv (#31046).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17989 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-18 14:23:47 +00:00
Go MAEDA
bd5977d97e Support frozen_string_literal in app/**/*.rb (#26561).
Contributed by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@17987 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 13:36:03 +00:00
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
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
Jean-Philippe Lang
8dd6874a6a Moves some action links on the wiki page to a dropdown menu (#26575).
git-svn-id: http://svn.redmine.org/redmine/trunk@17678 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-02 07:34:36 +00:00
Go MAEDA
e159928e6b Use find_by instead of where.first to remove unnecessary sorting (#26747).
Patch by  Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17586 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-06 16:03:26 +00:00
Jean-Philippe Lang
56138544e1 Removed unused helper #preview_link (#27758).
git-svn-id: http://svn.redmine.org/redmine/trunk@17527 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-26 11:00:09 +00:00
Jean-Philippe Lang
dc4bb0fb06 Removes render_ prefix from cancel_button_tag methods (#8888).
git-svn-id: http://svn.redmine.org/redmine/trunk@17523 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-26 07:49:48 +00:00
Jean-Philippe Lang
6c0aa5cb89 Add cancel button to new/edit log time page (#8888).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17522 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-26 07:47:59 +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
156b8e2ee6 Allow project bulk edit of time entries (#26534).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-14 03:40:37 +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
b7f15fbadc Replace String#gsub with faster String#tr (#29363).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-12 23:40:44 +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
Go MAEDA
e81043b1ee Allow to link to an anchor of the current wiki page (#16313).
Patch by Holger Just.


git-svn-id: http://svn.redmine.org/redmine/trunk@17345 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-05-20 23:52:46 +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
Go MAEDA
fe7e8f1d3b Add CSS to distinguish when a main menu is present or not (#28531).
Patch by Felix Schäfer.


git-svn-id: http://svn.redmine.org/redmine/trunk@17303 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-23 05:16:25 +00:00
Go MAEDA
a4ffda7b37 Use button as additional option for contextmenu (#26655).
Patch by Felix Gliesche.


git-svn-id: http://svn.redmine.org/redmine/trunk@17298 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-21 12:00:22 +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
fec2832fe3 Reverted r17252 and r17253 (#26655).
The change breaks the test suite. 


git-svn-id: http://svn.redmine.org/redmine/trunk@17254 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-02 02:24:35 +00:00
Go MAEDA
a17661e8d8 Use button as additional option for contextmenu (#26655).
Patch by Felix Gliesche.


git-svn-id: http://svn.redmine.org/redmine/trunk@17252 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-02 01:42:01 +00:00
Go MAEDA
c41b2833c0 Fix: The green tick is positioned after the label in the new member modals (#28079).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17207 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-02-22 00:02:43 +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
94f7cfbf99 Ensure that values of multi-value fields are HTML-escaped in issue history (#27186).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@16985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-10-15 11:09:43 +00:00
Jean-Philippe Lang
3077fb7151 Add some left padding when avatars are enabled.
git-svn-id: http://svn.redmine.org/redmine/trunk@16903 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-29 07:06:12 +00:00
Jean-Philippe Lang
e6b1f78dc2 Use jquery-rails instead of vanilla javascript ujs (#26518).
git-svn-id: http://svn.redmine.org/redmine/trunk@16884 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-25 17:24:32 +00:00