Index: openacs-4/packages/logger/logger.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/logger/logger.info,v diff -u -r1.15 -r1.16 --- openacs-4/packages/logger/logger.info 5 Oct 2005 13:31:02 -0000 1.15 +++ openacs-4/packages/logger/logger.info 14 Oct 2005 22:41:15 -0000 1.16 @@ -7,28 +7,28 @@ f f - - Lars Pind + + Alex Kroman Peter Marklund - Jade Rubick + Lars Pind Time and expenses reporting. - 2005-10-04 + 2005-10-14 Collaboraid Logger lets you keep track of measurements over time. The primary use case is time and expenses reporting, an area where we are being guided by the HR-XML Time Expense Reporting 2.0 standard. However, the intention is to allow for reporting of arbitrary types of numerical data such as financial results - account balance, revenue etc. You could even use this application to monitor your weight. The full specification is here: <a href="http://www.collaboraid.biz/developer/logger-spec">http://www.collaboraid.biz/developer/logger-spec<a> Logger can be optionally integrated with project-manager, for logging of time against projects and tasks. 1 - + + - Index: openacs-4/packages/logger/catalog/logger.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/logger/catalog/logger.en_US.ISO-8859-1.xml,v diff -u -r1.8 -r1.9 --- openacs-4/packages/logger/catalog/logger.en_US.ISO-8859-1.xml 5 Oct 2005 07:42:27 -0000 1.8 +++ openacs-4/packages/logger/catalog/logger.en_US.ISO-8859-1.xml 14 Oct 2005 22:41:15 -0000 1.9 @@ -1,13 +1,15 @@ - + A Add Entry Add Log Entry additive Cancel, do not delete + Closed Custom Description Date + Day Default Description Delete Description @@ -18,6 +20,7 @@ Help hours in different + Last month Log entry modified Logger Application Logger Entries @@ -60,6 +63,7 @@ instances of the logger application is something you wish to track, for example: + Log entry added Logger Application Instance map variables to projects @@ -81,6 +85,7 @@ Expense Time non-additive + Open Project Projection: Projects @@ -101,5 +106,7 @@ Variables variables Variables are + Week + Yesterday You can either use "Default Description" or "Custom Description", but not both Index: openacs-4/packages/logger/lib/entries.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/logger/lib/entries.adp,v diff -u -r1.3 -r1.4 --- openacs-4/packages/logger/lib/entries.adp 5 Oct 2005 07:43:26 -0000 1.3 +++ openacs-4/packages/logger/lib/entries.adp 14 Oct 2005 22:41:16 -0000 1.4 @@ -1,10 +1,10 @@ - +
-
+
Index: openacs-4/packages/logger/lib/entries.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/logger/lib/entries.tcl,v diff -u -r1.16 -r1.17 --- openacs-4/packages/logger/lib/entries.tcl 16 Sep 2005 12:14:08 -0000 1.16 +++ openacs-4/packages/logger/lib/entries.tcl 14 Oct 2005 22:41:16 -0000 1.17 @@ -357,10 +357,10 @@ set groupby_values { - { "[_ logger.Day]" { { groupby time_stamp } { orderby time_stamp,desc } } } - { "[_ logger.Week]" { { groupby time_stamp_week } { orderby time_stamp,desc } } } - { "[_ logger.Project]" { { groupby project_name } { orderby project_id,asc } } } - { "[_ logger.User]" { { groupby user_id } { orderby user_id,asc } } } + { "#logger.Day#" { { groupby time_stamp } { orderby time_stamp,desc } } } + { "#logger.Week#" { { groupby time_stamp_week } { orderby time_stamp,desc } } } + { "#logger.Project#" { { groupby project_name } { orderby project_id,asc } } } + { "#logger.User#" { { groupby user_id } { orderby user_id,asc } } } } set normal_row { @@ -403,9 +403,10 @@ [list label \$tree_name_${id} multirow_cols c_${id}_category_id] # Groupby - lappend groupby_values [list [category_tree::get_name $id] \ + set groupby_values [list [category_tree::get_name $id] \ [list [list groupby c_${id}_category_id] \ [list orderby c_${id}_category_id]]] + } Index: openacs-4/packages/logger/www/log.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/logger/www/log.adp,v diff -u -r1.17 -r1.18 --- openacs-4/packages/logger/www/log.adp 5 Oct 2005 07:43:26 -0000 1.17 +++ openacs-4/packages/logger/www/log.adp 14 Oct 2005 22:41:16 -0000 1.18 @@ -21,7 +21,7 @@ @@ -41,9 +41,7 @@ -
- -
+

#logger.Recent_Entries#

Index: openacs-4/packages/logger/www/log.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/logger/www/log.tcl,v diff -u -r1.33 -r1.34 --- openacs-4/packages/logger/www/log.tcl 4 Oct 2005 22:53:18 -0000 1.33 +++ openacs-4/packages/logger/www/log.tcl 14 Oct 2005 22:41:16 -0000 1.34 @@ -79,7 +79,8 @@ # We need project and variable names logger::project::get -project_id $project_id -array project_array logger::variable::get -variable_id $variable_id -array variable_array -set unit $variable_array(unit) +set unit "[_ [regsub -all {#} $variable_array(unit) ""]]" + # get the project_manager_url if this is related to project manager set project_manager_url [logger::util::project_manager_url]
- <#Add_Entry Add Entry#> + #logger.Add_Entry#