Changeset 2538

Show
Ignore:
Timestamp:
07/31/07 10:00:01 (1 year ago)
Author:
bobbysmith007
Message:

TimingAndEstimationPlugin:

closes #1870
re #1873

  • (.11) applied patch to increase trac forge compatability
  • (.11) I also got David Abrahams Genshi Filters working and applied
  • (.10 & .11) changed user manual
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • timingandestimationplugin/branches/trac0.10/setup.py

    r2460 r2538  
    88      description='Plugin to make Trac support time estimation and tracking', 
    99      keywords='trac plugin estimation timetracking', 
    10       version='0.4.6', 
     10      version='0.4.8', 
    1111      url='http://www.trac-hacks.org/wiki/TimingAndEstimationPlugin', 
    1212      license='http://www.opensource.org/licenses/mit-license.php', 
  • timingandestimationplugin/branches/trac0.10/timingandestimationplugin/usermanual.py

    r2390 r2538  
    11user_manual_title = "Timing and Estimation Plugin User Manual" 
    2 user_manual_version = 10 
     2user_manual_version = 11 
    33user_manual_wiki_title = "TimingAndEstimationPluginUserManual" 
    44user_manual_content = """ 
     
    2727This interface mostly just gives you links that match the interface to open any of the give reports, 
    2828providing it the correct set of input parameters 
     29 
     30The 'Management' button should be in the main title bar.  It is possible that if you are viewing at a low resolution, it was pushed off the edge of the screen.  Also if you are not logged in with report_view permissions, it will not show that button. 
     31 
     32The direct url is '/Billing'. 
     33 
    2934 
    3035=== Set Bill Date === 
  • timingandestimationplugin/branches/trac0.11/setup.py

    r2467 r2538  
    88      description='Plugin to make Trac support time estimation and tracking', 
    99      keywords='trac plugin estimation timetracking', 
    10       version='0.4.7', 
     10      version='0.4.8', 
    1111      url='http://www.trac-hacks.org/wiki/TimingAndEstimationPlugin', 
    1212      license='http://www.opensource.org/licenses/mit-license.php', 
     
    5151## Added Javascript that improves Ticket UI 
    5252 
     53## Dave Abrahams <dave@boost-consulting.com> 
     54## 
     55## Genshi filters to remove T&E reports from the 
     56## standard reports page, where they display errors 
  • timingandestimationplugin/branches/trac0.11/timingandestimationplugin/api.py

    r2390 r2538  
    22import dbhelper 
    33import time 
     4from tande_filters import *  
    45from ticket_daemon import * 
    56from usermanual import * 
  • timingandestimationplugin/branches/trac0.11/timingandestimationplugin/htdocs/ticket.js

    r2460 r2538  
    5757    
    5858   InitBilling = function(){ 
    59       // Convert totalhours field to non-editable 
     59      /*  // Convert totalhours field to non-editable 
    6060      try 
    6161      { 
     
    7373      } 
    7474      catch (er) {} 
    75        
     75      */ 
     76 
    7677      // Display yes/no in the summary 
    7778      // if we fail, then no harm done. 
  • timingandestimationplugin/branches/trac0.11/timingandestimationplugin/usermanual.py

    r2390 r2538  
    11user_manual_title = "Timing and Estimation Plugin User Manual" 
    2 user_manual_version = 10 
     2user_manual_version = 11 
    33user_manual_wiki_title = "TimingAndEstimationPluginUserManual" 
    44user_manual_content = """ 
     
    2727This interface mostly just gives you links that match the interface to open any of the give reports, 
    2828providing it the correct set of input parameters 
     29 
     30The 'Management' button should be in the main title bar.  It is possible that if you are viewing at a low resolution, it was pushed off the edge of the screen.  Also if you are not logged in with report_view permissions, it will not show that button. 
     31 
     32The direct url is '/Billing'. 
     33 
    2934 
    3035=== Set Bill Date === 
  • timingandestimationplugin/branches/trac0.11/timingandestimationplugin/webui.py

    r2390 r2538  
     1from pkg_resources import resource_filename 
    12import re 
    23import time 
     
    6768 
    6869    def match_request(self, req): 
    69         if re.search('/Billing', req.path_info): 
    70             return True 
    71         return None 
     70        return req.path_info.startswith('/Billing') 
    7271 
    7372    def process_request(self, req): 
     
    7675        def addMessage(s): 
    7776            messages.extend([s]); 
    78  
    79         if not re.search('/Billing', req.path_info): 
    80             return None 
    81  
    8277 
    8378        if req.method == 'POST': 
     
    108103        static resources (such as images, style sheets, etc). 
    109104        """ 
    110         from pkg_resources import resource_filename 
    111105        return [('Billing', resource_filename(__name__, 'htdocs'))] 
    112106 
    113107    def get_templates_dirs(self): 
    114108        """Return the absolute path of the directory containing the provided 
    115         ClearSilver templates. 
     109        genshi templates. 
    116110        """ 
    117         from pkg_resources import resource_filename 
    118111        rtn = [resource_filename(__name__, 'templates')] 
    119112        return rtn