summaryrefslogtreecommitdiffstats
path: root/app/controllers/timelog_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merged r22746 from trunk to 5.1-stable (#40043).Marius Balteanu2024-02-271-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22755 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix missing project_id in redirect after clicking "Create and add another" ↵Go MAEDA2023-02-051-0/+1
| | | | | | | | | button (#35066). Patch by Jérôme BATAILLE. git-svn-id: https://svn.redmine.org/redmine/trunk@22096 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ruby 2.7: Fix RuboCop offense Performance/MapCompact (#38134).Go MAEDA2023-01-171-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22055 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use query name as the file name when exporting queries (#16207).Go MAEDA2022-08-241-1/+1
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@21773 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Deprecate and rename rss_* methods to atom_* methods (#15118).Marius Balteanu2022-03-191-1/+1
| | | | | | | Patch by Mischa The Evil and Marius BĂLTEANU git-svn-id: http://svn.redmine.org/redmine/trunk@21467 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unused argument from Redmine::Helpers::TimeReport (#33079).Go MAEDA2021-08-191-1/+1
| | | | | | | Patch by Kevin Fischer. git-svn-id: http://svn.redmine.org/redmine/trunk@21196 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Gracefully handle invalid query parameters for custom fields (#35312).Go MAEDA2021-05-281-0/+6
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@21012 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of TimelogControllerToshi MARUYAMA2020-10-111-7/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20140 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use "do end" instead of {} at TimelogControllerToshi MARUYAMA2020-10-051-16/+16
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20132 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add empty line after guard clause to TimelogControllerToshi MARUYAMA2020-10-031-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20120 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of TimelogControllerToshi MARUYAMA2020-10-031-7/+22
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20116 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Creating time tracking entry for other user through rest API fails with 403 ↵Jean-Philippe Lang2020-04-051-9/+0
| | | | | | (#32774). git-svn-id: http://svn.redmine.org/redmine/trunk@19676 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverted r19669 and r19670 (#32774).Jean-Philippe Lang2020-04-051-11/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19675 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Creating time tracking entry for other user through rest API fails with 403 ↵Jean-Philippe Lang2020-04-051-2/+3
| | | | | | (#32774). git-svn-id: http://svn.redmine.org/redmine/trunk@19670 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Creating time tracking entry for other user through rest API fails with 403 ↵Jean-Philippe Lang2020-04-051-0/+8
| | | | | | | | (#32774). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19669 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r19569 (#33071).Go MAEDA2020-03-141-2/+0
| | | | | | | 404 error after deleting an attachment. git-svn-id: http://svn.redmine.org/redmine/trunk@19579 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Require sudo mode for actions to delete contents (#33071).Go MAEDA2020-03-101-0/+2
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19569 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/AccessModifierIndentation and ↵Toshi MARUYAMA2019-10-221-1/+2
| | | | | | Layout/EmptyLinesAroundAccessModifier in app/controllers/timelog_controller.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18825 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for some files under app and lib directory ↵Go MAEDA2019-03-161-1/+1
| | | | | | (#26561). git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a permission to log time for another user (#3848).Jean-Philippe Lang2018-12-161-3/+11
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17755 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Column Project is no longer added by default to the list of default columns ↵Jean-Philippe Lang2018-09-231-1/+1
| | | | | | | | for time entries (#26537). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17503 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow project bulk edit of time entries (#26534).Go MAEDA2018-09-141-1/+11
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Time entry creation: preserve 'spent on' value when using 'Create and ↵Go MAEDA2018-08-021-0/+1
| | | | | | | | | Continue' (#29308). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@17459 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set default configuration for the timelog list (#26356).Jean-Philippe Lang2017-07-121-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16814 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use ApplicationController#find_optional_project instead.Jean-Philippe Lang2017-06-261-9/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16722 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Better handling of update failures when bulk editing time entries.Jean-Philippe Lang2017-04-041-18/+21
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16477 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Get rid of sort_helper when using queries.Jean-Philippe Lang2017-03-131-5/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16390 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Redmine loses filters after deleting a spent time (#14817).Jean-Philippe Lang2016-12-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16056 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show action not allowed for time entries in closed projects (#24297).Jean-Philippe Lang2016-11-181-3/+7
| | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@15955 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Bulk edit for shows activities not available for the time entry's project ↵Jean-Philippe Lang2016-11-181-2/+5
| | | | | | (#23922). git-svn-id: http://svn.redmine.org/redmine/trunk@15953 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Preload project and user.Jean-Philippe Lang2016-10-291-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15941 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Preload project and user.Jean-Philippe Lang2016-10-291-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15940 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't bulk edit file custom fields (#6719).Jean-Philippe Lang2016-10-231-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15924 e93f8b46-1217-0410-a6f0-8f06a7374b81
* New "Spent time" menu tab when spent time module is enabled on project (#23311).Jean-Philippe Lang2016-08-201-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15747 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds issue tracker and status columns and filters on spent time list (#23401).Jean-Philippe Lang2016-08-201-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15738 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use head instead of render :nothing => true.Jean-Philippe Lang2016-07-171-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15687 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use .before_action instead of .before_filter.Jean-Philippe Lang2016-07-141-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15655 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make time entries groupable (#16843).Jean-Philippe Lang2016-07-131-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15649 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove special behaviour for listing issue time entries, use a filter for that.Jean-Philippe Lang2016-07-121-8/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15644 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes spent time queries savable (#14790).Jean-Philippe Lang2016-07-121-3/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15639 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup (#23054).Jean-Philippe Lang2016-06-151-17/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15534 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Clearing time entry custom fields while bulk editing results in values set ↵Jean-Philippe Lang2016-06-151-1/+10
| | | | | | | | to __none__ (#23054). Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@15532 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81