Toshi MARUYAMA
|
b6604ec751
|
code cleanup: rubocop: fix Style/ParenthesesAroundCondition in app/models/time_entry.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18834 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-10-22 15:54:37 +00:00 |
|
Go MAEDA
|
3c91a3d5b2
|
Per role visibility settings for spent time custom fields (#31859).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18358 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-08-09 09:31:16 +00:00 |
|
Go MAEDA
|
4082069c75
|
Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-05-25 07:36:06 +00:00 |
|
Go MAEDA
|
07b3087fda
|
Enable frozen_string_literal for some files under app and lib directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-03-16 09:37:35 +00:00 |
|
Go MAEDA
|
5861160ffc
|
Add "frozen_string_literal: false" for all files (#26561).
This will be changed to true in the future.
git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-03-15 01:32:57 +00:00 |
|
Jean-Philippe Lang
|
2fdbcd35dd
|
Adds a permission to log time for another user (#3848).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17755 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2018-12-16 16:28:22 +00:00 |
|
Go MAEDA
|
9f6277e07c
|
Setting to restrict spent times on future dates (#3322).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17719 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2018-12-11 03:55:58 +00:00 |
|
Jean-Philippe Lang
|
d74f0bfd5c
|
Merged rails-5.1 branch (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-07-23 11:26:04 +00:00 |
|
Jean-Philippe Lang
|
7bd8280a83
|
Adds settings for time entry hours validation (#24005).
git-svn-id: http://svn.redmine.org/redmine/trunk@16832 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-07-19 14:13:10 +00:00 |
|
Jean-Philippe Lang
|
7fd04e1f8d
|
Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-06-25 08:40:31 +00:00 |
|
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
|
2017-04-04 17:54:39 +00:00 |
|
Jean-Philippe Lang
|
868f83fe35
|
Only show issue details in time entry activity events if the issue is visible (#23803).
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@16284 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-29 07:54:37 +00:00 |
|
Jean-Philippe Lang
|
04eefdc809
|
Adds settings to make the issue and/or comment fields mandatory for time logs (#24577).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@16176 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-01-12 23:09:18 +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
|
945a091c94
|
Don't let users log time on issues they cannot see in their projects (#21150).
git-svn-id: http://svn.redmine.org/redmine/trunk@14796 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-11-04 18:40:15 +00:00 |
|
Jean-Philippe Lang
|
5882629e26
|
Raises time entries comments limit to 1024 (#19885).
git-svn-id: http://svn.redmine.org/redmine/trunk@14621 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-09-21 21:00:06 +00:00 |
|
Jean-Philippe Lang
|
62bed8b93f
|
Validates that activity belongs to project activities (#19656).
git-svn-id: http://svn.redmine.org/redmine/trunk@14288 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-05-30 08:46:41 +00:00 |
|
Jean-Philippe Lang
|
6659aad3ef
|
Adds a role setting that viewing all or own time entries (#8929).
git-svn-id: http://svn.redmine.org/redmine/trunk@14275 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-05-30 07:40:57 +00:00 |
|
Jean-Philippe Lang
|
3d1c40cd52
|
Fixed validation when logging time on issue (#19464).
git-svn-id: http://svn.redmine.org/redmine/trunk@14162 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-04-12 07:37:18 +00:00 |
|
Jean-Philippe Lang
|
4bbd3d81fd
|
TimeEntry acts_as_activity_provider scope should joins(:project) (#18818).
Patch by Ondřej Ezr.
git-svn-id: http://svn.redmine.org/redmine/trunk@13971 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-02-07 09:10:57 +00:00 |
|
Jean-Philippe Lang
|
000124f44f
|
Copyright update.
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-01-11 09:09:50 +00:00 |
|
Jean-Philippe Lang
|
8992dc9f93
|
Removed dead code, Rails4 handles that in its attribute writer.
git-svn-id: http://svn.redmine.org/redmine/trunk@13716 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-12-05 12:37:00 +00:00 |
|
Jean-Philippe Lang
|
2cd00fdc29
|
Removed unused scopes.
git-svn-id: http://svn.redmine.org/redmine/trunk@13715 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-12-05 12:34:59 +00:00 |
|
Toshi MARUYAMA
|
6f92548b38
|
remove unneeded "references" of joins
"references" is needed for includes, but not needed for joins.
git-svn-id: http://svn.redmine.org/redmine/trunk@13501 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-10-24 02:18:45 +00:00 |
|
Jean-Philippe Lang
|
498a34403a
|
Removed unneeded :foreign_key option on belongs_to associations.
git-svn-id: http://svn.redmine.org/redmine/trunk@13484 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-10-22 18:41:03 +00:00 |
|
Jean-Philippe Lang
|
2d1866d966
|
Merged rails-4.1 branch (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-10-22 17:37:16 +00:00 |
|
Jean-Philippe Lang
|
15d5c331eb
|
Let the new time_entry form be submitted without project (#17954).
git-svn-id: http://svn.redmine.org/redmine/trunk@13422 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-10-04 07:23:14 +00:00 |
|
Jean-Philippe Lang
|
efc05bc73c
|
Add time entries custom fields to the context menu for quick bulk edit (#17484).
git-svn-id: http://svn.redmine.org/redmine/trunk@13335 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-07-29 17:52:27 +00:00 |
|
Jean-Philippe Lang
|
dd70327ce4
|
Let user choose an issue of another project when updating a time entry (#16338).
git-svn-id: http://svn.redmine.org/redmine/trunk@12990 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-03-21 02:12:32 +00:00 |
|
Toshi MARUYAMA
|
35cc911192
|
update copyright year (#15977)
Contributed by Daniel Felix.
git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-29 22:45:39 +00:00 |
|
Jean-Philippe Lang
|
458800c1d5
|
Time entry with 2 digits year should not validate (#3107).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11472 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-02-24 12:28:44 +00:00 |
|
Jean-Philippe Lang
|
e396a0eebe
|
Copyright for 2013 (#12788).
Patch by Daniel Felix.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-01-12 09:29:31 +00:00 |
|
Jean-Philippe Lang
|
0e30724d66
|
Group events in the activity view (#12542).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10951 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-12-08 08:24:01 +00:00 |
|
Jean-Philippe Lang
|
7222e4012d
|
Rewrites named scopes with ARel queries.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10950 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-12-07 17:59:20 +00:00 |
|
Jean-Philippe Lang
|
9f788310b1
|
Fixed that custom_fields property is ignored for time entries in REST API (#11112).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9783 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-06-09 07:55:26 +00:00 |
|
Jean-Philippe Lang
|
ba5a052c8c
|
Copyright update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-05-05 12:56:53 +00:00 |
|
Toshi MARUYAMA
|
d0d01d4e70
|
model: replace Rails2 "named_scope" to Rails3 "scope"
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9537 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-04-26 23:51:10 +00:00 |
|
Jean-Philippe Lang
|
1ec2d98c14
|
Prevent mass-assignment when adding/updating a time entry (#10390).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9136 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-03-06 20:23:00 +00:00 |
|
Jean-Philippe Lang
|
430477d4d6
|
Round hours when reading TimeEntry attribute.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8980 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-02-24 18:40:22 +00:00 |
|
Jean-Philippe Lang
|
9e83ee2ddf
|
Removed after_initialize methods.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8288 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2011-12-18 14:57:58 +00:00 |
|
Jean-Philippe Lang
|
1050993348
|
Removed unnecessary calculations in time entries index.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8085 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2011-12-04 23:01:42 +00:00 |
|
Jean-Philippe Lang
|
9e5ed4208b
|
Adds named scopes for time entries index.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8084 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2011-12-04 22:49:46 +00:00 |
|
Jean-Philippe Lang
|
b8836d89b1
|
Removed deprecated methods.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7977 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2011-11-29 18:11:11 +00:00 |
|
Toshi MARUYAMA
|
4ffca69d84
|
Rails3: model: replace deprecated 'before_validation' method at TimeEntry model
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7453 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2011-09-22 13:39:06 +00:00 |
|
Toshi MARUYAMA
|
e683bd7582
|
Rails3: model: replace deprecated 'validate' method at TimeEntry model
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7448 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2011-09-22 12:06:33 +00:00 |
|
Toshi MARUYAMA
|
6f8e3c031f
|
remove trailing white-spaces from time entry model source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5820 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2011-05-17 03:58:41 +00:00 |
|
Jean-Philippe Lang
|
405fc07e90
|
Makes visible scopes accept projects option and deprecate Project.visible_by.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5324 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2011-04-05 12:50:19 +00:00 |
|
Jean-Philippe Lang
|
0786b9ef99
|
Replaces TimeEntry.visible_by with a visible scope.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5149 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2011-03-16 17:29:30 +00:00 |
|
Jean-Philippe Lang
|
88d847a1d5
|
Fixes TimeEntry#spent_on= so that datetimes don't get stored in SQLite3 (#7258).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4708 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2011-01-14 18:04:16 +00:00 |
|
Jean-Philippe Lang
|
d8ef4b6f4d
|
Fixed: timelog link in the activity broken by recent refactoring (#6702).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4277 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2010-10-22 20:40:11 +00:00 |
|