All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
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 oforderBy
parameter in template.
- User settings support, use parameter
flexberry-objectlistview
component:- Now computed properties could be passed via
dynamicProperties
for embedded components in cells.
- Now computed properties could be passed via
- Edit form's logic:
- Scrolling to the top of form if saving errors are occured (to see error messages).
- 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 fromENV.modulePrefix
ofenvironment.js
.
- Now
- Edit form's logic:
- It is available to handle errors for each detail in
onSaveActionRejected
method during saving of aggregator model.
- It is available to handle errors for each detail in
- Change export excel modal dialog title.
- List components:
- Fix using
readonly
property fromcomponentProperties
for dynamic components. - Fix displaying error about server unavailability. It was made more appropriate for perception.
- Fix using
blue-sky
theme:- Actual width for
flexberry-checkbox
was set. - Displaying placeholders in IE.
- Actual width for
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.
- View is update on
flexberry-groupedit
component:- Fix validation error message when
editOnSeparateRoute
andsaveOnRouteLeave
is true. - Fix availability to resize columns when
allowColumnResize
property was changed dynamically.
- Fix validation error message when
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
fornew
forms.
flexberry-objectlistview
component:columnsWidthAutoresize
attribute in mobile version of component.
flexberry-lookup
component:orderBy
ordering condition for list of records to choose.
flexberry-error
component for errors displaying.flexberry-simpledatetime
component:- Add remove value button.
- Add localization support.
flexberry-datepicker
component:- Support
drops
option.
- Support
- 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
andonDeleteActionAlways
methods fromListFormController
in process of deleting the record.
flexberry-validationsummary
component:- Add
header
property.
- Add
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
andflexberry-textbox
components:- Add
maxlength
attribute.
- Add
- 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 (forstring
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
fromuser
service (declared inember-flexberry-data
addon). flexberry-datepicker
component- Add class
flexberry-datepicker
inclassNames
. - Changed readonly attribute.
- Add class
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.
- Fix
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.
- Fix using browser input instead of mobile input for
- Reset
page
inLimitedController
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.
- Fix
flexberry-tree
component:- Fix
get-with-dynamic-actions
helper.
- Fix
- 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.
- Fix generation of
- Filtering on lists works wrong for
date
type fields in case ofDateTime?
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.
- Update dependency on
ember-flexberry-data
to version 0.9.0.
- 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 usingolv-toolbar
component separately (apart from list components).
- Add default value for
flexberry-toogler
component:- Add
hasResizableOLV
flag indicates when component need to initializecolResizable
plugin. - Manage animation of
flexberry-toggler
component throughduration
property.
- Add
- 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
andedit-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 indeveloperUserSettings
for list components. - Add localization for sort order in list components.
- Add
readonly-cell
helper. It can specifyreadonly
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 inuserSettings
). - 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
andflexberry-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 forflexberry-dropdown
component.
- 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
andflexberry-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.
- 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 keyexternal
withtrue
value. - At generation entity by own blueprint (for example
flexberry-model
) it will be generated in any case.
- At generation application by
- Fix new controllers/routes generation for addon.
- Fix wrong path of tempates generation when process was started with
- 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.
- Now default locale set in
user-settings
service:- Fix
userSettings
updating.
- Fix
flexberry-simpleolv
component:- Fix columns width applying from
userSettings
.
- Fix columns width applying from
olv-toolbar
component:- Fix
userSettings
names getting on first render.
- Fix
reload-list
mixin:- Сontroller is unaccessible in some cases inside
reloadList
method. So we added corresponding checks.
- Сontroller is unaccessible in some cases inside
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 inflexberry-groupedit
. - Fix list's
refresh
anddelete
buttons styles for Firefox. - Fix
onRowClick
action forobject-list-view-row
. - Fix
lookupWindowCustomProperties
for lookups inflexberry-groupedit
.
ui-message
component: attributetitle
.
- Search localisation for models in
flexberry-objectlistview
andflexberry-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__
.
- Before:
- 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.
- Update dependency on
ember-flexberry-data
to version 0.8.4.
- Update dependency on
ember-flexberry-data
to version 0.8.3.
flexberry-lookup
component:- Fix
placeholder
in dropdown mode.
- Fix
- Update dependency on
ember-flexberry-data
to version 0.8.2.
flexberry-groupedit
component:- Fix check
hasMany
relationships changes on route leave.
- Fix check
flexberry-simpledatetime
component:- Fix infinite click in mobile mode.
- Update dependency on
ember-flexberry-data
to version 0.8.1.
flexberry-dropdown
component:- Fix hanging in IE when change
perPageValue
.
- Fix hanging in IE when change
flexberry-objectlistview
component:- Fix selected rows count reset on
init
.
- Fix selected rows count reset on
flexberry-simpleolv
component:- Fix
colResizable
plugin init whenmodel
was overrided.
- Fix
flexberry-objectlistview
component:- Add hierarchy support on
edit-form
. - Add
defaultLeftPadding
property as padding value in each level of hierarchy (in pixels).
- Add hierarchy support on
flexberry-objectlistview
component:- Change hierarchy indent setting (
hierarchicalIndent
property) toNumber
type (in pixels).
- Change hierarchy indent setting (
- Update
flatpickr-calendar
dependency to 2.3.4.
flexberry-simpledatetime
component:- Fix
readonly
mode.
- Fix
flexberry-objectlistview
component:- Fix columns compute when
modelProjection
isundefined
.
- Fix columns compute when
flexberry-simpleolv
component which renders it's content faster thenflexberry-objectlistview
. Component is inherited fromflexberry-objectlistview
component and has same functionality.Ember.run.after
extension method intoEmber.run
namespace. Adds ability to rone some logic some after specified condition will be fulfilled.object-list-view
component:showValidationMessagesInRow
option. Option isfalse
by default inobject-list-view
&flexberry-objectlistview
, but istrue
by default inflexberry-groupedit
. Iftrue
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 configuratefilterByAnyMatch
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 containinglookupDialogOnShowTrigger
,lookupDialogOnVisibleTrigger
,lookupDialogOnHiddenTrigger
methods to comunicate withflexberry-lookup
components. NOTE:componenName
property must be defined forflexberry-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
forflexberry-groupedit
component placed onedit-form
. configurateSelectedRows
method to configure selected records.
- Semantic-ui settings.
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
.
- Saving of records per page count in user setings for
- Blueprints:
sourceType
property generation intoflexberry-enum
transforms.ember-cli-sass
addon instalation into default blueprint.
form-load-time-tracker
service to track formsload & render time andform-load-time-tracker
component to view data fromform-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
anddate
for now).
- 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 tocustomButtons
property for toolbar. - Reduce width of filter button.
- Restore ability to add menu items in row using
flexberry-objectlistview
component:- Restore ability to add menu items in row using
menuInRowAdditionalItems
property. Now this behavior is similar tocustomButtons
property for toolbar. - Reduce width of filter button.
- Restore ability to add menu items in row using
object-list-view
component:- Rename
headerClickable
property intoorderable
. - Now header's hint visible only when
orderable
=true
.
- Rename
edit-form
controller:- Add
rollBackModel
parameter toclose
method (as it's optional second parameter). Setting this parameter totrue
allows to rollback model after leaving route (applicable for detail's edit forms). - Add
skipTransition
parameter todelete
method (as it's optionsl first parameter). Setting this parameter totrue
allows to skip technological call oftransitionToRoute
method. - Add
skipTransition
parameter tosaveAndClose
,close
anddelete
actions (as their optionsl first parameter). Setting this parameter true allows to skip technological call oftransitionToRoute
method. - Add
skipTransition
parameter tosave
method (as it's second optional parameter) andclose
method (as its first optional parameter). Setting this parameter totrue
allows to skip technological call oftransitionToRoute
method.
- Add
detail-edit-form
controller:- Add
rollBackModel
parameter toclose
method (as it's optional second parameter). Setting this parameter totrue
allows to rollback model after leaving route (applicable for detail's edit forms). - Add
skipTransition
parameter tosaveAndClose
,close
anddelete
actions (as their optionsl first parameter). Setting this parameter true allows to skip technological call oftransitionToRoute
method.
- Add
log
service:- Overriden methods of
Ember.Logger
now trigger corresponding events (error
,warn
etc.) instead of returning promises.
- Overriden methods of
- Resolver:
- Now, by default, only
component
,template
andview
types will be resolved accordingly to current device. If necessary, list of device-related types can be specified indeviceRelatedTypes
property of application resolver. Also by default, device-related types will be searched only in 'mobile' subfolders, this behavior can be changed throughprefixForPlatformAndType
,prefixForOrientation
,prefixForType
properties ofdevice
service. This is for performance reasons.
- Now, by default, only
- User settings service:
- Replace alerts in
colsconfig-dialog
withui-messages
. - Now
colsconfig-dialog
has default cols width values. - Changed cursor style for
colsconfig-dialog-content
. col-config-menu
service:- Move
resetMenu
,addNamedSetting
andsort
methods intoolv-toolbar
andflexberry-objectlistview
. sort
method is renamed intosortNamedSetting
.
- Move
- Replace alerts in
Ember.Logger.xxx
changed toEmber.xxx
calls and throwing errors. So redundant messages will not display in console in production.
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 whenflexberry-lookup
's list dialog is also opened. - Displaying of
flexberry-lookup
value when desktop version ofobject-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
andboolean
values. - Rollback logic for unsuccessful delete operations.
- Inability to resize columns if
tableStriped
,rowClickable
orcustomTableClass
property was changed.
- Fix behavior when it is placed on
flexberry-groupedit
component:- Inability to resize columns if
tableStriped
,rowClickable
orcustomTableClass
property was changed.
- Inability to resize columns if
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 offlexberry-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
andflexberry-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 hassort
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.
- Sorting in
- 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 istrue
. 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
andnew
postfix at the same time. - Opening of
detail-edit-form
inreadonly
mode fromedit-form
inreadonly
mode, ifeditOnSeparateRoute
setting is enabled inflexberry-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.
- Fix
- User settings service:
- Various
developerUserSettings
errors. - Reduntant confirm dialog in
colsconfig-dialog
.
- Various
- Fix
i-i-s-caseberry-logging-objects-application-log-l
andnew-platform-flexberry-services-lock-list
templates for userecordsTotalCount
parameter.
object-list-view
component:_attributeChanged
observer.
flexberry-objectlistview
andolv-toolbar
components:createSettitingTitle
,useSettitingTitle
,editSettitingTitle
,removeSettitingTitle
,setDefaultSettitingTitle
,showDefaultSettitingTitle
properties.
object-list-view-header-cell
component.new-platform-flexberry-services-lock-edit
form.
- 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 insideflexberry-groupedit
. - Changes in
showCheckBoxInRow
orshowDeleteButtonInRow
properties after adding new record inflexberry-groupedit
leads to IE crashing. - Current
page
URL parameter is not reset when deleting all records in list. - Only one
flexberry-objectlistview
orflexberry-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 intoflexberry-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 multipleflexberry-datepicker
components on form).- Blueprints are not generating inheritance of serializers correctly. Also blueprints are not generating stuff for supporting offline mode in application.
- Remove
localforage
andember-localforage-adapter
from package dependencies and default blueprint. Now used onlydexie
for IndexedDB access.
- Updated dependency on
ember-flexberry-data
addon to v0.6.1. There fixed offline store adapter errors.
flexberry-lookup
component:- Sorting direction for
autocomplete
anddropdown
mode, usesorting
property for specify direction. - Possibility reset value for
dropdown
mode, ifrequired
property not equalstrue
. - Add property
dropdownIsSearch
. Now can be turned off autocomplete in dropdown mode.
- Sorting direction for
flexberry-field
component:- Now support explicit html type definition. Default type is
text
.
- Now support explicit html type definition. Default type is
flexberry-textbox
component:- Now support explicit html type definition. Default type is
text
.
- Now support explicit html type definition. Default type is
flexberry-groupedit
component:- Add support of
configurateRow
method.
- Add support of
object-list-view
component:- Add observer
attributeChanged
that calls theconfigurateRow
method. Now needs to use Ember.set(), to add custom class or show/hide buttons in menu items for record config.
- Add observer
- Support locks for
edit-form
route. Locks are not used by default, use application config to configure it.
- Renamed
olv-toolbar-mixin
mixin toolv-toolbar-controller
. - Renamed
flexberry-lookup
mixin toflexberry-lookup-controller
. - Blueprint will no longer generate old top validator for properties in hbs templates.
flexberry-lookup
component not specify properties for select onautocomplete
anddropdown
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.
- Now for filter by any matches using all attributes of "master" model instead of one attribute with
- 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.
- Generate correct
- Fixed wrong generation of columns list for user setting's dialog.
- Building filters in
object-list-view
component. - Now
inflection
package installing along withember-flexberry
addon. - Now
Save
andSave and close
buttons ondetail-edit-form
after transition from new route working correctly.
- Remove
base.js
frommodels
. Now used the base model fromember-flexberry-data
addon.
- 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.
- 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 toinputClass
.
- Renamed property for input element:
flexberry-checkbox
component:- Now if
flexberry-checkbox
was unchecked it doest'n has checked class.
- Now if
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 inEmber.onerror
orEmber.RSVP.on('error')
events.- Blueprints:
- Fixed decimal fields generation on edit-forms (it will generate
flexberry-field
instead offlexberry-dropdown
).
- Fixed decimal fields generation on edit-forms (it will generate
flexberry-checkbox
component:flexberry-checkbox
doesn't havechecked
class in unchecked state.
edit-form
controller: add сomponentProperties forflexberry-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.
- Now
- 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 outdated style in
object-list-view
styles component. flexberry-file
component:- Remove
fluid
CSS-class from component's defaults forflexberry-file
component.
- Remove
edit-form
controller:rollbackHasManyRelationships
method was deprecated, use model'srollbackHasMany
method instead.
flexberry-file
works improperly insideflexberry-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
orflexberry-groupedit
component could be used on particular form. - No items of context menu for rows of
flexberry-objectlistview
component are shown whenshowEditMenuItemInRow
orshowDeleteMenuItemInRow
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 intoflexberry-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 multipleflexberry-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'.
- 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 insidemodels
folder.
flexberry-dropdown
component:- Add support object type for
items
property. - Add support empty values for generated enums.
- Add support object type for
- Transforms:
- Moved transforms to
ember-flexberry-data
addon.
- Moved transforms to
- Enums:
- Moved enum initializer to
ember-flexberry-data
addon. - Renamed
enum-captions
helper toflexberry-enum
.
- Moved enum initializer to
- Changed dependency on
ember-flexberry-data
addon tov0.4.0
.
flexberry-objectlistview
component:- Incorrect work of pagination for large lists.
- Same as in previous release except issues in blueprints.
- 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:- Add filtering by attribute of number type.
- Add filtering by "master" attributes.
- Add
predicateForAttribute
method for filtering customization in application. - Add filtering for each column.
- Add hierarchical mode:
- Autodetect availability of hierarchical mode by default.
- Use
hierarchyByAttribute
property for building hierarchy. - Use
disableHierarchicalMode
propertyto disable hierarchical mode.
object-list-view
component:- Add localization support for model captions in projections.
flexberry-menu
component:- Added
collapseMenuOnItemClick
property and related logic.
- Added
- 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.
- Maintain user setting service on mode
- 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) ofapp/routes/{{pageRouteName}}.js
as default settings.
- User setting service now supports in-memory saving the settings of all
- Important: now
ember-flexberry
depends on[email protected]
that has api changes. So it is necessary to make corresponding changes in application source code after updating vesrion ofember-flexberry
! flexberry-file
:- Removed collapsing menu logic.
- Added
collapseMenuOnItemClick
property to appropriate .hbs file (template).
- Blueprints:
editFormRoute
property was moved to controller.
- 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
orflexberry-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 inflexberry-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 inflexberry-lookup
component.
- Only one
flexberry-objectlistview
orflexberry-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 whenshowEditMenuItemInRow
orshowDeleteMenuItemInRow
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 intoflexberry-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 multipleflexberry-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 whenreadonly
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.
- Updated information about release process in README.md
- Fixed wrong dependency from
ember-flexberry-data
addon. - Fixed wrong import of
register-version.js
.
- 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
- renameddatetime-picker
component for choose date and time. Added features:- Ability of specifying min and max date for displaying range.
flexberry-dropdown
- renameddrop-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 bygroupedit-toolbar
andobject-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
- renamedlookup-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 ofobject-list-view
component with ability to set custom properties forflexberry-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.
- Displaying list of "master" models with
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 byolv-toolbar
andobject-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 forflexberry-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 insideflexberry-objectlistview
andflexberry-groupedit
components).
- Template for
- 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 prototypeflexberry-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.
- Upgraded
ember-cli
from @1.13.8 to @2.4.3. Ember 1.13 is no longer supported. object-list-view
andolv-toolbar
components are no longer used independently. It is necessary to useflexberry-objectlistview
component orflexberry-groupedit
component instead.- Renamed
datetime-picker
component toflexberry-datepicker
. - Renamed
drop-down
component toflexberry-dropdown
. - Renamed
lookup-field
component toflexberry-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 nowember-flexberry
depends on[email protected]
- Redesigned enumerations support.
ui-message
component:title
property is deprecated, usecaption
property instead.
- Authenticator, authorizer, login route and controller for support of token based authentication were removed. Authentication is not supported for now.
- 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.
- Only one
flexberry-objectlistview
orflexberry-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 whenshowEditMenuItemInRow
orshowDeleteMenuItemInRow
property of component has been dynamically changed. - Sorting by clicking on table header of
flexberry-objectlistview
orflexberry-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 intoflexberry-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 multipleflexberry-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 forflexberry-objectlistview
that shows for choosing value forflexberry-lookup
component doesn't work correctly. It is possible to usenotUseUserSettings
property forflexberry-objectlistview
component to turn off user settings for these cases as workaround.
- 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
andclose
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 onselect
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.
- Displaying list of related models in
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 forobject-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).