Commit Graph

528 Commits

Author SHA1 Message Date
Jean-Philippe Lang
ffea3d5ba3 Fix thumbnail rendering for images with height >> width.
git-svn-id: http://svn.redmine.org/redmine/trunk@16813 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-10 21:19:19 +00:00
Jean-Philippe Lang
c7e32aa202 "attachment:filename" should generate a link to preview instead of download (#26310, #25988).
git-svn-id: http://svn.redmine.org/redmine/trunk@16738 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-02 09:54:24 +00:00
Jean-Philippe Lang
7dd05eeb29 Add code doc for forum & news links (#26188).
Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16693 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 09:05:52 +00:00
Jean-Philippe Lang
fc7652d803 Fix code doc indentation (#26188).
Patch by Mischa The Evil.

git-svn-id: http://svn.redmine.org/redmine/trunk@16692 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 09:05:21 +00:00
Jean-Philippe Lang
e89cb8829e Fix project jump box text when creating/editing a project (#23310).
git-svn-id: http://svn.redmine.org/redmine/trunk@16687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:51:53 +00:00
Jean-Philippe Lang
7fd04e1f8d Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:40:31 +00:00
Jean-Philippe Lang
7017874cc9 Link to user by id (#4179).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16671 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-17 08:48:23 +00:00
Jean-Philippe Lang
b21af3eaa4 Preview files by default instead of downloading them (#25988).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-17 07:28:10 +00:00
Jean-Philippe Lang
744fc25c8b Search in project and its subprojects by default (#9909).
git-svn-id: http://svn.redmine.org/redmine/trunk@16641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-07 20:50:17 +00:00
Jean-Philippe Lang
d3f93a2907 Fixes wrong condition (#4179).
git-svn-id: http://svn.redmine.org/redmine/trunk@16638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-07 20:21:47 +00:00
Jean-Philippe Lang
f902860955 Link to user in wiki syntax (#4179).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-07 20:10:57 +00:00
Jean-Philippe Lang
8dad27236b Preserve jump param when searching for projects.
git-svn-id: http://svn.redmine.org/redmine/trunk@16551 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-05-13 09:23:44 +00:00
Jean-Philippe Lang
23dc616850 Moves project quick search to a dedicated action.
git-svn-id: http://svn.redmine.org/redmine/trunk@16550 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-05-13 09:20:29 +00:00
Jean-Philippe Lang
3bfc5e42da For 3 comments or more, show reply link at top of comments as well (#24089).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16539 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-09 09:39:59 +00:00
Jean-Philippe Lang
49a28df30d Set autocomplete to off on project quick search (#23310).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-06 17:13:45 +00:00
Jean-Philippe Lang
6865c96d99 Span elements should not contain a div.
git-svn-id: http://svn.redmine.org/redmine/trunk@16373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-05 08:59:40 +00:00
Jean-Philippe Lang
be6199add3 Set thumbnail width on image tag to avoid too wide white boxes on Firefox (#24927).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16316 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 19:42:36 +00:00
Jean-Philippe Lang
ef3833b465 Whitespace-only reorg of ApplicationHelper#thumbnail_tag (#24927).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16315 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 19:42:04 +00:00
Jean-Philippe Lang
721843a548 Hires (2x DPR) image support for Thumbnails (#24927).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16314 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 19:41:31 +00:00
Jean-Philippe Lang
65804c34f3 Add support for @2x, @3x, etc. hires images (#24922).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16311 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-30 19:37:38 +00:00
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