annotate mercurial-server/resources/buildServerResources/mercurialSettings.jsp @ 573:91b58ee782ac

TW-26913
author Dmitry Neverov <dmitry.neverov@jetbrains.com>
date Tue, 26 Mar 2013 15:50:03 +0400
parents 4ff88460fb5d
children 256d3fc22a28
rev   line source
573
91b58ee782ac TW-26913
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 544
diff changeset
1 <%@ page import="jetbrains.buildServer.serverSide.TeamCityProperties" %>
91b58ee782ac TW-26913
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 544
diff changeset
2 <%@ page import="jetbrains.buildServer.buildTriggers.vcs.mercurial.Constants" %>
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
3 <%@include file="/include.jsp"%>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
4 <%@ taglib prefix="props" tagdir="/WEB-INF/tags/props" %>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
5 <jsp:useBean id="propertiesBean" scope="request" type="jetbrains.buildServer.controllers.BasePropertiesBean"/>
57
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
6 <script type="text/javascript">
99
09cca4213a3d TW-11493
Pavel.Sher
parents: 62
diff changeset
7 window.updateBranchName = function(repoPath) {
57
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
8 if (repoPath.indexOf('#') != -1 && $('branchName').value == '') {
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
9 $('branchName').value = repoPath.substring(repoPath.indexOf('#')+1);
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
10 }
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
11 }
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
12 </script>
573
91b58ee782ac TW-26913
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 544
diff changeset
13 <c:set var="subreposGloballyDisabled" value="<%= !TeamCityProperties.getBooleanOrTrue(Constants.GLOBAL_DETECT_SUBREPO_CHANGES) %>"/>
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
14 <table class="runnerFormTable">
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
15
45
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
16 <l:settingsGroup title="General Settings">
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
17 <tr>
464
1dc564bac602 TW-22490
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 463
diff changeset
18 <th><label for="repositoryPath">Pull Changes From: <l:star/></label></th>
57
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
19 <td><props:textProperty name="repositoryPath" className="longField" onchange="updateBranchName(this.value)"/>
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
20 <span class="error" id="error_repositoryPath"></span></td>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
21 </tr>
57
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
22 <tr>
469
25ec3dde8770 TW-23426
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 464
diff changeset
23 <th><label for="branchName">Default Branch: </label></th>
25ec3dde8770 TW-23426
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 464
diff changeset
24 <td>
25ec3dde8770 TW-23426
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 464
diff changeset
25 <props:textProperty name="branchName" />
471
848c834e3d98 fix markup
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 469
diff changeset
26 <div class="smallNote" style="margin: 0;">Branch to be used if no branch from Branch Specification is set</div>
469
25ec3dde8770 TW-23426
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 464
diff changeset
27 </td>
57
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
28 </tr>
463
0d9919bd9685 Use branchSpec tag
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 455
diff changeset
29 <bs:branchSpecTableRow/>
455
cb5263bf8b25 Show branchSpec and branch together
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 437
diff changeset
30 <tr>
464
1dc564bac602 TW-22490
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 463
diff changeset
31 <th><label for="serverClonePath">Clone Repository To: </label></th>
62
b328c6b6526d TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
Pavel.Sher
parents: 57
diff changeset
32 <td><props:textProperty name="serverClonePath" className="longField"/>
b328c6b6526d TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
Pavel.Sher
parents: 57
diff changeset
33 <div class="smallNote" style="margin: 0;">Provide path to a parent directory on TeamCity server where a cloned repository should be created (applicable to "Automatically on server" checkout mode only). Leave blank to use default path.</div>
b328c6b6526d TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
Pavel.Sher
parents: 57
diff changeset
34 </td>
b328c6b6526d TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
Pavel.Sher
parents: 57
diff changeset
35 </tr>
170
48a9978eaa37 Add option in UI
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 99
diff changeset
36 <tr>
544
4ff88460fb5d UI option for subrepo changes
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 517
diff changeset
37 <th><label for="detectSubrepoChanges">Detect subrepo changes: </label></th>
4ff88460fb5d UI option for subrepo changes
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 517
diff changeset
38 <td>
4ff88460fb5d UI option for subrepo changes
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 517
diff changeset
39 <props:checkboxProperty name="detectSubrepoChanges"/>
573
91b58ee782ac TW-26913
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 544
diff changeset
40 <c:if test="${subreposGloballyDisabled}">
91b58ee782ac TW-26913
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 544
diff changeset
41 <div class="smallNote" style="margin: 0;">Currently <b>disabled</b> for the entire server with 'teamcity.hg.detectSubrepoChanges' internal property.</div>
91b58ee782ac TW-26913
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 544
diff changeset
42 </c:if>
544
4ff88460fb5d UI option for subrepo changes
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 517
diff changeset
43 </td>
4ff88460fb5d UI option for subrepo changes
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 517
diff changeset
44 </tr>
4ff88460fb5d UI option for subrepo changes
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 517
diff changeset
45 <tr>
464
1dc564bac602 TW-22490
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 463
diff changeset
46 <th><label for="tagUsername">Username For Tags: </label></th>
385
62f273711a49 TW-20263 add note for tag name format
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 371
diff changeset
47 <td><props:textProperty name="tagUsername"/>
62f273711a49 TW-20263 add note for tag name format
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 371
diff changeset
48 <div class="smallNote" style="margin: 0;">Format: User Name &lt;email&gt;</div>
62f273711a49 TW-20263 add note for tag name format
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 371
diff changeset
49 </td>
371
24d926f22e85 TW-16045 allow specify username for tags
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 170
diff changeset
50 </tr>
24d926f22e85 TW-16045 allow specify username for tags
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 170
diff changeset
51 <tr>
464
1dc564bac602 TW-22490
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 463
diff changeset
52 <th><label for="uncompressedTransfer">Use Uncompressed Transfer: </label></th>
170
48a9978eaa37 Add option in UI
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 99
diff changeset
53 <td><props:checkboxProperty name="uncompressedTransfer"/>
48a9978eaa37 Add option in UI
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 99
diff changeset
54 <div class="smallNote" style="margin: 0;">Uncompressed transfer is faster for repositories in the LAN.</div>
48a9978eaa37 Add option in UI
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 99
diff changeset
55 </td>
48a9978eaa37 Add option in UI
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 99
diff changeset
56 </tr>
499
a7753de2a27a Move hg path to the bottom
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 471
diff changeset
57 <tr>
a7753de2a27a Move hg path to the bottom
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 471
diff changeset
58 <th><label for="hgCommandPath">HG Command Path: <l:star/></label></th>
a7753de2a27a Move hg path to the bottom
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 471
diff changeset
59 <td>
a7753de2a27a Move hg path to the bottom
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 471
diff changeset
60 <props:textProperty name="hgCommandPath" className="longField" />
a7753de2a27a Move hg path to the bottom
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 471
diff changeset
61 <span class="error" id="error_hgCommandPath"></span>
a7753de2a27a Move hg path to the bottom
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 471
diff changeset
62 </td>
a7753de2a27a Move hg path to the bottom
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 471
diff changeset
63 </tr>
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
64 </l:settingsGroup>
45
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
65 <l:settingsGroup title="Authorization settings">
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
66 <tr>
464
1dc564bac602 TW-22490
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 463
diff changeset
67 <th><label for="username">User Name:</label></th>
437
585a23bc9400 Add note on settings from server hgrc
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 385
diff changeset
68 <td>
585a23bc9400 Add note on settings from server hgrc
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 385
diff changeset
69 <props:textProperty name="username"/>
517
9c22b0679417 TW-22167 don't use yellow triangles
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 499
diff changeset
70 <span class="smallNote">Leave blank to use settings from the server hgrc (see 'man hgrc' for details)</span>
437
585a23bc9400 Add note on settings from server hgrc
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 385
diff changeset
71 </td>
45
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
72 </tr>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
73 <tr>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
74 <th><label for="secure:password">Password:</label></th>
437
585a23bc9400 Add note on settings from server hgrc
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 385
diff changeset
75 <td>
585a23bc9400 Add note on settings from server hgrc
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 385
diff changeset
76 <props:passwordProperty name="secure:password"/>
517
9c22b0679417 TW-22167 don't use yellow triangles
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 499
diff changeset
77 <span class="smallNote">Leave blank to use settings from the server hgrc (see 'man hgrc' for details)</span>
437
585a23bc9400 Add note on settings from server hgrc
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 385
diff changeset
78 </td>
45
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
79 </tr>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
80 </l:settingsGroup>
371
24d926f22e85 TW-16045 allow specify username for tags
Dmitry Neverov <dmitry.neverov@jetbrains.com>
parents: 170
diff changeset
81
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
82 </table>