Commit Graph

74 Commits

Author SHA1 Message Date
Go MAEDA
65597ec1cf Add filters for "User's group" and "User's role" to Spent time list (#41053).
Patch by Takenori TAKAKI (user:takenory).


git-svn-id: https://svn.redmine.org/redmine/trunk@22958 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-16 02:05:25 +00:00
Marius Balteanu
38d950df55 Remove current year from source file copyright headers and update year in footer to 2024 (#40043).
git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:55:54 +00:00
Go MAEDA
3c692009c9 Optimize query models by replacing map with pluck (#39837).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22575 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-29 08:00:23 +00:00
Go MAEDA
c51e4937e7 Fix RuboCop offense Style/SuperWithArgsParentheses (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22530 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 07:15:11 +00:00
Go MAEDA
9546dfa5e3 Add Parent task filter and column to Spent time (#37623).
Patch by Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-11 09:11:40 +00:00
Go MAEDA
565d13d654 "Issue's subject" filter for spent time (#27821).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22173 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-09 01:38:36 +00:00
Go MAEDA
92bd67c279 Update copyright year to 2023 (#38141).
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 06:19:35 +00:00
Marius Balteanu
9a738c2069 Fix time entries of sub-projects are not listed when activity is specified in filters (#36248).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21423 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-20 18:50:22 +00:00
Go MAEDA
3686b77eb6 Update copyright year in source files to 2022 (#36379).
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 05:29:10 +00:00
Go MAEDA
3e36b5c452 Update copyright year in source files to 2021 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 06:58:56 +00:00
Go MAEDA
5d017f42be Spent time details are displayed in incorrect order when sorted by week and date (#33952).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@20634 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-12 03:32:20 +00:00
Toshi MARUYAMA
37b9c54655 remove spaces inside {} of app/models/time_entry_query.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20391 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-16 12:21:47 +00:00
Toshi MARUYAMA
76b3dbe308 add empty line after guard clause to app/models/time_entry_query.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20262 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-05 13:42:16 +00:00
Go MAEDA
4fd0e739db Fix that totals of custom fields may not be sorted as configured (#33281).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-05-08 04:30:24 +00:00
Go MAEDA
907e0173e4 Update copyright year in source files to 2020 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-03 00:24:10 +00:00
Toshi MARUYAMA
b131063315 cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in app/models/time_entry_query.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19103 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 16:29:41 +00:00
Jean-Philippe Lang
4a447dda09 Add support for grouping by issue on timelog view (#32436).
Patch by Kouhei Sutou.

git-svn-id: http://svn.redmine.org/redmine/trunk@19063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-10 07:56:47 +00:00
Go MAEDA
1c533c948b Adds "Target Version" column to the list of "Available columns" in "Spent time" tab (#30346).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19059 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-10 00:42:30 +00:00
Toshi MARUYAMA
73be0198d1 cleanup: rubocop: fix Layout/AlignArguments in app/models/time_entry_query.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19002 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 09:18:40 +00:00
Jean-Philippe Lang
87e82b4894 Issues in paginated views may be lost because sorting criteria are not unique (#29581).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18263 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 06:13:11 +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
9d7595c35f Remove useless code in TimeEntryQuery#sql_for_activity_id_field (#31088).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-04-03 04:00:12 +00:00
Go MAEDA
ffa4e02817 Group time entries by created date (#30233).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18003 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-24 06:14:33 +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
a0479c768e Filter time entries after project status (#20081).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-29 04:05:18 +00:00
Jean-Philippe Lang
aac543dfba Column Project is no longer added by default to the list of default columns for time entries (#26537).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17503 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 11:59:52 +00:00
Go MAEDA
02e1a17dd0 Adds issue category column to spent time queries (#28391).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17250 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-01 00:31:07 +00:00
Go MAEDA
fa76ec5c01 Adds issue category filter to spent time queries (#28391).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17249 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-04-01 00:29:22 +00:00
Jean-Philippe Lang
5a775287ab Fix filter after multiple version ids (#26667).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@17000 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-10-15 11:54:39 +00:00
Jean-Philippe Lang
cb73fc58f2 Fix filter values for fixed version id (#26667).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16999 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-10-15 11:53:49 +00:00
Jean-Philippe Lang
0a3e85b92d Filtering time entries after issue's target version doesn't work as expected in some cases (#26667).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16997 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-10-15 11:42:00 +00:00
Jean-Philippe Lang
0d8baa0122 Translation for label_week in time report is not working (#26780).
Patch by Alexander Meindl.

git-svn-id: http://svn.redmine.org/redmine/trunk@16990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-10-15 11:23:35 +00:00
Jean-Philippe Lang
e89b93f8d1 Fill the issue id when logging time from the time log list of an issue (#26520).
git-svn-id: http://svn.redmine.org/redmine/trunk@16924 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-30 16:42:55 +00:00
Jean-Philippe Lang
e90b32c93d Adds created_on as available column on timelog list (#26396).
git-svn-id: http://svn.redmine.org/redmine/trunk@16828 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-16 18:54:08 +00:00
Jean-Philippe Lang
2a721fff4c Set default configuration for the timelog list (#26356).
git-svn-id: http://svn.redmine.org/redmine/trunk@16814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-12 18:13:20 +00:00
Jean-Philippe Lang
9748fc4668 Error displaying time entries filtered by Activity (#26387).
git-svn-id: http://svn.redmine.org/redmine/trunk@16808 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-09 17:16:01 +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
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
2017-05-27 09:19:14 +00:00
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
2017-04-25 17:44:08 +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
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
2017-04-03 14:04:04 +00:00
Jean-Philippe Lang
04e67ed041 Make project custom fields available as columns on time logs (#24157).
Patch by Jan Schulz-Hofen.

git-svn-id: http://svn.redmine.org/redmine/trunk@16418 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-18 08:45:09 +00:00
Jean-Philippe Lang
71d88e5535 Get rid of sort_helper when using queries.
git-svn-id: http://svn.redmine.org/redmine/trunk@16390 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-13 19:17:59 +00:00
Jean-Philippe Lang
fd3c08aaa1 Don't preload all query filters (#24787).
git-svn-id: http://svn.redmine.org/redmine/trunk@16170 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-09 19:59:54 +00:00
Jean-Philippe Lang
af1182c8ba Don't show project column by default when inside a project.
git-svn-id: http://svn.redmine.org/redmine/trunk@16042 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-03 08:29:44 +00:00
Jean-Philippe Lang
960b322388 Consider custom fields that correspond to the project only (#24014).
git-svn-id: http://svn.redmine.org/redmine/trunk@15890 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-08 07:28:45 +00:00
Jean-Philippe Lang
3539cfcf0f Adds issue tracker and status columns and filters on spent time list (#23401).
git-svn-id: http://svn.redmine.org/redmine/trunk@15738 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-08-20 10:27:39 +00:00
Toshi MARUYAMA
d1766f73e4 remove trailing white-space from app/models/time_entry_query.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@15698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-19 11:28:24 +00:00