Skip to content

Commit 938e64a

Browse files
authored
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] <support@github.com> * 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
1 parent d05eb2f commit 938e64a

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

composer.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
],
1818
"homepage": "https://agiletoolkit.org/ui",
1919
"license": "MIT",
20-
"minimum-stability": "dev",
2120
"prefer-stable": true,
2221
"authors": [
2322
{
@@ -29,7 +28,7 @@
2928
"require": {
3029
"php": ">=7.2.0",
3130
"ext-json": "*",
32-
"atk4/data": "dev-develop"
31+
"atk4/data": "^2.0"
3332
},
3433
"require-dev": {
3534
"phpunit/phpunit": "<6",

docs/quickstart.rst

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Agile Toolkit will work anywhere where PHP can. Find a suitable guide on how to
2020
PHP on your platform. Having a local database is a plus, but our initial application will
2121
work without persistent database.
2222

23+
Requirements
24+
============
2325

2426
Installing
2527
==========
@@ -143,6 +145,7 @@ Class App use `DIContainerTrait` which allow us to inject dependency directly in
143145
]);
144146

145147

148+
146149
Form and CRUD Components
147150
========================
148151

src/App.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ class App
3333

3434
/** @var array|false Location where to load JS/CSS files */
3535
public $cdn = [
36-
'atk' => 'https://cdn.jsdelivr.net/gh/atk4/ui@1.7.1/public',
36+
'atk' => 'https://cdn.jsdelivr.net/gh/atk4/ui@2.0.1/public',
3737
'jquery' => 'https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1',
3838
'serialize-object' => 'https://cdnjs.cloudflare.com/ajax/libs/jquery-serialize-object/2.5.0',
3939
'semantic-ui' => 'https://cdn.jsdelivr.net/npm/fomantic-ui@2.7.2/dist',
4040
];
4141

4242
/** @var string Version of Agile UI */
43-
public $version = '2.0.0';
43+
public $version = '2.0.1';
4444

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

0 commit comments

Comments
 (0)