manifest.php 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. <?php return array (
  2. 'manifest-version' => '1.1',
  3. 'manifest-attributes' =>
  4. array (
  5. 'license' => 'The MIT License (MIT)
  6. Copyright (c) 2016 Mark Hamstra Web Development <hello@markhamstra.com>
  7. Permission is hereby granted, free of charge, to any person obtaining a copy
  8. of this software and associated documentation files (the "Software"), to deal
  9. in the Software without restriction, including without limitation the rights
  10. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  11. copies of the Software, and to permit persons to whom the Software is
  12. furnished to do so, subject to the following conditions:
  13. The above copyright notice and this permission notice shall be included in all
  14. copies or substantial portions of the Software.
  15. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  16. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  17. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  18. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  19. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  20. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  21. ',
  22. 'readme' => '-------------------------
  23. ClientConfig
  24. -------------------------
  25. Author: Mark Hamstra
  26. Contact: mark@modmore.com
  27. -------------------------
  28. ClientConfig is the by product of a workshop at MODXpo Europe 2012,
  29. the "Developing Extras in MODX" one. See the session page at modxpo.eu
  30. http://modxpo.eu/schedule/sessions/developing-extras-for-modx-hands-on
  31. for more information and footage of the workshop.
  32. ClientConfig gives your client a user-friendly interface for making site
  33. wide changes, while you as the administrator set up the different options
  34. available to the end-user.
  35. Possible uses include:
  36. - Regularly update a slogan or tag-line in header or footer
  37. - Change call-to-action button colors based on the season
  38. - Keep contact details updated in one central location
  39. - Update the email-address a form sends notifications to.
  40. Licensed under the MIT.',
  41. 'changelog' => 'ClientConfig 2.2.0-pl
  42. ---------------------
  43. Released on 2019-08-19
  44. - Fix media source path being included for empty values [#152]
  45. - When context values are empty, it will now fall back to the global value
  46. ClientConfig 2.1.0-pl
  47. ---------------------
  48. Released on 2018-12-05
  49. - Update menu to no longer rely on modAction, instead using namespace routing [#158, #139]
  50. - Fix image/file fields not refreshing when switching context [#147, #155]
  51. - Adjust plugin to accept both OnMODXInit and OnHandleRequest so you can change the event it runs on, if needed [#140]
  52. - Prevent events (i.e., priority) from being overwritten on upgrade [#148]
  53. ClientConfig 2.0.0-pl
  54. ---------------------
  55. Released on 2018-06-26
  56. - Don\'t add _duplicate to the key when duplicating a setting [#142]
  57. - Updated German [#141], Russian [#145] and Dutch translations
  58. ClientConfig 2.0.0-rc1
  59. ----------------------
  60. Released on 2017-10-04
  61. - ClientConfig can now (optionally) manage settings for different contexts [#4/#112]
  62. - Media fields (image/file) now prefix the media source url [#124]
  63. - Allow snippet/chunk tags in options for the dropdown field [#104]
  64. - Updated minimum requirements to PHP 5.5.0 and MODX 2.5.2.
  65. - Added separate clientconfig.categories lexicon for the vertical tabs interface [#91]
  66. ClientConfig 1.4.2-pl
  67. ---------------------
  68. Released on 2017-07-22
  69. - Restore PHP 5.3 compatibility in creating settings. Note: next release will require 5.5+!
  70. - Fix issue saving settings on certain environments due to missing value for source [#129]
  71. - Fix incorrect header/container alignment in both manager pages [#128]
  72. - Fix (unused) namespace assets path (on new installs) [#126]
  73. ClientConfig 1.4.1-pl
  74. ---------------------
  75. Released on 2017-02-02
  76. - Fix bug where the new source dropdown does not appear for image field types
  77. ClientConfig 1.4.0-pl
  78. ---------------------
  79. Released on 2017-01-31
  80. - Fix loading of TinyMCE RTE, causing it to be initialised without configuration [#122]
  81. - Add ClientConfig_ConfigChange event to be able of hooking into configuration changes [#117]
  82. - Change plugin event from OnHandleRequest to OnMODXInit [#87, #109, #115]
  83. - Enable inline editing in the admin component [#94, #95, #114]
  84. - Fix field-required errors not being shown by adding a popup
  85. - Accept 0 as valid required value on the number input [#119]
  86. - Add a Password input type [#105]
  87. - Add a File input type [#36]
  88. - Don\'t show "Error adding field" errors during installation/upgrade [#92]
  89. - Fix loading RTE if the field key contains a dot [#89]
  90. - Add CMD/CTRL + S shortcut for saving the configuration [#80]
  91. - Preserve linebreaks when editing a setting in the admin section by using a textarea for the value [#69]
  92. - Relicense under the MIT license instead of GPL [#67]
  93. - Allow specifying a media source for the image input type [#66]
  94. ClientConfig 1.3.2-pl
  95. ---------------------
  96. Released on 2015-12-09
  97. - Update French translation
  98. - Make sure image field uses the MODX default media source
  99. - Respect manager_date_format and manager_time_format settings
  100. ClientConfig 1.3.1-pl
  101. ---------------------
  102. Released on 2014-07-20
  103. - Update Dutch translation
  104. - More weird border fixes
  105. - Minor fix to when borders are added, specifically for 2.2.
  106. ClientConfig 1.3.0-pl
  107. ---------------------
  108. Released on 2014-07-19
  109. - #27 Ability to import/export groups and settings
  110. - #16 Auto-select first group when adding a setting
  111. - #15 Force admins to create a group before creating a setting, as settings need groups
  112. - #76 Fix issue where unchecking a checkbox would fail if the setting was required
  113. - #78 Make the is_required column show Yes/No instead of true/false
  114. - #60 Get rid of an extra border
  115. - #75 Update help link to point to modmore.com
  116. ClientConfig 1.2.1-pl
  117. ---------------------
  118. Released on 2014-01-07
  119. - #57 Add Google Font input type (Thanks @garryn)
  120. - #63 Fix issue loading more than one rich text field
  121. ClientConfig 1.2.0-pl
  122. ---------------------
  123. Released on 2013-08-16
  124. - #38 Add setting (vertical_tabs) to allow stacking groups vertically instead of horizontal tabs
  125. - #46 Add ability to duplicate a setting
  126. - #45 Show field options field when editing a select box setting.
  127. - #54 Add Rich Text input type.
  128. - Improved width consistency of input items.
  129. - #37 Added input type Image (thanks COEX!)
  130. - #3 Fix/add colorpicker input type (thanks COEX!)
  131. ClientConfig 1.1.2-pl
  132. ---------------------
  133. Released on 2013-03-07
  134. - Add/update translations: Russian (thx @Alroniks!), German (thx @enigmatic-user!), Swedish (thx @fractalwolfe!) and Dutch.
  135. - #47 Show field descriptions under the fields. (Thanks @fractalwolfe!)
  136. - #40 Add placeholder tooltips with the for admins. (Thanks @fractalwolfe!)
  137. ClientConfig 1.1.1-pl
  138. ---------------------
  139. Released on 2012-12-31
  140. - #35 Don\'t strip out tags when saving values (relies on allow_tags_in_post=true in mgr context).
  141. - #39 Increase database field max sizes for longer descriptions and values.
  142. - #33 Make sure to show message when no tabs are to be shown.
  143. - #34 Prevent E_WARNING when there are no settings configured.
  144. ClientConfig 1.1.0-pl
  145. ---------------------
  146. Released on 2012-12-16
  147. - #26 Add ability to manually sort Settings within a Group
  148. - #25 Add ability to manually sort Groups
  149. - #21 Add Filter on Group for settings.
  150. - #24 Remember last visited tab in both admin and client view.
  151. - #22 Add "Help!" button on Admin panel linking to RTFM instructions.
  152. - Improve checking if key exists on updating a setting.
  153. - #30 Fix bug with incorrectly checking cgSetting.is_required checkbox
  154. - Make controller a tad more portable.
  155. ClientConfig 1.0.0-pl
  156. ---------------------
  157. Released on 2012-12-09
  158. First release
  159. ',
  160. 'setup-options' => 'clientconfig-2.2.0-pl/setup-options.php',
  161. ),
  162. 'manifest-vehicles' =>
  163. array (
  164. 0 =>
  165. array (
  166. 'vehicle_package' => 'transport',
  167. 'vehicle_class' => 'xPDOObjectVehicle',
  168. 'class' => 'modNamespace',
  169. 'guid' => '6fb247dcae56796457333363ff724923',
  170. 'native_key' => 'clientconfig',
  171. 'filename' => 'modNamespace/6ded9a0adfa1a8b0dba10a9b841d833a.vehicle',
  172. 'namespace' => 'clientconfig',
  173. ),
  174. 1 =>
  175. array (
  176. 'vehicle_package' => 'transport',
  177. 'vehicle_class' => 'xPDOObjectVehicle',
  178. 'class' => 'modSystemSetting',
  179. 'guid' => 'e2f34168abbf97be84eacd9bd6888c77',
  180. 'native_key' => 'clientconfig.admin_groups',
  181. 'filename' => 'modSystemSetting/7b5435c9e18126a2db2bec82498057b1.vehicle',
  182. 'namespace' => 'clientconfig',
  183. ),
  184. 2 =>
  185. array (
  186. 'vehicle_package' => 'transport',
  187. 'vehicle_class' => 'xPDOObjectVehicle',
  188. 'class' => 'modSystemSetting',
  189. 'guid' => 'bde3bcd36bd2cb8cd4033f92873ca268',
  190. 'native_key' => 'clientconfig.clear_cache',
  191. 'filename' => 'modSystemSetting/7003293a904a69a8866b22ae0411e6aa.vehicle',
  192. 'namespace' => 'clientconfig',
  193. ),
  194. 3 =>
  195. array (
  196. 'vehicle_package' => 'transport',
  197. 'vehicle_class' => 'xPDOObjectVehicle',
  198. 'class' => 'modSystemSetting',
  199. 'guid' => '6a65024102b023fa07c4fcb2e74231ed',
  200. 'native_key' => 'clientconfig.vertical_tabs',
  201. 'filename' => 'modSystemSetting/72112885ebd4455735f2030a1d10cccb.vehicle',
  202. 'namespace' => 'clientconfig',
  203. ),
  204. 4 =>
  205. array (
  206. 'vehicle_package' => 'transport',
  207. 'vehicle_class' => 'xPDOObjectVehicle',
  208. 'class' => 'modSystemSetting',
  209. 'guid' => '6fae93dd05ebbdcdb8d67199ebc8db34',
  210. 'native_key' => 'clientconfig.context_aware',
  211. 'filename' => 'modSystemSetting/9b79bfc2bea5165d358f506ed9b211c7.vehicle',
  212. 'namespace' => 'clientconfig',
  213. ),
  214. 5 =>
  215. array (
  216. 'vehicle_package' => 'transport',
  217. 'vehicle_class' => 'xPDOObjectVehicle',
  218. 'class' => 'modSystemSetting',
  219. 'guid' => 'f7885e8642f1d92721e88f8ce90ea32f',
  220. 'native_key' => 'clientconfig.google_fonts_api_key',
  221. 'filename' => 'modSystemSetting/bbd3e90924de52bb9bec8cff4909bd41.vehicle',
  222. 'namespace' => 'clientconfig',
  223. ),
  224. 6 =>
  225. array (
  226. 'vehicle_package' => 'transport',
  227. 'vehicle_class' => 'xPDOObjectVehicle',
  228. 'class' => 'modEvent',
  229. 'guid' => '90be2e7cd5457e4494b3803dd562d503',
  230. 'native_key' => 'ClientConfig_ConfigChange',
  231. 'filename' => 'modEvent/7c728eb680a79d9fde466b381668dbba.vehicle',
  232. 'namespace' => 'clientconfig',
  233. ),
  234. 7 =>
  235. array (
  236. 'vehicle_package' => 'transport',
  237. 'vehicle_class' => 'xPDOObjectVehicle',
  238. 'class' => 'modPlugin',
  239. 'guid' => 'eb5e1b92929b08d3611dbfd205a76513',
  240. 'native_key' => 1,
  241. 'filename' => 'modPlugin/30e2b8c628db86baed7512771b5a1e4e.vehicle',
  242. 'namespace' => 'clientconfig',
  243. ),
  244. 8 =>
  245. array (
  246. 'vehicle_package' => 'transport',
  247. 'vehicle_class' => 'xPDOObjectVehicle',
  248. 'class' => 'modMenu',
  249. 'guid' => '2f1582f5e049303ec4004570321eb527',
  250. 'native_key' => 'clientconfig',
  251. 'filename' => 'modMenu/eadc2c8364efe15f2d00f53f82a4b157.vehicle',
  252. 'namespace' => 'clientconfig',
  253. ),
  254. 9 =>
  255. array (
  256. 'vehicle_package' => 'transport',
  257. 'vehicle_class' => 'xPDOObjectVehicle',
  258. 'class' => 'modCategory',
  259. 'guid' => '7832244677f449a9f8fcb2a69ae66df6',
  260. 'native_key' => 1,
  261. 'filename' => 'modCategory/576bdd7bd96840d5929ea1bbc08f1730.vehicle',
  262. 'namespace' => 'clientconfig',
  263. ),
  264. ),
  265. );