Commit Graph

1220 Commits

Author SHA1 Message Date
Jean-Philippe Lang
0e514b3144 Fully qualify the Version class in Redmine::Helpers::TimeReport (#23269).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@15645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-12 19:45:05 +00:00
Jean-Philippe Lang
beb5e60391 Makes spent time queries savable (#14790).
git-svn-id: http://svn.redmine.org/redmine/trunk@15639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-12 17:40:19 +00:00
Jean-Philippe Lang
b2044e6dfc Don't generate urls with params.
git-svn-id: http://svn.redmine.org/redmine/trunk@15631 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-10 19:18:12 +00:00
Jean-Philippe Lang
5d31eb2495 Don't generate pagination links with params.
git-svn-id: http://svn.redmine.org/redmine/trunk@15627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-10 16:47:49 +00:00
Jean-Philippe Lang
4c2fcb0865 Fixed that empty Markdown image tag raises en error (#23246).
git-svn-id: http://svn.redmine.org/redmine/trunk@15607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-06 18:18:27 +00:00
Jean-Philippe Lang
040b90f483 Removed deprecated pagination that no longer works.
git-svn-id: http://svn.redmine.org/redmine/trunk@15591 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-30 17:00:40 +00:00
Jean-Philippe Lang
bbd24fe350 Custom field List Link values to URL breaks on entries with spaces (#23067).
git-svn-id: http://svn.redmine.org/redmine/trunk@15539 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-18 06:17:34 +00:00
Jean-Philippe Lang
adb9980728 Allow global versions to be shown outside of a project for version custom fields (#23083).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@15536 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-18 05:59:20 +00:00
Jean-Philippe Lang
893c96a990 Don't skip condition if defined (#15880).
git-svn-id: http://svn.redmine.org/redmine/trunk@15507 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 07:06:10 +00:00
Jean-Philippe Lang
53710d80fc Introduce virtual MenuNodes (#15880).
They are characterized by having a blank url. they will only be rendered if the user is authorized to see at least one of its children. they render as links which do nothing when clicked.
 
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 06:21:52 +00:00
Jean-Philippe Lang
91e991e951 Limits the schemes that custom field URL patterns can use (#22925).
git-svn-id: http://svn.redmine.org/redmine/trunk@15435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-01 19:27:09 +00:00
Jean-Philippe Lang
a4bc898012 Limits the schemes that inline images can use (#22926).
git-svn-id: http://svn.redmine.org/redmine/trunk@15433 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-01 17:32:35 +00:00
Jean-Philippe Lang
c246ffa184 Limits the schemes that Markdown links can use (#22924).
git-svn-id: http://svn.redmine.org/redmine/trunk@15431 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-01 16:55:37 +00:00
Jean-Philippe Lang
fad71f8b4b NoMethodError: undefined method `id' error on EnumerationFormat#value_from_keyword (#22911).
Patch by Haihan Ji.

git-svn-id: http://svn.redmine.org/redmine/trunk@15429 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-28 11:37:28 +00:00
Jean-Philippe Lang
e6118fe06c Set version to 3.3.0.
git-svn-id: http://svn.redmine.org/redmine/trunk@15422 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-21 07:02:13 +00:00
Jean-Philippe Lang
8cbfeddeb0 Child nodes should only be rendered if the user is actually authorized to see them (#15880).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15393 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-08 06:48:36 +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
66325149be Updates for 3.2.2 release.
git-svn-id: http://svn.redmine.org/redmine/trunk@15365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-05 18:28:03 +00:00
Jean-Philippe Lang
bf81c96b79 Make sure we only invoke Imagemagick if this is actually an image (#22721).
git-svn-id: http://svn.redmine.org/redmine/trunk@15362 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-04 18:05:54 +00:00
Jean-Philippe Lang
39ff11ba06 Removes #move_to= (#12909).
git-svn-id: http://svn.redmine.org/redmine/trunk@15339 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-18 18:38:03 +00:00
Jean-Philippe Lang
64afa24a7f Replaces acts_as_list with an implementation that handles #position= (#12909).
Objects are reordered using the regular attribute writer #position= and AR callbacks.

git-svn-id: http://svn.redmine.org/redmine/trunk@15335 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-17 06:57:20 +00:00
Jean-Philippe Lang
25eb92c0dc Text in the "removed" part of a diff is double-escaped (#22115).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@15287 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-26 10:20:10 +00:00
Toshi MARUYAMA
7bd38343dc include ::I18n::Backend::Pluralization (#21856)
Contributed by Vasil Kovalevsky.

git-svn-id: http://svn.redmine.org/redmine/trunk@15281 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-24 12:27:57 +00:00
Jean-Philippe Lang
46a4151f09 Send a single email to admins like other notifications (#21421).
git-svn-id: http://svn.redmine.org/redmine/trunk@15266 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-20 07:23:33 +00:00
Jean-Philippe Lang
312d5ae039 Hide custom field link values from being shown when value is empty (#21944).
Patch by Anders Thomsen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15250 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-15 22:14:39 +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
554cd5efab Updates for 3.2.1 release.
git-svn-id: http://svn.redmine.org/redmine/trunk@15236 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-13 10:15:51 +00:00
Jean-Philippe Lang
98abc9838a Typo (#21421).
git-svn-id: http://svn.redmine.org/redmine/trunk@15095 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-23 08:35:48 +00:00
Jean-Philippe Lang
fe5ed8e6cc Add optional user parameter to I18n#format_time to (#21421).
This is useful for mails where times should be displayed in the timezone of the recipient - not the current user causing the mail to be sent.

git-svn-id: http://svn.redmine.org/redmine/trunk@15094 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-23 08:29:59 +00:00
Jean-Philippe Lang
2ec87100a9 Tab left/right buttons for project menu (#20632).
Patch by Felix Gliesche.

git-svn-id: http://svn.redmine.org/redmine/trunk@15067 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-16 09:14:02 +00:00
Jean-Philippe Lang
aaeb0807bf Accept dots in JSONP callback (#13718).
git-svn-id: http://svn.redmine.org/redmine/trunk@15066 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-16 09:08:06 +00:00
Jean-Philippe Lang
84fbebbd92 Add .sql to mime-types (#21738).
Patch by Benedikt Huss.

git-svn-id: http://svn.redmine.org/redmine/trunk@15059 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-16 07:44:55 +00:00
Toshi MARUYAMA
e6b7c73169 pdf: use all lower cases for DejaVuSansMono (#19017)
git-svn-id: http://svn.redmine.org/redmine/trunk@14963 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-06 12:36:19 +00:00
Toshi MARUYAMA
abea7c2d30 pdf: remove italic from DejaVuSansMono (#19017)
DejaVuSansMono Italic Arabic font has problem.

Contributed by Jun NAITOH.

git-svn-id: http://svn.redmine.org/redmine/trunk@14960 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-06 12:21:36 +00:00
Toshi MARUYAMA
4996e56ff3 pdf: use "family" parameter instead of l(:general_pdf_fontname) at SetFont method (#19017)
Contributed by Jun NAITOH.

git-svn-id: http://svn.redmine.org/redmine/trunk@14959 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-06 12:21:25 +00:00
Toshi MARUYAMA
8b17507423 revert r14950 (#19017)
r14907 breaks Arabic italic pdf rendering.

git-svn-id: http://svn.redmine.org/redmine/trunk@14951 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-06 07:22:09 +00:00
Toshi MARUYAMA
9922125269 pdf: use "family" parameter instead of l(:general_pdf_fontname) at SetFont method (#19017)
Contributed by Jun NAITOH.

git-svn-id: http://svn.redmine.org/redmine/trunk@14950 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-06 06:35:37 +00:00
Jean-Philippe Lang
6a824ee2ec Highlight current per-page selection (#21258).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@14949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-05 11:32:53 +00:00
Jean-Philippe Lang
5f35caa6bf Replaced the 3 dots with an ellipsis sign.
git-svn-id: http://svn.redmine.org/redmine/trunk@14948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-05 11:16:34 +00:00
Jean-Philippe Lang
c4ff59337b Adapt pagination for smaller screens (#19097).
git-svn-id: http://svn.redmine.org/redmine/trunk@14947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-05 10:55:55 +00:00
Jean-Philippe Lang
3f44fad9ba Moved custom fields totals logic to FieldFormat (#21413).
git-svn-id: http://svn.redmine.org/redmine/trunk@14944 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-05 10:01:30 +00:00
Toshi MARUYAMA
12ede7d07f revert r14907 (#19017)
r14907 breaks Arabic italic pdf rendering.

git-svn-id: http://svn.redmine.org/redmine/trunk@14911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-04 06:50:08 +00:00
Toshi MARUYAMA
367c417b5e pdf: use l(:general_pdf_monospaced_fontname) (#19017)
Contributed by Jun NAITOH.

git-svn-id: http://svn.redmine.org/redmine/trunk@14910 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-04 05:43:21 +00:00
Toshi MARUYAMA
77f9155d55 pdf: use "family" parameter instead of l(:general_pdf_fontname) at SetFont method (#19017)
Contributed by Jun NAITOH.

git-svn-id: http://svn.redmine.org/redmine/trunk@14907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-12-04 05:42:14 +00:00
Jean-Philippe Lang
4a77bfa44d Always show previous/next when there are more than one page.
git-svn-id: http://svn.redmine.org/redmine/trunk@14901 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-28 12:24:23 +00:00
Jean-Philippe Lang
b2db1f5f19 Removed a space after spacer (#21258).
git-svn-id: http://svn.redmine.org/redmine/trunk@14898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-28 11:13:52 +00:00
Jean-Philippe Lang
ae045cdac9 Use ul tags to do pagination (#21258).
Patch by Daniel Ritz.

git-svn-id: http://svn.redmine.org/redmine/trunk@14897 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-28 11:13:15 +00:00
Jean-Philippe Lang
369ee6e418 Version set to 3.2.0.
git-svn-id: http://svn.redmine.org/redmine/trunk@14893 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-28 06:03:28 +00:00
Toshi MARUYAMA
41c64d1266 pdf: fix Vietnamese Italic is not shown (#21328)
git-svn-id: http://svn.redmine.org/redmine/trunk@14888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-25 06:55:00 +00:00