summaryrefslogtreecommitdiffstats
path: root/app/helpers/timelog_helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* fix malformed time log csv encoding in case of unable to convert (#8549)Toshi MARUYAMA2011-11-161-3/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7819 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from app/helpers/timelog_helper.rb.Toshi MARUYAMA2011-08-311-18/+18
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6911 e93f8b46-1217-0410-a6f0-8f06a7374b81
* HTML escape at app/helpers/timelog_helper.rb.Toshi MARUYAMA2011-08-021-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6356 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes time report with JRuby (#5404).Jean-Philippe Lang2010-04-301-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3708 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changes misleading scopes on Enumeration.Jean-Philippe Lang2009-11-211-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3083 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't reveal issue subjects if user is only allowed to view spent time (#3187).Jean-Philippe Lang2009-11-141-2/+19
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3043 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactoring ApplicationHelper#link_to_issue.Jean-Philippe Lang2009-11-141-1/+1
| | | | | | Now displays issue subject by default. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3040 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use FasterCSV or ruby1.9 CSV instead of ruby1.8 builtin CSV.Jean-Philippe Lang2009-11-041-6/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3007 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changed the Timelogs to use both the Systemwide and Project specific ↵Eric Davis2009-10-211-3/+9
| | | | | | | | | | | | TimeEntryActivities * Added Project#activities to return all the Systemwide and Project specific activities, excluding Systemwide ones that are overridden. * Added some tests for TimelogHelper. #4077 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2948 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added an active field track if an Enumeration is active on the frontend view.Eric Davis2009-10-211-4/+11
| | | | | | | | | | | * Changed TimelogHelper#activity_collection_for_select_options to only use active TimeEntryActivities. * Changed TimelogHelper#activity_collection_for_select_options to return a blank option if the time_entry's current activity is inactive. #4077 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2946 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changed Enumerations to use a Single Table InheritanceEric Davis2009-05-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * Added migrations to change Enumerations to an STI relationship * Added TimeEntryActivity model (STI) * Added DocumentCategory model (STI) * Added IssuePriority model (STI) * Added Enumeration#get_subclasses to get a list of the subclasses of Enumeration * Changed Enumeration to use the STI type field instead of the opt field * Changed Enumeration#opt to return the old opt values but with a deprecation warning. * Removed Enumeration::OPTIONS * Removed the dynamic named_scopes in favor of specific named_scopes. Kept for compatibility reasons. * Added Enumeration#default so each subclass can easily find it's default record. * Fixed Enumeration#default to use the STI scoping with a fake default scope for finding Enumeration's default. * Added a 'all' named scope for getting all records in order by position. * Added Deprecation warnings to the old named_scopes in Enumerations. * Moved various methods off of Enumeration and onto the concrete classes * Changed the EnumerationsController to use types * Updated the Enumeration list template * Added has_many relationships to the Enumeration STI classes. * Fixes for tests. #3007 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2777 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show timelog reports for non-versioned issues (#3051).Jean-Philippe Lang2009-03-301-1/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2643 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces Enumeration.get_values and Enumeration.default with named scopes.Jean-Philippe Lang2009-02-151-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2472 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Details time log report CSV export doesn't honour date format from ↵Jean-Philippe Lang2009-01-241-1/+3
| | | | | | settings (patch #2466 by Russell Hind). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2302 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds cross-project time reports support (#994).Jean-Philippe Lang2008-08-311-0/+8
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1778 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds custom fields to the time entries csv export.Jean-Philippe Lang2008-07-221-0/+6
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1690 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Addq "please select" to activity select box if no activity is set as default ↵Jean-Philippe Lang2008-06-291-0/+8
| | | | | | (#937). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1602 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a key in lang files (general_csv_decimal_separator) to set the decimal ↵Jean-Philippe Lang2008-06-261-1/+2
| | | | | | separator (point or comma) in csv exports (#1372). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1591 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Custom fields (list and boolean) can be used as criteria in time report (#1012).Jean-Philippe Lang2008-04-091-2/+6
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1340 e93f8b46-1217-0410-a6f0-8f06a7374b81
* CSV export added to timelog report (#1009).Jean-Philippe Lang2008-04-071-0/+52
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1338 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Propagates time tracking to the parent project (closes #433). Time report ↵Jean-Philippe Lang2008-02-271-1/+3
| | | | | | enhancements. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1176 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds date range filter and pagination on time entries detail view (closes #434).Jean-Philippe Lang2008-02-261-0/+47
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1173 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added time report.Jean-Philippe Lang2007-06-241-0/+28
| | | | | | Report can be generated by member/activity/tracker/version and year/month/week for the selected period. git-svn-id: http://redmine.rubyforge.org/svn/trunk@572 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Simple time tracking functionality added. Time can be logged at issue or ↵Jean-Philippe Lang2007-03-231-0/+2
project level. There's no aggregation reports for now, it's just possible to see all time entries for a project or an issue. A new "activities" enumeration is added. Permission for a role to log time must be set (new "Time tracking" section in role permissions screen). git-svn-id: http://redmine.rubyforge.org/svn/trunk@368 e93f8b46-1217-0410-a6f0-8f06a7374b81