Releases: mecha-cms/x.panel
Releases · mecha-cms/x.panel
v2.5.0
- #18 Added
$_['asset']
property to easily load/unload assets in the control panel. - Added
do.task.*
hooks. - Added simple Node.js build tool (thanks to @igoynawamreh). Maybe not for everybody.
- Added user action limiter API.
- Changed default layout from Construction to Dark. Construction layout will be available as separate extension in the future.
- #20 Moved
$_['form']
data to the$_['form']['lot']
context. - #21 Moved all GUI function from under namespace
_\lot\x\panel
to_\lot\x\panel\type
. - Narrowed down the panel editor maximum width.
- Property
tags
now accept associative array. - Removed
peek
option globally. - Removed user notification feature. This is something that can be created by pushing new alert message to the session easily without the need to store junk files. The right navigation icon is now just a log-out button.
- #19 Renamed
$_['layout']
with$_['type']
. The$_['layout']
property is still there, but it is now will be used as a way to swap current layout with another layout file. - Renamed
hidden
key withskip
for a shorter name, and to prevent me from being too perfect, by adding another key namedvisible
, as an alternative forhidden
.
v2.4.3
- Hide search form in the default license page.
- Improved info tab of extension and layout, to automatically convert example URL in the page content into usable URL.
- State hook should not replace-recursive but override the current state data, to make sure that all boolean value in it will be removed if some toggle fields are not checked.
v2.4.2
- Fixed typos in SCSS file.
- Renamed panel form name from
search
toget
,edit
toset
.
v2.4.1
- Added
invoke
property for every item in pages to be invoked within_\lot\x\panel\page()
that would returns other properties to be merged to the current properties. - Added ability to set custom panel route through static functions under
_\lot\x\panel\route
namespace. - Added ability to set custom panel title.
- Added end-user license agreement page for the panel extension.
- Finished the restore feature.
- Fixed bugs of user creation event which didn’t store the pass data correctly.
- Improved
panel.php
file feature to allow developers to extend data to the$_
variable directly without using$GLOBALS
. - Improved comments page execution time by storing newly created comments into static array.
- Updated F3H version to 1.0.15.
v2.4.0
- Added ability to set custom panel definition through
.\lot\layout\index\panel.php
file. - Changed
#blob:{code}
language string into a more readable language string as the default language string for every blob response code. - Fixed bug where creating a new page does not populate the
time
data automatically. - Moved
type
andx
state data to a separated file, stored in.\lot\x\panel\state
folder. - Removed
$lot
hook parameter and store the form data to$_['form']
property, for easy form data manipulation during CRUD process. - Updated Tag Picker to version 3.0.12.
v2.3.2
v2.3.1
v2.3.0
- Added ability to set custom panel route and GUI through static functions under
_\lot\x\panel\route
namespace. - Changed field API to use lower-case for data types and to separate sub-types with
/
instead of.
. So that every data type will look like a friendly MIME type format, just like thetype
attribute value alternative for every page file. Example: fromText.DateTime
totext/date-time
, fromForm.Post
toform/post
. - Moved from
Pjax
toF3H
.
v2.2.1
- Removed leading
/
in$_['path']
and trailing/
in$_['/']
for consistency with$_['i']
and global$url
properties.
v2.2.0
- Added AJAX system that allows other JavaScript extensions to listen to the AJAX loading and loaded events.
- Added generic JavaScript hook system for external extensions that can be used to enhance the core control panel features.
- Fixed bug where users could not save the file content properly due to the automatic string evaluation by the
e
function.
function onChange() {
hljs.initHighlighting();
}
// Initialize `highlight.js` plugin on native page loading event
onChange();
// Re-initialize `highlight.js` plugin on page content changes caused by the AJAX load complete event
window._.on('change', onChange);
// Test
console.log(window._.hooks);