Wiki source code of iSymphony Installation and Update Guide
Version 17.1 by Scott Gagan on 2021/09/13 19:01
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{panel bgColor="#ddfddd" titleBGColor="#5cc35c" borderStyle="solid" borderColor="#ccc" title="iSymphony Installation and Update Guide"}} | ||
2 | |||
3 | This guide contains information on installing and upgrading iSymphony Server software version 2.7 and greater. | ||
4 | |||
5 | {{children style="h3" depth="3"/}} | ||
6 | {{/panel}} | ||
7 | |||
8 | {{panel bgColor="#ddfddd" titleBGColor="#5cc35c" borderStyle="solid" borderColor="#ccc" title="iSymphony Installation and Update Guide"}} | ||
9 | {{tree links="true"}} | ||
10 | {{velocity}} | ||
11 | {{html wiki=true}} | ||
12 | <ul> | ||
13 | #foreach ($child in $doc.getChildren()) | ||
14 | <li class="jstree-open"> | ||
15 | [[$child]] | ||
16 | <ul> | ||
17 | #foreach ($subchild in $xwiki.getDocument($child).getChildren()) | ||
18 | <li class="jstree-open"> | ||
19 | [[$subchild]] | ||
20 | <ul> | ||
21 | #foreach ($subsubchild in $xwiki.getDocument($subchild).getChildren()) | ||
22 | <li class="jstree-open"> | ||
23 | [[$subsubchild]] | ||
24 | <ul> | ||
25 | #foreach ($subsubsubchild in $xwiki.getDocument($subsubchild).getChildren()) | ||
26 | <li class="jstree-open"> | ||
27 | [[$subsubsubchild]] | ||
28 | </li> | ||
29 | #end | ||
30 | </ul> | ||
31 | </li> | ||
32 | #end | ||
33 | </ul> | ||
34 | </li> | ||
35 | #end | ||
36 | </ul> | ||
37 | </li> | ||
38 | #end | ||
39 | </ul> | ||
40 | {{/html}} | ||
41 | {{/velocity}} | ||
42 | {{/tree}} | ||
43 | {{/panel}} | ||
44 | |||
45 | {{panel bgColor="#ddfddd" titleBGColor="#5cc35c" borderStyle="solid" borderColor="#ccc" title="iSymphony Installation and Update Guide"}} | ||
46 | {{tree contextMenu="true" dragAndDrop="true"}} | ||
47 | * [[Asterisk Server (Vanilla) Installation]] | ||
48 | * [[Client Installation and Uninstallation]] | ||
49 | * [[FreePBX, Elastix and Trixbox Installation]] | ||
50 | * [[Getting an iSymphony License]] | ||
51 | * [[iSymphony in a Terminal Environment]] | ||
52 | * [[iSymphony Requirements]] | ||
53 | * [[Migrating an iSymphony Server]] | ||
54 | * [[Supported Platforms]] | ||
55 | ** [[End of Support Announcements for iSymphony]] | ||
56 | * [[Updating]] | ||
57 | {{/tree}} | ||
58 | {{/panel}} | ||
59 | |||
60 | |||
61 | {{velocity output="false"}} | ||
62 | #macro (handleTeamHierarchyTreeRequest) | ||
63 | #if ($request.data == 'children') | ||
64 | #getChildren($request.id $data) | ||
65 | $response.setContentType('application/json') | ||
66 | $jsontool.serialize($data) | ||
67 | #end | ||
68 | #end | ||
69 | |||
70 | #macro (getChildren $nodeId $return) | ||
71 | #if ($nodeId == '#') | ||
72 | ## Get the root nodes. | ||
73 | #set ($userReference = $NULL) | ||
74 | #else | ||
75 | ## Get the child nodes of the specified parent node. | ||
76 | #set ($userReference = $services.model.createDocumentReference('', 'XWiki', $nodeId)) | ||
77 | #end | ||
78 | #getChildrenQuery($userReference $childrenQuery) | ||
79 | #set ($children = []) | ||
80 | #foreach ($userId in $childrenQuery.execute()) | ||
81 | #set ($userReference = $services.model.resolveDocument($userId)) | ||
82 | #addUserNode($userReference $children) | ||
83 | #end | ||
84 | #set ($return = $NULL) | ||
85 | #setVariable("$return" $children) | ||
86 | #end | ||
87 | |||
88 | #macro (getChildrenQuery $userReference $return) | ||
89 | #set ($dn = '') | ||
90 | #if ($userReference) | ||
91 | #set ($userDocument = $xwiki.getDocument($userReference)) | ||
92 | #set ($dn = $userDocument.getValue('dn')) | ||
93 | #end | ||
94 | #set ($query = $services.query.xwql("where doc.object(XWiki.XWikiUsers).manager = :manager")) | ||
95 | #set ($query = $query.bindValue('manager', $dn)) | ||
96 | #set ($return = $NULL) | ||
97 | #setVariable("$return" $query) | ||
98 | #end | ||
99 | |||
100 | #macro (addUserNode $userReference $siblings) | ||
101 | #set ($userDocument = $xwiki.getDocument($userReference)) | ||
102 | #set ($jobTitle = $userDocument.getValue('jobtitle')) | ||
103 | #set ($userName = $xwiki.getPlainUserName($userReference)) | ||
104 | #getUserAvatarURL($userReference $avatarURL 24) | ||
105 | #getChildrenQuery($userReference $countQuery) | ||
106 | #set ($hasChildren = $countQuery.count() > 0) | ||
107 | #set ($discard = $siblings.add({ | ||
108 | 'id': $userReference.name, | ||
109 | 'text': "$userName ($jobTitle)", | ||
110 | 'icon': $avatarURL.url, | ||
111 | 'children': $hasChildren, | ||
112 | 'a_attr': { | ||
113 | 'href': $xwiki.getURL($userReference) | ||
114 | } | ||
115 | })) | ||
116 | #end | ||
117 | {{/velocity}} | ||
118 | |||
119 | {{velocity wiki="false"}} | ||
120 | #if ($xcontext.action == 'get') | ||
121 | #handleTeamHierarchyTreeRequest | ||
122 | #end | ||
123 | {{/velocity}} | ||
124 | |||
125 | |||
126 | |||
127 | |||
128 | |||
129 | |||
130 | |||
131 | |||
132 | |||
133 |