Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(adaptation-project): Add Fragment enhancement (#1183)
* initial crude implementation * Empty-Commit * typescript support for rta coding * removed odd change * removed hardcoded file hosting * enhanced example to also use a submodule * changing folder and export name * feat: added fragment class to test the src-rta folder * feat: added new api endpoint to get fragments from workspace * enable ui5 types * refactor: put code into new folder * enable ui5 transpiling * fix: script path issue * lock file * config again * linting * win issue * chore: added --glob flag to rimraf dist * fix tests * added info to readme * fix: typo * feat: add ADP API; * feat: enhance typings * feat: added helper functions to utility class * feat: separated code into classes * feat: changed initialization of new context item * linting errors * fix: tests * refactor: rollback to original method * added enum example * Linting auto fix commit * feat: added an api handler to client requests * fixed auto-completion in VSCode * feat: change sap imports * fix * fix: tests again * chore: added new package and script for copying files * feat: added templates for fragment and controller * feat: added enums for server code * feat: split router endpoints into separate functions * feat: added class for handling api requests * feat: added class that handles requests from client * refactor: sorted imports, cleanup * chore: added packages for sanitization and rate limiting * fix: rate limiting for routes * fix: sanitize strings to prevent accessing alt sources * chore: added node cache package * feat: added manifest descr interface * feat: add caching for new route * feat: add caching and new route handler * feat: added new route to client, fixed json bug * feat: add api request handler * removed wrong entry * refactor: made templates into two folders, fixed paths * enhanced the types module with SAPUI5 types and required enhancements * moved sapui5 types and enhancements into central types module and use it here * Linting auto fix commit * feat: implement search for fragments with change file * feat: improve typings * refactor: hungarian notations, add typings * refactor: remove and add missing types for any * fix: build issues * fix the build * Linting auto fix commit * fix tell jest to ignore ui5 files * fix: lint errors, jsdocs * fix: some major sonar issues * fix: some sonar code smells * type fixes * merging type fixes * Linting auto fix commit * Linting auto fix commit * fix: eslint parsing error for windows * chore: removed root and parser from eslintrc * chore: 🔥 removed express-rate-limit package since the server runs only in dev mode * fix: some sonar major issues * refactor: change templates paths, remove script * fix: sonar issues, refactor fragment dialog code * fix: some eslint/ts errors * fix: regex backtracking issue * fix: typings for promise returning function * refactor: change manfiest descr route logic * set browserlist to remove polyfills from generated ui5 code * refactor: remove the class, export indiv functions * refactor: reduce cognitive complexity of a function * revert wrong comma * revert wrong comma * fix: some sonar code smells * fix: congnitive complexity * feat: change dialog init and refactor code * refactor: change folder name for all dialogs * fix: lint errors, sonar bug * refactor: change status codes to enum * fix: sanitize user provided input * refactor: remove unused code for filtering fragments with change file * enhanced the readme * chore: added --glob flag to rimraf dist * refactor: made templates into two folders, fixed paths * feat: add folders for fragments and controllers * refactor: remove node-cache module * feat: add requested changes * fix: controller loading * suggestion git push * added test for new functionality * setup for jest testing of client sources * turn-off contradicting rule * feat: add controller and change fragment structure * refactor: change initializing of a dialog * feat: add controller specific methods * feat: add base interface for all dialogs * feat: move code to controller and cleanup * feat: add rta border class to xml fragment * test: fixed existing tests * refactor: reorder imports, add missing jsdocs * refactor: doc strings * refactor: change method name * feat: start adding tests * fix: mocking of fs * real fix * fix: post test mock * more specific rule ignore * feat: add some tests * fix: add requested changes * feat: add more test suites * feat: add more tests * refactor: comment out broken test * feat: add api handler tests * test: add example test for controller * review feedback: supertest * forgetful me * mocked JSONModel * fix: mock * test: added controller tests * fix: mock * refactor: fragments map * fix: last controller test * test: add missing expect statements * simplify enablement * further cleanup * fix: tests * forgot the lockfile * moved unit test * last fixes after merge * more concise mocking * use more concise mocking * global sap mocking * use global sap * fix: eslint errors * refactor: change xml fragment * refactor: remove some ts-ignores * fix: ui bug in dialog * fix: remove classes for add fragment xml file * fixed merge errors * not needed * chore: added changeset * fix: add requested changes * refactor: remove bcp reference * refactor: remove all doc references in code * simplified tests * refactor: remove unused code * fix: tests after refactor * refactor: remove unnecessary assertion * feat: change fragment instantiation * refactor: remove file that does not belong to this PR * refactor: change initialization of controller and view * fix: existing tests * refactor: switch statement to nested ifs * refactor: move name check block inside else statement * replace any * refactor: remove code that is not used anywhere * refactor: change typing * refactor: change typings for get source method * removing any * typos * fix: linting error after type fix * fix: sonar code smells * test: add missing tests * chore: fix changeset message typo * test: improve tests * refactor: remove unused code, fix validation bug * test: add missing suite --------- Co-authored-by: Tobias Queck <tobias.queck@sap.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information