Commit Graph

508 Commits

Author SHA1 Message Date
Jean-Philippe Lang
19d2529faa Check permission of wiki pages before generating a link to it (#23793).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@16283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-29 07:49:38 +00:00
Jean-Philippe Lang
df18ece504 Always show "Jump to project" drop-down (#24833).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16199 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-15 12:09:24 +00:00
Jean-Philippe Lang
2734eaffd8 Adds a link to all projects in the jump drop down (#23310).
git-svn-id: http://svn.redmine.org/redmine/trunk@16172 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-10 18:33:36 +00:00
Jean-Philippe Lang
e5d15c031b Remove iteration in ApplicationHelper#syntax_highlight_lines (#24713).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16164 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-08 22:41:52 +00:00
Jean-Philippe Lang
79c2e42889 More readable regexp for parse_redmine_links (#24382).
Patch by Dmitry Lisichkin.

git-svn-id: http://svn.redmine.org/redmine/trunk@16152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-07 10:52:40 +00:00
Jean-Philippe Lang
ba2a47a8fb Adds a setting to enable/disable formatting of commit messages (#22758).
git-svn-id: http://svn.redmine.org/redmine/trunk@16062 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-12 21:19:59 +00:00
Jean-Philippe Lang
62823442d3 Replaces project jump select with custom dropdown (#23310).
git-svn-id: http://svn.redmine.org/redmine/trunk@15994 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-26 08:16:15 +00:00
Jean-Philippe Lang
af29408e83 Add "Table of contents" heading to toc macro (#23179).
git-svn-id: http://svn.redmine.org/redmine/trunk@15992 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-19 13:50:30 +00:00
Jean-Philippe Lang
5495e6f342 Introduce a setting to change the display format of timespans to h:mm (#23996).
Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@15965 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-18 12:42:20 +00:00
Jean-Philippe Lang
18073c971e Don't use a global variable for storing context menu URL.
git-svn-id: http://svn.redmine.org/redmine/trunk@15936 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-29 14:06:15 +00:00
Jean-Philippe Lang
ef45304817 Adds file custom field format (#6719).
git-svn-id: http://svn.redmine.org/redmine/trunk@15917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-23 09:16:14 +00:00
Jean-Philippe Lang
8175afd58d Don't truncate activity titles (#23575).
git-svn-id: http://svn.redmine.org/redmine/trunk@15858 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-01 11:05:21 +00:00
Jean-Philippe Lang
daab32923d Adds pagination to admin project list.
git-svn-id: http://svn.redmine.org/redmine/trunk@15755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-30 20:10:56 +00:00
Jean-Philippe Lang
2342fe9a75 User preference for monospaced / variable-width font in textareas (#23653).
git-svn-id: http://svn.redmine.org/redmine/trunk@15753 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-30 19:59:29 +00:00
Jean-Philippe Lang
c84f7243f5 Removed #link_to_content_update.
git-svn-id: http://svn.redmine.org/redmine/trunk@15598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-30 20:17:19 +00:00
Jean-Philippe Lang
3be2185683 Removes the UTF8 checkmark that prevents redirect from back_url.
git-svn-id: http://svn.redmine.org/redmine/trunk@15535 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-15 19:04:36 +00:00
Jean-Philippe Lang
1be535443a Limits the schemes that project homepage can use (#22925).
git-svn-id: http://svn.redmine.org/redmine/trunk@15432 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-01 16:58:19 +00:00
Jean-Philippe Lang
ed50d42210 Replace Date.today with User.current.today (#22320).
Depending on the offset between a user's configured timezone and the server
timezone, Date.today may be more or less often wrong from the user's
perspective, leading to things like issues marked as overdue too early or too
late, or yesterday / tomorrow being displayed / selected where 'today' is
intended.

A test case illustrating the problem with Issue#overdue? is included

Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@15379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 10:42:22 +00:00
Jean-Philippe Lang
c418fab8a7 Use HTML5 date input fields instead of text fields with jquery ui date pickers (#19468).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15375 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 08:05:43 +00:00
Jean-Philippe Lang
bda78a4679 Adds "New wiki page" link to create a new wiki page (#5536).
git-svn-id: http://svn.redmine.org/redmine/trunk@15346 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-22 17:47:11 +00:00
Jean-Philippe Lang
aed0350b01 Adds a title on the sort handle (#12909).
git-svn-id: http://svn.redmine.org/redmine/trunk@15342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-19 17:45:13 +00:00
Jean-Philippe Lang
a1874c8975 Restyles the sort handle(#12909).
git-svn-id: http://svn.redmine.org/redmine/trunk@15340 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-19 17:33:29 +00:00
Jean-Philippe Lang
db64340419 Deprecates unused stuff (#12909).
git-svn-id: http://svn.redmine.org/redmine/trunk@15338 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-18 18:04:23 +00:00
Jean-Philippe Lang
42b5c332b2 Lists can be reordered with drag and drop (#12909).
git-svn-id: http://svn.redmine.org/redmine/trunk@15336 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-17 07:40:39 +00:00
Jean-Philippe Lang
eaea4e9fee Improve accessibility for icon-only links by adding hidden text (#21805).
Patch by Daniel Ritz.

git-svn-id: http://svn.redmine.org/redmine/trunk@15271 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-20 09:34:26 +00:00
Jean-Philippe Lang
93eda89d7f Add additional markup to page_header_title to enable better styling (#21947).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15256 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-19 09:12:31 +00:00
Jean-Philippe Lang
3de694f5e5 Use protocol-relative URL for gravatars (#21855).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@15245 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-15 21:52:20 +00:00
Jean-Philippe Lang
cda9c63d9c Updates copyright for 2016.
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-13 10:30:10 +00:00
Jean-Philippe Lang
de17e5a398 Don't use implicit variables later (#21593).
git-svn-id: http://svn.redmine.org/redmine/trunk@15137 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-30 15:42:48 +00:00
Jean-Philippe Lang
e8201c0d7e Add class to contextual edit button that relates to heading on wiki pages ().
Patch by Felix Gliesche.

git-svn-id: http://svn.redmine.org/redmine/trunk@15136 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-30 15:41:19 +00:00
Jean-Philippe Lang
7467c145c0 Replace uses of image_tag() with CSS (#21256).
* Replace image_tag() with CSS classes
* Create some CSS classes where necessary
* Change "check all" positioned on the right in "Trackers -> Summary" and
  "Roles -> Permissions report" instead of left like in "Worfklow"
* Add missing title attribute in a few places
* Makes some lines shorter while at it

Patch by Daniel Ritz.

git-svn-id: http://svn.redmine.org/redmine/trunk@15068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-20 08:50:39 +00:00
Jean-Philippe Lang
719d4b527d Tooltip on progress bar (#21497).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@15027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-09 11:18:55 +00:00
Jean-Philippe Lang
ecb1f660ac Improved responsiveness for versions and roadmap (#19097).
Width of progress bars is no longer hard-coded in views.

git-svn-id: http://svn.redmine.org/redmine/trunk@14851 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-08 12:28:23 +00:00
Jean-Philippe Lang
48143b16d3 Don't use 100% width for date fields (#19097).
git-svn-id: http://svn.redmine.org/redmine/trunk@14828 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-07 14:01:53 +00:00
Jean-Philippe Lang
e680ae1aa3 Responsive layout for mobile devices (#19097).
Patch by Felix Gliesche.

git-svn-id: http://svn.redmine.org/redmine/trunk@14817 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-07 13:37:08 +00:00
Jean-Philippe Lang
58d3dc354d Fixed that #parse_redmine_links errors when given a link tag without attributes (#19304).
git-svn-id: http://svn.redmine.org/redmine/trunk@14774 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-31 09:36:13 +00:00
Jean-Philippe Lang
12fe8a595f Don't reopen ApplicationHelper (#20507).
git-svn-id: http://svn.redmine.org/redmine/trunk@14695 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-19 18:03:51 +00:00
Jean-Philippe Lang
7356e18d36 Include helper instead of patching (#20508).
git-svn-id: http://svn.redmine.org/redmine/trunk@14693 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-19 17:30:28 +00:00
Jean-Philippe Lang
bae4b1985d Fixed unsafe call to #casecmp (#20369, #21000).
git-svn-id: http://svn.redmine.org/redmine/trunk@14676 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-15 18:31:34 +00:00
Jean-Philippe Lang
02e598e232 Updgrade to jquery-rails 3.1.4 (#20380).
git-svn-id: http://svn.redmine.org/redmine/trunk@14654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-09 07:05:09 +00:00
Jean-Philippe Lang
a7b6ad9bb5 Adds tracker name to Redmine issue link titles (#13946).
git-svn-id: http://svn.redmine.org/redmine/trunk@14620 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-21 20:42:06 +00:00
Toshi MARUYAMA
918a412fd4 use String#casecmp for case insensitive comparison (#20369)
Contributed by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@14484 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-08-12 12:54:06 +00:00
Jean-Philippe Lang
cb3edf00a5 Use https links instead of http links in ApplicationHelper#avatar_edit_link and Redmine::Info class methods (#20243).
Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@14413 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-07-05 13:53:17 +00:00
Jean-Philippe Lang
3834b3d2ef Upgrade jquery_ujs from 3.1.1 to 3.1.3.
git-svn-id: http://svn.redmine.org/redmine/trunk@14381 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-28 09:07:12 +00:00
Jean-Philippe Lang
bf2547db20 Add avatar and edit link to "My account" page (#5418).
git-svn-id: http://svn.redmine.org/redmine/trunk@14377 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-27 09:46:18 +00:00
Jean-Philippe Lang
d6f389658b Require password re-entry for sensitive actions (#19851).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@14333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-19 18:41:10 +00:00
Jean-Philippe Lang
49914f010d Adds a class for handling CSV generation (#7037).
git-svn-id: http://svn.redmine.org/redmine/trunk@14302 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-06-13 07:33:20 +00:00
Jean-Philippe Lang
0a32e898f1 Generate tag once per request.
git-svn-id: http://svn.redmine.org/redmine/trunk@14178 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-04-14 16:59:04 +00:00
Jean-Philippe Lang
5c43b4860e Restored project name as version prefix when different (#19348).
git-svn-id: http://svn.redmine.org/redmine/trunk@14108 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-15 14:05:29 +00:00
Jean-Philippe Lang
5da48d9293 Attached inline images with non-ascii file name can not be seen when text formatting is Makdown (#19313).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@14080 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-14 08:39:24 +00:00