Skip to content

Latest commit

 

History

History
852 lines (791 loc) · 58.8 KB

CHANGELOG.md

File metadata and controls

852 lines (791 loc) · 58.8 KB

Ember Flexberry Changelog

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

[Unreleased]

[0.11.0] - 2018-02-20

Added

  • flexberry-groupedit component:
    • Add column widths saving in usersettings.
    • Add restore default usersettings button.
    • Add clear sorting button.
  • flexberry-lookup component:
    • User settings support, use parameter notUseUserSettings to disabling.
    • perPage parameter.
    • Hierarchy mode support.
    • User settings support. Use parameter developerUserSettings to apply sorting instead of orderBy parameter in template.
  • flexberry-objectlistview component:
    • Now computed properties could be passed via dynamicProperties for embedded components in cells.
  • Edit form's logic:
    • Scrolling to the top of form if saving errors are occured (to see error messages).

Changed

  • Update dependency on ember-flexberry-data to version 0.11.0.
  • For compatibility with Ember Inspector, tagName for application view has been restored, and sidebar moved into this block (see more here and here).
  • log service:
    • Now processName field contains application name from ENV.modulePrefix of environment.js.
  • Edit form's logic:
    • It is available to handle errors for each detail in onSaveActionRejected method during saving of aggregator model.
  • Change export excel modal dialog title.

Fixed

  • List components:
    • Fix using readonly property from componentProperties for dynamic components.
    • Fix displaying error about server unavailability. It was made more appropriate for perception.
  • blue-sky theme:
    • Actual width for flexberry-checkbox was set.
    • Displaying placeholders in IE.
  • flexberry-simpleolv component:
    • "Show settings" menu for user settings.
  • flexberry-lookup component:
    • View is update on displayAttributeName property was changed.
    • Fix lookup list's component name.
  • flexberry-groupedit component:
    • Fix validation error message when editOnSeparateRoute and saveOnRouteLeave is true.
    • Fix availability to resize columns when allowColumnResize property was changed dynamically.
  • flexberry-file component:
    • Fix buttons disabling in mobile mode.
    • Fix displaying errors in mobile mode.
    • Fix displaying text for non-image file preview in IE.
  • flexberry-modal component:
    • Fix dimmer hiding on close button click.
  • Blueprints:
    • Fix generation of translations and assets into addon.
  • flexberry-objectlistview component:
    • Fix hierarchy loading on first load and when records has been already loaded.
    • Fix toolbar width in mobile mode.
  • colsconfig-dialog-content component:
    • Fix invisible cells content in Google Chrome (some content was disappeared during resize of browser window).
  • flexberry-simpledatetime component:
    • Clear button worked in readonly mode in IE.
  • Hanging up on list forms and edit forms when connection is unavailable.
  • Fix usersettings for new forms.

Removed

  • flexberry-objectlistview component:
    • columnsWidthAutoresize attribute in mobile version of component.
  • flexberry-lookup component:
    • orderBy ordering condition for list of records to choose.

[0.10.0] - 2018-01-26

Added

  • flexberry-error component for errors displaying.
  • flexberry-simpledatetime component:
    • Add remove value button.
    • Add localization support.
  • flexberry-datepicker component:
    • Support drops option.
  • List components:
    • Check all records on page operation, check all records on alls pages operation, clear sorting operation.
    • Saving and restoring previously selected records on reloading (including filtering, refreshing, etc. except changing of page number temporarily).
    • Optional edit button in row.
  • flexberry-objectlistview component:
    • Add collapse/expand all button for hierarchy mode.
    • Increased performance when working in hierarchical mode by reducing number of queries to backend on rendering top-level nodes.
    • Calling onDeleteActionStarted, onDeleteActionFulfilled, onDeleteActionRejected and onDeleteActionAlways methods from ListFormController in process of deleting the record.
  • flexberry-validationsummary component:
    • Add header property.
  • flexberry-lookup component:
    • Add localization for autocomplete empty result.
    • Add sorting settings for autocomplete result list.
    • Supporting filters when component is displaying via flexberry-objectlistview component.
  • Blueprints:
    • Add model's default property values generation.
  • flexberry-field and flexberry-textbox components:
    • Add maxlength attribute.

Changed

  • Update dependency on ember-flexberry-data to version 0.10.0.
  • Errors on list and edit forms are displaying via flexberry-error component now.
  • List components:
    • Checkbox is used to display boolean values.
    • Now filters calls predicateForFilter method even if filter pattern is undefined.
    • Added like condition for filters (for string type fields). It will be applied by default when condition is not set.
    • Now filters can apply on Enter click.
    • beforeDeleteRecord method now support asynchronous mode, i.e. it is possible to return promises as result value.
  • Getting of current user name is able now by calling getCurrentUserName from user service (declared in ember-flexberry-data addon).
  • flexberry-datepicker component
    • Add class flexberry-datepicker in classNames.
    • Changed readonly attribute.

Fixed

  • flexberry-objectlistview component:
    • Fix hierarchy collapse and expand.
    • Now allowColumnResize property apllying properly.
    • Filtering by all fields is now applying by pressing Enter in IE.
    • Clicking on child rows in hierarchical mode.
  • flexberry-simpleolv component:
    • Set default user settings.
  • List components:
    • Fix neq filter when value isn't null.
    • Row clicks are working correctly now in mobile mode.
    • Fix reset of loading state when model promise was rejected.
  • log service:
    • Now log does not attempt to save undefined errors.
  • flexberry-simpledatetime component:
    • Fix using browser input instead of mobile input for flatpickr in mobile mode.
    • Fix displaying in readonly mode.
    • Change related model value after clearing date when value was set programmatically.
    • Fix user's date input.
  • Reset page in LimitedController mixin when change or reset filters.
  • blue-sky theme:
    • Fix header height for mobile version.
    • Fix styles for modal dialogs.
    • Fix sidebar and page content height.
  • flexberry-checkbox component:
    • Fix checked property to support IE.
  • flexberry-tree component:
    • Fix get-with-dynamic-actions helper.
  • Fix locale dropdown for IE in application.hbs.
  • Blueprints:
    • Fix generation of flexberry-groupedit component template on edit forms. Now translations of field's captions should be applied.

Known issues

  • Filtering on lists works wrong for date type fields in case of DateTime? type is used in corresponding property of model at backend.
  • flexberry-datepicker component is not recommended for using in production, because it has memory and some other issues so it works slowly and it slows down the application.
  • Some issues with styles in blue-sky theme especially in mobile mode of application.
  • Lookup with hierarchy is not working on edit new record.

[0.9.1] - 2017-09-29

Changed

  • Update dependency on ember-flexberry-data to version 0.9.0.

[0.9.0] - 2017-09-28

Added

  • Add semantic ui themes support.
  • Add blue-sky theme.
  • Blueprints:
    • Add support ember objects and transforms generation (from classes with "type" stereotype in Flexberry Designer's class diagrams).
    • Add support reexport for addon.
    • Add generation non-stored properties of models.
    • Add generation offline serializers.
    • Add generation mobile templates.
    • Add some files to generation for offline support.
    • Add generation of blue-sky theme for applications. This theme will be used as default theme for generated applications.
    • Add generation of orange theme for applications.
  • olv-toolbar component:
    • Add default value for modelController. It's needed when using olv-toolbar component separately (apart from list components).
  • flexberry-toogler component:
    • Add hasResizableOLV flag indicates when component need to initialize colResizable plugin.
    • Manage animation of flexberry-toggler component through duration property.
  • Add titles for component's buttons.
  • flexberry-simpledatetime component:
    • Add date and time validation when focus is changing.
    • Add user input for flexberry-simpledatetime.
  • Add edit-form-controller-operations-indication and edit-form-route-operations-indication mixins for edit forms controllers and routes.
  • List components:
    • Add export excel feature for list components.
    • Add spinner for searching in list components.
    • Add spinner for list components when redirecting to editFormRoute.
    • Add fixed setting for columns in developerUserSettings for list components.
    • Add localization for sort order in list components.
    • Add readonly-cell helper. It can specify readonly property for each cell of list components.
    • Add ability to set width for fixed columns in list components.
    • Add minAutoColumnWidth property (minimum column width, if width isn't defined in userSettings).
    • Add columnsWidthAutoresize property (indicates whether or not autoresize columns for fit the container width).
    • Add overflowedComponents property for list's components (list of component names, which can overflow table cell, flexberry-dropdown and flexberry-lookup by default).
    • Now list components use DatePredicate for filtering dates.
    • Add filters applying spinner.
  • Added components:
    • flexberry-button.
    • flexberry-colorpicker.
    • flexberry-ddau-checkbox.
    • flexberry-ddau-slider.
    • flexberry-dialog.
    • flexberry-icon.
    • flexberry-jsonarea.
    • flexberry-tab-bar.
    • flexberry-tree.
    • flexberry-treenode.
  • Add yield block for flexberry-dropdown component.

Changed

  • Blueprints:
    • Now serializers are generating correctly in case of inheriting of models.
    • Changed regular expression in flexberry-core for cyrillic support.
    • Now custom-inflector-rules generates capitalized plural words.
  • Update jquery.colResizable plugin to version 1.6.
  • ui-message component: onShow & onHide actions now sent on every change in visible property.
  • Now locks gets userName from UserSettingsService.
  • Own loader from object-list-view and flexberry-simpleolv components replaced by loader on route template level.
  • Page content width changing when sidebar is toggling.
  • When sidebar is visible, it isn't blocking page content.
  • Flexberry componets styles were moved to semantic default theme folder.
  • Form's loading state now stored in objectlistview-events service.

Fixed

  • Blueprints:
    • Fix wrong path of tempates generation when process was started with --dummy option.
    • Fix generation to addon errors.
    • Fix master fields caption generation on edit-forms.
    • Fix offline-serializers generation.
    • Fix custom-inflector-rules generation (sorting and no duplicates).
    • Generation of applications containing external entities (forms and models):
      • At generation application by flexberry-application blueprint, skip entities containing key external with true value.
      • At generation entity by own blueprint (for example flexberry-model) it will be generated in any case.
    • Fix new controllers/routes generation for addon.
  • Localization:
    • Now default locale set in environment.js is not ignored.
    • If application is not support current browser languale (when default locale is not set) then en locale will be used for application.
  • user-settings service:
    • Fix userSettings updating.
  • flexberry-simpleolv component:
    • Fix columns width applying from userSettings.
  • olv-toolbar component:
    • Fix userSettings names getting on first render.
  • reload-list mixin:
    • Сontroller is unaccessible in some cases inside reloadList method. So we added corresponding checks.
  • flexberry-simpledatetime component:
    • Fix wrong timezone storing when using component to choose date without time.
  • colsconfig-dialog-content component:
    • Fix semantic styles for sort direction dropdown.
  • Fix menu sidebar script to not apply on other sidebars.
  • Fix delete button disabling after deletion on lists.
  • Fix dropdown's overflow on list components.
  • Fix groupEdit's adding new row on separate route.
  • Fix transition to editForm in FireFox.
  • Fix filter columns shifts to left, when filter result is empty.
  • Fix vertical scroll in list's components.
  • Fix list's components width computing.
  • When typing in the input field to search the flexberry-simpleolv component, didRender method that is problematic for the component is called.
  • Fix flexberry-groupedit sorting.
  • Fix hierarchy expand for flexberry-objectlistview on edit form.
  • Fix operation indication on edit form when new record added.
  • Fix chooseText for lookups in flexberry-groupedit.
  • Fix list's refresh and delete buttons styles for Firefox.
  • Fix onRowClick action for object-list-view-row.
  • Fix lookupWindowCustomProperties for lookups in flexberry-groupedit.

Removed

  • ui-message component: attribute title.

Breaking changes

  • Search localisation for models in flexberry-objectlistview and flexberry-simpleolv components:
    • Before: models.modelName.projections.projectionName.attributePath.caption
    • After: models.modelName.projections.projectionName.attributePath.__caption__
    • There are several solutions:
      • Carefully regenerate the application.
      • Find and replace in Visual Studio Code, files to include: locales/en/models, locales/ru/models, find: (^\s+)(caption), replace: $1__$2__.

Known issues

  • Now there is no way for filtering by timeless date in backend requests, therefore timeless date fields on backend must have 11:00:00.000 time in UTC.
  • flexberry-datepicker component is not recommended for using in production, because it has memory and some other issues so it works slowly and it slows down the application.

[0.8.6] - 2017-02-09

Changed

  • Update dependency on ember-flexberry-data to version 0.8.4.

[0.8.5] - 2017-02-09

Changed

  • Update dependency on ember-flexberry-data to version 0.8.3.

Fixed

  • flexberry-lookup component:
    • Fix placeholder in dropdown mode.

[0.8.4] - 2017-02-07

Changed

  • Update dependency on ember-flexberry-data to version 0.8.2.

Fixed

  • flexberry-groupedit component:
    • Fix check hasMany relationships changes on route leave.

[0.8.3] - 2017-01-31

Fixed

  • flexberry-simpledatetime component:
    • Fix infinite click in mobile mode.

[0.8.2] - 2017-01-26

Changed

  • Update dependency on ember-flexberry-data to version 0.8.1.

Fixed

  • flexberry-dropdown component:
    • Fix hanging in IE when change perPageValue.
  • flexberry-objectlistview component:
    • Fix selected rows count reset on init.
  • flexberry-simpleolv component:
    • Fix colResizable plugin init when model was overrided.

[0.8.1] - 2017-01-18

Added

  • flexberry-objectlistview component:
    • Add hierarchy support on edit-form.
    • Add defaultLeftPadding property as padding value in each level of hierarchy (in pixels).

Changed

  • flexberry-objectlistview component:
    • Change hierarchy indent setting (hierarchicalIndent property) to Number type (in pixels).
  • Update flatpickr-calendar dependency to 2.3.4.

Fixed

  • flexberry-simpledatetime component:
    • Fix readonly mode.
  • flexberry-objectlistview component:
    • Fix columns compute when modelProjection is undefined.

[0.8.0] - 2016-12-31

Added

  • flexberry-simpleolv component which renders it's content faster then flexberry-objectlistview. Component is inherited from flexberry-objectlistview component and has same functionality.
  • Ember.run.after extension method into Ember.run namespace. Adds ability to rone some logic some after specified condition will be fulfilled.
  • object-list-view component:
    • showValidationMessagesInRow option. Option is false by default in object-list-view & flexberry-objectlistview, but is true by default in flexberry-groupedit. If true then validation message will be shown in each cell containing invalid value.
    • active CSS-class to rows when component was clicked.
    • Delayed call to async logic using Ember.run.after to allow browser to apply changed styles first.
    • Async loading & rendering support of records.
    • Locales support for headers of object-list-view component.
  • flexberry-objectlistview component:
    • Loader appearing after clicking on the head of column to sort records.
    • filterByAnyWord & filterByAllWords options. They can be used to configurate filterByAnyMatch logic.
    • configurateSelectedRows method to configure selected records.
    • Ability to display records total count.
  • flexberry-lookup component:
    • Locks preventing from multiple subsequent clicks leading to data-requests.
    • active CSS-class when component was clicked or taped.
    • Delayed call to async logic using Ember.run.after to allow browser to apply changed styles first.
    • Support for relatedModel change in runtime.
    • lookup-events service containing lookupDialogOnShowTrigger, lookupDialogOnVisibleTrigger, lookupDialogOnHiddenTrigger methods to comunicate with flexberry-lookup components. NOTE: componenName property must be defined for flexberry-lookup (usually in template).
    • Locks preventing from multiple data-requests when user press choose button several times in succession.
    • Semantic-ui settings for dropdown mode.
    • Ability to set default ordering using orderBy property (support same values format as in URL).
  • flexberry-menu component:
    • localeKey property to each item.
  • flexberry-dropdown component:
    • Semantic-ui settings. flexberry-groupedit component:
    • Now flexberry-groupedit supports sorting.
    • Support of developerUserSettings for flexberry-groupedit component placed on edit-form.
    • configurateSelectedRows method to configure selected records.
  • object-list-view-cell component:
    • yield content support. list-form route:
    • Model loading hook-methods: onModelLoadingStarted, onModelLoadingFulfilled, onModelLoadingRejected, onModelLoadingAlways.
  • User settings service:
    • Saving of records per page count in user setings for flexberry-objectlistview.
  • Blueprints:
    • sourceType property generation into flexberry-enum transforms.
    • ember-cli-sass addon instalation into default blueprint.
  • form-load-time-tracker service to track formsload & render time and form-load-time-tracker component to view data from form-load-time-tracker service.
  • perf service to make performance bottlenecks visible in console timeline.
  • get-formatted helper to get formatted values of simple types (boolean and date for now).

Changed

  • Update dependency on ember-flexberry-data to version 0.8.0.
  • flexberry-groupedit component:
    • Restore ability to add menu items in row using menuInRowAdditionalItems property. Now this behavior is similar to customButtons property for toolbar.
    • Reduce width of filter button.
  • flexberry-objectlistview component:
    • Restore ability to add menu items in row using menuInRowAdditionalItems property. Now this behavior is similar to customButtons property for toolbar.
    • Reduce width of filter button.
  • object-list-view component:
    • Rename headerClickable property into orderable.
    • Now header's hint visible only when orderable = true.
  • edit-form controller:
    • Add rollBackModel parameter to close method (as it's optional second parameter). Setting this parameter to true allows to rollback model after leaving route (applicable for detail's edit forms).
    • Add skipTransition parameter to delete method (as it's optionsl first parameter). Setting this parameter to true allows to skip technological call of transitionToRoute method.
    • Add skipTransition parameter to saveAndClose, close and delete actions (as their optionsl first parameter). Setting this parameter true allows to skip technological call of transitionToRoute method.
    • Add skipTransition parameter to save method (as it's second optional parameter) and close method (as its first optional parameter). Setting this parameter to true allows to skip technological call of transitionToRoute method.
  • detail-edit-form controller:
    • Add rollBackModel parameter to close method (as it's optional second parameter). Setting this parameter to true allows to rollback model after leaving route (applicable for detail's edit forms).
    • Add skipTransition parameter to saveAndClose, close and delete actions (as their optionsl first parameter). Setting this parameter true allows to skip technological call of transitionToRoute method.
  • log service:
    • Overriden methods of Ember.Logger now trigger corresponding events (error, warn etc.) instead of returning promises.
  • Resolver:
    • Now, by default, only component, template and view types will be resolved accordingly to current device. If necessary, list of device-related types can be specified in deviceRelatedTypes property of application resolver. Also by default, device-related types will be searched only in 'mobile' subfolders, this behavior can be changed through prefixForPlatformAndType, prefixForOrientation, prefixForType properties of device service. This is for performance reasons.
  • User settings service:
    • Replace alerts in colsconfig-dialog with ui-messages.
    • Now colsconfig-dialog has default cols width values.
    • Changed cursor style for colsconfig-dialog-content.
    • col-config-menu service:
      • Move resetMenu, addNamedSetting and sort methods into olv-toolbar and flexberry-objectlistview.
      • sort method is renamed into sortNamedSetting.
  • Ember.Logger.xxx changed to Ember.xxx calls and throwing errors. So redundant messages will not display in console in production.

Fixed

  • object-list-view component:
    • rowConfig usage in mobile mode.
    • Displaying of deletion errors if record deletion was unsuccessful.
    • Fix behavior with filter parameter added to route's url when flexberry-lookup's list dialog is also opened.
    • Displaying of flexberry-lookup value when desktop version of object-list-view component is used in mobile mode.
    • Displaying of sorting indicator in object-list-view component.
    • Cells borders, now text doesn't fall outside of them.
    • Menu in row errors.
  • object-list-view-row component:
    • Deprecation warnings which appears after content update.
  • flexberry-objectlistview component:
    • Fix behavior when it is placed on edit-form.
    • Infinite loading after same per page value is selected.
    • Displaying of deletion errors if record deletion was unsuccessful.
    • Search by number, decimal and boolean values.
    • Rollback logic for unsuccessful delete operations.
    • Inability to resize columns if tableStriped, rowClickable or customTableClass property was changed.
  • flexberry-groupedit component:
    • Inability to resize columns if tableStriped, rowClickable or customTableClass property was changed.
  • flexberry-lookup component:
    • Readonly-mode when autocomplete is enabled.
    • Multiple words search mode in flexberry-lookup modal dialogs.
    • Double clicks sensivity.
    • Loader behavior in mobile mode.
    • Displaying of flexberry-lookup choosed value when lookup is embeded into new detail's row of flexberry-groupedit component. flexberry-file component:
    • File download when uploadUrl property was changed. flexberry-menu component:
    • Component was not responded to changing properties for root items.
  • Base flexberry components:
    • flexberry-textbox and flexberry-field readonly mode.
  • flexberry-validationsummary component:
    • Fix (with temporally solution) ember problem that causes an error. Problem also was fixed in this PR so temporally solution must be removed after update to ember 2.5.1 or higher.
  • flexberry-datepicker component:
    • Shift date one day ahead when saving model after choosing date.
  • flexberry-simpledatetime component:
    • Fix problems with absence of placeholder.
    • Fix behavior in IE and FF.
    • Fix two way binding problems in IE and FF.
    • Fix readonly mode in IE and FF.
  • User settings service:
    • Sorting in colsconfig-dialog if form url has sort parameter.
    • cols-config-menu sensivity to multiple locale changes.
    • Named settings displaying in cols-config-menu.
    • Fix behavior of user settings dialog when enableFilters property of list components is enabled.
  • List form's logic:
    • filterCondition query param when refreshing page.
    • list-form pagination in offline mode when offline storage doesn't contain any data.
    • Wrong getting of page number for lists of records if records count is zero.
  • Edit form's logic:
    • id param receiveing on transition to parent route after saving and/or changing deatil modes of 2nd level.
    • Transition to detail model's edit form route form agregator's edit form route when agregator's model is not valid and saveBeforeRouteLeave option is true.
    • detail-interaction service behavior when closing detail model's edit form.
    • Detail model's saving logic in offline mode.
    • Detail model's delete logic in offline mode.
    • Rollback logic for unsuccessful delete operations.
    • Transition to parent route logic in detail-edit-form controller.
    • Aggregator model's reloading if detail model was modified.
    • Transition to edit form route when editing record has an id and new postfix at the same time.
    • Opening of detail-edit-form in readonly mode from edit-form in readonly mode, if editOnSeparateRoute setting is enabled in flexberry-groupedit component.
    • Redundant saving of agregator when transitioning to detail edit form.
  • log service:
    • Fix log service settings initialization from application config.
    • Now throwing errors and promise errors are handling separately.
  • User settings service:
    • Various developerUserSettings errors.
    • Reduntant confirm dialog in colsconfig-dialog.
  • Fix i-i-s-caseberry-logging-objects-application-log-l and new-platform-flexberry-services-lock-list templates for use recordsTotalCount parameter.

Removed

  • object-list-view component:
    • _attributeChanged observer.
  • flexberry-objectlistview and olv-toolbar components:
    • createSettitingTitle, useSettitingTitle, editSettitingTitle, removeSettitingTitle, setDefaultSettitingTitle, showDefaultSettitingTitle properties.
  • object-list-view-header-cell component.
  • new-platform-flexberry-services-lock-edit form.

Known issues

  • Changes in per page records count in flexberry-objectlistview component leads to it's hanging in IE.
  • Incomprehensible one-way binding of flexberry-lookup value property in a new detail inside flexberry-groupedit.
  • Changes in showCheckBoxInRow or showDeleteButtonInRow properties after adding new record in flexberry-groupedit leads to IE crashing.
  • Current page URL parameter is not reset when deleting all records in list.
  • Only one flexberry-objectlistview or flexberry-groupedit component could be used on particular form.
  • List of values of flexberry-dropdown component are not showing over scroll bar when the component is embedded into flexberry-groupedit and there is not enough space to show these values over table rows.
  • flexberry-datepicker eats too much memory, working slowly and slows down the application (especially when using multiple flexberry-datepicker components on form).
  • Blueprints are not generating inheritance of serializers correctly. Also blueprints are not generating stuff for supporting offline mode in application.

[0.6.1] - 2016-09-16

Removed

  • Remove localforage and ember-localforage-adapter from package dependencies and default blueprint. Now used only dexie for IndexedDB access.

Changed

  • Updated dependency on ember-flexberry-data addon to v0.6.1. There fixed offline store adapter errors.

[0.6.0] - 2016-09-14

Added

  • flexberry-lookup component:
    • Sorting direction for autocomplete and dropdown mode, use sorting property for specify direction.
    • Possibility reset value for dropdown mode, if required property not equals true.
    • Add property dropdownIsSearch. Now can be turned off autocomplete in dropdown mode.
  • flexberry-field component:
    • Now support explicit html type definition. Default type is text.
  • flexberry-textbox component:
    • Now support explicit html type definition. Default type is text.
  • flexberry-groupedit component:
    • Add support of configurateRow method.
  • object-list-view component:
    • Add observer attributeChanged that calls the configurateRow method. Now needs to use Ember.set(), to add custom class or show/hide buttons in menu items for record config.
  • Support locks for edit-form route. Locks are not used by default, use application config to configure it.

Changed

  • Renamed olv-toolbar-mixin mixin to olv-toolbar-controller.
  • Renamed flexberry-lookup mixin to flexberry-lookup-controller.
  • Blueprint will no longer generate old top validator for properties in hbs templates.

Fixed

  • flexberry-lookup component not specify properties for select on autocomplete and dropdown mode.
  • Now resolver is working correctly in IE.
  • flexberry-objectlistview component:
    • Now for filter by any matches using all attributes of "master" model instead of one attribute with displayMemberPath option in projection.
    • If projection used for filter by any matches contains hasMany relationship, then that relationship will be skipped.
  • Blueprints:
    • Generate correct getCellComponent function, if model has many "detail" models which refers to same "master" model.
    • Fix generation of validation rules inheritance in models.
    • Blueprint for hbs now generate clearly formatted code.
  • Fixed wrong generation of columns list for user setting's dialog.
  • Building filters in object-list-view component.
  • Now inflection package installing along with ember-flexberry addon.
  • Now Save and Save and close buttons on detail-edit-form after transition from new route working correctly.

Removed

  • Remove base.js from models. Now used the base model from ember-flexberry-data addon.

[0.5.0] - 2016-09-05

Added

  • Blueprints:
    • Add support generation into ember addon.
  • Resolver:
    • It is possible now to specify resources that should be resolved with origin resolving path (without considering device type detection).
  • flexberry-textarea component:
    • Added support of HTML attributes.

Changed

  • Updated dependency on ember-flexberry-data addon to v0.5.0.
  • Now performing transition to edit-form route after saving new model.
  • flexberry-file component:
    • Renamed property for input element: class property was renamed to inputClass.

Fixed

  • flexberry-checkbox component:
    • Now if flexberry-checkbox was unchecked it doest'n has checked class.
  • flexberry-dropdown component:
    • Fixed displaying of enums with empty values.
  • log service will write error messages to console along with sending it to server if error would be handled in Ember.onerror or Ember.RSVP.on('error') events.
  • Blueprints:
    • Fixed decimal fields generation on edit-forms (it will generate flexberry-field instead of flexberry-dropdown).
  • flexberry-checkbox component:
    • flexberry-checkbox doesn't have checked class in unchecked state.
  • edit-form controller: add сomponentProperties for flexberry-file.
  • Now flexberry-file's download button is disabled after deleting selected file and saving model.
  • Filters for flexberry-objectlistview are working now (there was a code that was accidentally deleted during merges).
  • flexberry-toggler component:
    • Now expanded property is not private & work.
    • Added iconClass property.
  • Incorrect setting of first columns's width in object-list-view component.
  • Wrong assertion for user setting's width property when creating a new detail in separate route.
  • Rolling back isDeleted state of model if errors occurrs during destroying of the model.
  • Now creating and editing of user settings are working properly on list forms.
  • Fixed localization of column names displayed in column settings window.

Removed

  • Removed outdated style in object-list-view styles component.
  • flexberry-file component:
    • Remove fluid CSS-class from component's defaults for flexberry-file component.

Deprecated

  • edit-form controller:
    • rollbackHasManyRelationships method was deprecated, use model's rollbackHasMany method instead.

Known issues

  • flexberry-file works improperly inside flexberry-groupedit when upload and delete file before saving model. Download button is active and it's possible to download deleted file after saving model and applying mentioned actions before saving.
  • Only one flexberry-objectlistview or flexberry-groupedit component could be used on particular form.
  • No items of context menu for rows of flexberry-objectlistview component are shown when showEditMenuItemInRow or showDeleteMenuItemInRow property of component has been dynamically changed.
  • List of values of flexberry-dropdown component are not showing over scroll bar when the component is embedded into flexberry-groupedit and there is not enough space to show these values over table rows.
  • If there's not enough space in window for displaying submenu of flexberry-menu component on bottom then submenu shows on top only first time. Then it shows on bottom.
  • Formatted message field of log object fills differently in IE11/Safari and Chrome/Firefox.
  • flexberry-datepicker eats too much memory, working slowly and slows down the application (especially when using multiple flexberry-datepicker components on form).
  • "TransitionAborted" error get thrown when adding query params (callback is called once for each query param if refreshModel: true is set).
  • flexberry-datapicker displays the next day when date with time is '00:00:00'.

[0.4.0] - 2016-08-15

Added

  • Blueprints:
    • Add localization support for generated ember entities.
    • Add generation of explicit inflection rules. Rules for inflector are declared in custom-inflector-rules.js file inside models folder.
  • flexberry-dropdown component:
    • Add support object type for items property.
    • Add support empty values for generated enums.

Changed

  • Transforms:
  • Enums:
    • Moved enum initializer to ember-flexberry-data addon.
    • Renamed enum-captions helper to flexberry-enum.
  • Changed dependency on ember-flexberry-data addon to v0.4.0.

Fixed

  • flexberry-objectlistview component:
    • Incorrect work of pagination for large lists.

Known issues

  • Same as in previous release except issues in blueprints.

[0.3.0] - 2016-07-29

Added

  • Custom internationalized captions for boolean type in object-list-view-cell component.
  • Blueprints:
    • Add regeneration for models and serializers. Now models and serizlizers generates into separate regeneratable mixins, model and serializer classes will not be replaced during regeneration.
    • Add new flexberry-group blueprint for generation of group of entities by one blueprint.
    • Add generate of default comments for flexberry-list-form blueprint.
  • Support of flexberry-lookup component in dropdown mode for mobile devices.
  • flexberry-objectlistview component:
  • object-list-view component:
    • Add localization support for model captions in projections.
  • flexberry-menu component:
  • Add getValueFromLocales helper function.
  • Refactoring of user setting service:
    • User setting service now supports in-memory saving the settings of all object-list-view components for all pages. This allows:
      • Maintain user setting service on mode APP.useUserSettingsService: false without saving them to backend;
      • Store and appy (in future) settings for multiple components on a page;
      • Store an unlimited number of settings (default and named) for each object-list-view component;
      • Store (define) all the information on defaut or named setting (columns order, sorting order, columns width and other) in single object (property, backend record);
      • Customize the column widths manually by mouse or by specifying digital values;
      • Enable or disable the settings column widths;
      • Avoid repated access to the backend's usersetting service when you return to the already loaded page.
    • Support three levels of setting:
      • Defined by developer;
      • Defined by users and stored in usersetting's backend;
      • Temporary settings defined by users specified in the URL-parameters (sort, etc...).
      • Support user setting service for developer. After adjusting component developer can display current default and named settings and save them in developerUserSettings property(see also this) of app/routes/{{pageRouteName}}.js as default settings.

Changed

Fixed

  • Blueprints:
    • Speed up generation process.
    • Fixed adapter generation in flexberry-core blueprint.
  • Fixed selection of value for flexberry-lookup component in dropdown mode.
  • Fixed displaying of column settings buttons if user settings service is off or menu items list for column settings is empty.
  • Fixed sorting by clicking on table header of flexberry-objectlistview or flexberry-groupedit component in Firefox.
  • Fixed blueprints dependency for generation of application prototype for hide the sidebar with sitemap after click on sitemap-node.
  • Fixed flexberry-menu for configuration of columns settings in flexberry-objectlistview component after changing current locale for internationalization to another language and back again.
  • Now displayAttributeName property is required for only autocomplete and dropdown modes in flexberry-lookup component.

Known issues

  • Only one flexberry-objectlistview or flexberry-groupedit component could be used on particular form.
  • It is not possible to open any route for generated application prototype (in case of generation of whole application prototype) because of wrong generation of internationalization mechanism. Also probably lookup components on edit forms of generated application prototype may not work.
  • It is not possible to sort list of models by property of "master" model if property of another "master" model from used projection has the same name.
  • No items of context menu for rows of flexberry-objectlistview component are shown when showEditMenuItemInRow or showDeleteMenuItemInRow property of component has been dynamically changed.
  • List of values of flexberry-dropdown component are not showing over scroll bar when the component is embedded into flexberry-groupedit and there is not enough space to show these values over table rows.
  • Formatted message field of log object fills differently in IE11/Safari and Chrome/Firefox.
  • flexberry-datepicker eats too much memory, working slowly and slows down the application (especially when using multiple flexberry-datepicker components on form).
  • "TransitionAborted" error get thrown when adding query params (callback is called once for each query param if refreshModel: true is set).
  • flexberry-datapicker displays the next day when date with time is '00:00:00'.
  • Placeholder text localization for flexberry-dropdown component works improperly when readonly property changes dynamically. Also placeholder text is not localize in all browsers except Google Chrome.
  • Some text is not localized in user settings dialog.
  • There are some problems with displaying styles of user settings dialog.
  • Drop-down menu for configuration of columns settings in flexberry-objectlistview component stops working properly after deleting of user setting or changing page on list form.

[0.2.1] - 2016-07-07

Changed

Fixed

  • Fixed wrong dependency from ember-flexberry-data addon.
  • Fixed wrong import of register-version.js.

[0.2.0] - 2016-07-06 [YANKED]

Added

  • New components based on object-list-view component to work with lists of models on list forms and edit forms (see more details below):
    • flexberry-objectlistview - usually used on list forms to work with list of "base" models loaded in route.
    • flexberry-groupedit - used on edit forms to work with list of models, referenced by "base" model using hasMany relationship ("detail" models).
  • Support of setting conditions ("limits") on form's routes for loading data. Limits can be set with client query language (LINQ-like language) defined in ember-flexberry-data addon.
  • Support of any backend types. It is necessary to implement adapter for client query language to support a particular backend type. The adapter should translate query object into request specific to corresponding backend. There are several adapters implemented in ember-flexberry-data addon:
    • Adapter for OData-based backends.
    • Adapter for querying arrays of JavaScript objects (like LINQ to Objects).
    • Adapter for IndexedDB (using to support queries in offline mode).
  • Components based on Semantic UI framework:
    • flexberry-base-component - base component for most of other flexberry components. It should not be used independently.
    • flexberry-checkbox - wrapper for base checkbox component.
    • flexberry-datepicker - renamed datetime-picker component for choose date and time. Added features:
      • Ability of specifying min and max date for displaying range.
    • flexberry-dropdown - renamed drop-down component for select value from list. Now it is based on Semantic UI Dropdown component.
    • flexberry-field - component for displaying input with label.
    • flexberry-file - component for upload and download files to/from backend. Backend should include corresponding web service to ensure that the component works. Basic features:
      • Configurable upload URL and other parameters.
      • Choose file to upload.
      • Reset uploading file.
      • Download previously uploaded file.
      • Show preview for images (with showing full-size image in modal window when click on preview).
      • Store file metadata in specified model property.
      • Separate template for mobile devices.
    • flexberry-groupedit - component for displaying list of "detail" models within table and performing opertaions with these models such as create, edit and delete. It composed by groupedit-toolbar and object-list-view components. It should be used on edit forms to work with "detail" models. Basic features:
      • Add "detail" model directly in component.
      • Edit "detail" model directly in component.
      • Edit "detail" model on edit form that opens in separate route by click on particular table row. This feature allows to edit "detail" models of 2nd and further levels.
      • Optional saving of "detail" models before leaving route.
      • Select rows with "detail" models.
      • Delete selected or particular "detail" models.
      • Support of embedding another components in table cells to display and edit specific field of the "detail" model.
      • Sorting list of models my clicking on table headers.
      • Resizing columns of the table.
      • Separate template for mobile devices.
    • flexberry-lookup - renamed lookup-field component for select related model, referenced by "base" model using belongsTo relationship ("master" models). Added features:
      • Displaying list of "master" models with flexberry-objectlistview component instead of object-list-view component with ability to set custom properties for flexberry-objectlistview component.
      • Autocomplete mode.
      • Dropdown mode (without opening list of "master" models list in modal window).
      • Adding custom css classes for buttons.
      • Setting conditions ("limits") on displaying list of "master" models with client query language.
    • flexberry-menu - component for displaying multilevel menu. Basic features:
      • Configurable set of menu items.
      • Setting icons for menu items.
      • Setting handler for clicking on menu items.
    • flexberry-objectlistview - component for displaying list of "base" or "detail" models within table and performing opertaions with these models such as create, edit and delete. It composed by olv-toolbar and object-list-view components and also including markup for pagination. Usually it should be used on list forms to work with "base" models. Basic features:
      • Add model on edit form that opens in separate route by click on corresponding button in toolbar.
      • Edit model on edit form that opens in separate route by click on particular table row.
      • Select rows with models.
      • Delete selected models.
      • Using pagination with ability of specifying record count per page.
      • Adding custom buttons in toolbar.
      • Resizing columns of the table.
      • Filtering list of models by searching specified string in all string properties of models.
      • Sorting list of models my clicking on table headers.
      • Configuring column settings including sorting, order of columns, visibility and ability to save configured settings with specified name on backend.
      • Setting conditions ("limits") on displaying list of models with client query language.
      • Showing customizable context menu for each row by clicking on corresponding button.
      • Ability to place component on edit form including to work with "detail" models.
      • Supporting promise for specifying displaying list of models.
      • Separate template for mobile devices.
    • flexberry-simpledatetime - component for for choose date and time based on HTML5 capabilities.
    • flexberry-textarea - wrapper for base textarea component.
    • flexberry-textbox - wrapper for base input component.
    • flexberry-toggler - component for collapsing and expanding inner content (components and markup). Basic features:
      • Collapsing and expanding inner content.
      • Setting title for component.
    • flexberry-validationmessage - component for displaying message of validation error on edit form for particular property of model. Basic features:
      • Specifying model property for displaying validation error.
      • Specifying pointing for component's appearance.
    • flexberry-validationsummary - component for displaying list of validation errors of model on edit form.
    • groupedit-toolbar - toolbar for flexberry-groupedit component. Support displaying of add and delete buttons. It should not be used independently.
  • Improved resolver to support substitution of source files for different device types (e.g. handlebars templates, .js files etc.). Device type detection based on devicejs library. There are several component templates for mobile platforms that available out of the box (i.e. these components should look different on mobile devices):
    • Template for flexberry-file component.
    • Template for flexberry-lookup component.
    • Template for object-list-view component (used inside flexberry-objectlistview and flexberry-groupedit components).
  • Logging service for saving errors and warnings on backend. Can be used optionally.
  • List and edit forms for displaying saved logs.
  • User settings service for storing component's settings for current user on backend.
  • Internationalization engine based on ember-i18n.
  • Validator for date type of model properties.
  • Transform to support using file type in models.
  • Blueprints for generation of application prototype or its parts. Generation is based on using application metadata that could be creadted manually or using Flexberry Designer from corresponding UML class diagramms. Available blueprints:
    • flexberry-application - bluepring for generation of whole application prototype.
    • flexberry-core - bluepring for generation of base structure of application prototype
    • flexberry-edit-form - bluepring for generation of controller, route and template for specified edit form.
    • flexberry-enum - bluepring for generation of transform and file with definition for specified enumeration.
    • flexberry-list-form - bluepring for generation of controller, route and template for specified list form.
    • flexberry-model - bluepring for generation of specified model and serializer with corresponding tests.

Changed

  • Upgraded ember-cli from @1.13.8 to @2.4.3. Ember 1.13 is no longer supported.
  • object-list-view and olv-toolbar components are no longer used independently. It is necessary to use flexberry-objectlistview component or flexberry-groupedit component instead.
  • Renamed datetime-picker component to flexberry-datepicker.
  • Renamed drop-down component to flexberry-dropdown.
  • Renamed lookup-field component to flexberry-lookup.
  • Base adapter and serializer for communication with backend via OData protocol was moved to ember-flexberry-data addon (this addon was formerly named as ember-flexberry-projections). So now ember-flexberry depends on [email protected]
  • Redesigned enumerations support.

Deprecated

  • ui-message component:
    • title property is deprecated, use caption property instead.

Removed

  • Authenticator, authorizer, login route and controller for support of token based authentication were removed. Authentication is not supported for now.

Fixed

  • Fixed saving model logic on edit forms so that corresponding OData-queries is now making following the standard.
  • Fixed setting of date in binded model property when typing date manually using flexberry-datepicker component.
  • Fixed support of embedding components in table cell of object-list-view component to display and edit specific field of the model.

Known issues

  • Only one flexberry-objectlistview or flexberry-groupedit component could be used on particular form.
  • Internationalization is not implemented for captions in model projections.
  • It is not possible to open any route for generated application prototype (in case of generation of whole application prototype) because of wrong generation of internationalization mechanism.
  • It is not possible to sort list of models by property of "master" model if property of another "master" model from used projection has the same name.
  • Some items of context menu for rows of flexberry-objectlistview component are disappearnig when showEditMenuItemInRow or showDeleteMenuItemInRow property of component has been dynamically changed.
  • Sorting by clicking on table header of flexberry-objectlistview or flexberry-groupedit component is not working in Firefox.
  • List of values of flexberry-dropdown component are not showing over scroll bar when the component is embedded into flexberry-groupedit and there is not enough space to show these values over table rows.
  • Logs for rejected promises are not saving on backend.
  • Formatted message field of log object fills differently in IE11/Safari and Chrome/Firefox.
  • flexberry-datepicker eats too much memory, working slowly and slows down the application (especially when using multiple flexberry-datepicker components on form).
  • Drop-down menu for configuration of columns settings in flexberry-objectlistview component stops working after changing current locale for internationalization to another language and back again.
  • Drop-down menu for configuration of columns settings in flexberry-objectlistview component stops working properly after saving user setting on backend.
  • Saving user settings for flexberry-groupedit component and for flexberry-objectlistview that shows for choosing value for flexberry-lookup component doesn't work correctly. It is possible to use notUseUserSettings property for flexberry-objectlistview component to turn off user settings for these cases as workaround.

[0.1.0] - 2015-12-05

Added

  • Base list form route and controller with support of pagination and sorting for data placed in object-list-view component.
  • Base edit form route and controller with support of save, delete and close actions.
  • Base adapter and serializer for communication with backend via OData protocol.
  • Components based on Semantic UI framework:
    • datetime-picker - component for choose date and time based on semantic-ui-daterangepicker component.
    • drop-down - component for select value from list (based on select html element).
    • lookup-field - component for select related model, referenced by "base" model using belongsTo relationship ("master" models). Basic features:
      • Displaying list of related models in object-list-view component, that is shown in modal dialog window, by clicking on choose button.
      • Displaying of specified property of related model for choosed value.
      • Reset choosed value by clicking on remove button.
      • Support of changing text displayed on buttons.
    • modal-dialog - component for showing templates in modal dialog window, based on [Modal] (http://semantic-ui.com/modules/modal.html) Semantic UI module.
    • object-list-view - component for displaying list of records that are instances of the models. Component can be used on list forms and edit forms (one component per form for now). Basic features:
      • List of table headers is based on model projections that are defined in the models. Model projections support is implemented in ember-flexberry-projections addon.
      • Change sorting order by clicking on the table headers.
      • Transition to edit form for particular model by clicking on table row.
      • Support of embedding components in table cells to display specific field of the model.
      • Support of displaying list of models, referenced by "base" model using hasMany relationship ("detail" models), on edit form.
    • olv-toolbar - toolbar for object-list-view component. Support displaying of add and refresh buttons.
    • ui-message - component for displaying success and error messages (e.g. on edit form when fail to save model).
  • Support of validation rules that can be defined in models (using ember-validations addon).
  • Transforms to support using enum type in models.
  • Sitemap template for displaying application menu.
  • Authenticator, authorizer, login route and controller for support of token based authentication (using ember-simple-auth library).