Commit Graph

6108 Commits

Author SHA1 Message Date
Jean-Philippe Lang
b078639a5c Merged r15428 (#22912).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15436 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-04 07:16:37 +00:00
Jean-Philippe Lang
3ff3ff4f54 Code cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@15418 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-16 07:28:12 +00:00
Jean-Philippe Lang
ada650ce7f Always return an array.
git-svn-id: http://svn.redmine.org/redmine/trunk@15417 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-16 07:08:31 +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
3e776af806 Don't force download of PDF (#22483).
Patch by Gregor Schmidt.

git-svn-id: http://svn.redmine.org/redmine/trunk@15409 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-09 17:22:23 +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
a9d9fe14f9 Don't send a notification to the dummy email address of the default admin account (#21421).
git-svn-id: http://svn.redmine.org/redmine/trunk@15402 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-08 09:07:37 +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
2da406e12a Adds a specific string for password changed notification (#21421).
git-svn-id: http://svn.redmine.org/redmine/trunk@15399 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-08 08:27:24 +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
690b1e9cb7 Add styles for pre in email notifications (#22693).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@15395 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-08 07:23:50 +00:00
Jean-Philippe Lang
f2a5804f4e Simplify User#today (#22320).
Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@15383 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 11:06:22 +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
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
1903497c4b Remove open issues filter in context menu shortcut (#4806).
git-svn-id: http://svn.redmine.org/redmine/trunk@15373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-06 19:01:28 +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
860ae0631a Adds edit links on the roadmap (#22756).
git-svn-id: http://svn.redmine.org/redmine/trunk@15370 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-06 16:56:38 +00:00
Jean-Philippe Lang
f4ceb0e41c Adds a method for tracker selection (#22345).
git-svn-id: http://svn.redmine.org/redmine/trunk@15360 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 15:28:08 +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
6376762917 CSV import delimiter detection broken (#22583).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15357 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 15:14:06 +00:00
Jean-Philippe Lang
786d81d9c8 Add styles for blockquote in email notifications (#22309).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@15355 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 15:07:01 +00:00
Jean-Philippe Lang
0bdca4c213 Change "Related issues" label for generic grouped query filters (#22147).
git-svn-id: http://svn.redmine.org/redmine/trunk@15354 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 11:52:34 +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
c34a1d0f90 SQL server: non ASCII filter on issue subject does not work (#22405).
git-svn-id: http://svn.redmine.org/redmine/trunk@15351 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-24 10:57:15 +00:00
Jean-Philippe Lang
66b9add002 Don't show non member and anonymous groups in filter.
git-svn-id: http://svn.redmine.org/redmine/trunk@15348 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-23 09:10:55 +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
025e1bf7e1 Removed JQuery UI classes.
git-svn-id: http://svn.redmine.org/redmine/trunk@15343 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-19 17:47:40 +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
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
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
5865e39ad7 Whitespace only change (#22058).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15325 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-11 19:19:30 +00:00
Jean-Philippe Lang
2fbce6515d Add inline image preview/display for attachments and repository entries (#22058).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15324 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-11 19:17:48 +00:00
Jean-Philippe Lang
c75157ac4a Whitespace only change (#22058).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15323 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-11 19:15:47 +00:00
Jean-Philippe Lang
00e37d5ca7 Reduce view code duplication by using a nested layout for file rendering (#22058).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@15322 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-11 19:14:52 +00:00
Jean-Philippe Lang
97a647c1e5 Validate status of users and groups.
git-svn-id: http://svn.redmine.org/redmine/trunk@15320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-11 17:51:16 +00:00
Jean-Philippe Lang
1da39caad3 Code cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@15319 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-11 17:17:29 +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
ffa4dd00f6 Watched issues count on "My page" is shown for all issues instead of only open ones (#15777).
Patch by Karel Pičman and Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@15315 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-09 09:57:37 +00:00
Jean-Philippe Lang
933dc946d4 Preload project when possible (#5754).
git-svn-id: http://svn.redmine.org/redmine/trunk@15314 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-09 07:54:43 +00:00
Jean-Philippe Lang
14234eae39 Don't reject users that already watch one of the objects (#5754).
git-svn-id: http://svn.redmine.org/redmine/trunk@15313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-04-09 07:42:52 +00:00