Releases: mecha-cms/x.panel
Releases · mecha-cms/x.panel
v3.0.1: Make Sure File Extension Does Not Contain `/`
A potential security vulnerability as reported by @751897386 <https://github.com/mecha-cms/mecha/issues/295>
v3.0.0
- #23 Changed URL pattern from
http://127.0.0.1/panel/::g::/foo/bar/baz/1
tohttp://127.0.0.1/panel/get/foo/bar/baz/1
. - Added
chunk
,deep
,sort
andx
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 theget
andset
task. - Added ability to update core, extension and layout directly from the panel.
- Changed
info
key tostatus
. - Changed
locked
property tofix
property. - Moved AJAX feature to a separate extension.
- Moved default panel skin and test files to separate extensions.
- Removed
card
andcards
type. - Renamed
height
andwidth
class tohas:height
andhas:width
. - Renamed
is:locked
andnot:locked
class tois:fix
andnot:fix
. - Updated for Mecha 3.0.0.
v2.8.1
- Added CSS variables to support theming by third-party extension and layout.
- Added
card
andcards
type. - Added
column
andcolumns
type so we can have sidebars. - Added
description
andtitle
option formenu
. - Added
gap
option fortabs
. - Added
row
androws
type. - Added
stack
andstacks
type. - Added
toggle
option fortab
andtabs
. - 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
Update
v2.7.2
- 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 nativealert()
,confirm()
, andprompt()
functions. - Added
data
property tofield/*
type to quickly add hidden fields. - Added
data
property toform/*
type to quickly add hidden fields. - Added
field/button
andfield/buttons
type. Currently useless. Would be useful when combined with certain JavaScript actions, such as to open a pop-up window. - Added
flex
andfield/flex
type. - Added ability to reply comment from the panel interface.
- Added badge GUI for
link
type viainfo
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 infile
,folder
,field/item
,field/items
, andfield/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
andafter
key for field tovalue-before
andvalue-after
. - Renamed
field/combo
type withfield/option
. - The
$_['/']
data now will includes the$url
as prefix. - ./mecha-cms/mecha#96
v2.7.1
Allow Icon in `file`, `folder`, `field/{item,items,toggle}`
v2.7.0
Remove Trailing New Line(s)
v2.6.0
- 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/*
andpages/*
type variants. - Added
sort
option key to allow user to sort thelot
data using custom key reference other thanstack
. - Added
width
option key fordesk
type to allow user to set custom desk width. - Renamed
$_['chops']
to$_['chop']
.
v2.5.2
Update
v2.5.1
Bug Fix