Skip to content

Commit

Permalink
Releasing refs/heads/release/2.0.3 into master (#867)
Browse files Browse the repository at this point in the history
* add demo

* Apply fixes from StyleCI

* Add a Scrolling Modal

* minor fix

change function name.

* remove useSuiVue

Now include in Bundle

* fix/CaughException Layout

- When children App is created

* Bump eslint-utils from 1.4.0 to 1.4.2 in /js

Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](mysticatea/eslint-utils@v1.4.0...v1.4.2)

Signed-off-by: dependabot[bot] <[email protected]>

* Update to changes in Modal.php

* add ignore E_DEPRECATED & E_USER_DEPRECATED

* add App->catch_error_types to define error types in set_error_handler

* fix/#802 Array fields error in form

* Apply fixes from StyleCI

* Fix #8ß5

* Allow to add Attributes to <input> tag 

New property added: $this->inputAttr in which additional attributes are stored
New function added: setInputAttr() which is a clone of View->setAttr() which fills the $this->inputAttr array

Can also be used to overwrite existing attributes as $this->inputAttr is passed as second param to array_merge (at $this->app->getTag())

* update to use inputAttr

* update to use inputAttr

* update to use inputAttr

* update to use inputAttr

* style CI fixes

* styleCI fixes

* Add demo for custom <input> Attributes

* add another demo field which uses array definition

* Update TypeText.php

to pass check

* Fix autocomplete.html

* Fix lookup.html

* Fix autocomplete.pug

* Fix lookup.pug

* init

- add jsCallback when adding or deleting a row.

* feature/TreeItemSelector Form Field

Initial commit

* Apply fixes from StyleCI

* Make Escape key clear Grid Search

* feature/MultiLine Enhancement

- Ability to run js when adding or deleting row.
- Add new line of record when tabbing out of the last row/column

* Apply fixes from StyleCI

* start implementation

* Apply fixes from StyleCI

* remove test

* changed example for ibelar

* Apply fixes from StyleCI

* some more notes wip

* Apply fixes from StyleCI

* test

* Mutliline: Improve inline docs and comments (#811)

* Improve inline docs and comments

* Update MultiLine.php

* initial testing

* Fix  #814 - useless code in Form.php (#818)

* Fix  #814 - useless code in Form.php

* Update Form.php

* Add Locale class

* Apply fixes from StyleCI

* add LocaleTest

* Apply fixes from StyleCI

* Update LocaleTest.php

* Add credits to Lokalize services

* Create .empty

* Delete .empty

* Fix Locale.php

* refactor

* code review and refactor

* Apply fixes from StyleCI

* updare demo

* type hint and cleanup

* Apply fixes from StyleCI

* js cleanup and comment

* add more demo

* Typo.

* update userAction

move loader set function to jsRender so we could apply afterSuccess or jsSuccess after setAction is done.
Add jsSuccess and stateContext

* Apply fixes from StyleCI

* fix

* Feature/fix textarea (#822)

* fix TextArea and DropDown zero and empty values

* Apply fixes from StyleCI

* Enhance Form Testing suite

* Apply fixes from StyleCI

* fix

* fix

* #823: Fix a few phpDoc comments. (#824)

* #823: Fix a few phpDoc comments.

* #824: Lowercase @inheritdoc .

* update

- include web storage for ajaxexec
- code refactoring

* fix modal service

* update modal service

* fix/DropDown unnecessary property

Remove unneccessary property isValueRequired for dropdown formfield and rely on field property required instead.

* update ajaexec.plugin

add demos/test to gitignore

* remove unused comment

* update button placement and state

* remove jsEvent executor from UserAction

Action that required an event must be expicitly set using jsEvent

* Apply fixes from StyleCI

* add exception handler

* Apply fixes from StyleCI

* update demos

* added jsExecute()

* Apply fixes from StyleCI

* cleanup

* check for exception in each jsSubmit step

* Apply fixes from StyleCI

* Feature/Refactor On method

Allow for on method to receive a Model UserAction as second arguments.

* Apply fixes from StyleCI

* Table columns support user action now

* Apply fixes from StyleCI

* forgot the demo

* Apply fixes from StyleCI

* update

- Create new Class jsUserAction based on existing jsCallback
- remove jsEvent executor from demos
- set demos using new jsUserAction
- update View method to use new jsUserAction

* Apply fixes from StyleCI

* Code review

Add comments
clean up.

* Apply fixes from StyleCI

* update comment

* test

* fix test uri for jsactions.php demo

* init

* merge changed

* Apply fixes from StyleCI

* update View::on()

Add ability to setup apiConfig for jsCallback.

* updated

Fix dropdown when place inside a column table.

* Apply fixes from StyleCI

* fix typo

* update method name

* improve functionality and demos

* Apply fixes from StyleCI

* improve demo

* Apply fixes from StyleCI

* improve demo

* improve demo

* making crud work

* fixes

* integrated crud into actions

* Apply fixes from StyleCI

* Code review

Add comments
clean up.

* Apply fixes from StyleCI

* update comment

* test

* fix test uri for jsactions.php demo

* init

* merge changed

* Apply fixes from StyleCI

* update View::on()

Add ability to setup apiConfig for jsCallback.

* merge

* updated

Fix dropdown when place inside a column table.

* Apply fixes from StyleCI

* fix typo

* update method name

* improve functionality and demos

* Apply fixes from StyleCI

* improve demo

* Apply fixes from StyleCI

* improve demo

* improve demo

* crud improvements

* wip

* wip

* Apply fixes from StyleCI

* action test

* Apply fixes from StyleCI

* test with getting action

* Apply fixes from StyleCI

* change property name

* setup executor from action

* Apply fixes from StyleCI

* Addesd public property currency_decimals in Persistence/UI

* Using property currency_decimals in FormField/Money

* Apply fixes from StyleCI

* code cleanup

* refactor and review

* Apply fixes from StyleCI

* clean up

* add hook callback to crud

* Apply fixes from StyleCI

* adding native action dropdown support into crud

* Apply fixes from StyleCI

* update demo to contain example of redefining action executor

* Apply fixes from StyleCI

* Added two really nice demo pages (index and actions)

* Apply fixes from StyleCI

* fixed and enhancement

- fixed table border
- fixed js when table dropdown menu  appear near end of window
- Delete action should be fixed in atk4\data

remove floating css class to table dropdown menu
View::On method now check for action confirmation property and apply it by default

* fix action in wizrd

* add action to menu item

* add UserConfirmation

* Apply fixes from StyleCI

* Add SSE operation with user confirmation example

This adds an example for triggering an SSE operation after asking confirmation from the user.

* Apply fixes from StyleCI

* hide modal content while reloading

* refactor

make it more generic by applying class to loader instead of moda.

* apply sorting when using action

* Apply fixes from StyleCI

* remove previous test

* remove tutorial from actions page

Added to a new page tutorial_actions for test to work again

* fix double factory

* Fix few bugs and add comments (#847)

* add some comments while reviewing

* fix action->fields bug

* cleanup

* CRUD refactoring

* Apply fixes from StyleCI

* change method name

* minor fix

* notify refactor

* more refactoring

* Apply fixes from StyleCI

* more cleanup

* fix comment

* more cleanup

* Apply fixes from StyleCI

* fix actions test

* fix lookup test

* temp fix for lookup

Seem like db value is not available.

* Feature/Code Highlight (#849)

* Feature/Code Highlight

Display code in tutorial using Highlight.js

* Apply fixes from StyleCI

* add lang selection

* fix

* nothing

* Feature/Card Deck using model action (#846)

* init

* Apply fixes from StyleCI

* fix demo

* enhancement

add menu bar
improve jsNotify setup

* Apply fixes from StyleCI

* add ability to pass View::on() defaults

* add some comments while reviewing

* fix action->fields bug

* cleanup

* CRUD refactoring

* Apply fixes from StyleCI

* change method name

* minor fix

* notify refactor

* more refactoring

* Apply fixes from StyleCI

* more cleanup

* fix comment

* more cleanup

* Apply fixes from StyleCI

* fix actions test

* fix lookup test

* temp fix for lookup

Seem like db value is not available.

* deck refactoring

* Apply fixes from StyleCI

* update demo

* Apply fixes from StyleCI

* typo

* Apply fixes from StyleCI

* enhancement

card template refactoring
add itemSearch to deck

* Apply fixes from StyleCI

* add empty view when no record to show

* Apply fixes from StyleCI

* update

* Apply fixes from StyleCI

* apply partial reload on card when possible

* Apply fixes from StyleCI

* remove test argument

* Code review

* Apply fixes from StyleCI

* create view from seed

* nothing really

* Add Github workflows (actions)  (#848)

* workflow

* Setting current dependencies

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fix

* Fix unit test on Windows paths

* Remove file db.github.php from Demo functional test check.

* Apply fixes from StyleCI

* Fix some Type Hints

* Apply fixes from StyleCI

* Feature/input action (#845)

* Feature/Input Action

* Apply fixes from StyleCI

* Change in demo : exit() to $app->callExit() (#854)

* Change exit() to $app->callExit()

* Change direct exit call to $app->callExit().

* Change all deprecated Persistence_* to correct Persistence\*

* badge

* fix release bundler

* fix release bundler

* wip

* fix release bundler

* fix release bundler

* fix release bundler

* fix release drafter

* release drafter fix

* Improvement/include action caption in modal title (#852)

* include action caption in modal title

* [UPDATE] trim modal title

* Apply fixes from StyleCI

* DateTime is object and working on same object is replacing both value… (#834)

* DateTime is object and working on same object is replacing both values to be same

This sets $d1 and $d2 both to "YYYY-mm-dd 23:59:59" ...

* Apply fixes from StyleCI

* Add Instantiate App using DIContainerTrait (#855)

* Cleanup actions

* categorizing release drafter

* categorizing release drafter

* add bot that would ask for documentation

* cleanup

* fix release bundler

* fix release bundler

* fix indentation to 2 spaces

* fix bundler

* Release/2.0.1 backport. (#862)

* Releasing 2.0.0 into master (manually) (#859)

* Apply fixes from StyleCI

* remove extra spaces from Response Content-Type

* enhanced

only call server when using expression in row.

* code review

review hasExpression function

* First scratch for multiline Documentation

* add semantic-ui-vue in atkjs bundle

* update webpack configuration

* Better draft, formatting and Screenshots follow

* Add some formatting

* Update Formatting

* Add Multiline Screenshots

* Fix Link to Screenshot

* Add ability to customize CSS of 'content' div

* Add Documentation for addContentCss() feature

* Added Expressions, onLineChange()

* Chapter "Changing appearance"

* Improve formatting

* update doc

* add "Is Not" for TableColumn::FilterModel::TypeString

* StyleCI

* changed Css to CSS (similarly how we use e.g. renderJS)

* add demo

* Apply fixes from StyleCI

* Add a Scrolling Modal

* minor fix

change function name.

* remove useSuiVue

Now include in Bundle

* fix/CaughException Layout

- When children App is created

* Bump eslint-utils from 1.4.0 to 1.4.2 in /js

Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](mysticatea/eslint-utils@v1.4.0...v1.4.2)

Signed-off-by: dependabot[bot] <[email protected]>

* Update to changes in Modal.php

* add ignore E_DEPRECATED & E_USER_DEPRECATED

* add App->catch_error_types to define error types in set_error_handler

* fix/#802 Array fields error in form

* Apply fixes from StyleCI

* Fix #8ß5

* Allow to add Attributes to <input> tag 

New property added: $this->inputAttr in which additional attributes are stored
New function added: setInputAttr() which is a clone of View->setAttr() which fills the $this->inputAttr array

Can also be used to overwrite existing attributes as $this->inputAttr is passed as second param to array_merge (at $this->app->getTag())

* update to use inputAttr

* update to use inputAttr

* update to use inputAttr

* update to use inputAttr

* style CI fixes

* styleCI fixes

* Add demo for custom <input> Attributes

* add another demo field which uses array definition

* Update TypeText.php

to pass check

* Fix autocomplete.html

* Fix lookup.html

* Fix autocomplete.pug

* Fix lookup.pug

* init

- add jsCallback when adding or deleting a row.

* feature/TreeItemSelector Form Field

Initial commit

* Apply fixes from StyleCI

* Make Escape key clear Grid Search

* feature/MultiLine Enhancement

- Ability to run js when adding or deleting row.
- Add new line of record when tabbing out of the last row/column

* Apply fixes from StyleCI

* start implementation

* Apply fixes from StyleCI

* remove test

* changed example for ibelar

* Apply fixes from StyleCI

* some more notes wip

* Apply fixes from StyleCI

* test

* Mutliline: Improve inline docs and comments (#811)

* Improve inline docs and comments

* Update MultiLine.php

* initial testing

* Fix  #814 - useless code in Form.php (#818)

* Fix  #814 - useless code in Form.php

* Update Form.php

* Add Locale class

* Apply fixes from StyleCI

* add LocaleTest

* Apply fixes from StyleCI

* Update LocaleTest.php

* Add credits to Lokalize services

* Create .empty

* Delete .empty

* Fix Locale.php

* refactor

* code review and refactor

* Apply fixes from StyleCI

* updare demo

* type hint and cleanup

* Apply fixes from StyleCI

* js cleanup and comment

* add more demo

* Typo.

* update userAction

move loader set function to jsRender so we could apply afterSuccess or jsSuccess after setAction is done.
Add jsSuccess and stateContext

* Apply fixes from StyleCI

* fix

* Feature/fix textarea (#822)

* fix TextArea and DropDown zero and empty values

* Apply fixes from StyleCI

* Enhance Form Testing suite

* Apply fixes from StyleCI

* fix

* fix

* #823: Fix a few phpDoc comments. (#824)

* #823: Fix a few phpDoc comments.

* #824: Lowercase @inheritdoc .

* update

- include web storage for ajaxexec
- code refactoring

* fix modal service

* update modal service

* fix/DropDown unnecessary property

Remove unneccessary property isValueRequired for dropdown formfield and rely on field property required instead.

* update ajaexec.plugin

add demos/test to gitignore

* remove unused comment

* update button placement and state

* remove jsEvent executor from UserAction

Action that required an event must be expicitly set using jsEvent

* Apply fixes from StyleCI

* add exception handler

* Apply fixes from StyleCI

* update demos

* added jsExecute()

* Apply fixes from StyleCI

* cleanup

* check for exception in each jsSubmit step

* Apply fixes from StyleCI

* Feature/Refactor On method

Allow for on method to receive a Model UserAction as second arguments.

* Apply fixes from StyleCI

* Table columns support user action now

* Apply fixes from StyleCI

* forgot the demo

* Apply fixes from StyleCI

* update

- Create new Class jsUserAction based on existing jsCallback
- remove jsEvent executor from demos
- set demos using new jsUserAction
- update View method to use new jsUserAction

* Apply fixes from StyleCI

* Code review

Add comments
clean up.

* Apply fixes from StyleCI

* update comment

* test

* fix test uri for jsactions.php demo

* init

* merge changed

* Apply fixes from StyleCI

* update View::on()

Add ability to setup apiConfig for jsCallback.

* updated

Fix dropdown when place inside a column table.

* Apply fixes from StyleCI

* fix typo

* update method name

* improve functionality and demos

* Apply fixes from StyleCI

* improve demo

* Apply fixes from StyleCI

* improve demo

* improve demo

* making crud work

* fixes

* integrated crud into actions

* Apply fixes from StyleCI

* Code review

Add comments
clean up.

* Apply fixes from StyleCI

* update comment

* test

* fix test uri for jsactions.php demo

* init

* merge changed

* Apply fixes from StyleCI

* update View::on()

Add ability to setup apiConfig for jsCallback.

* merge

* updated

Fix dropdown when place inside a column table.

* Apply fixes from StyleCI

* fix typo

* update method name

* improve functionality and demos

* Apply fixes from StyleCI

* improve demo

* Apply fixes from StyleCI

* improve demo

* improve demo

* crud improvements

* wip

* wip

* Apply fixes from StyleCI

* action test

* Apply fixes from StyleCI

* test with getting action

* Apply fixes from StyleCI

* change property name

* setup executor from action

* Apply fixes from StyleCI

* Addesd public property currency_decimals in Persistence/UI

* Using property currency_decimals in FormField/Money

* Apply fixes from StyleCI

* code cleanup

* refactor and review

* Apply fixes from StyleCI

* clean up

* add hook callback to crud

* Apply fixes from StyleCI

* adding native action dropdown support into crud

* Apply fixes from StyleCI

* update demo to contain example of redefining action executor

* Apply fixes from StyleCI

* Added two really nice demo pages (index and actions)

* Apply fixes from StyleCI

* fixed and enhancement

- fixed table border
- fixed js when table dropdown menu  appear near end of window
- Delete action should be fixed in atk4\data

remove floating css class to table dropdown menu
View::On method now check for action confirmation property and apply it by default

* fix action in wizrd

* add action to menu item

* add UserConfirmation

* Apply fixes from StyleCI

* Add SSE operation with user confirmation example

This adds an example for triggering an SSE operation after asking confirmation from the user.

* Apply fixes from StyleCI

* hide modal content while reloading

* refactor

make it more generic by applying class to loader instead of moda.

* apply sorting when using action

* Apply fixes from StyleCI

* remove previous test

* remove tutorial from actions page

Added to a new page tutorial_actions for test to work again

* fix double factory

* Fix few bugs and add comments (#847)

* add some comments while reviewing

* fix action->fields bug

* cleanup

* CRUD refactoring

* Apply fixes from StyleCI

* change method name

* minor fix

* notify refactor

* more refactoring

* Apply fixes from StyleCI

* more cleanup

* fix comment

* more cleanup

* Apply fixes from StyleCI

* fix actions test

* fix lookup test

* temp fix for lookup

Seem like db value is not available.

* Feature/Code Highlight (#849)

* Feature/Code Highlight

Display code in tutorial using Highlight.js

* Apply fixes from StyleCI

* add lang selection

* fix

* nothing

* Feature/Card Deck using model action (#846)

* init

* Apply fixes from StyleCI

* fix demo

* enhancement

add menu bar
improve jsNotify setup

* Apply fixes from StyleCI

* add ability to pass View::on() defaults

* add some comments while reviewing

* fix action->fields bug

* cleanup

* CRUD refactoring

* Apply fixes from StyleCI

* change method name

* minor fix

* notify refactor

* more refactoring

* Apply fixes from StyleCI

* more cleanup

* fix comment

* more cleanup

* Apply fixes from StyleCI

* fix actions test

* fix lookup test

* temp fix for lookup

Seem like db value is not available.

* deck refactoring

* Apply fixes from StyleCI

* update demo

* Apply fixes from StyleCI

* typo

* Apply fixes from StyleCI

* enhancement

card template refactoring
add itemSearch to deck

* Apply fixes from StyleCI

* add empty view when no record to show

* Apply fixes from StyleCI

* update

* Apply fixes from StyleCI

* apply partial reload on card when possible

* Apply fixes from StyleCI

* remove test argument

* Code review

* Apply fixes from StyleCI

* create view from seed

* nothing really

* Add Github workflows (actions)  (#848)

* workflow

* Setting current dependencies

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fix

* Fix unit test on Windows paths

* Remove file db.github.php from Demo functional test check.

* Apply fixes from StyleCI

* Fix some Type Hints

* Apply fixes from StyleCI

* Feature/input action (#845)

* Feature/Input Action

* Apply fixes from StyleCI

* Change in demo : exit() to $app->callExit() (#854)

* Change exit() to $app->callExit()

* Change direct exit call to $app->callExit().

* Change all deprecated Persistence_* to correct Persistence\*

* badge

* fix release bundler

* fix release bundler

* wip

* fix release bundler

* fix release bundler

* fix release bundler

* Setting current dependencies

* Setting current dependencies

* fix release bundler

* fix release bundler

* fix release bundler

* fix release bundler

* wip

* Updating CDN link to use @2.0.2 (#864)

* Update versions for develop

* Update App.php

* Update App.php

* wip

* wip

* Update versions for develop

* Setting current dependencies and complied JS
  • Loading branch information
github-actions[bot] authored and romaninsh committed Dec 15, 2019
1 parent ee9ee70 commit 3a83bba
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/bundler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:




- name: Update to stable dependencies
run: |
jq 'del(."minimum-stability")|del(.require["atk4/data"])' < composer.json > tmp && mv tmp composer.json
Expand All @@ -55,6 +56,7 @@ jobs:
- name: Compile JS files for CDN
run: |
npm install -g less-plugin-clean-css
(cd js; npm install; npm run build; cd ..)
lessc public/agileui.less public/agileui.css --clean-css="--s1 --advanced --compatibility=ie8" --source-map
uglifyjs --compress -- public/agileui.js > public/agileui.min.js
echo '!agileui.css' >> public/.gitignore
Expand Down
7 changes: 7 additions & 0 deletions public/atkjs-ui.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ class App

/** @var array|false Location where to load JS/CSS files */
public $cdn = [
'atk' => 'https://cdn.jsdelivr.net/gh/atk4/[email protected].2/public',
'atk' => 'https://cdn.jsdelivr.net/gh/atk4/[email protected].3/public',
'jquery' => 'https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1',
'serialize-object' => 'https://cdnjs.cloudflare.com/ajax/libs/jquery-serialize-object/2.5.0',
'semantic-ui' => 'https://cdn.jsdelivr.net/npm/[email protected]/dist',
];

/** @var string Version of Agile UI */
public $version = '2.0.2';
public $version = '2.0.3';

/** @var string Name of application */
public $title = 'Agile UI - Untitled Application';
Expand Down

0 comments on commit 3a83bba

Please sign in to comment.