Commit Graph

598 Commits

Author SHA1 Message Date
Toshi MARUYAMA
88b5831a0d cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in app/helpers/application_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19190 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 09:04:26 +00:00
Toshi MARUYAMA
f77dfab621 cleanup: rubocop: fix Layout/IndentAssignment in app/helpers/application_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-05 14:09:59 +00:00
Toshi MARUYAMA
1dfd16beb0 cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelper#link_to_project
git-svn-id: http://svn.redmine.org/redmine/trunk@18910 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-05 14:09:45 +00:00
Toshi MARUYAMA
d4a59e78a5 cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelper#render_projects_for_jump_box
git-svn-id: http://svn.redmine.org/redmine/trunk@18909 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-05 14:09:32 +00:00
Toshi MARUYAMA
b959b53dd2 code layout clean up ApplicationHelper#render_project_jump_box
git-svn-id: http://svn.redmine.org/redmine/trunk@18908 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-05 14:09:21 +00:00
Toshi MARUYAMA
a096c3cd63 cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelper#render_project_jump_box
git-svn-id: http://svn.redmine.org/redmine/trunk@18907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-05 14:09:09 +00:00
Toshi MARUYAMA
b4d8ea2bd6 code layout clean up ApplicationHelper#progress_bar
git-svn-id: http://svn.redmine.org/redmine/trunk@18906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-05 14:08:57 +00:00
Toshi MARUYAMA
2d0be791b6 cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelper#reorder_handle
git-svn-id: http://svn.redmine.org/redmine/trunk@18905 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-05 14:08:46 +00:00
Toshi MARUYAMA
e3c2d2e533 cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelper#parse_redmine_links
git-svn-id: http://svn.redmine.org/redmine/trunk@18904 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-05 14:08:35 +00:00
Toshi MARUYAMA
14e5c12f97 cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelper#parse_sections
git-svn-id: http://svn.redmine.org/redmine/trunk@18903 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-05 14:08:25 +00:00
Toshi MARUYAMA
b6605e3550 cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelper#progress_bar
git-svn-id: http://svn.redmine.org/redmine/trunk@18870 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-26 12:54:22 +00:00
Toshi MARUYAMA
c82ce3e20c cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelper#toggle_checkboxes_link
git-svn-id: http://svn.redmine.org/redmine/trunk@18869 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-26 12:54:11 +00:00
Toshi MARUYAMA
8d429120ec code cleanup: rubocop: fix Style/ParenthesesAroundCondition in app/helpers/application_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 13:43:40 +00:00
Toshi MARUYAMA
3e3cf4d993 code layout clean up ApplicationHelper#parse_wiki_links
git-svn-id: http://svn.redmine.org/redmine/trunk@18667 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 18:11:21 +00:00
Toshi MARUYAMA
039f13d650 code cleanup: rubocop: fix Layout/ElseAlignment in ApplicationHelper#parse_redmine_links
git-svn-id: http://svn.redmine.org/redmine/trunk@18665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 17:47:51 +00:00
Toshi MARUYAMA
76ed5c7cc3 code cleanup: rubocop: fix Layout/ElseAlignment in ApplicationHelper#parse_wiki_links
git-svn-id: http://svn.redmine.org/redmine/trunk@18664 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-14 17:47:40 +00:00
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