is_image
, get_image_url
, get_object_image
, rv_media_handle_upload
.
Replacements: RvMedia::isImage()
, RvMedia::getImageUrl()
, RvMedia::handleUpload()
.js-validation
package to core
.davejamesmiller/laravel-breadcrumbs
, build own breadcrumbs.editor
field.js-validation
& sitemap
social login
to support plugin member.setModuleName()
in forms.mews/purifier
to prevent XSS attack.cookie consent
.laravel/tinker
2.0mpociot/laravel-apidoc-generator
4.0php artisan cms:plugin:make:crud
(Video tutorial: https://www.youtube.com/watch?v=GAnoZbGHE28)\SlugHelper::disablePreview(Post::class)
)Upgraded to Laravel 6.0. Now this CMS requires PHP >=7.2 (https://laravel.com/docs/6.0#server-requirements)
Refactor database to improve query performance.
slugs: renamed column reference
to reference_type
and using model class instead of screen name. Ex: reference_type
is post
now changed to Botble\Blog\Models\Post
.
language_meta: renamed column lang_meta_content_id
to reference_id
and lang_meta_reference
to reference_type
. Using model class instead of screen name. Ex: reference_type
is post
now changed to Botble\Blog\Models\Post
.
menu_nodes: renamed column related_id
to reference_id
and type
to reference_type
. Using model class instead of screen name. Ex: reference_type
is post
now changed to Botble\Blog\Models\Post
.
meta_boxes: renamed column content_id
to reference_id
and reference
to reference
. Using model class instead of screen name. Ex: reference_type
is post
now changed to Botble\Blog\Models\Post
.
Update meta boxes helpers: Remove screen name in function. (get_meta_data()
, get_meta()
, save_meta_data()
, delete_meta_data()
)
Ex:
// Before
function get_meta_data($object->id, $key, $screen, $single = false, $select = ['meta_value'])
// Now
function get_meta_data($object, $key, $single = false, $select = ['meta_value'])
$this->setupModel(new Post);
botble/plugin-management
and run composer update to remove plugin feature.composer.json
. Add package wikimedia/composer-merge-plugin
.php artisan cms:media:thumnail:generate
.Add this line into platform/plugins/language/resources/views/index.blade.php:191
@include('core/table::modal')
status
column to published
instead of publish
.dev-tool
package.singleton
to bind
.@author
in comment docs.Upgraded to the latest Laravel version 5.8
Change folder structure: core, plugins and public/themes are now located in /platform folder.
Contact plugin: Allow to reply directly from admin panel.
Improve admin UI.
Move some plugins to packages. Now we have a new folder is /platform/packages (it is the place for required plugins).
Theme's directory is now located in /platform/themes/your-theme so it can't access directly anymore. After make change on theme's assets, you will need to run command php artisan cms:theme:assets:publish your-theme
to copy assets to /public/themes/your-themes.
Made some change on assets
module.
Refactor some methods.
addJavascript
=> addScripts
removeJavascript
=> removeScripts
getJavascript
=> getScripts
addStylesheets
=> addStyles
removeStylesheets
=> removeStyles
getStylesheets
=> getStyles
addStylesheetsDirectly
=> addStylesDirectly
addJavascriptDirectly
=> addScriptsDirectly
Change some config keys:
javascript
=> scripts
stylesheets
=> styles
Change folder to upload to storage/uploads
, you need to run command php artisan storage:link
to create symlink.
Change event to listen when adding admin menu.
Change \Botble\Base\Events\SessionStarted::class
to \Illuminate\Routing\Events\RouteMatched::class
Example:
\Event::listen(\Illuminate\Routing\Events\RouteMatched::class, function () {
dashboard_menu()->registerItem([
'id' => 'cms-plugins-<your-plugin>', // key of menu, it should unique
'priority' => 5,
'parent_id' => null,
'name' => __('Your plugin name'), // menu name, if you don't need translation, you can use the name in plain text
'icon' => 'fa fa-camera',
'url' => route('<plugins>.list'), // route to your plugin list.
'permissions' => ['<plugins>.list'], // permission should same with route name, you can see that flag in Plugin.php
]);
});
RV_MEDIA_ALLOWED_MIME_TYPES=jpg,jpeg,png,gif,txt,docx,zip,mp3,bmp,csv,docs,xls,xlsx,ppt,pptx,pdf,mp4
- Refactor plugin language to make it easier to integrate with new plugin (check FAQ for more detail).
- Fix bug when deleting default user `botble`.
- Redirect back to previous page after login
- Update default database.
- Refactor slug plugin.
- Fix bug change profile image
- Refactor plugin language & gallery
- Move member to plugin
- Update default database
- Upgrade to latest Laravel version 5.5. In this version, it's required PHP >= 7.0
- Separate Admin users and members.
- Update editor: allows multiple rich editor in a page, switch between text editor & rich editor.
- Fix UI: dashboard widgets, plugins.
{warning} This a big update with Laravel framework, it's core update so to upgrade from version 2.3, you should copy your themes and plugins to version 2.4 and use new database from /database.sql.
- Fix create a Category.
- Move analytics JSON config file to storage path.
- Move repositories, criteria to support module.
- Optimize media module.
- Apply new media management. There is many change on media on this version so the document for Media will be update later.
- Add shortcode button above editor to easy add shortcode.
- Allow switch between Ckeditor and Tinymce.
- Fix bug when create new role.
- Fix bug activate/deactivate user.
- Add create user in admin area, now we have 2 options: create user and invite user.
- Remove function get_file_by_size(). Now you can use get_image_url($post->image, 'thumb') instead of get_file_by_size.
- Add front site users area.
- Add post format (Default, gallery, video...)
- Fix bug in plugin language when default language is not set.
- Change route name of post, page, category in front site from "public.view" to "public.single.detail"
- Fix counter in Dashboard.
- Refactor admin breadcrumb.
- Set page title for each page in admin area.
- Add new demo theme
- Refactor show category list, theme list...
- Remove admin bar config in theme
- Easier theme breadcrumbs. Now you can use Theme::breadcrumb()->add('label', 'http://...')->add('label2', 'http:...');
- Fix invite user
- Fix reset password
- Update email template and send mail function.
Now you can send mail by: `EmailHandler::send('Hello there', 'Test email', ['name' => 'Sang Nguyen', 'to' => '[email protected]']);`
- Remove laroute package.
Please remove LarouteServiceProvider on /config/app.php and laroute package on composer.json.
- Upgrade to Laravel 5.4.
- Upgrade custom field plugin
- Refactor assets structure
- Fix error when installing.
- Fix analytics plugin after installation.
- Fix https://github.com/botble/issues/issues/1: Media upload error
- Please see image attachment in this issue to update your code.
- Fix installation script.
Release Botble version 2.0
- Fix folders in media is not accessible: To update, you just need update two files:
+ /resources/views/files/partials/folder-row.blade.php
+ /resources/views/files/partials/uplevel.blade.php
- Fix Menu management:
Run "composer update" to update menu package or replace /vendor/botble/menu folder.
- Fix menu module (just run "composer update" to update menu module)
- Fix media uploads:
Replace botbe/repositories/feature,
app/http/controllers/features
and app/http/endpoints/feature, media.js in assets.
- Upgrade to Laravel 5.3
- Update routes and media
- Add social login (login to admin page via facebook, github, google...
- Add contact form support, fix some small bugs.
- Fix dashboard widget, custom field and media management.
- Initial release Version 1.0