manifest.php 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  1. <?php return array (
  2. 'manifest-version' => '1.1',
  3. 'manifest-attributes' =>
  4. array (
  5. 'license' => 'The MIT License (MIT)
  6. Copyright (c) 2018 MODX, LLC
  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. SOFTWARE.',
  22. 'readme' => '---------------------------------------
  23. Fred
  24. ---------------------------------------
  25. Version: 1.0.0
  26. Author: John Peca <john@modx.com>
  27. ---------------------------------------
  28. Fred is a visual drag-and-drop front-end editor for MODX Revolution.
  29. Documentation: https://modxcms.github.io/fred
  30. Fred Extras, including ready-to-use Themes: https://modx.com/extras/browse/?search=fred
  31. UPGRADE NOTES
  32. =======================================
  33. If you are upgrading from a previous release to the following versions, please note the important changes:
  34. ------------
  35. -> rc1
  36. ------------
  37. Make sure all Themes are named uniquely, and any Elements, Blueprints, Element categories, or Blueprint categories within a Themes likewise have unique names. You can share names across Themes, except for the Theme name itself.
  38. ------------
  39. -> beta7
  40. ------------
  41. If you defined a Media Sources in Option Sets, in Element markup, or an Options Override, you need to adjust these from using the Media Source ID to the Media Source name.
  42. ',
  43. 'changelog' => 'Changelog for Fred.
  44. 1.0.0 rc1
  45. ============
  46. - Each theme now gets its own defaut_element, which is handy when migrating content from non-Fred sites into Fred.
  47. - Pages were sometimes hiding from the front end, which made it difficult to work on sites. Now it\'s a lot easier, and we have outlawed games of hide and seek going forward.
  48. - When switching Themes, pages can have Elements from other themes, which can lead to Bad Things™. Now we warn when this has happened so you can prevent future frustration.
  49. - Elements, Blueprints, Element categories, Blueprint categories and Themes now have to have unique names. This is so multiple Themes don\'t co-mingle their assets with a potentially messy outcome.
  50. - Found a few places where XHR errors had been left as static strings. Now they can be translated for better feedback if things go awry.
  51. 1.0.0 beta12
  52. ============
  53. - Fix showing enable Fred button for users without permissions
  54. - Fix double sidebar in preview mode
  55. 1.0.0 beta11
  56. ============
  57. - Removed some of the mystery from building Themes by displaying an alert when the change log, readme or license files were missing. Silence is good for movie watchers—not so much for letting folks know why they can\'t export the Theme they\'ve worked hard on creating. Sorry about that!
  58. - Fred now opens all links in the Preview mode in a new tab because loading them in the iframe created an undesired Fredception.
  59. - Fixed initializing javascript when remote Elements are dropped into dropzones. This bodes well for things like galleries and sliders initiated by a document.ready function.
  60. - Fixed loading the Resource Tree with nested Fred Resources.
  61. - Fixed generating preview URLs for unpublished Resources.
  62. - Prevent copying outer HTML from contenteditable Elements, which could lead to serious messes. We don\'t like messes.
  63. - Ensure Elements are loaded in the correct order when Fred initializes, because randomly reordering peoples\' nested content is apparently not a desired feature.
  64. - Add a new mode to disable/enable Fred, making those final QA chores a lot easier and less click-error prone.
  65. - Automatically set contenteditable to true for all Elements with a data-fred-name attribute. If you don\'t want them editable, you must declare it false. But since this is meant as a front-end editor, this could save a few keystrokes and make learning how to create Elements slightly easier to learn by approximately 4.2%.
  66. - Pass GET params from the page to the render Element endpoint so to make Fred behave properly with things like Tagger.
  67. - Fix the preview window from cutting off because, as it turns out, 51px really does make a difference.
  68. 1.0.0 beta10
  69. ============
  70. - Supports multiple dropzones thanks to a new custom "Fred Dropzone" Template Variable.
  71. - A new element_sort system setting determines, shockingly, how Elements are sorted: either by their name or by a rank specified in the Manager component (previously was by ID). Defaults to name.
  72. - Fred didn\'t allow using Snippets in image tag src attributes. Now it does making @reikotec at least 42% more happy. You\'re welcome!
  73. - Fixed an annoying oversight that broke how Fred-managed content rendered after saving a page in the Manager (which was not very well at all).
  74. - Now you can clone, delete, publish/unpublish and create child pages from the Fred sidebar menu Site option. Click a page name to see the available options.
  75. 1.0.0 beta9
  76. ==============
  77. - Fred now supports Permissions and Policies, ticking off the last big 1.0 feature checklist item. Time to thoroughly work over every bit of Fred ahead of its initial public release!
  78. - The width of the toolbar on small Elements hid important icons. Now it doesn\'t.
  79. - While mildly entertaining at first, the flashing cycles when hovering the parent Element of nested ones quickly becomes annoying. Fixed.
  80. - You get to see the magical preview soon after clicking the button when generating full-page Blueprints. So much for delayed gratification.
  81. - Validate the name, version, and release when building a Theme, because themes are cool and it\'s the right thing to do.
  82. - Check `list` policy on media sources so people can\'t rearrange the root-level file system for you.
  83. - Sign every XHR call so that less than scrupulous people don\'t edit—or remove—your site for you.
  84. - Display an error message that explains why trying to download a theme without a transport package doesn\'t work so well.
  85. 1.0.0 beta8
  86. ==============
  87. - Now with 100% more German. Danke für die Übersetzung.
  88. - Fix HTML generation when saving Fred Resource from the Manager, which didn\'t work and was a bummer. Now it\'s not.
  89. - Show a loading icon when generating Blueprint screenshots. This helps calm user anxiety over "Didn\'t I just push that button? …" as it can take a few seconds when doing full-page Blueprints.
  90. - Duplicating an image that saved to a TV caused an infinite loop. Inception is good for movies, not for software, so we fixed that.
  91. - Fix toggling fred and fredReadOnly attributes from in the Media Source tab of the Manager page because it\'s the right thing to do.
  92. 1.0.0 beta7
  93. ==============
  94. - Move elFinder\'s processors under core for better security
  95. - Streamline elFinder buttons shown
  96. - Create a Media Source on Fred installation: /assets
  97. - Add a tab to the Manager component for managing the Media Sources available to Fred
  98. - Fix toggle option setting control when the default value was set to true
  99. - Change referencing Media Sources by ID to Name in option sets and Element markup
  100. 1.0.0 beta6
  101. ==============
  102. - Add theme directory for theme\'s assets
  103. - Use new placeholder {{theme_dir}} when generating elements & blueprints images
  104. - Add placeholder for templates & chunk [[++fred.theme_dir]] to reference theme directory
  105. - Add Build theme action (creates a transport package from theme)
  106. - Consolidate tabs in the CMP
  107. - Generate screenshot for complete blueprint from page preview (instead of from Fred\'s view)
  108. - Remove deprecated system settings
  109. - Add help buttons to CMP and frontend (under "More" sidebar)
  110. - Remove theme-template relation when template is deleted
  111. - When deleting theme, give an option to delete theme directory
  112. - When duplicating theme, give an options to duplicate theme\'s objects and theme directory
  113. - Fix selecting option set from current theme in element\'s quick update window and update panel
  114. 1.0.0 beta5
  115. ==============
  116. - Lower dependencies to support PHP 5.6+
  117. - Security fixes
  118. 1.0.0 beta4
  119. ==============
  120. - Add CMP for Elements, RTE Configs, Option Sets, Themes
  121. - Add UUID for elements, element categories, blueprints and blueprint categories
  122. - Make blueprint\'s & element\'s image not required and fill it with placeholder image if empty
  123. - TVs as a target & in Page Settings
  124. 1.0.0 beta3
  125. ==============
  126. - Add CMP for Blueprints
  127. - Add blueprints
  128. - Add default image for elements, if none is set
  129. 1.0.0 beta2
  130. ==============
  131. - Prevent child blocks from remaining active on scroll
  132. - Add context_key check to site tree
  133. - Fixed foreach warning on RenderContent and LoadContent
  134. - Update documentation
  135. - Add ru lexicon
  136. ',
  137. ),
  138. 'manifest-vehicles' =>
  139. array (
  140. 0 =>
  141. array (
  142. 'vehicle_package' => 'transport',
  143. 'vehicle_class' => 'xPDOObjectVehicle',
  144. 'class' => 'modNamespace',
  145. 'guid' => '8d42262cd0f905e37eac167fbca490c2',
  146. 'native_key' => 'fred',
  147. 'filename' => 'modNamespace/432a045528f69e4e6f22d8d207a75714.vehicle',
  148. 'namespace' => 'fred',
  149. ),
  150. 1 =>
  151. array (
  152. 'vehicle_package' => 'transport',
  153. 'vehicle_class' => 'xPDOObjectVehicle',
  154. 'class' => 'modSystemSetting',
  155. 'guid' => '6ca43e0954fecc04addc265e1d5404ea',
  156. 'native_key' => 'fred.launcher_position',
  157. 'filename' => 'modSystemSetting/ffbcaee35c8f38c7c993b16894f97dd3.vehicle',
  158. 'namespace' => 'fred',
  159. ),
  160. 2 =>
  161. array (
  162. 'vehicle_package' => 'transport',
  163. 'vehicle_class' => 'xPDOObjectVehicle',
  164. 'class' => 'modSystemSetting',
  165. 'guid' => 'e396b60bb4214ef4f7f0b8e802752377',
  166. 'native_key' => 'fred.icon_editor',
  167. 'filename' => 'modSystemSetting/079cd81901c2b8eaf565534ed67f1f44.vehicle',
  168. 'namespace' => 'fred',
  169. ),
  170. 3 =>
  171. array (
  172. 'vehicle_package' => 'transport',
  173. 'vehicle_class' => 'xPDOObjectVehicle',
  174. 'class' => 'modSystemSetting',
  175. 'guid' => '5fc1eb8a1335c73211b174f35ad92fdc',
  176. 'native_key' => 'fred.image_editor',
  177. 'filename' => 'modSystemSetting/ae192d97bb3790cc94bd44cb47a1ffa0.vehicle',
  178. 'namespace' => 'fred',
  179. ),
  180. 4 =>
  181. array (
  182. 'vehicle_package' => 'transport',
  183. 'vehicle_class' => 'xPDOObjectVehicle',
  184. 'class' => 'modSystemSetting',
  185. 'guid' => 'd99d462873f7a101ba1b57db0494f461',
  186. 'native_key' => 'fred.rte',
  187. 'filename' => 'modSystemSetting/70db00528289343f46cf21ce78bd49a8.vehicle',
  188. 'namespace' => 'fred',
  189. ),
  190. 5 =>
  191. array (
  192. 'vehicle_package' => 'transport',
  193. 'vehicle_class' => 'xPDOObjectVehicle',
  194. 'class' => 'modSystemSetting',
  195. 'guid' => 'ea70ce4c772caef8ab28f2381384a8b9',
  196. 'native_key' => 'fred.element_group_sort',
  197. 'filename' => 'modSystemSetting/38423f27775f4000187fe96aa13d07cd.vehicle',
  198. 'namespace' => 'fred',
  199. ),
  200. 6 =>
  201. array (
  202. 'vehicle_package' => 'transport',
  203. 'vehicle_class' => 'xPDOObjectVehicle',
  204. 'class' => 'modSystemSetting',
  205. 'guid' => '97a82abbae0ad5221f8c99275c83e6c1',
  206. 'native_key' => 'fred.element_sort',
  207. 'filename' => 'modSystemSetting/c9a3b1fbbc785eaf63cf877fc9e2fb00.vehicle',
  208. 'namespace' => 'fred',
  209. ),
  210. 7 =>
  211. array (
  212. 'vehicle_package' => 'transport',
  213. 'vehicle_class' => 'xPDOObjectVehicle',
  214. 'class' => 'modSystemSetting',
  215. 'guid' => 'c6aeb84cd96fc588fe52c2613ea65d63',
  216. 'native_key' => 'fred.blueprint_category_sort',
  217. 'filename' => 'modSystemSetting/fbf6d21116b89c864d0a4e0a1086749e.vehicle',
  218. 'namespace' => 'fred',
  219. ),
  220. 8 =>
  221. array (
  222. 'vehicle_package' => 'transport',
  223. 'vehicle_class' => 'xPDOObjectVehicle',
  224. 'class' => 'modSystemSetting',
  225. 'guid' => '74f1d0e825937d0bbb3448555af77a8b',
  226. 'native_key' => 'fred.blueprint_sort',
  227. 'filename' => 'modSystemSetting/7cfec9d1b030449e668ef5f4be47836d.vehicle',
  228. 'namespace' => 'fred',
  229. ),
  230. 9 =>
  231. array (
  232. 'vehicle_package' => 'transport',
  233. 'vehicle_class' => 'xPDOObjectVehicle',
  234. 'class' => 'modSystemSetting',
  235. 'guid' => '5d76e6578e34e880cfe5024d59ad8c85',
  236. 'native_key' => 'fred.secret',
  237. 'filename' => 'modSystemSetting/5e4610da52f8e8579d6faf0550fb2f51.vehicle',
  238. 'namespace' => 'fred',
  239. ),
  240. 10 =>
  241. array (
  242. 'vehicle_package' => 'transport',
  243. 'vehicle_class' => 'xPDOObjectVehicle',
  244. 'class' => 'modCategory',
  245. 'guid' => '5dbc454caf943622dd203740a52b583c',
  246. 'native_key' => NULL,
  247. 'filename' => 'modCategory/4f792bbb971e0e50f404a32e144a506b.vehicle',
  248. 'namespace' => 'fred',
  249. ),
  250. 11 =>
  251. array (
  252. 'vehicle_package' => 'transport',
  253. 'vehicle_class' => 'xPDOObjectVehicle',
  254. 'class' => 'modMenu',
  255. 'guid' => '7fbe7d2b02bc8ffc0f002973bc45c7ad',
  256. 'native_key' => 'fred.menu.fred',
  257. 'filename' => 'modMenu/4f1b0966d7f19eb055e4201c494d6d62.vehicle',
  258. 'namespace' => 'fred',
  259. ),
  260. ),
  261. );