manifest.php 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  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.1.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.1.0
  45. ============
  46. ## New
  47. - If you have updated or started working on a page, Fred warns you before leaving without saving so you don’t accidentally lose your work (not that we ever needed that ourselves…).
  48. - Toolbar and Sidebar Plugins allow for custom functionality when creating or editing content with Fred. To demonstrate the awesomeness of this, Collections now supports creating or updating pages with Fred-enabled templates directly with Fred from the front-end.
  49. - Support for rendering Snippets to cache inside Fred Elements. This can be used, for example, to dynamically pull author information for a blog or other custom data source.
  50. - The MODX event `onDocFormSave` is now triggered when Fred saves, so that MODX plugins can tap into this. We’re looking at you, VersionX…
  51. - When creating a new page from Fred, you can specify a Blueprint to use. Further, each Fred-enabled Template can now have a default Blueprint associated with it so that making new content can be streamlined.
  52. - A new Folder picker option setting is handy for things like simple galleries built from images on the file system.
  53. - Themes now can include Media Sources to help keep things tidy.
  54. - Documentation and an installer check for specific PHP extensions were added so people don\'t get frustrated when Fred mysteriously decided not to work.
  55. ## Updates & Improvements
  56. - Updated styles to make the overall UI more consistent with the upcoming MODX3 Manager.
  57. - Dragging Elements now shrinks them to a smaller size to make them easier to work with.
  58. - When editing Option Sets in the Manager, it warns you if there is a JSON syntax error so you can fix it and save your work. It’s even prettier when using the Fred Ace integration, too.
  59. - Updated the build process to use the latest versions of Node and Gulp.
  60. - Removed build files from the repo in favor of using Github releases.
  61. - When pasting text from word processors and web browsers, a lot of messy markup sometimes tags along, making it hard to create clean content. Fred now forces text to be pasted as plain text to minimize tedious cleanup chores as much as possible.
  62. - A special `{{theme_dir}}` placeholder makes for more portable themes for Element Settings and Media fields.
  63. - The root `<html>` tag now gets a class when Fred is enabled to allow for custom styling when needed: `<html class="fred--active">`.
  64. - Option Set Overrides can now also be merged so that you can override just a single thing in the assigned Option Set.
  65. - A policy for deleting inadvertently added Elements on the front-end for the Fred Editor role was added.
  66. ## Bugfixes
  67. - Image pickers no longer return the full URL to images, improving website portability.
  68. - Importing option set overrides functions again as intended.
  69. - Certain Elements refused to save from the front-end. The error in its ways has been rectified.
  70. - Firefox is special. So we made a special case for it to ensure that `contenteditable` would behave the same as every other modern browser.
  71. - Missing screenshots and the Media Source section in the documentation have been fixed.
  72. - Fred and its browser built on ElFinder did not respect the `skipFiles` setting. Now they do.
  73. - Checks for PHP dependencies didn’t happen during installation which could lead to failure. Now it checks and warns when the dependencies aren’t met.
  74. 1.0.0
  75. ============
  76. - Gitify support added for using version control in your workflow
  77. - Scrolling issues have been fixed in Chrome and Safari
  78. - TVs no longer need to be Fred enabled in order to be saved to
  79. - New element setting added for file types and text areas
  80. - Fixed the search for the page type element setting
  81. - Fixed an issue for element settings with the default value of 0
  82. - Fixed a visibility issue with adding new pages
  83. - Fixed toggle boxes overlapping drop menus
  84. - Improved context support for frontend endpoints
  85. - Grids now refresh when a category is deleted in the CMP
  86. - Fixed publish on date when saving a resource from Fred
  87. - Parent select boxes now respect "list" policy
  88. - Added translations for Dutch, German and Russian languages
  89. 1.0.0 rc1
  90. ============
  91. - Each theme now gets its own defaut_element, which is handy when migrating content from non-Fred sites into Fred.
  92. - 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.
  93. - 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.
  94. - 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.
  95. - 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.
  96. 1.0.0 beta12
  97. ============
  98. - Fix showing enable Fred button for users without permissions
  99. - Fix double sidebar in preview mode
  100. 1.0.0 beta11
  101. ============
  102. - 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!
  103. - Fred now opens all links in the Preview mode in a new tab because loading them in the iframe created an undesired Fredception.
  104. - 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.
  105. - Fixed loading the Resource Tree with nested Fred Resources.
  106. - Fixed generating preview URLs for unpublished Resources.
  107. - Prevent copying outer HTML from contenteditable Elements, which could lead to serious messes. We don\'t like messes.
  108. - Ensure Elements are loaded in the correct order when Fred initializes, because randomly reordering peoples\' nested content is apparently not a desired feature.
  109. - Add a new mode to disable/enable Fred, making those final QA chores a lot easier and less click-error prone.
  110. - 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%.
  111. - Pass GET params from the page to the render Element endpoint so to make Fred behave properly with things like Tagger.
  112. - Fix the preview window from cutting off because, as it turns out, 51px really does make a difference.
  113. 1.0.0 beta10
  114. ============
  115. - Supports multiple dropzones thanks to a new custom "Fred Dropzone" Template Variable.
  116. - 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.
  117. - Fred didn\'t allow using Snippets in image tag src attributes. Now it does making @reikotec at least 42% more happy. You\'re welcome!
  118. - 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).
  119. - 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.
  120. 1.0.0 beta9
  121. ==============
  122. - 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!
  123. - The width of the toolbar on small Elements hid important icons. Now it doesn\'t.
  124. - While mildly entertaining at first, the flashing cycles when hovering the parent Element of nested ones quickly becomes annoying. Fixed.
  125. - You get to see the magical preview soon after clicking the button when generating full-page Blueprints. So much for delayed gratification.
  126. - Validate the name, version, and release when building a Theme, because themes are cool and it\'s the right thing to do.
  127. - Check `list` policy on media sources so people can\'t rearrange the root-level file system for you.
  128. - Sign every XHR call so that less than scrupulous people don\'t edit—or remove—your site for you.
  129. - Display an error message that explains why trying to download a theme without a transport package doesn\'t work so well.
  130. 1.0.0 beta8
  131. ==============
  132. - Now with 100% more German. Danke für die Übersetzung.
  133. - Fix HTML generation when saving Fred Resource from the Manager, which didn\'t work and was a bummer. Now it\'s not.
  134. - 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.
  135. - Duplicating an image that saved to a TV caused an infinite loop. Inception is good for movies, not for software, so we fixed that.
  136. - Fix toggling fred and fredReadOnly attributes from in the Media Source tab of the Manager page because it\'s the right thing to do.
  137. 1.0.0 beta7
  138. ==============
  139. - Move elFinder\'s processors under core for better security
  140. - Streamline elFinder buttons shown
  141. - Create a Media Source on Fred installation: /assets
  142. - Add a tab to the Manager component for managing the Media Sources available to Fred
  143. - Fix toggle option setting control when the default value was set to true
  144. - Change referencing Media Sources by ID to Name in option sets and Element markup
  145. 1.0.0 beta6
  146. ==============
  147. - Add theme directory for theme\'s assets
  148. - Use new placeholder {{theme_dir}} when generating elements & blueprints images
  149. - Add placeholder for templates & chunk [[++fred.theme_dir]] to reference theme directory
  150. - Add Build theme action (creates a transport package from theme)
  151. - Consolidate tabs in the CMP
  152. - Generate screenshot for complete blueprint from page preview (instead of from Fred\'s view)
  153. - Remove deprecated system settings
  154. - Add help buttons to CMP and frontend (under "More" sidebar)
  155. - Remove theme-template relation when template is deleted
  156. - When deleting theme, give an option to delete theme directory
  157. - When duplicating theme, give an options to duplicate theme\'s objects and theme directory
  158. - Fix selecting option set from current theme in element\'s quick update window and update panel
  159. 1.0.0 beta5
  160. ==============
  161. - Lower dependencies to support PHP 5.6+
  162. - Security fixes
  163. 1.0.0 beta4
  164. ==============
  165. - Add CMP for Elements, RTE Configs, Option Sets, Themes
  166. - Add UUID for elements, element categories, blueprints and blueprint categories
  167. - Make blueprint\'s & element\'s image not required and fill it with placeholder image if empty
  168. - TVs as a target & in Page Settings
  169. 1.0.0 beta3
  170. ==============
  171. - Add CMP for Blueprints
  172. - Add blueprints
  173. - Add default image for elements, if none is set
  174. 1.0.0 beta2
  175. ==============
  176. - Prevent child blocks from remaining active on scroll
  177. - Add context_key check to site tree
  178. - Fixed foreach warning on RenderContent and LoadContent
  179. - Update documentation
  180. - Add ru lexicon
  181. ',
  182. ),
  183. 'manifest-vehicles' =>
  184. array (
  185. 0 =>
  186. array (
  187. 'vehicle_package' => 'transport',
  188. 'vehicle_class' => 'xPDOObjectVehicle',
  189. 'class' => 'modNamespace',
  190. 'guid' => '654aef64029d5c5b746b5922e0ad900c',
  191. 'native_key' => 'fred',
  192. 'filename' => 'modNamespace/14443f83dd958839cc24b20390c5ec89.vehicle',
  193. 'namespace' => 'fred',
  194. ),
  195. 1 =>
  196. array (
  197. 'vehicle_package' => 'transport',
  198. 'vehicle_class' => 'xPDOObjectVehicle',
  199. 'class' => 'modSystemSetting',
  200. 'guid' => '5b121022c1027c8f00def5b68aa9aeb9',
  201. 'native_key' => 'fred.launcher_position',
  202. 'filename' => 'modSystemSetting/8b79bcede2c30adf6e48c787d54c5684.vehicle',
  203. 'namespace' => 'fred',
  204. ),
  205. 2 =>
  206. array (
  207. 'vehicle_package' => 'transport',
  208. 'vehicle_class' => 'xPDOObjectVehicle',
  209. 'class' => 'modSystemSetting',
  210. 'guid' => 'ab4a0099fe3d80243189d70986b48e4b',
  211. 'native_key' => 'fred.icon_editor',
  212. 'filename' => 'modSystemSetting/cf41ed221c48ba4b7d666a104a8f7bb4.vehicle',
  213. 'namespace' => 'fred',
  214. ),
  215. 3 =>
  216. array (
  217. 'vehicle_package' => 'transport',
  218. 'vehicle_class' => 'xPDOObjectVehicle',
  219. 'class' => 'modSystemSetting',
  220. 'guid' => 'b6f09f8b277f49838669eddda91da0ef',
  221. 'native_key' => 'fred.image_editor',
  222. 'filename' => 'modSystemSetting/437fc3c601468ce55844722ce981d57c.vehicle',
  223. 'namespace' => 'fred',
  224. ),
  225. 4 =>
  226. array (
  227. 'vehicle_package' => 'transport',
  228. 'vehicle_class' => 'xPDOObjectVehicle',
  229. 'class' => 'modSystemSetting',
  230. 'guid' => '088c15afe3b7813d7f5b230f6f56e8e4',
  231. 'native_key' => 'fred.rte',
  232. 'filename' => 'modSystemSetting/ea67878c551dbed7896dfd7eb2654f50.vehicle',
  233. 'namespace' => 'fred',
  234. ),
  235. 5 =>
  236. array (
  237. 'vehicle_package' => 'transport',
  238. 'vehicle_class' => 'xPDOObjectVehicle',
  239. 'class' => 'modSystemSetting',
  240. 'guid' => '484f92d6add0cf0bbeb9fd6df00725af',
  241. 'native_key' => 'fred.element_group_sort',
  242. 'filename' => 'modSystemSetting/7cf14c3432713beef0122ec028caaf55.vehicle',
  243. 'namespace' => 'fred',
  244. ),
  245. 6 =>
  246. array (
  247. 'vehicle_package' => 'transport',
  248. 'vehicle_class' => 'xPDOObjectVehicle',
  249. 'class' => 'modSystemSetting',
  250. 'guid' => '4e7cf19d03c9dc17e660ae82f08c7d6f',
  251. 'native_key' => 'fred.element_sort',
  252. 'filename' => 'modSystemSetting/17dcdb90cb50558561e0a1918efbfe39.vehicle',
  253. 'namespace' => 'fred',
  254. ),
  255. 7 =>
  256. array (
  257. 'vehicle_package' => 'transport',
  258. 'vehicle_class' => 'xPDOObjectVehicle',
  259. 'class' => 'modSystemSetting',
  260. 'guid' => '8915760a82f0b1e6882d25125ea92ac2',
  261. 'native_key' => 'fred.blueprint_category_sort',
  262. 'filename' => 'modSystemSetting/6be0fd6b0f4539b50fc8107ee4bb6a62.vehicle',
  263. 'namespace' => 'fred',
  264. ),
  265. 8 =>
  266. array (
  267. 'vehicle_package' => 'transport',
  268. 'vehicle_class' => 'xPDOObjectVehicle',
  269. 'class' => 'modSystemSetting',
  270. 'guid' => '9e8a3f4f4f04071e05d0fcbc1e709269',
  271. 'native_key' => 'fred.blueprint_sort',
  272. 'filename' => 'modSystemSetting/86c17ab98398a9b8827fd3d8655fb674.vehicle',
  273. 'namespace' => 'fred',
  274. ),
  275. 9 =>
  276. array (
  277. 'vehicle_package' => 'transport',
  278. 'vehicle_class' => 'xPDOObjectVehicle',
  279. 'class' => 'modSystemSetting',
  280. 'guid' => '70e6b40eb6b855031f51b3976784653b',
  281. 'native_key' => 'fred.secret',
  282. 'filename' => 'modSystemSetting/2879b2e35bfdac30e38a3c5c6390823a.vehicle',
  283. 'namespace' => 'fred',
  284. ),
  285. 10 =>
  286. array (
  287. 'vehicle_package' => 'transport',
  288. 'vehicle_class' => 'xPDOObjectVehicle',
  289. 'class' => 'modSystemSetting',
  290. 'guid' => '582bdac4e118332c58c8aa7619aad69d',
  291. 'native_key' => 'fred.active_class',
  292. 'filename' => 'modSystemSetting/ac952681e540be3da71b69195563823b.vehicle',
  293. 'namespace' => 'fred',
  294. ),
  295. 11 =>
  296. array (
  297. 'vehicle_package' => 'transport',
  298. 'vehicle_class' => 'xPDOObjectVehicle',
  299. 'class' => 'modSystemSetting',
  300. 'guid' => 'ce6f7026c5af496f9600f14dcf2432bc',
  301. 'native_key' => 'fred.default_enabled',
  302. 'filename' => 'modSystemSetting/64393fc839a22960ebbe109cf0a928da.vehicle',
  303. 'namespace' => 'fred',
  304. ),
  305. 12 =>
  306. array (
  307. 'vehicle_package' => 'transport',
  308. 'vehicle_class' => 'xPDOObjectVehicle',
  309. 'class' => 'modCategory',
  310. 'guid' => 'eef5cc35890c8095f70a35832da77069',
  311. 'native_key' => NULL,
  312. 'filename' => 'modCategory/e20ebcaeab3499d7daa1e3d7dd04654c.vehicle',
  313. 'namespace' => 'fred',
  314. ),
  315. 13 =>
  316. array (
  317. 'vehicle_package' => 'transport',
  318. 'vehicle_class' => 'xPDOObjectVehicle',
  319. 'class' => 'modMenu',
  320. 'guid' => 'c5252317e15b9e8c7c40f93b3993ac12',
  321. 'native_key' => 'fred.menu.fred',
  322. 'filename' => 'modMenu/49836595f7b9089121f81d686675f58d.vehicle',
  323. 'namespace' => 'fred',
  324. ),
  325. ),
  326. );