diff --git a/CHANGELOG.md b/CHANGELOG.md index ae33f12bf..1f463a17f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +* **Build 125** (2014-07-24) + - Theme support added. + - Added new Theme picker to the backend via Settings > Front-end theme + - New shorthand method for `$this->getClassExtension('Backend.Behaviors.FormController')` becomes `$this->asExtension('FormController')`. + - Buttons inside a popup support new `data-popup-load-indicator` attribute. + - Added a new config item to disable core updates completely (see config cms.disableCoreUpdates). + - Added a unique alternate favicon to the Back-end area. + +* **Build 124** (2014-07-17) + - Improvements to Twig functions and filters. + - URL, HTML and Form helpers are now available in Twig. + - The DataGrid form widget has been moved to a standard widget called Grid. + * **Build 122** (2014-07-15) - Restyled the CMS tabs diff --git a/app/config/cms.php b/app/config/cms.php index 239b96556..a0d940450 100644 --- a/app/config/cms.php +++ b/app/config/cms.php @@ -33,6 +33,20 @@ return array( */ 'disablePlugins' => [], + /* + |-------------------------------------------------------------------------- + | Prevents application updates + |-------------------------------------------------------------------------- + | + | If using composer or git to download updates to the core files, set this + | value to 'true' to prevent the update gateway from trying to download + | these files again as part of the application update process. Plugins + | and themes will still be downloaded. + | + */ + + 'disableCoreUpdates' => false, + /* |-------------------------------------------------------------------------- | Back-end URI prefix diff --git a/app/start/global.php b/app/start/global.php index a5b2c6aff..1241255d8 100644 --- a/app/start/global.php +++ b/app/start/global.php @@ -48,7 +48,10 @@ Log::useFiles(storage_path().'/logs/system.log'); App::error(function(Exception $exception, $code) { - Log::error($exception); + /* + * October uses a custom error handler, see + * System\Classes\ErrorHandler::handleException + */ }); /* diff --git a/modules/backend/ServiceProvider.php b/modules/backend/ServiceProvider.php index 10ebed318..34aea94e1 100644 --- a/modules/backend/ServiceProvider.php +++ b/modules/backend/ServiceProvider.php @@ -82,7 +82,7 @@ class ServiceProvider extends ModuleServiceProvider 'category' => 'My Settings', 'icon' => 'icon-code', 'url' => Backend::URL('backend/editorpreferences'), - 'sort' => 200, + 'order' => 600, 'context' => 'mysettings' ], 'backend_preferences' => [ @@ -91,7 +91,7 @@ class ServiceProvider extends ModuleServiceProvider 'category' => 'My Settings', 'icon' => 'icon-laptop', 'class' => 'Backend\Models\BackendPreferences', - 'sort' => 200, + 'order' => 500, 'context' => 'mysettings' ], 'myaccount' => [ @@ -100,7 +100,7 @@ class ServiceProvider extends ModuleServiceProvider 'category' => 'My Settings', 'icon' => 'icon-user', 'url' => Backend::URL('backend/users/myaccount'), - 'sort' => 200, + 'order' => 400, 'context' => 'mysettings' ], ]); diff --git a/modules/backend/assets/css/october.css b/modules/backend/assets/css/october.css index 674351cf2..d2e4438c2 100644 --- a/modules/backend/assets/css/october.css +++ b/modules/backend/assets/css/october.css @@ -7271,6 +7271,7 @@ body { /* The html and body elements cannot have any padding or margin. */ } body { + webkit-font-smoothing: antialiased; background: #fafafa; } #layout-canvas { @@ -7323,6 +7324,9 @@ body { .layout > .layout-row > .layout-cell.min-size { width: 0; } +.layout > .layout-row > .layout-cell.min-height { + height: 0; +} .layout > .layout-row > .layout-cell.center { text-align: center; } @@ -7363,6 +7367,9 @@ body { .layout > .layout-row > .layout-cell.min-size { width: 0; } +.layout > .layout-row > .layout-cell.min-height { + height: 0; +} .layout > .layout-row > .layout-cell.center { text-align: center; } @@ -7411,6 +7418,9 @@ body { .layout > .layout-cell.min-size { width: 0; } +.layout > .layout-cell.min-height { + height: 0; +} .layout > .layout-cell.center { text-align: center; } @@ -10506,6 +10516,19 @@ html.cssanimations .cursor-loading-indicator.hide { .dropdown-menu .dropdown-container > ul li.divider { margin: 0; } +.dropdown-menu.pull-right .dropdown-container > ul:after { + left: auto; + right: 15px; +} +.dropdown-menu.pull-right .dropdown-container > ul:before { + left: auto; + right: 14px; +} +.dropdown-menu.pull-right .dropdown-container > ul li.first-item a:hover:after, +.dropdown-menu.pull-right .dropdown-container > ul li.first-item a:focus:after { + left: auto; + right: 15px; +} .dropdown-menu.top .dropdown-container > ul:after { content: ''; display: block; @@ -10944,6 +10967,7 @@ body.dropdown-open .dropdown-overlay { .control-tabs.content-tabs > .tab-content > .tab-pane { padding-top: 0; } +.control-tabs.content-tabs > .tab-content > .tab-pane div.list-header, .control-tabs.content-tabs > .tab-content > .tab-pane div.padded-container, .control-tabs.content-tabs > .tab-content > .tab-pane div.toolbar-widget { background: #ffffff; @@ -11518,9 +11542,13 @@ ul.status-list li span.status.info { .control-breadcrumb li:last-child:after { content: ''; } -.control-breadcrumb + .content-tabs { +.control-breadcrumb + .content-tabs, +.control-breadcrumb + .padded-container { margin-top: -20px; } +.control-breadcrumb.no-bottom-margin { + margin-bottom: 0; +} body.slim-container .control-breadcrumb { margin-left: 0; margin-right: 0; diff --git a/modules/backend/assets/images/favicon.png b/modules/backend/assets/images/favicon.png new file mode 100644 index 000000000..037163135 Binary files /dev/null and b/modules/backend/assets/images/favicon.png differ diff --git a/modules/backend/assets/js/october.loadindicator.js b/modules/backend/assets/js/october.loadindicator.js index a5bcc2667..880c4a9ee 100644 --- a/modules/backend/assets/js/october.loadindicator.js +++ b/modules/backend/assets/js/october.loadindicator.js @@ -101,7 +101,7 @@ // LOADINDICATOR DATA-API // ============== - + $(document) .on('ajaxPromise', '[data-load-indicator]', function() { var diff --git a/modules/backend/assets/js/october.popup.js b/modules/backend/assets/js/october.popup.js index 6e7675dcf..a6749fd0d 100644 --- a/modules/backend/assets/js/october.popup.js +++ b/modules/backend/assets/js/october.popup.js @@ -38,6 +38,11 @@ this.$modal = this.$target.modal({ show: false, backdrop: false, keyboard: this.options.keyboard }) this.isAjax = this.options.handler || this.options.ajax + /* + * Duplicate the popup reference on the .control-popup container + */ + this.$target.data('oc.popup', this) + /* * Hook in to BS Modal events */ @@ -50,7 +55,7 @@ setTimeout(function() { self.$content.empty() }, 500) } }) - + this.$modal.on('show.bs.modal', function(){ self.isOpen = true self.setBackdrop(true) @@ -156,7 +161,7 @@ this.$backdrop.addClass('in') - this.$backdrop.append($('