Commit Graph

151 Commits

Author SHA1 Message Date
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
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
156b8e2ee6 Allow project bulk edit of time entries (#26534).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-14 03:40:37 +00:00
Go MAEDA
c76a021e92 Time entry creation: preserve 'spent on' value when using 'Create and Continue' (#29308).
Patch by Jens Krämer.


git-svn-id: http://svn.redmine.org/redmine/trunk@17459 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-02 06:00:10 +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
Go MAEDA
7844b65f3c Add CSS classes to column headers of issues and timelogs list (#26674).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-01-15 04:17:53 +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
f2480d3ee3 Test broken by r16924 (#26520).
git-svn-id: http://svn.redmine.org/redmine/trunk@16925 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-30 17:02:24 +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
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
c513037c6e DOn't show time entries when query is invalid (#23912).
git-svn-id: http://svn.redmine.org/redmine/trunk@16635 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-07 19:56:22 +00:00
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
2017-04-04 17:22:08 +00:00
Jean-Philippe Lang
2879071f3b Timelog move between projects (#588).
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@16450 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 09:33:27 +00:00
Jean-Philippe Lang
d10ab869a7 Handle csv columns selection in query to preload appropriate associations (#24865).
git-svn-id: http://svn.redmine.org/redmine/trunk@16219 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-01-18 12:51:41 +00:00
Jean-Philippe Lang
d05d559d15 Redmine loses filters after deleting a spent time (#14817).
git-svn-id: http://svn.redmine.org/redmine/trunk@16056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-11 09:25:41 +00:00
Jean-Philippe Lang
2544fe6e15 Issue subject is not updated when you select another issue on time entry form (#24041).
git-svn-id: http://svn.redmine.org/redmine/trunk@15951 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-11-18 08:11:11 +00:00
Jean-Philippe Lang
06d66df16e Random test failure.
git-svn-id: http://svn.redmine.org/redmine/trunk@15909 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-10-11 06:42:01 +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
Jean-Philippe Lang
29ddc82a11 Removes calls to #assert_template and #assigns in functional tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@15724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-21 16:58:59 +00:00
Jean-Philippe Lang
6cc6a918b4 Pass parameters with :params in controller tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@15666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 07:43:16 +00:00
Jean-Philippe Lang
2e4e610930 Adds our own class for controller tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@15661 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-14 09:35:49 +00:00