Releases: praxisnetau/silverware
Releases · praxisnetau/silverware
1.3.0 (2017-09-22)
Added
- new
Button
class and styles - new
DetailFieldsExtension
for rendering a list of detail fields within the template, defined from configuration - new
ButtonStyle
extension to add button styles to extended objects - method
renderCSS()
added toViewTools
, which renders a passed object with the specified CSS template
Updated
BaseListComponent
changed default option to 'None' for showable itemsBaseListComponent
now hasgetListStyleFields()
andgetListOptionFields()
for easier subclassingFeatureComponent
now has corner styles and can be linked in it's entirety (i.e. the whole box, rather than just the title or footer button)Installer
asks for database name and vendor, works in conjunction with updatedsilverware/app
AreaExtension
now also handles subclasses ofPanel
PageExtension
now uses agetContentClassNames()
method for content area style classessetParent()
onComponent
is nowsetParentInstance()
- use when linking together components in memoryComponent
classes can now be added as children of pages if the Component class name is permitted by the page'sallowed_children
Fixed
ViewportsField
is now a subclass ofCompositeField
; SilverStripe now treats it appropriately in other methodsprocessAttribute()
inViewTools
now checks if the given$parent
parameter is an object
Removed
load_component_requirements
removed from controller settingsgetParentInstance()
onComponent
has been replaced with an overriddengetParent()
method- trait
RequireFiles
has been removed; the functionality has been merged into theRenderable
trait
1.2.0 (2017-09-12)
Added
- new
ListItemExtension
(replacesListItem
trait) - new
TagField
used to add tags to objects (such as blog posts) - new
ToggleGroup
field which will show or hide a group of fields based on the status of a checkbox - new
ListAlert
trait to add alert messages at the top of list components - new
ListPage
class which renders it's child pages as a list - new
ListSourceSlide
class to add slides to a component from a list source - new
.handleMessages()
JavaScript functionality for Ajax-powered forms - themed editor CSS
production/styles/editor.css
added to HTML editor - additional editor CSS can be defined using
themed_editor_css
config onLeftAndMain
- style variable for icon size multiplier
- image overlay feature for list items with custom icon
- options for edge-to-edge and position (fixed, sticky etc.) added to
Section
- option to hide the image in a
Slide
- dependency for
silverware/select2
module
Updated
Component
now records the parent instance viasetParent()
in a property; useful when renderingComponentController
will now throw a 404 by default when being accessed via it's URL in the browsertag()
method inComponent
renamed torenderTag()
to avoid problems in templates- a
Slide
is now aComponent
rather than a subclass ofLink
- parent components of
Slide
can now define a custom template to use for the slide usinggetSlideTemplate()
getCustomCSSTemplate()
now accepts a$class
parameter inRenderable
- list items will now only show a particular detail item if it has a text value
Slide
objects can now use a custom tag (default is div)
Fixed
- namespace for
BreadcrumbsExtension
was incorrect - initial resize upon window load for
TagCloudComponent
was not working correctly - bug with
BaseComponent
rendering two content divs - bug with
MetaDataExtension
throwing an error ongetMetaDateFormatted()
when a meta date does not exist - bug with the
Link
class not specifying page mode when being created usingfromPage()
- bug in the
Tag
class when finding the parent class from the many-many component
Removed
AutoCompleteField
as it was buggy and unnecessaryListItem
trait, it made more sense to change it to anExtension
so it could be applied to allPage
classes
1.1.0 (2017-08-29)
Added
.svg
added to allowed extensions by defaultBreadcrumbsExtension
to allow easier customisation of breadcrumbs within controllersBaseListComponent
as an abstract parent class for list componentsTileComponent
used to render a list of items as a series of tiles- ability to set app title and tagline via YAML fixtures
- model class
Breadcrumb
used to represent an item of breadcrumb navigation - interface
Crumbable
for classes which can be rendered as breadcrumbs in the template - relocated
Installer
class fromsilverware-app
- 'LinkToExtension` which adds standard linking fields to the extended object
- ability to specify both image and text alignment styles
PaginationStyle
extension for components supporting paginationThemeStyle
extension for using utility styles from the thememerge
method forFieldSection
class- components now support a public
doInit
bootup method (along with a protectedinit
) - components can now programmatically answer their template using
getTemplate
Updated
- build dependencies
- styles to match with new Bootstrap v4.0.0-beta class names
- expanded abilities of
FeatureComponent
(including icons and sub-headings) - alignment classes now include
justify
- the
ListItem
trait now refers to a$renderer
instead of a$listComponent
Link
functionality moved toLinkToExtension
Fixed
ScrollToTopButton
now correctly uses theme utility classes for appearance- an array/string type conversion bug in
FixtureBlueprint
1.0.0 (2017-06-16)
Added
Link
componentfallback
setting for webpack dev server; ifload_themed_css
is set tofalse
andfallback
is set to true, the controller will fallback to using the themed CSS if the environment is dev and the dev server is not active- parameters for meta field config
toLink
method onPageExtension
, to easily convertPage
classes toLink
objectsCornerStyle
extension for selecting the style of corners on the extended objectLinkColorStyle
for choosing foreground/background colors for links, plus their hover and active statesPageDropdownField
, likeTreeDropdownField
but defaults to showing instances ofPage
onlyPageMultiselectField
, likeTreeMultiselectField
but defaults to showing instances ofPage
onlyCMSMainPermissions
trait for data objects managed via the CMSSiteConfigPermissions
trait for data objects managed viaSiteConfig
Updated
- build dependencies
- replaced
CompositeField
instances with newFieldSection
class - replaced
TreeDropdownField
instances with newPageDropdownField
class - replaced
TreeMultiselectField
instances with newPageMultiselectField
class - component style is now refered to as "Selectors"
- component options has now been renamed "Status"
Removed
- anything admin related has been moved to
silverware/admin
PageIconFix
trait has been removed as it is no longer necessaryPageIconExtension
has been moved tosilverware/admin
GridFieldConfig_OrderableEditor
as grid field extensions are still broken- permission methods on data objects have been replaced with
CMSMainPermissions
andSiteConfigPermissions
traits
Fixed
- code formatting and docblocks
- fixtures can now use
Title
as the identifier - references to
MetaDataExtension
methods now check the object has the extension first before calling - methods provided by
GridAware
trait are nowpublic
0.3.2 (2017-05-24)
Fixed
- an exception that occurred when a
PageType
already exists with a non-existent class
Removed
- references to
$object->class
, asSilverStripe\Core\Object
has been removed fromsilverstripe-framework
0.3.1 (2017-05-23)
Fixed
- dependencies in
composer.json
fixed
Removed
- references to the
SilverStripe\Core\Object
class as it has been removed fromsilverstripe-framework
0.3.0 (2017-05-22)
Added
MediaComponent
for adding rich content viaEmbed\Embed
ImageComponent
now supports linking of images and lightbox popups (if available)- a
Panel
can now be added as a child of a regular page in the site tree, allowing the user to add components to an area (e.g. sidebar) for a particular page MediaURLValidator
, used with theMediaComponent
to validate an entered URL viaEmbed\Embed
Fixed
- number badge selector in JS
ImageComponent
margins- permissions for components, which will now be hidden from the site tree if the user does not have component editing permission
Removed
- component view permissions, too confusing and problematic - use edit permissions instead
0.2.1 (2017-05-15)
Added
AlertMessageExtension
which translates form validation result types into alert styles- style mapping configuration to support Bootstrap 4 alert classes
- number badges for CMS tree to support "iOS style" badges; useful for unread message counts etc.
- method to return attributes for the current page, such as ID and class name; useful for styling
- method to answer the ancestry for the current page
Fixed
PageType
summary fields now supporti18n
0.2.0 (2017-05-08)
Added
- components can now generate their own custom CSS
- standard breakpoints to grid framework config
- breakpoints accessible via
Grid::framework()->getBreakpoint('viewport');
ViewportsField
now supports regular text input as an alternative to dropdown fieldsBaseListComponent
as an abstract superclass of all "list type" componentscanPaginate
method to list components, to determine whether to show pagination settings- callback array syntax for YAML fixtures, to replace code blocks (see removed below)
- ability to show only items with images in list components
- configurable fields for
MetaDataExtension
to control which fields are displayed - attribute processing methods to
ViewTools
Fixed
ListComponent
flex styles
Removed
- YAML code blocks from
FixtureBlueprint
, relying oneval
is not ideal, replaced with callback array syntax