| 5506 |
dpurdie |
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
|
|
2 |
<%
|
|
|
3 |
'=====================================================
|
|
|
4 |
'| |
|
|
|
5 |
'| INDEX |
|
|
|
6 |
'| |
|
|
|
7 |
'=====================================================
|
|
|
8 |
%>
|
|
|
9 |
<%
|
|
|
10 |
Option explicit
|
|
|
11 |
' Good idea to set when using redirect
|
|
|
12 |
Response.Expires = 0 ' always load the page, dont store
|
|
|
13 |
%>
|
|
|
14 |
<!--#include file="common/conf.asp"-->
|
|
|
15 |
<!--#include file="common/globals.asp"-->
|
|
|
16 |
<!--#include file="common/formating.asp"-->
|
|
|
17 |
<!--#include file="common/qstr.asp"-->
|
|
|
18 |
<!--#include file="common/common_subs.asp"-->
|
|
|
19 |
<%
|
|
|
20 |
'------------ ACCESS CONTROL ------------------
|
|
|
21 |
%>
|
| 6181 |
dpurdie |
22 |
<!--#include file="_access_control_login_optional.asp"-->
|
| 5506 |
dpurdie |
23 |
<!--#include file="_access_control_general.asp"-->
|
|
|
24 |
<%
|
|
|
25 |
'------------ Variable Definition -------------
|
|
|
26 |
Dim parMsg
|
| 5590 |
dpurdie |
27 |
Dim msgScript, msgTitle
|
| 5506 |
dpurdie |
28 |
Dim userId
|
| 5901 |
dpurdie |
29 |
Dim pkgCount
|
| 5506 |
dpurdie |
30 |
Dim rsQry
|
|
|
31 |
Dim rsLastRelease
|
|
|
32 |
Dim AutomatedPackages, TotalPackages
|
|
|
33 |
Dim Query_String
|
|
|
34 |
Dim Auto
|
|
|
35 |
'------------ Constants Declaration -----------
|
|
|
36 |
'------------ Variable Init -------------------
|
|
|
37 |
parMsg = QStrPar("msg") ' Messages
|
|
|
38 |
'----------------------------------------------
|
|
|
39 |
%>
|
|
|
40 |
<%
|
|
|
41 |
'-----------------------------------------------------------------------------------------------------------------------
|
|
|
42 |
Function Get_Messages
|
|
|
43 |
Get_Messages = _
|
|
|
44 |
" SELECT * FROM message_board WHERE expiry_date > "& ORA_SYSDATE &" OR due_date >= "& ORA_SYSDATE &"+2"
|
|
|
45 |
End Function
|
|
|
46 |
'-----------------------------------------------------------------------------------------------------------------------
|
|
|
47 |
%>
|
|
|
48 |
<html>
|
|
|
49 |
<head>
|
|
|
50 |
<title>Release Manager</title>
|
|
|
51 |
<link rel="shortcut icon" href="<%=FavIcon%>"/>
|
|
|
52 |
<meta http-equiv="Pragma" content="no-cache">
|
|
|
53 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
| 6579 |
dpurdie |
54 |
<link rel="stylesheet" href="images/release_manager_style.css?ver=<%=VixVerNum%>" type="text/css">
|
|
|
55 |
<link rel="stylesheet" href="images/navigation.css?ver=<%=VixVerNum%>" type="text/css">
|
|
|
56 |
<script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
|
|
|
57 |
<script language="JavaScript" src="scripts/remote_scripting.js?ver=<%=VixVerNum%>"></script>
|
| 6651 |
dpurdie |
58 |
<%bCsvExport = True%>
|
| 5590 |
dpurdie |
59 |
<!--#include file="_jquery_includes.asp"-->
|
| 5506 |
dpurdie |
60 |
<!-- TIPS -->
|
| 6579 |
dpurdie |
61 |
<script language="JavaScript" src="images/tipster.js?ver=<%=VixVerNum%>"></script>
|
|
|
62 |
<script language="JavaScript" src="images/_help_tips.js?ver=<%=VixVerNum%>"></script>
|
| 5506 |
dpurdie |
63 |
<!-- DROPDOWN MENUS -->
|
|
|
64 |
<!--#include file="_menu_def.asp"-->
|
| 6579 |
dpurdie |
65 |
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
|
| 5506 |
dpurdie |
66 |
<script language="JavaScript" type="text/javascript">
|
|
|
67 |
<!--
|
| 5901 |
dpurdie |
68 |
formTips.tips.h_wip = stdTip(300, 'Work In Progress', 'These are versions of packages that have not yet been Released.' +
|
|
|
69 |
'<p>The versions are associated with a Release and are considered to be a "Work In Progress".' +
|
|
|
70 |
'<p>Consider Releasing or Deleting these versions.'
|
|
|
71 |
);
|
|
|
72 |
formTips.tips.h_dangling = stdTip(300, 'Dangling Versions', 'Dangling package versions are versions of a package that have not been released and are not associated with any Release.' +
|
| 5902 |
dpurdie |
73 |
'<p>These are commonly caused by "Removing" a WIP instead of "Destroying" it.' +
|
|
|
74 |
'<p>Please consider destroying these versions.'
|
| 5901 |
dpurdie |
75 |
);
|
| 6618 |
dpurdie |
76 |
formTips.tips.h_baseRipple = stdTip(300, 'Base Version of Ripple', 'This is the last non-ripple version of the version of the package in the Release');
|
|
|
77 |
formTips.tips.h_showInterval = stdTip(300, 'Selected Interval', 'Version of the package has been created within the selected reporting interval');
|
| 5506 |
dpurdie |
78 |
//-->
|
|
|
79 |
</script>
|
|
|
80 |
</head>
|
| 6048 |
dpurdie |
81 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
|
| 5506 |
dpurdie |
82 |
<!-- HEADER -->
|
|
|
83 |
<!--#include file="_header.asp"-->
|
|
|
84 |
<!-- BODY ---->
|
|
|
85 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
86 |
<tr>
|
|
|
87 |
<td width="1%" background="images/bg_home_orange.gif" valign="top">
|
|
|
88 |
<!--#include file="_front_explorer.asp"-->
|
|
|
89 |
</td>
|
|
|
90 |
<td rowspan="2" width="1%" valign="top">
|
|
|
91 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
92 |
<tr>
|
|
|
93 |
<td width="1%">
|
|
|
94 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
95 |
<tr>
|
|
|
96 |
<td colspan="3">
|
|
|
97 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
98 |
<tr>
|
|
|
99 |
<td background="images/bg_comp_gear.gif"><img src="images/img_comp_gear_left.jpg" width="436" height="88"></td>
|
|
|
100 |
<td align="right" background="images/bg_comp_gear.gif"><img src="images/img_comp_gear_right.jpg" width="70" height="88"></td>
|
|
|
101 |
</tr>
|
|
|
102 |
</table>
|
|
|
103 |
</td>
|
|
|
104 |
<td background="images/bg_action_norm.gif"></td>
|
|
|
105 |
</tr>
|
|
|
106 |
<tr>
|
|
|
107 |
<td width="1%"><img src="images/h_trsp_dot.gif" width="15" height="518"></td>
|
|
|
108 |
<td width="100%" valign="top" class="body_txt">
|
|
|
109 |
<br>
|
|
|
110 |
<!-- MESSAGE BOARD ---------------------------------------------->
|
|
|
111 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
112 |
<tr>
|
|
|
113 |
<td colspan="2" class="body_sect">Message Board</td>
|
|
|
114 |
</tr>
|
|
|
115 |
<tr>
|
|
|
116 |
<td align="center" width="1%" nowrap class="body_txt" background="images/bg_form_lightbluedark.gif">Due Date</td>
|
|
|
117 |
<td width="100%" background="images/bg_form_lightbluedark.gif" align="right">
|
| 6827 |
dpurdie |
118 |
<span class="pointer" onclick="MM_openVixIFrame('_wform_schedule_add.asp','Add Scheduled Task')"><img src="images/i_schedule.gif" width="16" height="15" border="0" hspace="4" vspace="2" alt="Schedule a Task" title="Schedule a Task"></span>
|
|
|
119 |
<span class=pointer onclick="MM_openVixIFrame('_wform_memo_add.asp','Add Memo')"><img src="images/i_memo.gif" width="12" height="15" border="0" hspace="4" vspace="2" alt="Memo" title="Memo"></span>
|
| 5506 |
dpurdie |
120 |
</td>
|
|
|
121 |
</tr>
|
|
|
122 |
<%
|
|
|
123 |
Set rsTemp = OraDatabase.DbCreateDynaset( Get_Messages, cint(0))
|
|
|
124 |
If rsTemp.RecordCount < 1 Then Response.write "<tr><td colspan='2' class='msgb_item'> No messages at this time.</td></tr>"
|
|
|
125 |
While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
|
|
|
126 |
If rsTemp.Fields("due_date") <> "" Then
|
|
|
127 |
msgScript = "schedule"
|
| 5590 |
dpurdie |
128 |
msgTitle = "Edit Scheduled Task"
|
| 5506 |
dpurdie |
129 |
Else
|
|
|
130 |
msgScript = "memo"
|
| 5590 |
dpurdie |
131 |
msgTitle = "Edit Memo"
|
| 5506 |
dpurdie |
132 |
End If
|
|
|
133 |
%>
|
|
|
134 |
<tr>
|
|
|
135 |
<td align="center" valign="top" nowrap>
|
|
|
136 |
<%If rsTemp.Fields("due_date") <> "" Then%>
|
| 6827 |
dpurdie |
137 |
<span class='body_txt pointer' onClick="MM_openVixIFrame('_wform_<%=msgScript%>_edit.asp?FRmsg_id=<%=rsTemp.Fields("msg_id")%>','<%=msgTitle%>')" class="msgb_item">
|
|
|
138 |
<%=DisplayDate(rsTemp.Fields("due_date"))%>
|
|
|
139 |
<img src="images/i_clock.gif" width="14" height="14" border="0">
|
|
|
140 |
</span>
|
| 5506 |
dpurdie |
141 |
<%Else%>
|
| 6827 |
dpurdie |
142 |
<img src="images/h_trsp_dot.gif" width="1" height="25">
|
| 5506 |
dpurdie |
143 |
<%End If%>
|
|
|
144 |
</td>
|
| 6827 |
dpurdie |
145 |
<td valign="top"><span class='body_txt pointer' onClick="MM_openVixIFrame('_wform_<%=msgScript%>_edit.asp?FRmsg_id=<%=rsTemp.Fields("msg_id")%>','<%=msgTitle%>')" class="msgb_item"><%=Replace(rsTemp.Fields("msg_details"), VBNewLine, "<br>")%></span>
|
| 5506 |
dpurdie |
146 |
</td>
|
|
|
147 |
</tr>
|
|
|
148 |
<tr>
|
|
|
149 |
<td colspan="2" background="images/bg_form_lightbluedark.gif"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
|
|
150 |
</tr>
|
|
|
151 |
<%
|
|
|
152 |
rsTemp.MoveNext
|
|
|
153 |
WEnd
|
|
|
154 |
rsTemp.Close
|
|
|
155 |
Set rsTemp = nothing
|
|
|
156 |
%>
|
|
|
157 |
<tr>
|
|
|
158 |
<td><img src="images/h_trsp_dot.gif" width="80" height="1"></td>
|
|
|
159 |
<td align="right"></td>
|
|
|
160 |
</tr>
|
|
|
161 |
</table>
|
|
|
162 |
<!-- MESSAGE BOARD END ---------------------------------------------->
|
|
|
163 |
<br>
|
|
|
164 |
<br>
|
|
|
165 |
<!-- WORK IN PROGRESS ---------------------------------------------->
|
|
|
166 |
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
|
|
167 |
<tr>
|
| 5901 |
dpurdie |
168 |
<td colspan="4" class="body_sect">Work In Progress<%=Quick_Help("h_wip")%>
|
|
|
169 |
</td>
|
| 5506 |
dpurdie |
170 |
</tr>
|
|
|
171 |
<tr>
|
|
|
172 |
<td width="40%" nowrap class="body_txt" background="images/bg_form_lightbluedark.gif"> User</td>
|
|
|
173 |
<td width="50%" nowrap class="body_txt" background="images/bg_form_lightbluedark.gif"> Package Count</td>
|
|
|
174 |
</tr>
|
|
|
175 |
<!-- PERSONAL WORK IN PROGRESS -->
|
|
|
176 |
<%
|
|
|
177 |
If objAccessControl.UserLogedIn Then
|
|
|
178 |
|
|
|
179 |
OraDatabase.Parameters.Add "USER_ID", objAccessControl.UserId, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
180 |
|
|
|
181 |
Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("WorkInProgressByUser.sql"), cint(0))
|
|
|
182 |
|
|
|
183 |
OraDatabase.Parameters.Remove "USER_ID"
|
|
|
184 |
|
|
|
185 |
userId = rsTemp("user_id")
|
|
|
186 |
%>
|
|
|
187 |
<tr>
|
|
|
188 |
<td nowrap>
|
| 6827 |
dpurdie |
189 |
<img src="images/bt_plus.gif" border="0" align="absmiddle" hspace="3" id="IMG_WIP_<%=userId%>" class="pointer txt_linked" onClick="ToggleLoadControl ('WIP_<%=userId%>','RequestUserWip.asp?user_id=<%=userId%>');">
|
| 6613 |
dpurdie |
190 |
<%=emailField(enum_imgUserLg & rsTemp("full_name"), rsTemp("user_email"))%>
|
| 5506 |
dpurdie |
191 |
</td>
|
|
|
192 |
<td nowrap class="body_txt"><%=rsTemp("counter")%></td>
|
|
|
193 |
</tr>
|
| 6613 |
dpurdie |
194 |
<tr id="TGL_WIP_<%=userId%>" style="display:none;">
|
| 6618 |
dpurdie |
195 |
<td nowrap class="body_txt" colspan="3"><div class="subSectionIndent" id="WIP_<%=userId%>"><%=enumLOADING%></div></td>
|
| 5506 |
dpurdie |
196 |
</tr>
|
|
|
197 |
<tr>
|
|
|
198 |
<td colspan="3" background="images/bg_form_lightbluedark_line.gif"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
|
|
199 |
</tr>
|
|
|
200 |
<%
|
|
|
201 |
rsTemp.Close
|
|
|
202 |
Set rsTemp = nothing
|
|
|
203 |
End If%>
|
|
|
204 |
</table>
|
|
|
205 |
<!-- WORK IN PROGRESS END ------------------------------------------>
|
| 5901 |
dpurdie |
206 |
<!-- DANGLING PACKAGES ---------------------------------------------->
|
|
|
207 |
<%
|
|
|
208 |
pkgCount = 0
|
|
|
209 |
If objAccessControl.UserLogedIn Then
|
|
|
210 |
OraDatabase.Parameters.Add "USER_ID", objAccessControl.UserId, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
211 |
Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("WorkNotInProgressByUser.sql"), cint(0))
|
|
|
212 |
OraDatabase.Parameters.Remove "USER_ID"
|
|
|
213 |
userId = rsTemp("user_id")
|
|
|
214 |
pkgCount = rsTemp("counter")
|
|
|
215 |
End If
|
|
|
216 |
%>
|
|
|
217 |
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
|
|
218 |
<tr>
|
|
|
219 |
<td colspan="4" class="body_sect">Dangling Package Versions
|
|
|
220 |
<%=Quick_Help("h_dangling")%>
|
|
|
221 |
<%If pkgCount > 10 Then%>
|
|
|
222 |
<img src='images/a_warning.gif' width='21' height='21' border='0' title='Unreleased packages that are not in use.'>
|
|
|
223 |
<%End If%>
|
|
|
224 |
</td>
|
|
|
225 |
</tr>
|
|
|
226 |
<tr>
|
|
|
227 |
<td width="40%" nowrap class="body_txt" background="images/bg_form_lightbluedark.gif"> User
|
|
|
228 |
</td>
|
|
|
229 |
<td width="50%" nowrap class="body_txt" background="images/bg_form_lightbluedark.gif"> Package Count</td>
|
|
|
230 |
</tr>
|
|
|
231 |
<%If objAccessControl.UserLogedIn Then %>
|
|
|
232 |
<tr>
|
|
|
233 |
<td nowrap>
|
| 6827 |
dpurdie |
234 |
<img src="images/bt_plus.gif" border="0" align="absmiddle" hspace="3" id="IMG_DGL_<%=userId%>" class="pointer txt_linked" onClick="ToggleLoadControl('DGL_<%=userId%>','RequestUserDangle.asp?user_id=<%=userId%>');"><%=emailField(enum_imgUserLg & rsTemp("full_name"), rsTemp("user_email"))%>
|
| 5901 |
dpurdie |
235 |
</td>
|
|
|
236 |
<td nowrap class="body_txt"><%=pkgCount%></td>
|
|
|
237 |
</tr>
|
| 6613 |
dpurdie |
238 |
<tr id="TGL_DGL_<%=userId%>" style="display:none;">
|
| 6618 |
dpurdie |
239 |
<td nowrap class="body_txt" colspan="3"><div class=subSectionIndent id='DGL_<%=userId%>'><%=enumLOADING%></div></td>
|
| 5901 |
dpurdie |
240 |
</tr>
|
|
|
241 |
<tr>
|
|
|
242 |
<td colspan="3" background="images/bg_form_lightbluedark_line.gif"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
|
|
243 |
</tr>
|
|
|
244 |
<%
|
|
|
245 |
rsTemp.Close
|
|
|
246 |
Set rsTemp = nothing
|
|
|
247 |
End If%>
|
|
|
248 |
</table>
|
|
|
249 |
<!-- DANGLING PACKAGES END ------------------------------------------>
|
| 5506 |
dpurdie |
250 |
<br>
|
|
|
251 |
<br>
|
|
|
252 |
<!-- RELEASE METRICS -------------------------------------------------------->
|
|
|
253 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
254 |
<tr>
|
| 6613 |
dpurdie |
255 |
<td class="body_sect">Release Metrics</td>
|
| 5506 |
dpurdie |
256 |
</tr>
|
|
|
257 |
<tr>
|
| 6613 |
dpurdie |
258 |
<td>
|
| 6651 |
dpurdie |
259 |
<table width="100%" border="0" cellspacing="1" cellpadding="1" class="etable">
|
| 6613 |
dpurdie |
260 |
<tr class="form_field_bg">
|
| 6651 |
dpurdie |
261 |
<th nowrap class="body_row" valign="top">Project</th>
|
|
|
262 |
<th nowrap class="body_row" valign="top">Last Built Release</th>
|
|
|
263 |
<th nowrap class="body_row" valign="top">Completed</th>
|
|
|
264 |
<th nowrap class="body_row" valign="top">Autobuilt Packages</th>
|
| 5506 |
dpurdie |
265 |
</tr>
|
|
|
266 |
<%
|
| 6616 |
dpurdie |
267 |
Set rsQry = OraDatabase.DbCreateDynaset( GetQuery("ReleaseMetricsSummary.sql"), cint(0))
|
| 5506 |
dpurdie |
268 |
|
|
|
269 |
While ((NOT rsQry.BOF) AND (NOT rsQry.EOF))
|
| 6613 |
dpurdie |
270 |
Dim proj_id: proj_id = rsQry("proj_id")
|
| 6616 |
dpurdie |
271 |
Auto=FormatPercent(rsQry("autobuilt")/rsQry("total_packages"), 2)
|
| 5506 |
dpurdie |
272 |
%>
|
| 6651 |
dpurdie |
273 |
<tr class="form_field_grey_bg csvData">
|
| 6613 |
dpurdie |
274 |
<td nowrap class="body_row">
|
| 6616 |
dpurdie |
275 |
<a title="Show all metrics for this Project" href='javascript://proj_id=<%=proj_id%>;' class="txt_linked" onClick="ToggleLoadControl('RPM_<%=proj_id%>','RequestProjectRelease.asp?proj_id=<%=rsQry("proj_id")%>');"><img src="images/bt_plus.gif" border="0" align="absmiddle" hspace="3" id="IMG_RPM_<%=proj_id%>"><img src="images/i_world.gif" border="0" align="absmiddle" hspace="3"></a>
|
|
|
276 |
<a title="Open this Project" href="rtree.asp?proj_id=<%=proj_id%>"><%=rsQry("proj_name")%></a>
|
| 5506 |
dpurdie |
277 |
</td>
|
| 6616 |
dpurdie |
278 |
<td nowrap class="body_row" title="Open this Release">
|
| 6618 |
dpurdie |
279 |
<a href='dependencies.asp?rtag_id=<%=rsQry("rtag_id")%>'><%=rsQry("rtag_name")%></a>
|
|
|
280 |
</td>
|
| 6616 |
dpurdie |
281 |
<td nowrap class="body_row"><%=rsQry("last_build_time")%></td>
|
| 6618 |
dpurdie |
282 |
<td nowrap class="body_row tright"><%=rsQry("autobuilt")%>/<%=rsQry("total_packages")%> (<%=Auto%>)</td>
|
| 5506 |
dpurdie |
283 |
</tr>
|
| 6613 |
dpurdie |
284 |
<tr id="TGL_RPM_<%=proj_id%>" style="display:none;" class="form_field_grey_bg">
|
| 6618 |
dpurdie |
285 |
<td nowrap class="body_row" colspan="4"><div class=subSectionIndent id='RPM_<%=proj_id%>'><%=enumLOADING%></div></td>
|
| 6613 |
dpurdie |
286 |
</tr>
|
| 5506 |
dpurdie |
287 |
<%
|
|
|
288 |
rsQry.MoveNext
|
|
|
289 |
Wend
|
|
|
290 |
|
|
|
291 |
rsQry.Close()
|
|
|
292 |
Set rsQry = Nothing
|
|
|
293 |
%>
|
|
|
294 |
</table>
|
|
|
295 |
</td>
|
|
|
296 |
</tr>
|
|
|
297 |
</table>
|
|
|
298 |
<!-- DASH BOARD END ---------------------------------------------------->
|
|
|
299 |
</td>
|
|
|
300 |
<td width="1%"><img src="images/h_trsp_dot.gif" width="15" height="10"></td>
|
|
|
301 |
<td background="images/bg_action_norm.gif" width="1%"><img src="images/h_trsp_dot.gif" width="5" height="10"></td>
|
|
|
302 |
</tr>
|
|
|
303 |
</table>
|
|
|
304 |
</td>
|
|
|
305 |
</tr>
|
|
|
306 |
</table>
|
|
|
307 |
</td>
|
|
|
308 |
<td width="100%"> </td>
|
|
|
309 |
</tr>
|
|
|
310 |
<tr>
|
|
|
311 |
<td valign="bottom" align="center" background="images/bg_home_orange.gif"><img src="images/img_gear.gif" width="107" height="107" vspace="20" hspace="30"></td>
|
|
|
312 |
<td> </td>
|
|
|
313 |
</tr>
|
|
|
314 |
</table>
|
|
|
315 |
<!-- FOOTER -->
|
| 5957 |
dpurdie |
316 |
<!--#include file="_footer.asp"-->
|
| 5506 |
dpurdie |
317 |
</body>
|
|
|
318 |
</html>
|