Changeset 2538
- Timestamp:
- 07/31/07 10:00:01 (1 year ago)
- Files:
-
- timingandestimationplugin/branches/trac0.10/setup.py (modified) (1 diff)
- timingandestimationplugin/branches/trac0.10/timingandestimationplugin/usermanual.py (modified) (2 diffs)
- timingandestimationplugin/branches/trac0.11/setup.py (modified) (2 diffs)
- timingandestimationplugin/branches/trac0.11/timingandestimationplugin/api.py (modified) (1 diff)
- timingandestimationplugin/branches/trac0.11/timingandestimationplugin/htdocs/ticket.js (modified) (2 diffs)
- timingandestimationplugin/branches/trac0.11/timingandestimationplugin/tande_filters.py (added)
- timingandestimationplugin/branches/trac0.11/timingandestimationplugin/usermanual.py (modified) (2 diffs)
- timingandestimationplugin/branches/trac0.11/timingandestimationplugin/webui.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
timingandestimationplugin/branches/trac0.10/setup.py
r2460 r2538 8 8 description='Plugin to make Trac support time estimation and tracking', 9 9 keywords='trac plugin estimation timetracking', 10 version='0.4. 6',10 version='0.4.8', 11 11 url='http://www.trac-hacks.org/wiki/TimingAndEstimationPlugin', 12 12 license='http://www.opensource.org/licenses/mit-license.php', timingandestimationplugin/branches/trac0.10/timingandestimationplugin/usermanual.py
r2390 r2538 1 1 user_manual_title = "Timing and Estimation Plugin User Manual" 2 user_manual_version = 1 02 user_manual_version = 11 3 3 user_manual_wiki_title = "TimingAndEstimationPluginUserManual" 4 4 user_manual_content = """ … … 27 27 This interface mostly just gives you links that match the interface to open any of the give reports, 28 28 providing it the correct set of input parameters 29 30 The '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 32 The direct url is '/Billing'. 33 29 34 30 35 === Set Bill Date === timingandestimationplugin/branches/trac0.11/setup.py
r2467 r2538 8 8 description='Plugin to make Trac support time estimation and tracking', 9 9 keywords='trac plugin estimation timetracking', 10 version='0.4. 7',10 version='0.4.8', 11 11 url='http://www.trac-hacks.org/wiki/TimingAndEstimationPlugin', 12 12 license='http://www.opensource.org/licenses/mit-license.php', … … 51 51 ## Added Javascript that improves Ticket UI 52 52 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 2 2 import dbhelper 3 3 import time 4 from tande_filters import * 4 5 from ticket_daemon import * 5 6 from usermanual import * timingandestimationplugin/branches/trac0.11/timingandestimationplugin/htdocs/ticket.js
r2460 r2538 57 57 58 58 InitBilling = function(){ 59 / / Convert totalhours field to non-editable59 /* // Convert totalhours field to non-editable 60 60 try 61 61 { … … 73 73 } 74 74 catch (er) {} 75 75 */ 76 76 77 // Display yes/no in the summary 77 78 // if we fail, then no harm done. timingandestimationplugin/branches/trac0.11/timingandestimationplugin/usermanual.py
r2390 r2538 1 1 user_manual_title = "Timing and Estimation Plugin User Manual" 2 user_manual_version = 1 02 user_manual_version = 11 3 3 user_manual_wiki_title = "TimingAndEstimationPluginUserManual" 4 4 user_manual_content = """ … … 27 27 This interface mostly just gives you links that match the interface to open any of the give reports, 28 28 providing it the correct set of input parameters 29 30 The '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 32 The direct url is '/Billing'. 33 29 34 30 35 === Set Bill Date === timingandestimationplugin/branches/trac0.11/timingandestimationplugin/webui.py
r2390 r2538 1 from pkg_resources import resource_filename 1 2 import re 2 3 import time … … 67 68 68 69 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') 72 71 73 72 def process_request(self, req): … … 76 75 def addMessage(s): 77 76 messages.extend([s]); 78 79 if not re.search('/Billing', req.path_info):80 return None81 82 77 83 78 if req.method == 'POST': … … 108 103 static resources (such as images, style sheets, etc). 109 104 """ 110 from pkg_resources import resource_filename111 105 return [('Billing', resource_filename(__name__, 'htdocs'))] 112 106 113 107 def get_templates_dirs(self): 114 108 """Return the absolute path of the directory containing the provided 115 ClearSilvertemplates.109 genshi templates. 116 110 """ 117 from pkg_resources import resource_filename118 111 rtn = [resource_filename(__name__, 'templates')] 119 112 return rtn
