Commit Graph

174 Commits

Author SHA1 Message Date
Go MAEDA
21a6fc71d6 Fix RuboCop offense Performance/MapMethodChain (#37247).
git-svn-id: https://svn.redmine.org/redmine/trunk@22280 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-23 09:05:20 +00:00
Go MAEDA
a7bc173a7e Fix incorrect argument format for assert_select that causes ArgumentError with rails-dom-testing >= 2.1.0 (#38797).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22273 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-07-02 06:34:03 +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
2496d4396b Fix missing project_id in redirect after clicking "Create and add another" button (#35066).
Patch by Jérôme BATAILLE.


git-svn-id: https://svn.redmine.org/redmine/trunk@22096 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-05 23:30:46 +00:00
Go MAEDA
1481c721a2 Use require_relative instead of require File.expand_path(..., __FILE__) (#38093).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 07:13:39 +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
Go MAEDA
f8033a069f Use query name as the file name when exporting queries (#16207).
Patch by Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21773 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-08-24 13:21:50 +00:00
Go MAEDA
38f7a06405 Add default spent time activity per role (#29286).
Patch by Marius BALTEANU and Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21763 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-08-09 02:50:11 +00:00
Marius Balteanu
b2bf7c6d8c Respect field visibility when filtering/sorting by associated issue fields (#37255).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@21646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-16 21:44:46 +00:00
Marius Balteanu
1a3ee38c2e Respect field visibility when showing associated issue fields (#37255).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@21645 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-16 21:43:58 +00:00
Go MAEDA
f670f0e572 Change the default value for "Time span format" from "decimal" to "minutes" (#36391).
git-svn-id: http://svn.redmine.org/redmine/trunk@21355 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-08 04:04:50 +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
b6a26a60f3 Fixes for Performance/StringIdentifierArgument introduced in RuboCop Performance 1.13.0 (#35142).
git-svn-id: http://svn.redmine.org/redmine/trunk@21330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-29 06:12:27 +00:00
Go MAEDA
f30c91341a Rails 6.1: add header=present to csv tests (#29914, #32921).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@20887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 14:59:31 +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
e23eeb8795 shorten long line of TimelogControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-30 15:49:21 +00:00
Toshi MARUYAMA
b95131d756 remove spaces inside {} of TimelogControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20370 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-14 13:18:29 +00:00
Toshi MARUYAMA
1f7562996e fix source indent of TimelogControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20218 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-28 14:42:11 +00:00
Toshi MARUYAMA
96966d0b6c fix source indent of TimelogControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20182 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-24 14:39:55 +00:00
Toshi MARUYAMA
77e184ad35 add space after comma to TimelogControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20128 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-05 15:48:06 +00:00
Toshi MARUYAMA
25f33b9443 shorten long line of TimelogControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@20124 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-10-05 15:47:34 +00:00
Go MAEDA
edb54807ca Add missing fixture to TimelogControllerTest (#33785).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19944 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-08-02 05:41:00 +00:00
Go MAEDA
953fce3c95 Fix time entry user is shown twice in the User drop-down (#33341).
Patch by Thomas Löber and Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19727 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-27 06:19:26 +00:00
Jean-Philippe Lang
99df2c5c58 Creating time tracking entry for other user through rest API fails with 403 (#32774).
git-svn-id: http://svn.redmine.org/redmine/trunk@19676 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 18:39:05 +00:00
Jean-Philippe Lang
ace151c14c Fixed assertion broken by r19654 (#3800).
git-svn-id: http://svn.redmine.org/redmine/trunk@19662 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 10:14:55 +00:00
Jean-Philippe Lang
9fcfeb1b36 Editing time entries should show the time entry user (#3800).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@19653 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 08:29:15 +00:00
Jean-Philippe Lang
2b122d2b65 Reorder and rename test added in r19651 (#32973).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@19652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 08:22:39 +00:00
Jean-Philippe Lang
e91dbcb5a7 Editing a time entry for a locked user changes the user to the current user (#32973).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@19651 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 08:21:25 +00:00
Jean-Philippe Lang
214ec3e806 Time entries csv export should check issue visibility (#33075).
Patch by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@19646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-05 07:39:29 +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
Go MAEDA
8cbb53c2ce Fix that selected user on timelog#edit is incorrect (#32959).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-09 00:23:18 +00:00
Jean-Philippe Lang
0cd14b3a4b Validate back_url everywhere (#32850).
Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@19488 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-02-02 08:39:22 +00:00
Go MAEDA
f37ed77665 Use #media_type instead of #content_type to test the MIME type of a response (#32886).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-27 03:54:25 +00:00
Go MAEDA
d618229f09 Fix Internal Error when issue text custom field is shown in Spent time query results (#32768).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19419 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-12 06:37:47 +00:00
Go MAEDA
2de3dfeae5 CSV related tests fail with Rails 5.2.4 (#32526, #32525).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19344 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-12-08 00:10:43 +00:00
Jean-Philippe Lang
05e24edda9 Fixes the assertion so that it doesn't rely on the display order (#32436).
Patch by Kouhei Sutou.

git-svn-id: http://svn.redmine.org/redmine/trunk@19092 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 15:07:23 +00:00
Go MAEDA
4a90acb49e Add missing fixture to TimelogControllerTest in order to fix random test failure (#32478).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19088 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-19 00:18:10 +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
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
f24f0519be Update Rails to 5.2.3 (#31113).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18028 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-31 09:58:08 +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
4f5a3a156c Enable frozen_string_literal for some files under test directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 15:03:47 +00:00
Go MAEDA
e70c283a22 Remove unnecessary encoding magic comment (#31034).
The default script encoding is UTF-8 in Ruby 2.0 or later.

Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17976 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 06:26:33 +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
ba14bc4802 Don't hardcode expected text (#3848).
git-svn-id: http://svn.redmine.org/redmine/trunk@17760 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-12-16 17:23:08 +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