Skip to content

Releases: mecha-cms/x.panel

v3.0.1: Make Sure File Extension Does Not Contain `/`

22 Sep 05:44
Compare
Choose a tag to compare
A potential security vulnerability as reported by @751897386

<https://github.com/mecha-cms/mecha/issues/295>

v3.0.0

28 Feb 15:16
Compare
Choose a tag to compare
  • #23 Changed URL pattern from http://127.0.0.1/panel/::g::/foo/bar/baz/1 to http://127.0.0.1/panel/get/foo/bar/baz/1.
  • Added chunk, deep, sort and x filter for query string in URL.
  • Added ability to store file in different folder from the current folder by adding an <input name="path" value="foo/bar/baz"> element in the HTML form. This applies only to the get and set task.
  • Added ability to update core, extension and layout directly from the panel.
  • Changed info key to status.
  • Changed locked property to fix property.
  • Moved AJAX feature to a separate extension.
  • Moved default panel skin and test files to separate extensions.
  • Removed card and cards type.
  • Renamed height and width class to has:height and has:width.
  • Renamed is:locked and not:locked class to is:fix and not:fix.
  • Updated for Mecha 3.0.0.

v2.8.1

21 Nov 17:16
Compare
Choose a tag to compare
  • Added CSS variables to support theming by third-party extension and layout.
  • Added card and cards type.
  • Added column and columns type so we can have sidebars.
  • Added description and title option for menu.
  • Added gap option for tabs.
  • Added row and rows type.
  • Added stack and stacks type.
  • Added toggle option for tab and tabs.
  • Added version update check feature.
  • Improved keyboard accessibility by adding some navigation shortcuts:
    • Press ArrowDown or ArrowRight or Home or PageDown to focus to the first stack when focusing on the stacks block.
    • Press ArrowDown or ArrowRight or Home or PageDown to focus to the first tab when focusing on the tabs block.
    • Press ArrowDown or ArrowUp to switch between menu links when focusing on the menu link.
    • Press ArrowDown or ArrowUp to toggle the tab panel visibility if toggle option is enabled. If tab panel is already hidden, this navigation will works as the way ArrowLeft and ArrowRight works.
    • Press ArrowDown or Home to focus to the first menu link when focusing on the menu block.
    • Press ArrowDown to show the menu and then focus to the first menu link when focusing on the menu trigger.
    • Press ArrowLeft or ArrowRight to switch between links when focusing on the links list.
    • Press ArrowLeft or ArrowRight to switch between stacks when focusing on the stack trigger.
    • Press ArrowLeft or ArrowRight to switch between tabs when focusing on the tab trigger.
    • Press ArrowLeft or ArrowRight to switch between tasks when focusing on the tasks list.
    • Press ArrowLeft or ArrowRight to toggle the stack panel visibility if toggle option is enabled. If stack panel is already hidden, this navigation will works as the way ArrowDown and ArrowUp works.
    • Press ArrowLeft or End to focus to the last link when focusing on the links list.
    • Press ArrowLeft or End to focus to the last task when focusing on the tasks list.
    • Press ArrowLeft or Escape to hide the current menu and then focus to the nearest parent menu link.
    • Press ArrowRight or Home to focus to the first link when focusing on the links list.
    • Press ArrowRight or Home to focus to the first task when focusing on the tasks list.
    • Press ArrowRight to show the child menu and then focus to the first child menu link.
    • Press ArrowUp or ArrowLeft or End or PageUp to focus to the last stack when focusing on the stacks block.
    • Press ArrowUp or ArrowLeft or End or PageUp to focus to the last tab when focusing on the tabs block.
    • Press ArrowUp or End to focus to the last menu link when focusing on the menu block.
    • Press ControlAltPageDown to go to the next stack when focusing anywhere in the stacks block.
    • Press ControlAltPageDown to go to the next tab when focusing anywhere in the tabs block.
    • Press ControlAltPageUp to go to the previous stack when focusing anywhere in the stacks block.
    • Press ControlAltPageUp to go to the previous tab when focusing anywhere in the tabs block.
    • Press Enter or Space to toggle the menu visibility when focusing on the menu trigger.
    • Press Enter or Space to toggle the stack panel visibility if toggle option is enabled.
    • Press Enter or Space to toggle the tab panel visibility if toggle option is enabled.
    • Press Escape to focus to the parent block if possible.
    • Press F10 to focus to the first main navigation item if any.
    • Press F3 to focus to the main search form if any.
  • Moved _.alert(), _.confirm(), and _.prompt() to the _.dialog namespace. In the future, users should be able to set custom dialog window via _.dialog().
  • Moved the default skin to a separate extension.

v2.8.0

13 Nov 15:03
Compare
Choose a tag to compare
Update

v2.7.2

05 Sep 15:34
Compare
Choose a tag to compare
  • Added @taufik-nurrohman/option-picker for consistent select box style.
  • Added Data tab next to the Pages tab for pages layout.
  • Added $_['id'] property that stores the first $_['path'] value.
  • Added $_['skin'] property that stores the skin title and CSS path.
  • Added _.alert(), _.confirm(), and _.prompt() methods that return promises, as alternative to the native alert(), confirm(), and prompt() functions.
  • Added data property to field/* type to quickly add hidden fields.
  • Added data property to form/* type to quickly add hidden fields.
  • Added field/button and field/buttons type. Currently useless. Would be useful when combined with certain JavaScript actions, such as to open a pop-up window.
  • Added flex and field/flex type.
  • Added ability to reply comment from the panel interface.
  • Added badge GUI for link type via info key.
  • Added comments counter in the Comment menu.
  • Added files/folders counter in the Trash menu.
  • Added typography test.
  • Fixed bug of tags data that is not stored consistently on edit mode.
  • Improved title type to allow icons in file, folder, field/item, field/items, and field/toggle type.
  • Improved extension page. It is now possible to filter extensions by searching and/or paginating.
  • Improved performance of files/folders listing by deferring the GUI creation.
  • Renamed before and after key for field to value-before and value-after.
  • Renamed field/combo type with field/option.
  • The $_['/'] data now will includes the $url as prefix.
  • ./mecha-cms/mecha#96

v2.7.1

05 Sep 03:18
Compare
Choose a tag to compare
Allow Icon in `file`, `folder`, `field/{item,items,toggle}`

v2.7.0

28 Aug 14:00
Compare
Choose a tag to compare
Remove Trailing New Line(s)

v2.6.0

28 Feb 13:37
Compare
Choose a tag to compare
  • Added GUI tests menu that will be visible only if DEBUG mode is enabled by user.
  • Added $_['icon'] property to store the SVG path icons globally.
  • Added description, icon, separator, title, field/description, field/name, field/path, field/title type.
  • Added files/* and pages/* type variants.
  • Added sort option key to allow user to sort the lot data using custom key reference other than stack.
  • Added width option key for desk type to allow user to set custom desk width.
  • Renamed $_['chops'] to $_['chop'].

v2.5.2

07 Feb 15:49
Compare
Choose a tag to compare
Update

v2.5.1

06 Feb 19:26
Compare
Choose a tag to compare
Bug Fix