forked from joomla-projects/mod_ttm_diff_tool_otf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmod_ttm_diff_tool_otf.xml
209 lines (189 loc) · 6.51 KB
/
mod_ttm_diff_tool_otf.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<?xml version="1.0" encoding="utf-8"?>
<extension
type="module" version="3.8" client="site" method="upgrade">
<name>mod_ttm_diff_tool_otf</name>
<author>Valc (Rafa Gómez)</author>
<creationDate>Aug 2013</creationDate>
<copyright>Copyright (C) 2011-2013 comunidadjoomla.org. All rights reserved.</copyright>
<copyright>Copyright (C) 2018 Open Source Matters. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<authorEmail></authorEmail>
<authorUrl></authorUrl>
<version>3.8.6</version>
<description><![CDATA[
<h2>The module has been successfully installed in the Joomla 3 series</h2>
This tool provide an easy way to know the changes applied between core language files revisions, getting the info on the fly from the full packages depending on the module configuration.<br/><br/>Features:<br/>
<ol>
<li>Specific tool for the TT Members job: handles core language files changes.</li>
<li>Easy and fast configuration.</li>
<li>Client by client (administrator, site and installation) language selection.</li>
<li>Setting a baseline package we can test easily the diff different releases (from GitHub).</li>
<li>Files to add or delete are reported.</li>
<li>Keys to add, delete, revise or move are reported.</li>
<li>Non ini files (xml, en-GB.localise.php, etc.) also report the diff if present.</li>
<li>Commented lines and sections diff are also handled.</li>
<li>Reports are more complete than Github diff. For example: Keys "to move", "to move and revise" or "text changes" improvements.</li>
<li>The report is to be displayed using normal joomla output inside an article containing a call to the module.<br>
First define a specific position, then add in the article '{loadposition diff} ' where 'diff' is the position.</li>
<li>Using custom URLs the module can display the diff between any release (including -dev, alpha, beta) and the previous release.</li>
<li>Allows storing and handling history of diffs to avoid repetitive packs downloads.</li>
<li>SHA ID is displayed when known Github URL pattern is detected.</li>
<li>And few more details in the reported info that can help when... TT Members Rock 'n' Roll time start! :D</li>
</ol>
<p>Enjoy it!</p>
]]>
</description>
<media destination="mod_ttm_diff_tool_otf" folder="media">
<folder>images</folder>
<folder>css</folder>
</media>
<files>
<filename module="mod_ttm_diff_tool_otf">mod_ttm_diff_tool_otf.php</filename>
<folder>tmpl</folder>
<folder>language</folder>
<folder>libraries</folder>
<folder>storage</folder>
<folder>models</folder>
<folder>vendor</folder>
<filename>helper.php</filename>
<filename>mod_ttm_diff_tool_otf.xml</filename>
</files>
<config>
<fields name="params">
<fieldset addfieldpath="/modules/mod_ttm_diff_tool_otf/models/fields" name="basic">
<field
name="spacer"
type="spacer"
class="text"
label="MOD_TTM_DIFF_TOOL_OTF_REQUIRED_FIELDS_SPACER_LABEL"
/>
<field
name="spacer1"
type="spacer"
hr="true"
/>
<field
name="client_selection"
type="checkboxes"
size= "3"
default="admin_selected"
label="MOD_TTM_DIFF_TOOL_OTF_CLIENT_SELECTION_LABEL"
description="MOD_TTM_DIFF_TOOL_OTF_CLIENT_SELECTION_DESC"
required="true">
<option
value="admin_selected">MOD_TTM_DIFF_TOOL_OTF_CLIENT_SELECTION_ADMIN_SELECTED</option>
<option
value="site_selected">MOD_TTM_DIFF_TOOL_OTF_CLIENT_SELECTION_SITE_SELECTED</option>
<option
value="installation_selected">MOD_TTM_DIFF_TOOL_OTF_CLIENT_SELECTION_INSTALLATION_SELECTED</option>
</field>
<field
name="source_revision"
type="releases"
label="MOD_TTM_DIFF_TOOL_OTF_SOURCE_REVISION_LABEL"
description="MOD_TTM_DIFF_TOOL_OTF_SOURCE_REVISION_DESC"
/>
<field
name="custom_source_revision"
type="url"
default=""
label="MOD_TTM_DIFF_TOOL_OTF_SR_CUSTOM_VALUE_LABEL"
description="MOD_TTM_DIFF_TOOL_OTF_SR_CUSTOM_VALUE_DESC"
/>
<field
name="target_revision"
type="targetreleases"
label="MOD_TTM_DIFF_TOOL_OTF_TARGET_REVISION_LABEL"
description="MOD_TTM_DIFF_TOOL_OTF_TARGET_REVISION_DESC"
/>
<field
name="custom_target_revision"
type="url"
default=""
label="MOD_TTM_DIFF_TOOL_OTF_TR_CUSTOM_VALUE_LABEL"
description="MOD_TTM_DIFF_TOOL_OTF_TR_CUSTOM_VALUE_DESC"
/>
<field
name="spacer2"
type="spacer"
hr="true"
/>
<field
name="spacer3"
type="spacer"
class="text"
label="MOD_TTM_DIFF_TOOL_OTF_HISTORY_OPTIONS_LABEL"
/>
<field
name="spacer4"
type="spacer"
hr="true"
/>
<field
name="allow_history"
type="list"
default="0"
label="MOD_TTM_DIFF_TOOL_OTF_ALLOW_HISTORY_LABEL"
description="MOD_TTM_DIFF_TOOL_OTF_ALLOW_HISTORY_DESC">
<option
value="1">MOD_TTM_DIFF_TOOL_OTF_OPTION_YES</option>
<option
value="0">MOD_TTM_DIFF_TOOL_OTF_OPTION_NO</option>
</field>
<field name="allowed_groups" type="usergroup"
description="MOD_TTM_DIFF_TOOL_OTF_ALLOWED_GROUPS_TO_HISTORY_DESC"
label="MOD_TTM_DIFF_TOOL_OTF_ALLOWED_GROUPS_TO_HISTORY_LABEL"
multiple="true"
size="10"
required="false"
/>
<field
name="excluded_comments_pattern"
type="text"
default=""
label="MOD_TTM_DIFF_TOOL_OTF_ECP_LABEL"
description="MOD_TTM_DIFF_TOOL_OTF_ECP_DESC"
/>
</fieldset>
<fieldset name="advanced">
<field
name="layout"
type="modulelayout"
label="JFIELD_ALT_LAYOUT_LABEL"
description="MOD_TTM_DIFF_TOOL_OTF_FIELD_MODULE_LAYOUT_DESC"
/>
<field
name="moduleclass_sfx"
type="text"
label="COM_MODULES_FIELD_MODULECLASS_SFX_LABEL"
description="COM_MODULES_FIELD_MODULECLASS_SFX_DESC"
/>
<field
name="cache"
type="list"
default="1"
label="COM_MODULES_FIELD_CACHING_LABEL"
description="COM_MODULES_FIELD_CACHING_DESC">
<option
value="1">JGLOBAL_USE_GLOBAL</option>
<option
value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option>
</field>
<field
name="cache_time"
type="text"
default="900"
label="COM_MODULES_FIELD_CACHE_TIME_LABEL"
description="COM_MODULES_FIELD_CACHE_TIME_DESC"
/>
<field
name="cachemode"
type="hidden"
default="itemid">
<option
value="itemid"></option>
</field>
</fieldset>
</fields>
</config>
</extension>