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
79fcbc82dc
Adds a setting for choosing the new object menu item style ( #15880 ).
...
Set to use the new "+" drop-down by default, but let users revert to the "New issue" tab, or no menu item at all.
git-svn-id: http://svn.redmine.org/redmine/trunk@15508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 07:26:23 +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
cec8fe4cfa
Add link to add a new wiki page to "new object" menu ( #15880 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@15506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 06:29:34 +00:00
Jean-Philippe Lang
a25a2e9112
Move "New issue" menu item to the new object menu ( #15880 ).
...
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@15505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 06:28:01 +00:00
Jean-Philippe Lang
3da6062d7e
Keep the "new object" drop down open when the + sign was clicked ( #15880 ).
...
For touch displays where :hover does not exist.
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@15504 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 06:26:03 +00:00
Jean-Philippe Lang
5adc6a5c9f
Add virtual menu at the beginning of the project menu ( #15880 ).
...
It contains menu items for creating issue categories, versions, news,
documents, and files.
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@15503 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 06:23:33 +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
2691613c55
Display view permissions first.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-05 17:44:38 +00:00
Jean-Philippe Lang
f20f49a76b
Fix HTML generated for floating images in paragraphs ( #22898 ).
...
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@15442 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-04 07:31:29 +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
a6828512c0
Adds Issue#allowed_target_trackers ( #7839 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-30 18:20:13 +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
4019ba76ab
Restores the "New issue" tab in the project menu and makes it optional ( #6204 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15407 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-09 17:16:55 +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
40c9c3e922
Notify the user of missing attachments ( #22401 ).
...
under certain (rare) circumstances it may happen that, when an issue or other
container is saved, added attachments have already been removed (i.e. by the
attachments:prune rake task). This patch adds a validation error to the
container in this case.
Patch by Jens Kraemer.
git-svn-id: http://svn.redmine.org/redmine/trunk@15378 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 10:31:20 +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
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
dcc569fa34
Removed the "New issue" menu item ( #6204 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15344 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-19 18:37:52 +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
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
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
bb2c6f6076
Fixed that subtasks lose their custom fields when copying an issue to a different project ( #22342 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15318 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-11 17:11:59 +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
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
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
6bb1ea8ae8
Use regular edit/update actions and named routes for JournalsController.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-01-21 04:39:56 +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