Commit graph

7 commits

Author SHA1 Message Date
GitLab Bot
d2798d607e Add latest changes from gitlab-org/gitlab@master 2019-09-16 12:06:26 +00:00
Aleksei Lipniagov
50cb6eca57 Use 'gitlab_chronic_duration' gem
Replace 'chronic_duration' to 'gitlab_chronic_duration', to make
relevant method calls thread-safe.
2019-09-11 18:32:24 +00:00
Heinrich Lee Yu
275a17589c Rename to time_tracking_limit_to_hours
Changes migration and all other places the attribute is used
2019-06-25 09:31:23 +08:00
Jon Kolb
4e283ee706 Limit time tracking values to hours
Adds an instance setting to limit display of time tracking
values to hours only
2019-06-25 09:31:23 +08:00
gfyoung
c858f70d07 Enable frozen string for lib/gitlab/*.rb 2018-10-22 07:00:50 +00:00
Ruben Davila
0f3c9355c1 Add some API endpoints for time tracking.
New endpoints are:

POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/time_estimate"

POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/reset_time_estimate"

POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/add_spent_time"

POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/reset_spent_time"

GET  :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/time_stats"
2017-01-18 10:48:16 -06:00
Ruben Davila
17196a2ff3 Backport backend work for time tracking. 2017-01-15 11:10:04 -05:00