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
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
e04913c863
Adds a test for #23054 .
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15533 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-15 18:18:43 +00:00
Jean-Philippe Lang
010f75714d
Include required module ( #22951 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15512 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 07:58:24 +00:00
Jean-Philippe Lang
50a46c3515
Set default language in import tests ( #22951 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15511 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 07:48:19 +00:00
Jean-Philippe Lang
246368a090
Totals cannot be removed completely if some columns are set in the global settings ( #22123 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15510 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-11 07:42:00 +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
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
712d08a5d3
Adds assertions for import result.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15497 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-08 17:14:40 +00:00
Jean-Philippe Lang
f6754a0f7a
Make Status map-able for CSV import ( #22951 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-07 18:39:44 +00:00
Jean-Philippe Lang
e3875ffd57
Make Tracker map-able for CSV import ( #22951 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-07 18:23:42 +00:00
Jean-Philippe Lang
c4fd1750f7
Adds permission to edit and delete issues by role/tracker ( #285 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-05 13:45:10 +00:00
Jean-Philippe Lang
a23450fe08
Adds issue visibility by role/tracker ( #285 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-05 11:50:09 +00:00
Jean-Philippe Lang
79df68e17f
Limit trackers for new issue to certain roles ( #7839 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-05 10:06:17 +00:00
Jean-Philippe Lang
681740d5be
Tests for #22754 .
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15443 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-04 07:41:05 +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
dac22ebb39
Test failure ( #22926 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15434 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-01 18:48:26 +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
14beafcc24
Malformed SQL query with SQLServer when grouping and sorting by fixed version ( #22808 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15416 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-16 07:03:14 +00:00
Jean-Philippe Lang
7d6b3d344d
Add support for attaching file to WIKI pages by REST API ( #14830 ).
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@15415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-16 06:29:52 +00:00
Jean-Philippe Lang
0e59482e90
Include private_notes property in xml/json Journals output ( #20985 ).
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@15414 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-16 06:25:11 +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
60bb7565dd
Include value and label of possible values in custom fields API ( #22745 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15401 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-08 08:44:53 +00:00
Jean-Philippe Lang
b553b23e6b
Show attachment view even is no preview is available ( #22482 ).
...
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@15398 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-08 08:04:51 +00:00
Jean-Philippe Lang
3d2c198c0f
Add view for "no preview" repository files ( #22482 ).
...
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@15397 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-08 08:02:23 +00:00
Jean-Philippe Lang
d8d23fbb6b
Add basic test for image view ( #22482 ).
...
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@15396 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-08 07:40:59 +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
9cfb319c43
Test failure with SQLServer ( #22320 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15392 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 18:30:59 +00:00
Jean-Philippe Lang
eafd585dbe
Fixes Query#date_clause timezone handling ( #22320 ).
...
When querying time fields based on date values these should be interpreted
in the user's time zone, since that's what a user usually expects.
Patch by Jens Kraemer.
git-svn-id: http://svn.redmine.org/redmine/trunk@15381 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 10:58:49 +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
699a75910d
Filter by issue id ( #4806 ).
...
A shortcut is added to the context menu to filter the selected issues.
git-svn-id: http://svn.redmine.org/redmine/trunk@15371 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-06 18:59:36 +00:00
Jean-Philippe Lang
fcb4e510ea
Test failure ( #22147 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15361 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 21:06:53 +00:00
Jean-Philippe Lang
83d4c9c50b
Do not propose trackers which disallow parent_issue_id for new child issues ( #22345 ).
...
also removes the tracker_id from the "Add new child issue" link in case it
doesn't allow parent_issue_id
Patch by Jens Kraemer.
git-svn-id: http://svn.redmine.org/redmine/trunk@15359 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 15:22:18 +00:00
Jean-Philippe Lang
e2137e7a5e
SQL server: non ASCII filter on text fields does not work ( #22405 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15353 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 11:36:30 +00:00
Jean-Philippe Lang
72e7357611
Set source encoding ( #22405 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15352 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 11:29:06 +00:00
Jean-Philippe Lang
a2a59448b4
SQL server: non ASCII filter on issue subject does not work ( #22405 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15350 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 10:57:05 +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
b56f77322a
Adds a "New issue" link on the global issue list ( #6204 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15345 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-19 18:40:38 +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
fb6b565a1e
Forum list can be reordered with drag and drop ( #12909 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15337 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-18 17:51:10 +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
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
49176f88cb
Add missing + signs ( #22493 ).
...
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@15333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-14 18:45:36 +00:00
Jean-Philippe Lang
130424fc3e
Support for deleting attachments via API ( #14828 ).
...
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@15332 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-12 19:18:34 +00:00
Jean-Philippe Lang
223141a20b
Support of default Active Record (I18n) transliteration paths ( #22383 ).
...
Patch by Ivan Zabrovskiy.
git-svn-id: http://svn.redmine.org/redmine/trunk@15330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-12 18:54:28 +00:00