Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
ubjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
26
Issues
26
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
unitybase
ubjs
Commits
2d66fc5f
Commit
2d66fc5f
authored
Mar 12, 2019
by
Кукуруза Андрій
🌽
Committed by
Pavel Mashliakovskiy
Mar 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Weekly updates
parent
caa99ff6
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
142 additions
and
30 deletions
+142
-30
DOC-MAIN-PAGE.md
DOC-MAIN-PAGE.md
+8
-8
package.json
package.json
+1
-1
packages/adminui-pub/CHANGELOG.md
packages/adminui-pub/CHANGELOG.md
+1
-1
packages/adminui-vue/CHANGELOG.md
packages/adminui-vue/CHANGELOG.md
+5
-9
packages/blob-stores/README.md
packages/blob-stores/README.md
+2
-2
weekly_updates/changelog.config.json
weekly_updates/changelog.config.json
+9
-9
weekly_updates/global-changelog-2019-03-11.md
weekly_updates/global-changelog-2019-03-11.md
+116
-0
No files found.
DOC-MAIN-PAGE.md
View file @
2d66fc5f
...
...
@@ -20,18 +20,18 @@ The main purpose of UnityBase is to provide a set of modules for rapid developme
From the low level point of view UnityBase is a asynchronous non-blocking HTTP(S) server with a:
-
build
-in synchronous multi-thread JavaScript engine
[
SpiderMonkey
](
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey
)
-
build
-in Database access for a most known RDBMS
-
build
-in file systems access
-
Built
-in synchronous multi-thread JavaScript engine
[
SpiderMonkey
](
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey
)
-
Built
-in Database access for a most known RDBMS
-
Built
-in file systems access
<img
src=
"server-v5/img//UB-Server-Architecture-v5.png"
alt=
"UB5 Server Architecture"
>
Form a developer point of view UnityBase is:
-
a
n DBMS agnostic ORM what work over application Domain metadata
-
a
set of tools for
-
A
n DBMS agnostic ORM what work over application Domain metadata
-
A
set of tools for
-
synchronizing a physical database structure with Domain metadata
-
generating REST API based on Domain metadata
-
generating developer documentation from Domain metadata
-
a
uthorization, authentication, role based access control, row level security, audit trail, etc
-
a
set of ready to use entities appropriate for the majority of enterprise systems
-
a
utomatically generated admin UI based on Domain
-
A
uthorization, authentication, role based access control, row level security, audit trail, etc
-
A
set of ready to use entities appropriate for the majority of enterprise systems
-
A
utomatically generated admin UI based on Domain
package.json
View file @
2d66fc5f
...
...
@@ -41,6 +41,6 @@
},
"dependencies"
:
{
"
systemjs
"
:
"
^0.20.19
"
,
"
ub-jsdoc
"
:
"
^2.0.
4
"
"
ub-jsdoc
"
:
"
^2.0.
7
"
}
}
packages/adminui-pub/CHANGELOG.md
View file @
2d66fc5f
...
...
@@ -15,7 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
-
**BREAKING**
`vue`
forms definition extension changed from
`js`
to
`vue`
. Existed
`vue`
forms should be renamed manually
`git mv my_entity-fm.js my_entity-fm.vue`
## Added
##
#
Added
-
Font color selection button added to
`UB.ux.form.HtmlEditor`
-
Preview in PDF button now enabled in
`UB.ux.form.HtmlEditor`
(package @unitybase/pdf should be in package.json for this feature)
...
...
packages/adminui-vue/CHANGELOG.md
View file @
2d66fc5f
...
...
@@ -3,18 +3,14 @@ All notable changes to this project will be documented in this file.
The format is based on
[
Keep a Changelog
](
http://keepachangelog.com/
)
and this project adheres to
[
Semantic Versioning
](
http://semver.org/
)
.
## [1.3.3]
# Changed
-
Vue forms will use
`Alt+R`
for "Remove" instead of Alt+Del because DEl and Backspace because
on Mac keyboards the key normally identified as "backspace" on PC keyboards is called "delete"
-
popover button animation removed for vue select (in remote mode)
## [1.3.3]
## Changed
##
#
Changed
-
prevent override Vue.prototype.$notify introduced by El, instead inject UDialog as
`$dialog`
## Added
-
Vue forms will use
`Alt+R`
for "Remove" instead of Alt+Del because DEl and Backspace because
on Mac keyboards the key normally identified as "backspace" on PC keyboards is called "delete"
-
popover button animation removed for vue select (in remote mode)
### Added
-
Vue.prototype.$dialog, $dialogYesNo, #dialogInfo, $dialogError
## [1.3.2]
...
...
packages/blob-stores/README.md
View file @
2d66fc5f
...
...
@@ -5,8 +5,8 @@ this attribute should be defined. Content (data stored in database) of
such attributes is a meta-information about file - a serialized
{@link BlobStoreItem} object, not an actual file content.
In case entity is stored in the database using {mStorage} mixin, DDL generator
create nvarchar(2000) field in database and store there {BlobStoreItem} serialized to JSON.
In case entity is stored in the database using {
@link
mStorage} mixin, DDL generator
create nvarchar(2000) field in database and store there {
@link
BlobStoreItem} serialized to JSON.
For Virtual entity developer should implement
`select`
method and fill {@link BlobStoreItem} manually
(for example by parsing file content as done in
**ubm_form**
).
...
...
weekly_updates/changelog.config.json
View file @
2d66fc5f
...
...
@@ -8,33 +8,33 @@
},
"versions"
:
{
"ub-server"
:
"5.7.14"
,
"adminui-pub"
:
"5.8.
1
"
,
"adminui-pub"
:
"5.8.
3
"
,
"adminui-reg"
:
"5.1.0"
,
"adminui-vue"
:
"1.3.
1
"
,
"adminui-vue"
:
"1.3.
3
"
,
"amqp"
:
"1.0.15"
,
"amqp-notify"
:
"1.1.2"
,
"amqp-notify-pub"
:
"1.0.10"
,
"base"
:
"5.1.
1
"
,
"base"
:
"5.1.
5
"
,
"blob-stores"
:
"5.0.36"
,
"cdn"
:
"5.1.0"
,
"com-bridge"
:
"1.0.7"
,
"compressors"
:
"5.1.3"
,
"cs-shared"
:
"5.0.1
5
"
,
"cs-shared"
:
"5.0.1
9
"
,
"mailer"
:
"5.1.0"
,
"org"
:
"5.1.42"
,
"pdf"
:
"5.0.18"
,
"ub"
:
"5.2.5"
,
"ub-pub"
:
"5.2.3
1
"
,
"ub-pub"
:
"5.2.3
3
"
,
"uba"
:
"5.1.17"
,
"ubcli"
:
"5.3.
0
"
,
"ubm"
:
"5.1.
7
"
,
"ubcli"
:
"5.3.
11
"
,
"ubm"
:
"5.1.
10
"
,
"ubq"
:
"5.2.14"
,
"ubs"
:
"5.2.3"
,
"xlsx"
:
"5.0.45"
,
"systemjs-plugin-vue-ub"
:
"1.
2.5
"
,
"systemjs-plugin-vue-ub"
:
"1.
3.1
"
,
"hmr"
:
"1.0.24"
,
"draw-service"
:
"5.0.4"
,
"ubdev"
:
"0.0.1"
,
"ubdev"
:
"0.0.1
1
"
,
"udisk"
:
"5.0.43"
}
}
\ No newline at end of file
weekly_updates/global-changelog-2019-03-11.md
0 → 100644
View file @
2d66fc5f
# Package adminui-pub@5.8.1->5.8.3
### Added:
-
Font color selection button added to
`UB.ux.form.HtmlEditor`
-
Preview in PDF button now enabled in
`UB.ux.form.HtmlEditor`
(package @unitybase/pdf should be in package.json for this feature)
### Changed:
-
i18 key
`oshibkaVvoda`
renamed to
`fieldValidationError`
and moved to up-pub
-
tabId parameter of
`$App.doCommand`
should be of type string.
Explicit typecast of
`tabId`
to string added to prevent "unclosable" tab error
-
**BREAKING**
`vue`
forms definition extension changed from
`js`
to
`vue`
. Existed
`vue`
forms should be renamed manually
`git mv my_entity-fm.js my_entity-fm.vue`
# Package adminui-vue@1.3.1->1.3.3
### Added:
-
Vue.prototype.$dialog, $dialogYesNo, #dialogInfo, $dialogError
-
new Vue base
`sidebar`
component (left menu). Enabling by setting
`UB.connection.appConfig.uiSettings.adminUI.customSidebar`
to
`true`
in app config
-
`$notify`
method to Vue.prototype
-
buttons
`show error on full screen`
and
`show info for developer`
added to Error notification popup
### Changed:
-
prevent override Vue.prototype.$notify introduced by El, instead inject UDialog as
`$dialog`
-
Vue forms will use
`Alt+R`
for "Remove" instead of Alt+Del because DEl and Backspace because
on Mac keyboards the key normally identified as "backspace" on PC keyboards is called "delete"
-
popover button animation removed for vue select (in remote mode)
-
`vue`
forms definition extension changed from
`js`
to
`vue`
. Existed
`vue`
forms should be renamed manually
`git mv my_entity-fm.js my_entity-fm.vue`
-
due to modifications in vue runtime parser all imports of
`vue`
files must be done as
`const cmpName = require('cmpName.vue').default`
-
renamed CSS variables according twitter-bootstrap
### Fixed:
-
ub-auth page will handle pressing of Enter key in UB authorization scheme user name field
-
UbSelectEntity vue component:
-
added shortcuts for popup actions
-
"blink" area around popup actions button is removed
-
UBToolbarComponent.vue - "Save" and "Save and close" color changed to btn-primary (green)
# Package base@5.1.1->5.1.5
### Fixed:
-
@unitybase/base.options will accept
`--help`
for show help (also
`-help`
and
`-?`
is supported)
-
better formatting for
`ubcli command --help`
# Package cs-shared@5.0.15->5.0.19
### Added:
-
`CustomRepository.clone()`
method
```
javascript
let
repo1
=
UB
.
Repository
(
'
uba_user
'
).
attrs
(
'
ID
'
,
'
code
'
).
where
(
'
ID
'
,
'
>
'
,
15
,
'
byID
'
)
let
repo2
=
repo1
.
clone
()
repo1
.
orderBy
(
'
code
'
)
repo1
.
selectAsObject
()
// return ordered users with ID > 15
repo2
.
attrs
(
'
name
'
).
where
(
'
ID
'
,
'
>
'
,
100
,
'
byID
'
)
repo2
.
selectAsObject
()
// return unordered users with their names and ID > 100
```
-
new method asPlainJSON() for UBEntity & UBEntityAttribute - return a
JSON representation WITHOUT properties which have default values.
Very close to data stored in meta file
-
helper
`Repository.attrsIf()`
```
javascript
let
isPessimisticLock
=
!!
UB
.
connection
.
domain
.
get
(
'
uba_user
'
).
attributes
.
mi_modifyDate
// with whereIf
let
repo
=
UB
.
Repository
(
'
uba_user
'
).
attrs
(
'
ID
'
).
attrsIf
(
isPessimisticLock
,
'
mi_modifyDate
'
)
//without whereIf
let
repo
=
UB
.
Repository
(
'
uba_user
'
).
attrs
(
'
ID
'
)
if
(
isPessimisticLock
)
repo
=
repo
.
attrs
(
'
mi_modifyDate
'
)
```
-
helper
`Repository.whereIf()`
```
javascript
let
filterString
=
'
foundAllLikeThis
'
// or may be empty string
// with whereIf
let
repo
=
UB
.
Repository
(
'
my_entity
'
).
attrs
(
'
ID
'
)
.
whereIf
(
filterString
,
'
myAttr
'
,
'
like
'
,
filterString
)
//without whereIf
let
repo
=
UB
.
Repository
(
'
my_entity
'
).
attrs
(
'
ID
'
)
if
(
filterString
)
repo
=
repo
.
where
(
'
myAttr
'
,
'
like
'
,
filterString
)
```
-
helper
`Repository.miscIf()`
### Changed:
-
`CustomRepository.misc`
`will remove option in case it value is `
false
` instead of setting it to `
false
`
This reduce resulting UBQL size
- `
CustomRepository.orderBy(attrd, direction)
` accept null as `
direction
`.
In this case ordering by `
attr
` will be removed
```javascript
let repo = UB.Repository('my_entity').attrs('ID').orderBy('code')
let orderedData = await repo.selectAsObject() // ordered. await is for client-side only
repo.orderBy('code', null) // remove order by code
let unorderedData = await repo.selectAsObject() // NOT ordered
```
- remove obsolete UBEntity & UBEntityAttribute `
asJSON
` method
### Fixed:
- addingCondition now checked in `
CustomRepository.miscIf
`
# Package systemjs-plugin-vue-ub@1.2.5->1.3.1
### Added:
- ES6 `
export default
` support for Vue SFC - parser will replace it to `
module.exports.default =
` in dev mode
- vue component definition is exported as `
default
` so should be imported as
`
const MyComponent = require('./MyComponent.vue').default
`. `
BOUNDLED_BY_WEBPACK
` hack should be removed
### Changed:
- code simplified - all unsupported and unused features are removed from code
- vue compiler padding changed from `
line
` to `
space
`
# Package ub-pub@5.2.31->5.2.33
### Changed:
- separate stack trace in developer error reporter onto lines for better readability
# Package ubcli@5.3.0->5.3.11
### Fixed:
- `
npx ubcli meta-tr
` command now work correctly. Meta content encoding before using `
JSON.parse()
` was fixed
# *New* Package ubdev@0.0.1->0.0.11
### Fixed:
- entity metadata editor show normalized metadata JSON representation ready to be stored in `
meta
` file
# Package ubm@5.1.7->5.1.10
### Changed:
- **BREAKING** `
vue
` forms definition extension changed from `
js
` to `
vue
`. Existed `
vue
` forms should be renamed manually
`
git mv my_entity-fm.js my_entity-fm.vue
`
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment