Jean-Philippe Lang
58dc4455cb
AR uniq deprecated in Rails 5.
git-svn-id: http://svn.redmine.org/redmine/trunk@16598 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
44c748f968
Use regular instance methods instead of association extensions.
Rails 5.1 seems to mess things up in this particular case (role.workflow_rules.copy calls the extension declare in Tracker model).
git-svn-id: http://svn.redmine.org/redmine/trunk@16597 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
f6defca16d
redirect_to :back deprecated in Rails 5.
git-svn-id: http://svn.redmine.org/redmine/trunk@16596 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
1adeaa7aa7
Use query parameters intead of params in CSV link.
git-svn-id: http://svn.redmine.org/redmine/trunk@16594 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
42d3f7e504
Use JSON instead of XML for reposman.rb.
git-svn-id: http://svn.redmine.org/redmine/trunk@16591 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
dd92a53b14
Use #safe_attributes= instead.
git-svn-id: http://svn.redmine.org/redmine/trunk@16590 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
c6bf632945
Use #skip_after_action instead of #skip_after_filter.
git-svn-id: http://svn.redmine.org/redmine/trunk@16589 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
da4f9ce34d
Don't call #head with a hash.
git-svn-id: http://svn.redmine.org/redmine/trunk@16588 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Toshi MARUYAMA
1493bf03c6
use only one if with two conditions in issue show instead of two ifs (if in if) (#25731)
Contributed by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@16581 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
d9418864b6
Show the same trackers and statuses on time entry queries (#5385).
git-svn-id: http://svn.redmine.org/redmine/trunk@16577 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
d6b0fca902
Statuses of subprojects should be showed too (#5385).
git-svn-id: http://svn.redmine.org/redmine/trunk@16576 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
ba37a2c476
Show statuses of project trackers only (#5385).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@16575 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
335a16e4fd
Cusotom field label should not be associated to the first input (#25760).
git-svn-id: http://svn.redmine.org/redmine/trunk@16574 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
9439cae70f
Send journal notification after commit (#25794).
git-svn-id: http://svn.redmine.org/redmine/trunk@16573 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
ccb9d4ada9
Rescue any EncodingError exceptions (#25861).
git-svn-id: http://svn.redmine.org/redmine/trunk@16572 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
86fa4e66c9
Check tracker permissions when copying an issue (#25791).
git-svn-id: http://svn.redmine.org/redmine/trunk@16569 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
0f09f161f6
Send reminders about visible issues only (#25713).
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@16557 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
6543d73a64
Optimize gantt charts for mobile screens (#25745).
Patch by Felix Gliesche.
git-svn-id: http://svn.redmine.org/redmine/trunk@16556 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
0bf1e4ee2d
Render register page on all non-POST requests to account#register (#25653).
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@16555 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
fee959675d
Only perform login action on explicit POST (#25653).
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@16554 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
26dd3e8b43
Show no data message when searching only.
git-svn-id: http://svn.redmine.org/redmine/trunk@16552 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
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
7 years ago
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
7 years ago
Toshi MARUYAMA
f2b891d912
remove trailing white-space from app/models/time_entry_query.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@16545 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Toshi MARUYAMA
e45e29eb96
remove trailing white-space from app/models/user.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@16544 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
35bb707b91
Preview when editing journal notes broken by r15621.
git-svn-id: http://svn.redmine.org/redmine/trunk@16542 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
4d5ddb0072
Prevent deadlocks by only locking the exact records we need to have locked (#25590).
Patch by Jens Kraemer.
git-svn-id: http://svn.redmine.org/redmine/trunk@16541 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
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
7 years ago
Jean-Philippe Lang
c2c526c822
Introduce setting to hide optional user custom fields on registration form (#24089).
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@16537 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
2f77bfde91
Option to set a default assignee on each project (#482).
Patch by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@16525 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
9506ff1f40
Fixed that watchers list is not updated when changing project on the new issue form (#17762).
git-svn-id: http://svn.redmine.org/redmine/trunk@16511 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
1cd985dd6b
Option to copy watchers when copying issues (#10460).
git-svn-id: http://svn.redmine.org/redmine/trunk@16509 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
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
7 years ago
Jean-Philippe Lang
dd37b8cfb6
Fixed that related to "no open issues" filter shows all issues (#25478).
Patch by Kevin Fischer.
git-svn-id: http://svn.redmine.org/redmine/trunk@16504 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
fc73a90740
Always set spent_hours instance variables to a Float in Issue instances (#25526).
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@16491 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
353914768e
Code cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@16490 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
3a4ce13b42
Use 2 queries that use an index.
git-svn-id: http://svn.redmine.org/redmine/trunk@16483 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
fbde611f3f
Use #to_sql to generate the subquery.
git-svn-id: http://svn.redmine.org/redmine/trunk@16482 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
70b0bc5168
Adds a scope to left join the issue.
git-svn-id: http://svn.redmine.org/redmine/trunk@16481 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
d8dec34ece
Don't compare LOWER() with #downcase.
git-svn-id: http://svn.redmine.org/redmine/trunk@16480 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
f604fe9460
SQL Cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@16479 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
8fe94c30fe
Adds a link back to the issue list that we are coming from.
git-svn-id: http://svn.redmine.org/redmine/trunk@16478 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
7b125bc292
Better handling of update failures when bulk editing time entries.
git-svn-id: http://svn.redmine.org/redmine/trunk@16477 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
41cb7a3a55
Let the issue list be grouped by private flag.
git-svn-id: http://svn.redmine.org/redmine/trunk@16476 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
88a3a351d0
Don't hardcode the groups on My page.
git-svn-id: http://svn.redmine.org/redmine/trunk@16475 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
b9ee00a8c8
Adds methods to User model to handle tokens.
git-svn-id: http://svn.redmine.org/redmine/trunk@16474 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
5c7aaa4d1e
Makes Attachments column available on the issue list (#25515).
git-svn-id: http://svn.redmine.org/redmine/trunk@16473 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
6c4b73b448
Query through multiple projects by issue custom field not possible anymore (#25501).
git-svn-id: http://svn.redmine.org/redmine/trunk@16467 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
3e787f7e7d
Deny edit/update/delete for anonymous user (#25483).
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@16464 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago
Jean-Philippe Lang
a8d8c213bb
Use path instead of URL of image in preview (#25295).
Patch by Krzysztof Zielonka.
git-svn-id: http://svn.redmine.org/redmine/trunk@16463 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 years ago