Skip to content

Latest commit

 

History

History
402 lines (336 loc) · 38.4 KB

CHANGELOG.md

File metadata and controls

402 lines (336 loc) · 38.4 KB

LUYA CORE CHANGELOG

All notable changes to this project will be documented in this file. This project make usage of the Yii Versioning Strategy. In order to read more about upgrading and BC breaks have a look at the UPGRADE Document.

1.0.6 (in progress)

Added

  • #1784 Added auto cover sensitive data for error api transfer.

1.0.5 (26. March 2018)

Changed

  • #1779 Refactor of luya\web\Composition component.

Added

  • #1781 Added application property $ensureSecureConnection to ensure secure connection when handling requests.
  • #1762 Add luya\web\Composition::$allowedHosts to ensure the hostName from a list of valid host names. Otherwise throw forbidden exception.
  • #1774 Provide option to configure transfer whitelist. Whitelisted exception will not transfered to the error API.

Fixed

  • #1778 Changed admin csrf param name in order to not terminate the frontend csrf validation process.

1.0.4 (28. February 2018)

Changed

  • #1765 Changed ObjectHelper::instanceOf to ObjectHelper::isInstanceOf in order to fix php 5.6 compatibility bug.

Added

  • #1760 Added Excel export to ExportHelper.

Fixed

  • #1730 Problem when using relativ url rule handling which are resolved trough current $app->controller.
  • #55 Fixed issue where admin APIs can not access module context.

1.0.3 (24. January 2018)

Changed

  • #1756 Changed invalid JsonLd method calls, added new objects, value and type checks.
  • #1754 Remove underscore when transliteration is disabled.

Added

  • #1759 Added luya\helpers\ObjectHelper instanceOf() method.
  • #1755 Add json helper with isJson() method.
  • #1757 Added new sendArrayError() method to luya\rest\Controller. Moved helper classes into RestBehvaiorsTrait as they can be used in both situations.

1.0.2 (17. January 2018)

Changed

  • #1739 Removed deprecated getLuyaVersion() method in luya\console\Command class.
  • #1753 Removed version info from generated files trough commands.

Fixed

  • #1749 Ensure bin file app can find autoloader when running from an outside folder.
  • #1747 Allow to override translations files trough application config.

1.0.1 (3. January 2018)

Changed

  • #1739 Mark getLuyaVersion() as deprecated in luya\console\Command.

Added

  • #1744 New getter and setter method for urlRules, provides backwards compatibility trough none virtual property access.
  • #1735 JsonLd: CreativeWork, Article, SocialMediaPosting, BlogPosting, LiveBlogPosting
  • #1737 Added luyadev command to clone and update repos. This command is used in the luya-env-dev project in order to develope on the LUYA modules or create your own extensions/modules.
  • #1738 Update module create readme with useAppViewPath information.

Fixed

  • #1745 Provide controller files fallback for LUYA core modules.
  • #1731 JsonLd Thing definition must be from type Thing.

1.0.0 (12. December 2017)

Changed

  • #1572 CMS blocks are now deliverd trough generic and bootstrap3 repos, therefore run the updater ./luya cms/updater/generic.
  • #1559 Renamed luya\admin\image\Item::getSource() to getHttpSource() this will affect also the getter properties.
  • #1564 Refactoring of gallery module, removed old unused methods, switch to ActiveQuery relation usage.
  • #1522 Text and Textarea NgRest plugins auto encode input data after find.
  • #1505 Minor API Breaks and removed deprecated methods.
  • #1341 Changed signature of changePassword($newPassword) in luya\admin\aws\ChangePasswordInterface.
  • #1574 Changed Active Window $alias property to $label. Use defaultLabel() in order to set a default label.
  • #1567 Discontinue development of Exporter Module.
  • #1568 Add file system layer for Storage component.
  • #1505 Renamed property of luya\cms\frontend\Module from $enableCompression to $contentCompression.

Added

  • #1679 Updated styles to support up to 3 icons in the treeview item context.
  • #1557 Support non transliterated CMS URLs by providing the new Inflection class. This will enable non-latin URLs.
  • #1700 Redirection mappings in CMS Module.
  • #1682 NgRest relations can now handle auto set the primary model value, auto open the tab and define a tab label from the crud list.
  • #1695 NgRest Crud can handle composite primary keys.
  • #1639 Application wide configuration table which can be managed in the admin.
  • #1467 Main nav context menu for logout and account preferences.
  • #1557 Allow unicode chars for cms page aliases and slugify directives.
  • #1551 JsonLd basic implementation.
  • #1534 Link ability for files and e-mail addresses.
  • #1540 CMS Log Dashboard.
  • #1304 Crud indicates the total amount of rows with pagination enabled or disabled.
  • #1521 Bind session token to current IP in order to prevent session hijacking.
  • #1511 Added page id information in cms menu tree on hover (alt,title).
  • #1307 Block wizzard creates admin view according to given configs and vars.
  • #1493 Show ability to search in relations when using large data tables.
  • #1439 Added icons to admin responsive menu.
  • #1494 CMS page selection hides container element by default, fixed arrow keys.
  • #1461 Admin search panel auto focus input field and search groups can be toggled.
  • #1462 CMS block holder toggler in order to optimize view for small screens.
  • #1515 Change access token on logout provides a shorter periode of being violated.

Fixed

  • #1652 Missing modal-open class issue with multiple nested modals problem fixed.
  • #1578 Fixed tons of typo and spelling issues in the LUYA guide
  • #1644 Added element null check to cms toolbar.js
  • #1556 Updated arrow position; Removed wrong & unecessary in filemanager (fixes position and table display in modal)
  • #1520 Selects with initvalue can no longer reset to null values.
  • #1562 Hide CMS Page settings overlay after save.
  • #1629 Fixed bug when moving blocks from placeholder block into parent placeholder.
  • #1654 Updated styling for treeview empty placheolder message and added styling for drag hover.
  • #1640 Use container name for page overview instead of alias.
  • #1598 Hide block delete button when insufficient permissions, disable draging and editing if there is no update permissions.
  • #1563 Adjust position of first sortable arrow as desired.
  • #1545 Adjust position of page version dropdown content on admin edit section.
  • #1549 Hide version informations for other page types then page content.
  • #1550 Readded option to change the page type in CMS Module.
  • #1480 Dropdown select overlay z-index fixed by closing all other selects.
  • #1519 Multiple inputs problem with empty item rows convert to object instead of array.
  • #1535 Date and Datetime reset model buttons.
  • #1536 Link directive display wrong reset data button if empty object exists.
  • #1533 Draft mode does not display first created version. Hide elements when page is draft.
  • #1526 Changed has-enough-space directive to use direct parent of element to check if there is enough space.
  • #1509 Added a table-responsive-wrapper div to all responsive tables. This improves CRUD behaviour on mobile.
  • #1479 Block group translation names where not displayed correctly. Old block groups where not deleted anymore.
  • #1470 Action columns in crud visibility fixed by button group overlay on hover.
  • #1527 CMS Table block convert newlines to br when markdown is disabled.
  • #1512 Drag and Drop does not work in Firefox Browsers.
  • #1517 Fixed issue where FileHelper::classInfo does not determine namespace correctly on windows.
  • #1401 Multiple inputs key indexing problem fixed.
  • #1474 Fixed problem where modal in modal does not apply modal-body class correctly.
  • #1473 Fixed issue where user default language is not provided when user has no settings stored.
  • #1491 Updated timeline styles to prevent line from overlapping first and last entry
  • #1490 Updated tab styling to support nested tab contents (tab-content, tab-pane)
  • #1489 Changed default checkbox styles and updated checkbox html in all files
  • #1455 Re-Implemented the group function for crud; Updated card styles to support toggle icon
  • #1504 Added is-empty class to zaa-list directives and updated flag positions based on this class.
  • #1503 Deleted news are now hidden in getAvailableNews() method.
  • #1486 Toast messages displayed correctly with multiple lines.
  • #1492 Fixed bug where CRUD pagination does not work anymore.
  • #1464 Adjusted icon positions for dropdown list selection
  • #1460 Fixed issue with login autofill and floating labels
  • #1471 Added word-break: break-all to block-front; Could lead to other problems but couldn't see any so far
  • #1478 Cursor pointer and user-select none on [ng-click] elements
  • #1478 Updated toast positioning if mainnav is expanded
  • #1477 Fixed z-index issue with luya search bar
  • #1475 Fixed bug in cms menu tree when moving an element after an existing element.
  • #1469 Fixed bug where short open tags are required by default.
  • #1468 Fixed bug where on windows platforms the alias for the luyadev installer vendor file not be retrieved.
  • #1456 Fixed bug where login forms make problems on Firefox Browsers.
  • #1458 Fixed bug where crud search does not apply the model changes.
  • #1454 Fixed Problem with Admin UI and Firefox Browsers.
  • #1371 Fixed issue where cms page last update does not refresh the user id.

1.0.0-RC4 (5. September 2017)

Changed

  • #1408 CMS Module removed bootstrap process inside module, use Bootstrap class instead.
  • #1414 Renamed Angular Helper methods, removed all the zaa prefixes.
  • #1308 Renamed luya\admin\ngrest\plugins\CheckboxRelation::labelFields to luya\admin\ngrest\plugins\CheckboxRelation::labelField
  • #1301 Move the CRUD commands to the admin module admin/crud/create and admin/crud/model.
  • #1289 Remove luyaLanguage application property and replace with admin module interfaceLanguage property.
  • #1294 Moved Active Window scaffolding command into admin Module admin/aw/create
  • #1277 Renamed getPlacholderValue() to getPlaceholderValue().
  • #1273 Mail component remove adresses() replace with addresses().
  • #1264 Renamed $LinkActiveClass property to $linkActiveClass in luya\cms\widgets\LangSwitcher.
  • #1295 Fully removed all Twig files, tests and components as announced.
  • #1448 Admin translations must be registered in Module::onLoad.

Added

  • #1292 NEW ADMIN UI!
  • #1361 Added ability to provide json file for cms layouts in order to render the grid in the admin according to the frontend.
  • #1293 Dashboard objects can be used by admin modules.
  • #1351 Frontend Storage Upload validator which stores images and files in admin storage component.
  • #1375 Added Import Helper class which provides functions to parse CSV files to Arrays.
  • #1332 Added Export Helper class in order to generate CSV Files from Arrays.
  • #1312 ArrayHelper::generateRange for select dropdowns with numeric values.
  • #1303 NgRest SelectModel valueField is automatically retrieved from the model class if no value is provided.
  • #1291 Replace User Sidebar with User Dashboard to change Password.
  • #1288 Added Color-Wheel NgRest Plugin and Angular Type.
  • #1287 Sortable Plugin and Trait added.
  • #1270 Module block set resolved query params into the request component if not strict mode.
  • #1268 Module block strict render ability in order to strict render the given action and controller paths instead of parse them trough the request component.
  • #1227 Added preloadModels() method for the Menu Query in order to collect all models for the given request. This can strongly reduce the sql count when working with properties or models.
  • #1266 render() method for the mailer component in order to provide controller template files.
  • #1269 Add raw option for html block in order to render the html output in admin view.
  • #1215 Added type float and double in ngrest data types to use decimal.
  • #1119 Added PostgreSQL Compatibility.
  • #1331 Active Window generator generates index action view file.

Fixed

  • #1346 Fixed bug with ngrest scope delete defintions.
  • #1355 Module migrations uses templates based on input data.
  • #1248 Fixed caption of "block groups" does not obey the user's language option.
  • #1272 Empty layout block reloading problem has been fixed due to rewrite of the cms controllers which reloads the placeholders.
  • #1356 Fixed problem with when ngrest plugin SelectModel target class is the same model.
  • #1369 Flow Uploader lost bearer token while uploading images.
  • #1290 Fixed Tooltip Bug, cause of lexer parser error. Wrong directive variable scope declaration.
  • #1286 Filemanager show error message on error.
  • #1267 Fixed bug where module block action params overrides the default values, merge instead.
  • #1265 Using https for Google Maps embed code.

1.0.0-RC3 (11. April 2017)

Changed

  • #1229 The ngRest CheckboxRelation plugin dropped the support for ActiveRecord object getters inside the labelTemplates, use the closure function inside the labelFields propertie instead.
  • #1208 Renamed luya\cms\widgets\LanguageSwitcher to LangSwitcher and removed the template usage as it should not be part of the widget.
  • #1180 Replaced luya\admin\ngrest\base\ActiveWindowView::callbackButton() by widget luya\admin\ngrest\aw\CallbackButtonWidget::widget().
  • #1177 The luya\web\Elements component looks for the elements.php inside the @app/views folder instead of @app.
  • #1114 Updated materializecss to newest version and removed unused files.
  • #1127 Deprecated, renamed or removed functions collection.
  • #1126 Moved CLI commands to the related modules.
  • #1102 Removed News Module Tag table and replace by admin modules Tag models.
  • #1098 Changed luya\base\Widget view path behavior to default implementation with option to enable app view paths lookup.
  • #1109 In order to prevent blocks to extend from cms blocks, flag all cms blocks as final.
  • #1076 Twig Component triggers now an deprecated notice message.
  • #1218 Renamed InfoActiveWindow to DetailViewActiveWindow.
  • #1244 Crawler DefaultController returns ActiveDataProvider instead of ActiveRecord results.
  • #1231 Upgrade to Angular 1.6 therfore all custom angular admin js files have to make sure to be compatible with Version 1.6 (dropped .success and .error for $http component)

Added

  • #1163 Styling of the toggler. Added toggles for each container.
  • #1245 Added gulp workflow to cms/admin.
  • #1245 Added gulp workflow to cms/admin.
  • #724 Removed compass configs in admin module and added gulp workflow.
  • #1243 Enabled all flags
  • #1228 Remove session serailizer for ngRestConfig.
  • #1230 New ngRestScopes() resolves the need for ngRestConfig($config) method.
  • #1214 Added JSON-LD class to add rich snippet informations to a website.
  • #1124 Refactor all CMS blocks with UnitTests and PhpBlocks.
  • #1211 Add new link directive with ability to deselect a link.
  • #903 Added file manager details.
  • #1216 Storage Item object integrated Arrayble Interface.
  • #1224 Settings to define a 404 Error Page to render on HttpExceptions
  • #1226 Delete language item in cms.
  • #1225 Formatter component extends default formats for languages.
  • #1222 Extend from BaseYii file in order to provide IDE Auto Complet.
  • #1221 Added CMS Query in expression for where conditions.
  • #1220 Menu Item object added new $seoTitle (getSeoTitle()) function in order to return the alternative SEO title definition.
  • #1214 Adding JsonLd class in order to register Schema Microdata informations to the View.
  • #1188 Change the layout file for cms page.
  • #1202 Added Arrayable implementation for ExternalLink and menu\Item.
  • #1200 Added new block type zaa-multiple-inputs to create more flexible blocks
  • #1193 Slugify Plugin to generate aliases with only lower case letters, numbers and strikes.
  • #1187 ActiveQueryCheckboxInjector has new label attribute in order to define the rendering for the dropdown label in the block admin.
  • #1171 CMS Menu item has method getAbsoluteLink() in order to retrieve link with prepand host scheme.
  • #1137 Created fixed-table-head directive and added it to CRUD and filemanager
  • #1169 Callable function for labelFields in the CheckboxRelation Plugin.
  • #1118 Variation/Flavors for blocks can be configure in the config file in order to override and hide fields.
  • #1117 Content Proxy allows you to sync files and data from one environment into another.
  • #1140 Added new block getIsDirtyDialogEnabled() method in order to disable the dirty dialog when blocks do not require any configuration.
  • #1116 Injectors can be appended to the end of the configuration list.
  • #1135 Command to generate only the ngrest model crud/model "path/to/Model".
  • #1136 Block generate uses the luya\admin\base\TypesInterface.
  • #1134 ToggleStatus plugin ables to toggle the status from the crud list overview.
  • #1133 Added callable $labelField and getter access for ngrest plugin luya\admin\ngrest\plugins\SelectModel.
  • #1120 Add Hook mechanism in order to trigger contents.
  • #1115 ActiveDataProvider default sorting configuration for news article overview.
  • #1018 NgRest SelectModel Plugins where conditions, labelFields and labelTemplate properties added.
  • #1010 Ability to soft delete admin languages if its not the system default language.
  • #1110 Filemanager is sorting the directories alphabetically instead of chronologically.
  • #1100 NgRestModel scenarios implements the restupdate and restcreate scenarios by default now.
  • #1108 Added schema builder ability for migration files in order to support other shemes like postgreSQL.
  • #1106 Added possibility to mock element arguments for the styleguide.
  • #1096 News Module added teaser_text field in article model.
  • #1006 Added spanish translations to all luya core modules and administration interface.
  • #1103 InfoActiveWindow make usage of the yii\widgets\DetailView in order to configure attributes.
  • #626 User location for CMS and CRUD locations, page or crud item will be locked afterwards.
  • #1158 Greek translations added.
  • #1121 Ukrain translations added.
  • #1154 Italian translations added.
  • #1205 Vietnamese translations added.
  • #1236 Portuguese translations added.

Fixed

  • #1255 Fixed scroll bug and improved over all behavior.
  • #1254 Updated CRUD pagination styles.
  • #1138 Updated responsive menu bar styles to improve the user experience on smaller screens.
  • #1186 Image records not deleted from list without cache reload.
  • #1162 Unable to create pages from empty draft selection.
  • #1143 Fixed image directive filter preselection, due to an angular convert to number problem.
  • #1156 Fixed issue where crawler preview does not decode html entities.
  • #1146 Fixed url rule behavior when composition is hidden but an url rule is a composition rule.
  • #1147 Empty file caption names contains the original file name.
  • #1130 Fixed issue which prevents item redirection loops.
  • #1101 Rest model validation did not use proper language for the yii translations based on the user language.
  • #1111 Storage File selection does not display file name cause of not strict comparing method.
  • #1099 Broken file list block translations fixed.
  • #1097 Removed unused codes from the UrlManager parseRequest() method.

1.0.0-RC2 (29. Nov 2016)

Changed

  • #1070 [BC BREAK] Renamed methods of the block interface. Change getBlockGroup() to blockGroup().
  • #1058 [BC BREAK] Removed all massive assigned vars, cfgs, extras and placeholders from the PHP Block view.
  • #1069 [BC BREAK] Removed CMS Block assets propertie in order to reduce RAM usage and follow Yii guidelines in order to register assets.
  • #1068 [BC BREAK] Cms Block zaa() helper methods moved to \luya\cms\helpers\BlockHelper and marked methods as deprecated.
  • #1067 [BC BREAK] Admin Module Menu: itemApi() routes are now separeted by slashes instead of dashes. As this supports native Yii handling.
  • #1045 [BC BREAK] Admin modules getMenu() method must return an luya\admin\components\AdminMenuBuilder object instead of an array. A deprecated message is triggered when using the old menu builder functions.
  • #1075 [BC BREAK] Frontend and Admin Controller and Module assets can not be stored in the $assets property of a module or controller any more.
  • #1086 Mark $page component as deprecated as properties can be accessed trough the menu component.
  • #1066 NgRestModel methods renamed: ngrestExtraAttributeTypes to ngRestExtraAttributeTypes and ngrestAttributeTypes to ngRestAttributeTypes.
  • #1043 Upgrade to 2.0.10 version of the Yii Framework.

Added

  • #1081 Generate Link Interface for internal and external links in order to identify different link types.
  • #1082 Link plugin for ngRest configuration in order to provide internal or external links.
  • #1003 The crawler tag CRAWL_TITLE has been added to ensure a customization of the titles.
  • #1008 Administration interface language can be changed and stored in the user settings.
  • #1014 NgRest Crud has a new possibility to work with relation data via the ngRestRelations() method inside the NgRestModel. This allows you to open relation data in new tabs.
  • #1038 Method createCallbackUrl($callback) added for ActiveWindows in order to get the absolut url for a callback, this is usefull when creating callbacks which can return a pdf for example.
  • #1007 French translations available for all core modules.
  • #1046 Hide menu items in the administration in order to enable crud relations with permissions but hide the menu point of the ngrest crud inside the admin interface.
  • #1037 Image property abstract class to allow short and faster implementation of image properties.
  • #1004 CMS Page field to set a custom page title tag in order to add SEO optimized titles.
  • #1048 Crawler stores meta description infos into a seperat field in order to display description in search results.
  • #1047 Title, Keyword and Description are now part of the Crawlers contnet, as the content is where the search field is look for the search query.
  • #1049 Admin Filemanager supports replacement of files therefore the angular file upload component has been updated.
  • #1051 Added new Meida block group, changed default positioning for standard groups, make block creator usage of Project block group by default.
  • #1057 PHP Block CMS View class provides more and better helper methods in order to retrieve config contents.
  • #1060 Filemanager Drag&Drop and Copy&Paste of files enabled (Chrome, Firefox and HTML5 Browsers only).
  • #1063 Cleanup the block interface in order to make concret block implementations.
  • #1059 Block Generator also generates the view file of the PHPBlock in the depending view folder.
  • #1000 The CRUD generator will store the model in the shared models folder if available.
  • #999 Rewritten the CRUD generator and added ability to disable i18n fiel generation.
  • #991 User settings stores CRUD orderBy state in database for each ngrest crud setup.
  • #919 Added new option for image, imageArray, file and fileArray ngrest plugins in order to return an iterator or item object instead of database values.

Fixed

  • #1072 Admin services will not force reload on each click when array is empty.
  • #1078 Fixed bug where cms block press enter does not save values but closes block form visbility.
  • #1002 Override the core commands method in the console application in order the provide the ability to use controllerMap variable for configurations in the applcation.
  • #1011 The ViewContext implementation for cmslayout rendering allows you now to render other templates inside a cmslayout.
  • #1044 Changing the cms permission force menu reload in order to fix bug with old menu permissions.
  • #1013 Delete a cms page displays blank page and reloads menu, fixed bug where page was still visible.
  • #1061 CMS Page properties with overriden default implementation returns wrong administration api value.
  • #1062 CMS Layout files will ignore prefixed files with . and _ and folders inside the cmslayout folder.
  • #987 Fixed issue with image auto rotate and moved to imagine extension version ~2.1.0

1.0.0-RC1 (04.10.2016)

  • #806 [BC BREAK] Renamed to configs/server.php to configs/env.php, new projects will also have the env prefix for the config names.
  • #976 [BC BREAK] Remove $isCoreModule replace with CoreModuleInterface
  • #972 [BC BREAK] Merged to cms and cmsadmin modules into one folder and changed the namespace to luya\cms instead of cms/cmsadmin.
  • #973 [BC BREAK] Removed $assets property from none admin modules.
  • #974 [BC BREAK] Removed $isAdmin property.
  • #970 [BC BREAK] Deleted, renamed and rearranged LUYA core REST classes and methods.
  • #995 Added Grouping/Section ability to for the crawler.
  • #830 Added Textarea auto height plugin
  • #983 Added LazyLoad Widget to the LUYA core features.
  • #979 Added option to enable markdown parsing for table blocks.
  • #971 Added basic pagination for NgRest Apis.
  • #956 Added optional image css class and layout css class in block configurations.
  • #959 Added block injectors to simplify relations, links and other helpfull tools to make less complex blocks.
  • #998 Added the gii model generator to build the model rules() for the crud generator command crud/create.
  • #994 Added ability to copy an existing page with all its languages and blocks.
  • #965 Fixed bug where cms pages are lost while creating when selecting a container but choose a sub page not from the related container.
  • #957 Fixed bug where cms admin container movement lost container_id reference of children elements.
  • #963 Fixed bug where caching if block is not reseted correctly.
  • #836 Fixed bug where storage importer removes all files.
  • #958 Fixed bug where date pickers does not work in block context but in crud context.
  • #962 Fixed bug where abstract class should not implement static public function in php versions 5.2.0 - 5.6.25.
  • #958 Fixed bug where datapicke does not reset correctly or wrong insereted dates crash the date/datetime fields.
  • #836 Fixed bug where importer does delete wrong files.
  • #989 Fixed bug where redirect and module pages are lost when choosing a container but also choose a subsite from another container.
  • #709 Removed ApiCmsNavItemPageBlockItem factory and angular resources dependencie.