Compare commits

...

163 Commits
v6.0.0 ... main

Author SHA1 Message Date
Allan 3a3e488b23 chore: updating yaml to use self-hosted doc site
Release / Build-production-and-ng-test (push) Successful in 7m20s Details
Release / Build-and-test-development (push) Successful in 13m43s Details
Release / release (push) Failing after 2m36s Details
2023-11-14 22:23:05 +00:00
Allan 0a82ec0a70 chore: updating link in README to releases page
Release / Build-production-and-ng-test (push) Successful in 7m50s Details
Release / Build-and-test-development (push) Successful in 14m11s Details
Release / release (push) Failing after 2m42s Details
2023-11-14 21:43:55 +00:00
semantic-release-bot bc1d89218e chore(release): 6.2.7 [skip ci]
## [6.2.7](https://git.datacontroller.io/dc/dc/compare/v6.2.6...v6.2.7) (2023-11-09)

### Bug Fixes

* **audit:** updated crypto-js (hashing rows in dynamic cell validation) ([a7aa42a](a7aa42a59b))
* missing dependency and avoiding label length limit issue ([91f128c](91f128c2fe))
2023-11-09 09:01:38 +00:00
allan 817b9adeac Merge pull request 'fix(audit): updated crypto-js (hashing rows in dynamic cell validation)' (#62) from audit-fix into main
Release / Build-production-and-ng-test (push) Successful in 8m0s Details
Release / Build-and-test-development (push) Successful in 13m41s Details
Release / release (push) Successful in 12m7s Details
Reviewed-on: #62
2023-11-09 08:37:19 +00:00
Mihajlo Medjedovic a7aa42a59b fix(audit): updated crypto-js (hashing rows in dynamic cell validation)
Build / Build-and-ng-test (pull_request) Successful in 1m45s Details
2023-11-09 09:20:21 +01:00
allan 34f239036d Merge pull request 'fix: missing dependency and avoiding label length limit issue' (#61) from corebump into main
Release / Build-production-and-ng-test (push) Failing after 2m51s Details
Release / Build-and-test-development (push) Has been skipped Details
Release / release (push) Has been skipped Details
Reviewed-on: #61
2023-11-08 21:45:25 +00:00
Allan 91f128c2fe fix: missing dependency and avoiding label length limit issue
Build / Build-and-ng-test (pull_request) Successful in 1m43s Details
Relates to the following core issues:
* https://github.com/sasjs/core/issues/364
* https://github.com/sasjs/core/issues/363
2023-11-08 21:36:17 +00:00
semantic-release-bot a00ebea692 chore(release): 6.2.6 [skip ci]
## [6.2.6](https://git.datacontroller.io/dc/dc/compare/v6.2.5...v6.2.6) (2023-10-18)

### Bug Fixes

* bumping core to address mm_assigndirectlib issue ([c27cdab](c27cdab3fc))
2023-10-18 10:48:48 +00:00
Allan c27cdab3fc fix: bumping core to address mm_assigndirectlib issue
Release / Build-production-and-ng-test (push) Successful in 7m19s Details
Release / Build-and-test-development (push) Successful in 11m45s Details
Release / release (push) Successful in 11m9s Details
2023-10-18 11:26:29 +01:00
semantic-release-bot d7da2d7890 chore(release): 6.2.5 [skip ci]
## [6.2.5](https://git.datacontroller.io/dc/dc/compare/v6.2.4...v6.2.5) (2023-10-17)

### Bug Fixes

* enabling AUTHDOMAIN in MM_ASSIGNDIRECTLIB ([008b45a](008b45ad17))
2023-10-17 16:06:19 +00:00
allan 76f0fd4232 Merge pull request 'fix: enabling AUTHDOMAIN in MM_ASSIGNDIRECTLIB for ODBC Engines' (#60) from issue59 into main
Release / Build-production-and-ng-test (push) Successful in 7m8s Details
Release / Build-and-test-development (push) Successful in 11m34s Details
Release / release (push) Successful in 10m54s Details
Reviewed-on: #60
2023-10-17 15:44:34 +00:00
Allan 008b45ad17 fix: enabling AUTHDOMAIN in MM_ASSIGNDIRECTLIB
Build / Build-and-ng-test (pull_request) Successful in 1m19s Details
Bumped sasjs/core to 4.48.1
2023-10-17 16:42:05 +01:00
semantic-release-bot 4d49263816 chore(release): 6.2.4 [skip ci]
## [6.2.4](https://git.datacontroller.io/dc/dc/compare/v6.2.3...v6.2.4) (2023-10-16)

### Bug Fixes

* Enable display of metadata-only tables. Closes [#56](#56) ([f3e82b4](f3e82b4ee2))
2023-10-16 16:38:06 +00:00
allan 6a2482e5c6 Merge pull request 'fix: Enable display of metadata-only tables. Closes #56' (#57) from issue56 into main
Release / Build-production-and-ng-test (push) Successful in 7m19s Details
Release / Build-and-test-development (push) Successful in 11m26s Details
Release / release (push) Successful in 11m9s Details
Reviewed-on: #57
2023-10-16 15:10:04 +00:00
allan b5c3fb2af4 Merge branch 'main' into issue56
Build / Build-and-ng-test (pull_request) Successful in 1m18s Details
2023-10-16 14:55:11 +00:00
mihajlo fa2c8eb839 Merge pull request 'Adding cypress videos to the artifacts' (#58) from ci into main
Release / Build-production-and-ng-test (push) Successful in 7m5s Details
Release / Build-and-test-development (push) Successful in 11m21s Details
Release / release (push) Failing after 2m6s Details
Reviewed-on: #58
2023-10-16 14:24:10 +00:00
Allan f3e82b4ee2 fix: Enable display of metadata-only tables. Closes #56
Build / Build-and-ng-test (pull_request) Successful in 1m21s Details
2023-10-16 15:21:01 +01:00
Mihajlo Medjedovic ba67248155 chore: adding cypress videos to the artifacts
Build / Build-and-ng-test (pull_request) Successful in 1m21s Details
2023-10-16 16:11:56 +02:00
allan a6d962bfaa Merge pull request 'Downgrading SheetJS' (#55) from sheetjs-downgrade into main
Release / Build-production-and-ng-test (push) Has been cancelled Details
Release / Build-and-test-development (push) Has been cancelled Details
Release / release (push) Has been cancelled Details
Reviewed-on: #55
2023-10-16 10:48:02 +00:00
Mihajlo Medjedovic 95cddb52d4 chore: package-lock
Build / Build-and-ng-test (pull_request) Successful in 1m22s Details
2023-10-16 12:40:17 +02:00
Mihajlo Medjedovic 5a5118d775 chore: downgrading sheetjs
Build / Build-and-ng-test (pull_request) Failing after 27s Details
2023-10-16 12:34:30 +02:00
mihajlo 1b1cdd7a4b Merge pull request 'Removing development branch jobs, moving test jobs to the release pipeline' (#54) from discard-development into main
Release / Build-production-and-ng-test (push) Successful in 7m9s Details
Release / Build-and-test-development (push) Failing after 14m17s Details
Release / release (push) Has been skipped Details
Reviewed-on: #54
2023-10-16 09:46:34 +00:00
Mihajlo Medjedovic a9ddf7f7dd chore: removing development branch JOBS, moving test jobs to the release pipeline
Build / Build-and-ng-test (pull_request) Successful in 1m23s Details
2023-10-13 11:24:42 +02:00
semantic-release-bot b54b3f1778 chore(release): 6.2.3 [skip ci]
## [6.2.3](https://git.datacontroller.io/dc/dc/compare/v6.2.2...v6.2.3) (2023-10-12)

### Bug Fixes

* bumping core library to avoid non-ascii char in mp_validatecols.sas. [#50](#50) ([11b06f6](11b06f6416))
* removing copyright symbol from mpe_alerts macro. [#50](#50) ([adb7eb7](adb7eb7755))
2023-10-12 09:42:44 +00:00
allan 349a63c591 Merge pull request 'fix: removing non-ascii chars from SAS program headers' (#51) from issue50 into main
Release / release (push) Successful in 11m21s Details
Reviewed-on: #51
2023-10-12 09:40:30 +00:00
allan 293d33912f Merge pull request 'development' (#52) from development into issue50
Build / Build-and-ng-test (pull_request) Has been cancelled Details
Reviewed-on: #52
2023-10-12 09:38:43 +00:00
allan 357b9849e7 Merge branch 'issue50' into development
Build / Build-and-ng-test (pull_request) Has been cancelled Details
Test / Build-and-test-development (push) Has been cancelled Details
Test / Build-and-test-development-latest-adapter (push) Has been cancelled Details
Test / Build-production-and-ng-test (push) Has been cancelled Details
2023-10-12 09:38:19 +00:00
Mihajlo Medjedovic 0c8a9eef32 chore(ci): build and ng test fix
Test / Build-production-and-ng-test (push) Successful in 7m30s Details
Test / Build-and-test-development (push) Failing after 14m29s Details
Test / Build-and-test-development-latest-adapter (push) Failing after 14m45s Details
Build / Build-and-ng-test (pull_request) Successful in 1m25s Details
2023-10-12 08:33:31 +02:00
Mihajlo Medjedovic 112b1d0da4 chore(ci): audit check fix
Test / Build-production-and-ng-test (push) Failing after 2m22s Details
Test / Build-and-test-development-latest-adapter (push) Has been cancelled Details
Test / Build-and-test-development (push) Has been cancelled Details
2023-10-12 08:26:35 +02:00
Mihajlo Medjedovic a05007416a chore(ci): audit check fix
Test / Build-production-and-ng-test (push) Failing after 2m25s Details
Test / Build-and-test-development-latest-adapter (push) Has been cancelled Details
Test / Build-and-test-development (push) Has been cancelled Details
2023-10-12 08:21:58 +02:00
allan 9f7dd55583 Merge pull request 'Release fix' (#49) from release-fix into development
Test / Build-production-and-ng-test (push) Failing after 2m36s Details
Test / Build-and-test-development (push) Failing after 14m29s Details
Test / Build-and-test-development-latest-adapter (push) Failing after 14m30s Details
Reviewed-on: #49
2023-10-11 22:02:20 +00:00
Allan 11b06f6416 fix: bumping core library to avoid non-ascii char in mp_validatecols.sas. #50
Build / Build-and-ng-test (pull_request) Successful in 1m30s Details
2023-10-11 22:57:07 +01:00
Allan adb7eb7755 fix: removing copyright symbol from mpe_alerts macro. #50 2023-10-11 22:56:14 +01:00
Mihajlo Medjedovic b776b80728 chore: making semantic-release fail if no release available
Build / Build-and-ng-test (pull_request) Successful in 1m17s Details
2023-10-11 16:34:06 +02:00
Mihajlo Medjedovic 73a149ea7b chore: updated contributing.md with release instructions
Build / Build-and-ng-test (pull_request) Successful in 1m18s Details
2023-10-09 13:02:13 +02:00
Mihajlo Medjedovic ef8784093b chore: release is draft fix, release will update package.json version
Build / Build-and-ng-test (pull_request) Successful in 1m18s Details
2023-10-09 12:46:17 +02:00
semantic-release-bot b30c788e3d chore(release): 6.2.2 [skip ci]
## [6.2.2](https://git.datacontroller.io/dc/dc/compare/v6.2.1...v6.2.2) (2023-10-09)

### Bug Fixes

* updated SheetJS (crypto) to the latest ([8bd0dd2](8bd0dd22c2))
2023-10-09 09:52:20 +00:00
mihajlo 23899bdff3 Merge pull request 'fix: updated SheetJS (crypto) to the latest' (#48) from development into main
Release / release (push) Successful in 11m13s Details
Reviewed-on: #48
2023-10-09 09:49:16 +00:00
Mihajlo Medjedovic 8bd0dd22c2 fix: updated SheetJS (crypto) to the latest
Test / Build-production-and-ng-test (push) Has been cancelled Details
Test / Build-and-test-development (push) Has been cancelled Details
Test / Build-and-test-development-latest-adapter (push) Has been cancelled Details
Build / Build-and-ng-test (pull_request) Successful in 1m19s Details
2023-10-09 11:47:27 +02:00
semantic-release-bot c55b00c74f chore(release): 6.2.1 [skip ci]
Test / Build-production-and-ng-test (push) Failing after 2m3s Details
Test / Build-and-test-development (push) Successful in 11m49s Details
Test / Build-and-test-development-latest-adapter (push) Has been cancelled Details
## [6.2.1](https://git.datacontroller.io/dc/dc/compare/v6.2.0...v6.2.1) (2023-10-09)

### Bug Fixes

* approve, history and submit pages grouped in review module ([e056ece](e056ece223))
* closes [#39](#39) upcase issue in MPE_SECURITY ([a00d31c](a00d31caf3))
* handsontable v13 ([6f482ec](6f482ec6d9))
* latest adapter ([5e30dc0](5e30dc0f89))
* sasjs/cli and sasjs/core updated to the latest ([8571e01](8571e01e44))
* updating editors/stagedata to address issues in particular viya configurations as described in issue [#33](#33) ([94ab949](94ab949df8))
* updating logic for REPLACE loadtype ([1f2ce55](1f2ce55f24))
2023-10-09 09:03:58 +00:00
mihajlo c895f509b0 Merge pull request 'chore: fixed CI, trigger pending release' (#47) from development into main
Release / release (push) Successful in 11m20s Details
Reviewed-on: #47
2023-10-09 09:00:52 +00:00
Mihajlo Medjedovic 5968915331 chore: fixed CI, trigger pending release
Test / Build-and-test-development (push) Has been cancelled Details
Test / Build-and-test-development-latest-adapter (push) Has been cancelled Details
Test / Build-production-and-ng-test (push) Has been cancelled Details
Build / Build-and-ng-test (pull_request) Successful in 1m20s Details
2023-10-09 11:00:09 +02:00
Mihajlo Medjedovic 44ffc082f6 chore: changelog revert to 6.2.0
Release / release (push) Has been cancelled Details
Test / Build-and-test-development (push) Has been cancelled Details
Test / Build-and-test-development-latest-adapter (push) Has been cancelled Details
Test / Build-production-and-ng-test (push) Has been cancelled Details
2023-10-09 10:37:06 +02:00
semantic-release-bot b716ae5675 chore(release): 6.2.1 [skip ci]
## [6.2.1](https://git.datacontroller.io/dc/dc/compare/v6.2.0...v6.2.1) (2023-10-08)

### Bug Fixes

* approve, history and submit pages grouped in review module ([e056ece](e056ece223))
* closes [#39](#39) upcase issue in MPE_SECURITY ([a00d31c](a00d31caf3))
* handsontable v13 ([6f482ec](6f482ec6d9))
* latest adapter ([5e30dc0](5e30dc0f89))
* sasjs/cli and sasjs/core updated to the latest ([8571e01](8571e01e44))
* updating editors/stagedata to address issues in particular viya configurations as described in issue [#33](#33) ([94ab949](94ab949df8))
* updating logic for REPLACE loadtype ([1f2ce55](1f2ce55f24))
2023-10-08 19:33:42 +00:00
mihajlo 01a0b59494 Merge pull request 'package-lock re-generated for CI release to pass, fixed development branch CI yaml' (#46) from development into main
Release / release (push) Failing after 6m57s Details
Reviewed-on: #46
2023-10-08 19:30:05 +00:00
Mihajlo Medjedovic 8ebc3da0bb chore(git): Merge branch 'main' into development
Build / Build-and-ng-test (pull_request) Has been cancelled Details
Test / Build-production-and-ng-test (push) Has been cancelled Details
Test / Build-and-test-development (push) Has been cancelled Details
Test / Build-and-test-development-latest-adapter (push) Has been cancelled Details
2023-10-08 21:29:12 +02:00
Mihajlo Medjedovic 133577a4fa ci: fixed development yaml
Test / Build-production-and-ng-test (push) Failing after 2m3s Details
Test / Build-and-test-development-latest-adapter (push) Has been cancelled Details
Test / Build-and-test-development (push) Has been cancelled Details
Build / Build-and-ng-test (pull_request) Successful in 1m22s Details
2023-10-08 21:26:55 +02:00
Mihajlo Medjedovic a19615db41 chore: reverting 6.2.1 release
Release / release (push) Has been cancelled Details
2023-10-08 21:22:29 +02:00
Mihajlo Medjedovic 32b212a6bf chore: package-lock fix 2023-10-08 21:21:35 +02:00
semantic-release-bot 00ec4529cd chore(release): 6.2.1 [skip ci]
## [6.2.1](https://git.datacontroller.io/dc/dc/compare/v6.2.0...v6.2.1) (2023-10-08)

### Bug Fixes

* approve, history and submit pages grouped in review module ([e056ece](e056ece223))
* closes [#39](#39) upcase issue in MPE_SECURITY ([a00d31c](a00d31caf3))
* handsontable v13 ([6f482ec](6f482ec6d9))
* latest adapter ([5e30dc0](5e30dc0f89))
* sasjs/cli and sasjs/core updated to the latest ([8571e01](8571e01e44))
* updating editors/stagedata to address issues in particular viya configurations as described in issue [#33](#33) ([94ab949](94ab949df8))
* updating logic for REPLACE loadtype ([1f2ce55](1f2ce55f24))
2023-10-08 19:08:09 +00:00
mihajlo 102d03888f Merge pull request 'Release fix' (#45) from development into main
Release / release (push) Failing after 7m6s Details
Reviewed-on: #45
2023-10-08 19:06:03 +00:00
mihajlo 9f8247320e Merge pull request 'Master branch sync, release procedure fixing' (#44) from master-sync into development
Build / Build-and-ng-test (pull_request) Successful in 1m20s Details
Reviewed-on: #44
2023-10-08 19:03:01 +00:00
Mihajlo Medjedovic ef871de30e chore: fixing changelog
Build / Build-and-ng-test (pull_request) Successful in 1m20s Details
2023-10-08 20:56:09 +02:00
semantic-release-bot b3a15ce26b chore(release): 6.2.1 [skip ci]
## [6.2.1](https://git.datacontroller.io/dc/dc/compare/v6.2.0...v6.2.1) (2023-10-08)

### Bug Fixes

* approve, history and submit pages grouped in review module ([e056ece](e056ece223))
* closes [#39](#39) upcase issue in MPE_SECURITY ([a00d31c](a00d31caf3))
* handsontable v13 ([6f482ec](6f482ec6d9))
* latest adapter ([5e30dc0](5e30dc0f89))
* sasjs/cli and sasjs/core updated to the latest ([8571e01](8571e01e44))
* updating editors/stagedata to address issues in particular viya configurations as described in issue [#33](#33) ([94ab949](94ab949df8))
* updating logic for REPLACE loadtype ([1f2ce55](1f2ce55f24))
2023-10-08 16:56:17 +00:00
allan 270695aec2 Merge pull request 'fix: triggering release' (#43) from development into main
Release / release (push) Failing after 2m9s Details
Reviewed-on: #43
2023-10-08 16:53:54 +00:00
allan ad7392a326 Merge pull request 'chore: setting legacy-peer-deps in .npmrc' (#42) from npmrc into development
Build / Build-and-ng-test (pull_request) Has been cancelled Details
Reviewed-on: #42
2023-10-08 16:53:03 +00:00
Allan 92a50a42e2 chore: setting legacy-peer-deps in .npmrc
Build / Build-and-ng-test (pull_request) Successful in 1m21s Details
2023-10-08 17:51:27 +01:00
semantic-release-bot a3a8856d8c chore(release): 6.2.1 [skip ci]
## [6.2.1](https://git.datacontroller.io/dc/dc/compare/v6.2.0...v6.2.1) (2023-10-08)

### Bug Fixes

* approve, history and submit pages grouped in review module ([e056ece](e056ece223))
* closes [#39](#39) upcase issue in MPE_SECURITY ([a00d31c](a00d31caf3))
* handsontable v13 ([6f482ec](6f482ec6d9))
* latest adapter ([5e30dc0](5e30dc0f89))
* sasjs/cli and sasjs/core updated to the latest ([8571e01](8571e01e44))
* updating editors/stagedata to address issues in particular viya configurations as described in issue [#33](#33) ([94ab949](94ab949df8))
* updating logic for REPLACE loadtype ([1f2ce55](1f2ce55f24))
2023-10-08 16:49:20 +00:00
allan 150c19b1b0 Merge pull request 'development' (#41) from development into main
Release / release (push) Failing after 2m15s Details
Reviewed-on: #41
2023-10-08 16:46:19 +00:00
allan f04c51ee4e Merge pull request 'fix: closes #39 upcase issue in MPE_SECURITY' (#40) from issue39 into development
Build / Build-and-ng-test (pull_request) Has been cancelled Details
Reviewed-on: #40
2023-10-08 16:45:23 +00:00
Allan c4338bf957 chore: updating tests, post edit hook, and access check macro. #39
Build / Build-and-ng-test (pull_request) Successful in 1m22s Details
2023-10-08 17:42:26 +01:00
Allan 5b06f4ede8 chore: improving docs for mpe_accesscheck and adding a test for mpe_accesscheck
Build / Build-and-ng-test (pull_request) Successful in 1m27s Details
2023-10-07 22:46:32 +01:00
Allan e7ab2cc956 chore: adding mpe_security_postedit hook link in MPE_TABLES on deploy. #39
Build / Build-and-ng-test (pull_request) Successful in 1m28s Details
2023-10-07 18:28:36 +01:00
Allan 5ebf8a66f7 chore: error message source file fix
Build / Build-and-ng-test (pull_request) Successful in 1m19s Details
2023-10-07 00:16:05 +01:00
Allan 3d4e886b9b chore: adding missing dependency
Build / Build-and-ng-test (pull_request) Successful in 1m22s Details
2023-10-07 00:13:48 +01:00
Allan a00d31caf3 fix: closes #39 upcase issue in MPE_SECURITY
Build / Build-and-ng-test (pull_request) Successful in 1m23s Details
adding frontend validation rule, backend upcase enforcement rule, and modification to service code to ensure values are upcased before comparison
2023-10-07 00:11:38 +01:00
allan 40fe707287 Merge pull request 'maincopy' (#38) from maincopy into development
Reviewed-on: #38
2023-09-26 07:40:05 +00:00
Allan 8296be01ba chore: cleanup of items in changelog for v6.2.1
Build / Build-and-ng-test (pull_request) Successful in 1m19s Details
2023-09-26 08:38:40 +01:00
semantic-release-bot dbeb003292 chore(release): 6.2.1 [skip ci]
Build / Build-and-ng-test (pull_request) Successful in 1m25s Details
## [6.2.1](https://git.datacontroller.io/dc/dc/compare/v6.2.0...v6.2.1) (2023-09-25)

### Bug Fixes

* approve, history and submit pages grouped in review module ([e056ece](e056ece223))
* handsontable v13 ([6f482ec](6f482ec6d9))
* latest adapter ([5e30dc0](5e30dc0f89))
* sasjs/cli and sasjs/core updated to the latest ([8571e01](8571e01e44))
* updating editors/stagedata to address issues in particular viya configurations as described in issue [#33](#33) ([94ab949](94ab949df8))
* updating logic for REPLACE loadtype ([1f2ce55](1f2ce55f24))
2023-09-25 14:59:38 +00:00
allan f048501c48 Merge pull request 'development' (#37) from development into main
Release / release (push) Successful in 11m11s Details
Reviewed-on: #37
2023-09-25 14:57:44 +00:00
allan 498350b3f3 Merge pull request 'master-sync' (#36) from master-sync into development
Build / Build-and-ng-test (pull_request) Successful in 1m18s Details
Reviewed-on: #36
Reviewed-by: allan <allan@4gl.io>
2023-09-25 14:55:33 +00:00
Mihajlo Medjedovic 91e82c9c65 ci: npm ci in build.yaml
Build / Build-and-ng-test (pull_request) Successful in 1m19s Details
2023-09-25 16:53:40 +02:00
Mihajlo Medjedovic 24067ea82b chore: calling licence checker script as a part of PR action
Build / Build-and-ng-test (pull_request) Failing after 24s Details
2023-09-25 16:51:33 +02:00
semantic-release-bot aa7deddba0 chore(release): 6.2.1 [skip ci]
## [6.2.1](https://git.datacontroller.io/dc/dc/compare/v6.2.0...v6.2.1) (2023-09-25)

### Bug Fixes

* approve, history and submit pages grouped in review module ([e056ece](e056ece223))
* handsontable v13 ([6f482ec](6f482ec6d9))
* latest adapter ([5e30dc0](5e30dc0f89))
* sasjs/cli and sasjs/core updated to the latest ([8571e01](8571e01e44))
* updating editors/stagedata to address issues in particular viya configurations as described in issue [#33](#33) ([94ab949](94ab949df8))
* updating logic for REPLACE loadtype ([1f2ce55](1f2ce55f24))
2023-09-25 14:33:27 +00:00
allan b2d13203d1 Merge pull request 'development' (#34) from development into main
Release / release (push) Failing after 2m25s Details
Reviewed-on: #34
2023-09-25 14:31:25 +00:00
mihajlo 19c1092b5b Merge pull request 'fix: latest adapter' (#32) from adapter-bump into development
Build / Build-and-ng-test (pull_request) Successful in 25s Details
Reviewed-on: #32
2023-09-25 14:26:49 +00:00
Mihajlo Medjedovic 94ab949df8 fix: updating editors/stagedata to address issues in particular viya configurations as described in issue #33
Build / Build-and-ng-test (pull_request) Successful in 25s Details
2023-09-25 16:24:50 +02:00
Mihajlo Medjedovic 9eb2451c2f chore(git): Merge branch 'adapter-bump' of ssh://git.datacontroller.io:29419/dc/dc into adapter-bump 2023-09-07 12:52:25 +02:00
zver 6e521bfa3e chore: renaming format names due to changes in how Viya treats the last letter
Build / Build-and-ng-test (pull_request) Failing after 23s Details
2023-09-07 11:49:29 +01:00
Mihajlo Medjedovic 239720fe0c chore(git): Merge branch 'development' into adapter-bump 2023-09-07 12:13:17 +02:00
Mihajlo Medjedovic 8571e01e44 fix: sasjs/cli and sasjs/core updated to the latest 2023-09-07 12:12:09 +02:00
Mihajlo Medjedovic 6f482ec6d9 fix: handsontable v13
Build / Build-and-ng-test (pull_request) Failing after 23s Details
2023-09-06 21:57:11 +02:00
Mihajlo Medjedovic 5e30dc0f89 fix: latest adapter
Build / Build-and-ng-test (pull_request) Failing after 24s Details
2023-09-06 17:14:49 +02:00
semantic-release-bot 3d76d12c86 chore(release): 6.2.1 [skip ci]
## [6.2.1](https://git.datacontroller.io/dc/dc/compare/v6.2.0...v6.2.1) (2023-08-25)

### Bug Fixes

* approve, history and submit pages grouped in review module ([e056ece](e056ece223))
* updating logic for REPLACE loadtype ([1f2ce55](1f2ce55f24))
2023-08-25 11:46:06 +00:00
allan 93f1b81d70 Merge pull request 'Refactoring solo pages into a modules' (#19) from tsdoc into development
Release / release (push) Failing after 2m2s Details
Build / Build-and-ng-test (pull_request) Successful in 24s Details
Reviewed-on: #19
Reviewed-by: allan <allan@4gl.io>
2023-08-25 11:24:10 +00:00
allan e2b65ddd82 Merge branch 'development' into tsdoc
Build / Build-and-ng-test (pull_request) Successful in 22s Details
2023-08-25 11:19:38 +00:00
allan b64bbe91d4 Merge pull request 'fix: updating logic for REPLACE loadtype' (#25) from replace into development
Reviewed-on: #25
2023-08-25 11:19:16 +00:00
Allan 1f2ce55f24 fix: updating logic for REPLACE loadtype
Build / Build-and-ng-test (pull_request) Successful in 24s Details
Staged rows are always considered as NEW, and previous rows are considered DELETED
This is consistent with the fact that REPLACE involves a delete *, followed by an append.
2023-08-25 12:17:43 +01:00
Mihajlo Medjedovic 921157da9e chore(git): Merge branch 'development' into tsdoc
Build / Build-and-ng-test (pull_request) Successful in 23s Details
Release / release (push) Has been cancelled Details
2023-08-24 12:17:01 +02:00
allan 413acf7d05 Merge pull request 'main to dev' (#23) from main into development
Reviewed-on: #23
2023-08-24 10:12:26 +00:00
Mihajlo Medjedovic 725f75aa74 style: lint
Build / Build-and-ng-test (pull_request) Successful in 23s Details
2023-08-24 11:52:02 +02:00
Mihajlo Medjedovic c64ab8a577 chore(git): Merge branch 'tsdoc' of ssh://git.datacontroller.io:29419/dc/dc into tsdoc
Build / Build-and-ng-test (pull_request) Failing after 22s Details
2023-08-24 11:50:53 +02:00
Mihajlo Medjedovic 1154c99e0a ci: surfer install 2023-08-24 11:44:54 +02:00
dcbot 5bcdef77b8 Merge branch 'development' into tsdoc
Build / Build-and-ng-test (pull_request) Failing after 22s Details
2023-08-24 09:43:45 +00:00
semantic-release-bot e4a0089102 chore(release): 6.2.0 [skip ci]
Build / Build-and-ng-test (pull_request) Successful in 23s Details
# [6.2.0](https://git.datacontroller.io/dc/dc/compare/v6.1.0...v6.2.0) (2023-08-24)

### Bug Fixes

* re-enabling full REPLACE uploads ([08e39c4](08e39c4fca))

### Features

* support for European numeric formats ([e48e47b](e48e47bc63))
2023-08-24 08:53:36 +00:00
Mihajlo Medjedovic ba022d8a35 ci: surfer install
Release / release (push) Failing after 11m15s Details
2023-08-24 10:51:38 +02:00
semantic-release-bot c8ac859d2e chore(release): 6.2.0 [skip ci]
# [6.2.0](https://git.datacontroller.io/dc/dc/compare/v6.1.0...v6.2.0) (2023-08-24)

### Bug Fixes

* re-enabling full REPLACE uploads ([08e39c4](08e39c4fca))

### Features

* support for European numeric formats ([e48e47b](e48e47bc63))
2023-08-24 08:30:06 +00:00
allan d6fd72e880 Merge pull request 'Create Release' (#22) from development into main
Release / release (push) Failing after 11m15s Details
Reviewed-on: #22
2023-08-23 23:12:38 +00:00
allan 61cc360c85 Merge pull request 'fix: re-enabling full REPLACE uploads' (#21) from issue20 into development
Build / Build-and-ng-test (pull_request) Successful in 23s Details
Reviewed-on: #21
2023-08-23 23:10:23 +00:00
Allan 08e39c4fca fix: re-enabling full REPLACE uploads
Build / Build-and-ng-test (pull_request) Successful in 24s Details
Implemented by provision of the necessary temp tables
2023-08-24 00:09:25 +01:00
allan 8c2ee441fc Merge pull request 'Added support for European numeric formats' (#16) from issue-1 into development
Reviewed-on: #16
Reviewed-by: allan <allan@4gl.io>
2023-08-23 14:46:37 +00:00
allan 0a7d23c763 Merge branch 'development' into issue-1
Build / Build-and-ng-test (pull_request) Successful in 25s Details
2023-08-23 14:45:59 +00:00
Mihajlo Medjedovic 7b54fff26e chore: typo fix
Build / Build-and-ng-test (pull_request) Failing after 22s Details
2023-08-04 12:18:31 +02:00
Mihajlo Medjedovic cd3e0f614b chore: adding comments part 3
Build / Build-and-ng-test (pull_request) Failing after 23s Details
2023-08-04 12:05:00 +02:00
Mihajlo Medjedovic 81c0aec202 chore: removed column.ts leftover 2023-08-04 08:52:53 +02:00
Mihajlo Medjedovic 3193bdd720 chore: removing cellValidation leftover 2023-08-03 22:33:16 +02:00
Mihajlo Medjedovic b9a12454e1 chore: removing table.ts leftover 2023-08-03 22:31:59 +02:00
Mihajlo Medjedovic 01a857f7c6 chore: adding comments part 2 2023-08-03 22:31:17 +02:00
Mihajlo Medjedovic 2bb2eee80e chore: removed commented code about old workaround for excel upload validation 2023-08-03 21:58:50 +02:00
Mihajlo Medjedovic c054ea500d chore: adding comments part1 2023-08-03 17:56:34 +02:00
Mihajlo Medjedovic d7f8201246 ci: tsdoc -> webdoc
Build / Build-and-ng-test (pull_request) Failing after 22s Details
2023-08-02 09:24:16 +02:00
Mihajlo Medjedovic 622cfcc6fe chore: removed edit-route leftover
Build / Build-and-ng-test (pull_request) Failing after 21s Details
2023-08-01 16:45:18 +02:00
Mihajlo Medjedovic 303240e4d2 style: lint
Build / Build-and-ng-test (pull_request) Successful in 23s Details
2023-08-01 16:40:03 +02:00
Mihajlo Medjedovic a8b849aede chore: modularization refactor finish 2023-08-01 16:39:45 +02:00
Mihajlo Medjedovic ca281b70c9 chore(git): Merge branch 'development' into tsdoc
Build / Build-and-ng-test (pull_request) Failing after 22s Details
2023-08-01 14:52:53 +02:00
Mihajlo Medjedovic e056ece223 fix: approve, history and submit pages grouped in review module
Build / Build-and-ng-test (pull_request) Failing after 1m5s Details
Using compodoc instead of typedoc because of better angular support.
2023-08-01 14:50:04 +02:00
allan 0ae35214fb Merge pull request 'Removed ng build and ng test from PR action' (#17) from ci into development
Reviewed-on: #17
Reviewed-by: allan <allan@4gl.io>
2023-07-31 12:05:32 +00:00
Mihajlo Medjedovic 34ffac39cb ci: PR will only run lint check
Build / Build-and-ng-test (pull_request) Successful in 23s Details
2023-07-31 13:13:00 +02:00
Mihajlo Medjedovic 52d4b3eefc chore(git): Merge branch 'issue-1' of ssh://git.datacontroller.io:29419/dc/dc into issue-1
Build / Build-and-ng-test (pull_request) Successful in 7m52s Details
2023-07-31 10:12:40 +02:00
Mihajlo Medjedovic 908d2761f2 chore: addressing comments 2023-07-31 10:12:22 +02:00
mihajlo 7c98ad8c5b Merge branch 'development' into issue-1
Build / Build-and-ng-test (pull_request) Successful in 7m40s Details
2023-07-28 18:10:25 +00:00
Mihajlo Medjedovic 5bb55e6484 style: lint
Build / Build-and-ng-test (pull_request) Successful in 7m39s Details
2023-07-28 20:03:58 +02:00
Mihajlo Medjedovic e48e47bc63 feat: support for European numeric formats 2023-07-28 20:03:41 +02:00
allan 2a3f4f755c Merge pull request 'Releasing of `tsdoc.datacontroller.io`' (#15) from ci into development
Test / Build-and-test-development (push) Successful in 11m20s Details
Test / Build-and-test-development-latest-adapter (push) Successful in 11m23s Details
Reviewed-on: #15
Reviewed-by: allan <allan@4gl.io>
2023-07-27 19:34:16 +00:00
Mihajlo Medjedovic ddfae9227c chore(git): Merge branch 'development' into ci
Build / Build-and-ng-test (pull_request) Successful in 7m31s Details
2023-07-27 19:26:06 +02:00
mihajlo c74378423d Merge pull request 'chore: improving the descriptions of the steps in the release.yaml file' (#11) from releasedoc into development
Test / Build-and-test-development (push) Successful in 11m25s Details
Test / Build-and-test-development-latest-adapter (push) Successful in 11m25s Details
Reviewed-on: #11
Reviewed-by: mihajlo <mihajlo@4gl.io>
2023-07-27 17:24:51 +00:00
Mihajlo Medjedovic 0e020623a5 chore(git): Merge branch 'development' into releasedoc
Build / Build-and-ng-test (pull_request) Successful in 7m34s Details
2023-07-27 19:23:57 +02:00
Mihajlo Medjedovic eeb4000efe ci: releasing typedoc 2023-07-27 19:20:14 +02:00
mihajlo 2053c858ac Merge pull request 'Added cypress videos to the build artifacts' (#14) from ci into development
Test / Build-and-test-development (push) Successful in 11m29s Details
Test / Build-and-test-development-latest-adapter (push) Successful in 11m34s Details
Reviewed-on: #14
Reviewed-by: allan <allan@4gl.io>
2023-07-27 12:58:08 +00:00
Mihajlo Medjedovic 4c2c5d5526 style: lint
Build / Build-and-ng-test (pull_request) Successful in 7m38s Details
2023-07-27 13:49:13 +02:00
Mihajlo Medjedovic 7ccc745eb2 chore(git): Merge branch 'development' into ci
Build / Build-and-ng-test (pull_request) Failing after 1m2s Details
2023-07-27 13:15:39 +02:00
Mihajlo Medjedovic e93367fb42 ci: capturing cypress videos
Build / Build-and-ng-test (pull_request) Failing after 1m3s Details
2023-07-27 13:09:16 +02:00
allan 250fb1e8cf Merge pull request 'ci: release' (#13) from ci into development
Test / Build-and-test-development (push) Failing after 12m32s Details
Test / Build-and-test-development-latest-adapter (push) Successful in 11m15s Details
Reviewed-on: #13
Reviewed-by: allan <allan@4gl.io>
2023-07-26 19:02:05 +00:00
Mihajlo Medjedovic 1c2b87940d ci: release
Build / Build-and-ng-test (pull_request) Successful in 7m30s Details
2023-07-26 13:39:04 +02:00
Allan 25fed203c6 chore: improving the descriptions of the steps in the release.yaml file
Build / Build-and-ng-test (pull_request) Successful in 7m29s Details
2023-07-25 21:36:10 +01:00
semantic-release-bot bba2a6cc9d chore(release): 6.1.0 [skip ci]
Release / release (push) Successful in 11m2s Details
# [6.1.0](https://git.datacontroller.io/dc/dc/compare/v6.0.0...v6.1.0) (2023-07-25)

### Bug Fixes

* missing mf_existds dependency in bitemporal_dataloader ([5ce1701](5ce1701657))
* reducing audit data volumes. Closes [#4](#4) ([54fe701](54fe7013b1))
* release script, excel upload duplicate primary keys, cypress fix ([2f79487](2f79487aea))

### Features

* full format deletion, closes [#2](#2) ([8dc40bd](8dc40bdd4e))
2023-07-25 15:14:52 +00:00
allan b036cc2abe Merge pull request 'adding PDF of non commercial licence to repo' (#10) from development into main
Release / release (push) Successful in 10m14s Details
Reviewed-on: #10
2023-07-25 14:41:56 +00:00
allan 218b15918d Merge branch 'main' into development
Test / Build-and-test-development-latest-adapter (push) Has been cancelled Details
Test / Build-and-test-development (push) Has been cancelled Details
Build / Build-and-ng-test (pull_request) Has been cancelled Details
2023-07-25 14:41:44 +00:00
Allan 19489a68a7 chore: merge commit
Test / Build-and-test-development-latest-adapter (push) Has been cancelled Details
Test / Build-and-test-development (push) Has been cancelled Details
Build / Build-and-ng-test (pull_request) Has been cancelled Details
2023-07-25 15:39:55 +01:00
Allan 7d7061a78a chore: adding pdf version of the non commercial licence 2023-07-25 15:38:47 +01:00
allan 1aceb297ba Merge pull request 'Merging Development' (#5) from development into main
Release / release (push) Failing after 1m53s Details
Reviewed-on: #5
2023-07-25 14:19:46 +00:00
allan cdee7480c2 Merge pull request 'CI Integration and Cypress test fixing' (#9) from ci into development
Test / Build-and-test-development (push) Has been cancelled Details
Test / Build-and-test-development-latest-adapter (push) Has been cancelled Details
Build / Build-and-ng-test (pull_request) Successful in 7m38s Details
Reviewed-on: #9
Reviewed-by: allan <allan@4gl.io>
2023-07-25 13:54:21 +00:00
Mihajlo Medjedovic bb2fb235aa chore(git): Merge branch 'ci' of ssh://git.datacontroller.io:29419/dc/dc into ci
Build / Build-and-ng-test (pull_request) Has been cancelled Details
2023-07-25 15:51:47 +02:00
Mihajlo Medjedovic b2f88e203a chore: ci and repo links 2023-07-25 15:45:11 +02:00
allan c2f1af99ef Merge branch 'development' into ci
Build / Build-and-ng-test (pull_request) Successful in 7m32s Details
2023-07-25 13:36:03 +00:00
Mihajlo Medjedovic 00e9dff1d9 chore: removed woodpecker ci
Build / Build-and-ng-test (pull_request) Failing after 1m2s Details
2023-07-25 14:21:32 +02:00
allan 82d74e6fee Merge pull request 'fix: missing mf_existds dependency in bitemporal_dataloader' (#7) from issue4 into development
Test / Build-and-test-development (push) Failing after 4m54s Details
Test / Build-and-test-development-latest-adapter (push) Failing after 4m52s Details
Build / Build-and-ng-test (pull_request) Successful in 7m30s Details
Reviewed-on: #7
2023-07-25 10:06:41 +00:00
allan f1e2770574 Merge branch 'development' into issue4
Build / Build-and-ng-test (pull_request) Successful in 7m32s Details
2023-07-25 10:06:15 +00:00
Allan 5ce1701657 fix: missing mf_existds dependency in bitemporal_dataloader
Build / Build-and-ng-test (pull_request) Successful in 7m28s Details
2023-07-25 11:05:01 +01:00
Mihajlo Medjedovic 2f79487aea fix: release script, excel upload duplicate primary keys, cypress fix 2023-07-25 11:34:58 +02:00
allan fefdfaf17b chore: readme tidyup
Test / Build-and-test-development (push) Has been cancelled Details
Test / Build-and-test-development-latest-adapter (push) Has been cancelled Details
Build / Build-and-ng-test (pull_request) Successful in 7m32s Details
2023-07-25 08:56:07 +00:00
allan c1e6f71430 chore: line spacing
Test / Build-and-test-development (push) Has been cancelled Details
Test / Build-and-test-development-latest-adapter (push) Has been cancelled Details
Build / Build-and-ng-test (pull_request) Has been cancelled Details
2023-07-25 08:52:27 +00:00
allan a8310fa63f Merge pull request 'fix: reducing audit data volumes. Closes #4' (#6) from issue4 into development
Test / Build-and-test-development (push) Failing after 4m55s Details
Test / Build-and-test-development-latest-adapter (push) Failing after 4m48s Details
Build / Build-and-ng-test (pull_request) Successful in 7m34s Details
Reviewed-on: #6
2023-07-25 08:50:32 +00:00
Allan e28ac814b8 chore: readme update
Build / Build-and-ng-test (pull_request) Successful in 7m34s Details
2023-07-25 09:48:49 +01:00
Allan 45fed59a65 chore: readme
Build / Build-and-ng-test (pull_request) Successful in 7m34s Details
2023-07-25 09:47:27 +01:00
Allan 310399112b chore: licence updates 2023-07-25 09:09:57 +01:00
Allan 01238fc8a9 chore: newline in _eula.ts
Build / Build-and-ng-test (pull_request) Successful in 7m27s Details
2023-07-25 09:05:57 +01:00
Allan 365e46c568 chore: postdata comment 2023-07-25 09:05:28 +01:00
Allan 8d336e5b46 chore: updating tests
Build / Build-and-ng-test (pull_request) Failing after 1m0s Details
2023-07-21 14:23:22 +01:00
Allan 54fe7013b1 fix: reducing audit data volumes. Closes #4
Build / Build-and-ng-test (pull_request) Failing after 1m12s Details
2023-07-20 21:29:34 +01:00
Allan 8dc40bdd4e feat: full format deletion, closes #2
Test / Build-and-test-development (push) Failing after 6m16s Details
Test / Build-and-test-development-latest-adapter (push) Failing after 6m22s Details
Build / Build-and-ng-test (pull_request) Failing after 1m12s Details
2023-07-20 16:12:59 +01:00
Mihajlo Medjedovic d88ab8bf58 ci: removed legacy-peer-deps flag
Test / Build-and-test-development (push) Failing after 6m27s Details
Test / Build-and-test-development-latest-adapter (push) Failing after 6m25s Details
2023-07-14 12:27:33 +02:00
Mihajlo Medjedovic 67030ab033 chore: contributing
Test / Build-and-test-development (push) Has started running Details
Test / Build-and-test-development-latest-adapter (push) Has been cancelled Details
2023-07-13 14:11:50 +02:00
133 changed files with 17940 additions and 10351 deletions

View File

@ -1,5 +1,5 @@
name: Build
run-name: Building and testing DC
run-name: Running Lint Check and Licence checker on Pull Request
on: [pull_request]
jobs:
@ -18,21 +18,8 @@ jobs:
env:
NPMRC: ${{ secrets.NPMRC}}
- run: apt-get update
- run: wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- run: apt install -y ./google-chrome*.deb;
- run: export CHROME_BIN=/usr/bin/google-chrome
- run: npm run lint:check
# Install dependencies~
- run: npm ci --legacy-peer-deps
# Audit should fail and stop the CI if critical vulnerability found
- run: npm audit --audit-level=critical
- run: |
cd ./sas
npm audit --audit-level=critical
- run: |
cd ./client
npm audit --audit-level=critical
npm test -- --no-watch --no-progress --browsers=ChromeHeadlessCI
npm run postinstall
npm run build
cd client
npm ci
npm run license-checker

View File

@ -1,172 +0,0 @@
name: Test
run-name: Building and testing development branch
on:
push:
branches:
- development
jobs:
Build-and-test-development:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Write .npmrc file
run: echo "$NPMRC" > client/.npmrc
shell: bash
env:
NPMRC: ${{ secrets.NPMRC}}
- run: apt-get update
- run: wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- run: apt install -y ./google-chrome*.deb;
- run: export CHROME_BIN=/usr/bin/google-chrome
- run: apt-get update -y
- run: apt-get -y install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb
- run: apt -y install jq
# - run: 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
# - run: eval $(ssh-agent -s)
# - run: echo "$ssh_key" | tr -d '\r' | ssh-add -
- name: Write cypress credentials
run: echo "$CYPRESS_CREDS" > ./client/cypress.env.json
shell: bash
env:
CYPRESS_CREDS: ${{ secrets.CYPRESS_CREDS }}
# - run: mkdir -p ~/.ssh
# - run: chmod 700 ~/.ssh
- run: npm ci --legacy-peer-deps
# Install pm2 and prepare SASJS server
- run: npm i -g pm2
- run: curl -L https://github.com/sasjs/server/releases/latest/download/linux.zip > linux.zip
- run: unzip linux.zip
- run: touch .env
- run: echo RUN_TIMES=js >> .env
- run: echo NODE_PATH=node >> .env
- run: echo CORS=enable >> .env
- run: echo WHITELIST=http://localhost:4200 >> .env
# - run: echo "SERVER_URL=$server_url" >> .env
# - run: echo "SERVER_TYPE=$server_type" >> .env
# - run: echo "CLIENT=$client_sasjs" >> .env
# - run: echo "ACCESS_TOKEN=$access_token_sasjs" >> .env
# - run: echo "REFRESH_TOKEN=$refresh_token_sasjs" >> .env
# - run: cat .env
- run: pm2 start api-linux --wait-ready
- name: Deploy mocked services
run: |
cd ./sas/mocks/sasjs
npm install --legacy-peer-deps -g @sasjs/cli
npm install --legacy-peer-deps -g replace-in-files-cli
sasjs cbd -t server-ci
# sasjs request services/admin/makedata -t server-ci -d ./deploy/makeData4GL.json -c ./deploy/requestConfig.json -o ./output.json
- name: Prepare frontend
run: |
cd ./client
# mv ./cypress.env.example.json ./cypress.env.json
# replace-in-files --regex='"username".*' --replacement='"username":"'$cypress_username_sasjs'",' ./cypress.env.json
# replace-in-files --regex='"password".*' --replacement='"password":"'$cypress_pwd_sasjs'" ' ./cypress.env.json
cat ./cypress.env.json
npm run postinstall
# Prepare index.html to SASJS local
replace-in-files --regex='serverUrl=".*?"' --replacement='serverUrl="http://localhost:5000"' ./src/index.html
replace-in-files --regex='appLoc=".*?"' --replacement='appLoc="/Public/app/devtest"' ./src/index.html
replace-in-files --regex='serverType=".*?"' --replacement='serverType="SASJS"' ./src/index.html
# Prepare and deploy SASJS version
# replace-in-files --regex='serverurl=".*?"' --replacement='serverUrl="http://localhost:5000"' ./dist/index.html
# replace-in-files --regex='apploc=".*?"' --replacement='appLoc="/30.SASApps/app/devtest"' ./dist/index.html
# replace-in-files --regex='servertype=".*?"' --replacement='serverType="SASJS"' ./dist/index.html
# scp -o stricthostkeychecking=no -r ./dist/* dcgitlab@sas.4gl.io:/var/www/html/dcviya/development/newadapter
replace-in-files --regex='"hosturl".*' --replacement='hosturl:"http://localhost:4200",' ./cypress.config.ts
# replace-in-files --regex='"appLocation".*' --replacement='appLocation:"/dcviya/development/newadapter",' ./cypress.config.ts
cat ./cypress.config.ts
# Start frontend and run cypress
npm start & npx wait-on http://localhost:4200 && ./run-cypress-tests.sh
Build-and-test-development-latest-adapter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Write .npmrc file
run: echo "$NPMRC" > client/.npmrc
shell: bash
env:
NPMRC: ${{ secrets.NPMRC}}
- run: apt-get update
- run: wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- run: apt install -y ./google-chrome*.deb;
- run: export CHROME_BIN=/usr/bin/google-chrome
- run: apt-get update -y
- run: apt-get -y install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb
- run: apt -y install jq
# - run: 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
# - run: eval $(ssh-agent -s)
# - run: echo "$ssh_key" | tr -d '\r' | ssh-add -
- name: Write cypress credentials
run: echo "$CYPRESS_CREDS" > ./client/cypress.env.json
shell: bash
env:
CYPRESS_CREDS: ${{ secrets.CYPRESS_CREDS }}
# - run: mkdir -p ~/.ssh
# - run: chmod 700 ~/.ssh
- run: npm ci --legacy-peer-deps
# Install pm2 and prepare SASJS server
- run: npm i -g pm2
- run: curl -L https://github.com/sasjs/server/releases/latest/download/linux.zip > linux.zip
- run: unzip linux.zip
- run: touch .env
- run: echo RUN_TIMES=js >> .env
- run: echo NODE_PATH=node >> .env
- run: echo CORS=enable >> .env
- run: echo WHITELIST=http://localhost:4200 >> .env
# - run: echo "SERVER_URL=$server_url" >> .env
# - run: echo "SERVER_TYPE=$server_type" >> .env
# - run: echo "CLIENT=$client_sasjs" >> .env
# - run: echo "ACCESS_TOKEN=$access_token_sasjs" >> .env
# - run: echo "REFRESH_TOKEN=$refresh_token_sasjs" >> .env
# - run: cat .env
- run: pm2 start api-linux --wait-ready
- name: Deploy mocked services
run: |
cd ./sas/mocks/sasjs
npm install --legacy-peer-deps -g @sasjs/cli
npm install --legacy-peer-deps -g replace-in-files-cli
sasjs cbd -t server-ci
# sasjs request services/admin/makedata -t server-ci -d ./deploy/makeData4GL.json -c ./deploy/requestConfig.json -o ./output.json
- name: Prepare frontend
run: |
cd ./client
# mv ./cypress.env.example.json ./cypress.env.json
# replace-in-files --regex='"username".*' --replacement='"username":"'$cypress_username_sasjs'",' ./cypress.env.json
# replace-in-files --regex='"password".*' --replacement='"password":"'$cypress_pwd_sasjs'" ' ./cypress.env.json
cat ./cypress.env.json
npm run postinstall
npm install --legacy-peer-deps @sasjs/adapter@latest
# Prepare index.html to SASJS local
replace-in-files --regex='serverUrl=".*?"' --replacement='serverUrl="http://localhost:5000"' ./src/index.html
replace-in-files --regex='appLoc=".*?"' --replacement='appLoc="/Public/app/devtest"' ./src/index.html
replace-in-files --regex='serverType=".*?"' --replacement='serverType="SASJS"' ./src/index.html
# Prepare and deploy SASJS version
# replace-in-files --regex='serverurl=".*?"' --replacement='serverUrl="http://localhost:5000"' ./dist/index.html
# replace-in-files --regex='apploc=".*?"' --replacement='appLoc="/30.SASApps/app/devtest"' ./dist/index.html
# replace-in-files --regex='servertype=".*?"' --replacement='serverType="SASJS"' ./dist/index.html
# scp -o stricthostkeychecking=no -r ./dist/* dcgitlab@sas.4gl.io:/var/www/html/dcviya/development/newadapter
replace-in-files --regex='"hosturl".*' --replacement='hosturl:"http://localhost:4200",' ./cypress.config.ts
# replace-in-files --regex='"appLocation".*' --replacement='appLocation:"/dcviya/development/newadapter",' ./cypress.config.ts
cat ./cypress.config.ts
# Start frontend and run cypress
npm start & npx wait-on http://localhost:4200 && ./run-cypress-tests.sh

View File

@ -1,13 +1,151 @@
name: Release
run-name: Releasing DC
run-name: Testing and Releasing DC
on:
push:
branches:
- main
jobs:
Build-production-and-ng-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Write .npmrc file
run: |
touch client/.npmrc
echo '${{ secrets.NPMRC}}' > client/.npmrc
- name: Install Chrome for Angular tests
run: |
apt-get update
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
apt install -y ./google-chrome*.deb;
export CHROME_BIN=/usr/bin/google-chrome
- name: Write cypress credentials
run: echo "$CYPRESS_CREDS" > ./client/cypress.env.json
shell: bash
env:
CYPRESS_CREDS: ${{ secrets.CYPRESS_CREDS }}
- name: Install dependencies
run: npm ci
- name: Check audit
# Audit should fail and stop the CI if critical vulnerability found
run: |
npm audit --audit-level=critical --omit=dev
cd ./sas
npm audit --audit-level=critical --omit=dev
cd ../client
npm audit --audit-level=critical --omit=dev
- name: Angular Tests
run: |
cd client
npm test -- --no-watch --no-progress --browsers=ChromeHeadlessCI
- name: Angular Production Build
run: |
cd client
npm run postinstall
npm run build
Build-and-test-development:
runs-on: ubuntu-latest
needs: Build-production-and-ng-test
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Write .npmrc file
run: |
touch client/.npmrc
echo '${{ secrets.NPMRC}}' > client/.npmrc
- run: apt-get update
- run: wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- run: apt install -y ./google-chrome*.deb;
- run: export CHROME_BIN=/usr/bin/google-chrome
- run: apt-get update -y
- run: apt-get -y install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb
- run: apt -y install jq
- name: Write cypress credentials
run: echo "$CYPRESS_CREDS" > ./client/cypress.env.json
shell: bash
env:
CYPRESS_CREDS: ${{ secrets.CYPRESS_CREDS }}
- name: Install dependencies
run: npm ci
# Install pm2 and prepare SASJS server
- run: npm i -g pm2
- run: curl -L https://github.com/sasjs/server/releases/latest/download/linux.zip > linux.zip
- run: unzip linux.zip
- run: touch .env
- run: echo RUN_TIMES=js >> .env
- run: echo NODE_PATH=node >> .env
- run: echo CORS=enable >> .env
- run: echo WHITELIST=http://localhost:4200 >> .env
- run: cat .env
- run: pm2 start api-linux --wait-ready
- name: Deploy mocked services
run: |
cd ./sas/mocks/sasjs
npm install -g @sasjs/cli
npm install -g replace-in-files-cli
sasjs cbd -t server-ci
# sasjs request services/admin/makedata -t server-ci -d ./deploy/makeData4GL.json -c ./deploy/requestConfig.json -o ./output.json
- name: Install ZIP
run: |
apt-get update
apt-get install zip
- name: Prepare and run frontend and cypress
run: |
cd ./client
mv ./cypress.env.example.json ./cypress.env.json
replace-in-files --regex='"username".*' --replacement='"username":"'${{ secrets.CYPRESS_USERNAME_SASJS }}'",' ./cypress.env.json
replace-in-files --regex='"password".*' --replacement='"password":"'${{ secrets.CYPRESS_PWD_SASJS }}'" ' ./cypress.env.json
cat ./cypress.env.json
npm run postinstall
# Prepare index.html to SASJS local
replace-in-files --regex='serverUrl=".*?"' --replacement='serverUrl="http://localhost:5000"' ./src/index.html
replace-in-files --regex='appLoc=".*?"' --replacement='appLoc="/Public/app/devtest"' ./src/index.html
replace-in-files --regex='serverType=".*?"' --replacement='serverType="SASJS"' ./src/index.html
replace-in-files --regex='"hosturl".*' --replacement='hosturl:"http://localhost:4200",' ./cypress.config.ts
cat ./cypress.config.ts
# Start frontend and run cypress
npm start & npx wait-on http://localhost:4200 && npx cypress run --browser chrome --spec "cypress/e2e/liveness.cy.ts,cypress/e2e/editor.cy.ts,cypress/e2e/excel.cy.ts,cypress/e2e/filtering.cy.ts,cypress/e2e/licensing.cy.ts"
- name: Zip Cypress videos
if: always()
run: |
zip -r cypress-videos ./client/cypress/videos
- name: Add cypress videos artifacts
if: always()
uses: actions/upload-artifact@v3
with:
name: cypress-videos.zip
path: cypress-videos.zip
release:
runs-on: ubuntu-latest
needs: [Build-production-and-ng-test, Build-and-test-development]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
@ -22,29 +160,103 @@ jobs:
env:
NPMRC: ${{ secrets.NPMRC}}
- name: Install ZIP
- name: Install packages
run: |
apt-get update
apt-get install zip
apt-get install zip -y
# sasjs cli is used to compile & build the SAS services
npm i -g @sasjs/cli
# jq is used to parse the release JSON
apt-get install jq -y
- name: release-build
- name: Create Empty Release (assets are posted later)
run: |
npm i
npm i -g semantic-release
# We do a semantic-release DRY RUN to make the job fail if there are no changes to release
GITEA_TOKEN=${{ secrets.RELEASE_TOKEN }} GITEA_URL=https://git.datacontroller.io semantic-release --dry-run | grep -q "There are no relevant changes, so no new version is released." && exit 1
GITEA_TOKEN=${{ secrets.RELEASE_TOKEN }} GITEA_URL=https://git.datacontroller.io semantic-release
- name: Frontend Build
description: Must be created AFTER the release as the version (git tag) is used in the interface
run: |
cd client
npm ci
npm run build
zip -r dist.zip ./dist
- name: Install Semantic Release and plugins
- name: Build SAS9 EBI Release
description: Compile SAS 9 services, remove tests & create deployment program
run: |
cd sas
npm i
npm i -g semantic-release
sasjs c -t sas9
rm -rf sasjsbuild/tests
sasjs b -t sas9
cp sasjsbuild/mysas9deploy.sas ./demostream_sas9.sas
#
# remove streamed component and rebuild SAS 9 services
#
rm -rf sasjsbuild/services/web9
rm sasjsbuild/services/clickme.sas
sasjs b -t sas9
cp sasjsbuild/mysas9deploy.sas ./sas9.sas
- name: Release
- name: Build SASjs Server Release
description: Compile Base (SASjs) services, remove tests & create deployment JSON
run: |
GITEA_TOKEN=${{ secrets.RELEASE_TOKEN }} GITEA_URL=https://git.datacontroller.io semantic-release
cd sas
cp sasjs/utils/favicon.ico ../client/dist/favicon.ico
sasjs c -t server
rm -rf sasjsbuild/tests
sasjs b -t server
cp sasjsbuild/server.json.zip ./sasjs_server.json.zip
- name: Build Viya Release
description: compile Viya Streaming Deploy (without tests)
run: |
cd sas
sasjs c -t viya
rm -rf sasjsbuild/tests
sed -i -e 's/servertype="SASJS"/servertype="SASVIYA"/g' sasjsbuild/services/clickme.html
sasjs b -t viya
cp sasjsbuild/viya.sas ./demostream_viya.sas
# compile Viya Full deploy (without web)
rm -rf sasjsbuild/services/web
rm sasjsbuild/services/clickme.html
sasjs b -t viya
cp sasjsbuild/viya.sas ./viya.sas
- name: Zip Frontend (including viya.json for full viya deploy)
run: |
cd sas
cp sasjsbuild/viya.json ../client/dist
cd ..
zip -r frontend.zip ./client/dist
- name: Release Typedoc
run: |
cd client
npm run typedoc
# deploy docs
npm -g install cloudron-surfer
npm run compodoc:build
surfer put --token ${{ secrets.TSDOC_TOKEN }} --server webdoc.datacontroller.io documentation/* /
- name: Release code.datacontroller.io
run: |
cd sas
sasjs doc
surfer put --token ${{ secrets.CODE_DATACONTROLLER_IO }} --server code.datacontroller.io sasjsbuild/sasdocs/* /
- name: Upload assets to release
run: |
RELEASE_ID=`curl -k 'https://git.datacontroller.io/api/v1/repos/dc/dc/releases/latest?access_token=${{ secrets.RELEASE_TOKEN }}' | jq -r '.id'`
RELEASE_BODY=`curl -k 'https://git.datacontroller.io/api/v1/repos/dc/dc/releases/latest?access_token=${{ secrets.RELEASE_TOKEN }}' | jq -r '.body'`
# Update body
curl --data '{"draft": false,"body":"'"$RELEASE_BODY\n\nFor installation instructions, please visit https://docs.datacontroller.io/"'"}' -X PATCH --header 'Content-Type: application/json' -k https://git.datacontroller.io/api/v1/repos/dc/dc/releases/$RELEASE_ID?access_token=${{ secrets.RELEASE_TOKEN }}
# Upload assets
URL="https://git.datacontroller.io/api/v1/repos/dc/dc/releases/$RELEASE_ID/assets?access_token=${{ secrets.RELEASE_TOKEN }}"
curl -k $URL -F attachment=@frontend.zip
curl -k $URL -F attachment=@sas/demostream_sas9.sas
curl -k $URL -F attachment=@sas/demostream_viya.sas
curl -k $URL -F attachment=@sas/sasjs_server.json.zip
curl -k $URL -F attachment=@sas/sas9.sas
curl -k $URL -F attachment=@sas/viya.sas

1
.gitignore vendored
View File

@ -10,6 +10,7 @@ client/src/environments/version.ts
client/cypress/screenshots
client/cypress/results
client/cypress/videos
client/documentation
cypress.env.json
sasjsbuild
sasjsresults

2
.npmrc
View File

@ -1 +1 @@
legacy-peer-deps=false
legacy-peer-deps=true

View File

@ -1,22 +1,46 @@
{
"branches": ["main"],
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md"
]
}
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md",
"package.json"
]
}
],
["@saithodev/semantic-release-gitea", {
"giteaUrl": "https://git.datacontroller.io",
"assets": [
{"path": "client/dist.zip"}
]
}]
[
"@saithodev/semantic-release-gitea",
{
"giteaUrl": "https://git.datacontroller.io",
"assets": [
{
"path": "sas/demostream_sas9.sas"
},
{
"path": "sas/demostream_viya.sas"
},
{
"path": "sas/frontend.zip"
},
{
"path": "sas/sasjs_server.json.zip"
},
{
"path": "sas/sas9.sas"
},
{
"path": "sas/viya.sas"
}
]
}
]
]
}

View File

@ -1,9 +0,0 @@
pipeline:
build:
image: debian
commands:
- echo "This is the build step"
a-test-step:
image: debian
commands:
- echo "Testing.."

View File

@ -1,3 +1,85 @@
## [6.2.7](https://git.datacontroller.io/dc/dc/compare/v6.2.6...v6.2.7) (2023-11-09)
### Bug Fixes
* **audit:** updated crypto-js (hashing rows in dynamic cell validation) ([a7aa42a](https://git.datacontroller.io/dc/dc/commit/a7aa42a59b71597399924b8d2d06010c806321f3))
* missing dependency and avoiding label length limit issue ([91f128c](https://git.datacontroller.io/dc/dc/commit/91f128c2fead1e4f72267d689e67f49ec9a2ab35))
## [6.2.6](https://git.datacontroller.io/dc/dc/compare/v6.2.5...v6.2.6) (2023-10-18)
### Bug Fixes
* bumping core to address mm_assigndirectlib issue ([c27cdab](https://git.datacontroller.io/dc/dc/commit/c27cdab3fccbde814a29424d0344173a73ea816c))
## [6.2.5](https://git.datacontroller.io/dc/dc/compare/v6.2.4...v6.2.5) (2023-10-17)
### Bug Fixes
* enabling AUTHDOMAIN in MM_ASSIGNDIRECTLIB ([008b45a](https://git.datacontroller.io/dc/dc/commit/008b45ad175ec0e6026f5ef3bc210470226e328f))
## [6.2.4](https://git.datacontroller.io/dc/dc/compare/v6.2.3...v6.2.4) (2023-10-16)
### Bug Fixes
* Enable display of metadata-only tables. Closes [#56](https://git.datacontroller.io/dc/dc/issues/56) ([f3e82b4](https://git.datacontroller.io/dc/dc/commit/f3e82b4ee2a9c1c851f812ac60e9eaf05f91a0f9))
## [6.2.3](https://git.datacontroller.io/dc/dc/compare/v6.2.2...v6.2.3) (2023-10-12)
### Bug Fixes
* bumping core library to avoid non-ascii char in mp_validatecols.sas. [#50](https://git.datacontroller.io/dc/dc/issues/50) ([11b06f6](https://git.datacontroller.io/dc/dc/commit/11b06f6416300b6d70b1570c415d5a5c004976db))
* removing copyright symbol from mpe_alerts macro. [#50](https://git.datacontroller.io/dc/dc/issues/50) ([adb7eb7](https://git.datacontroller.io/dc/dc/commit/adb7eb77550c68a2dab15a6ff358129820e9b612))
## [6.2.2](https://git.datacontroller.io/dc/dc/compare/v6.2.1...v6.2.2) (2023-10-09)
### Bug Fixes
* updated SheetJS (crypto) to the latest ([8bd0dd2](https://git.datacontroller.io/dc/dc/commit/8bd0dd22c258911672303869e4df893a98e93575))
## [6.2.1](https://git.datacontroller.io/dc/dc/compare/v6.2.0...v6.2.1) (2023-10-09)
### Bug Fixes
* approve, history and submit pages grouped in review module ([e056ece](https://git.datacontroller.io/dc/dc/commit/e056ece2234ef6aab050f6a5b1f8de633b163d91))
* closes [#39](https://git.datacontroller.io/dc/dc/issues/39) upcase issue in MPE_SECURITY ([a00d31c](https://git.datacontroller.io/dc/dc/commit/a00d31caf3c5634cd61a4700fb175e76856edbb6))
* handsontable v13 ([6f482ec](https://git.datacontroller.io/dc/dc/commit/6f482ec6d909907a304ef9975262889e2370035f))
* latest adapter ([5e30dc0](https://git.datacontroller.io/dc/dc/commit/5e30dc0f892fab2af41f4ea56e30f27ec3b3912e))
* sasjs/cli and sasjs/core updated to the latest ([8571e01](https://git.datacontroller.io/dc/dc/commit/8571e01e44a8cb6df9d150d271c34bb75bffdf31))
* updating editors/stagedata to address issues in particular viya configurations as described in issue [#33](https://git.datacontroller.io/dc/dc/issues/33) ([94ab949](https://git.datacontroller.io/dc/dc/commit/94ab949df8c75072525751a2156b7a32c2e641dc))
* updating logic for REPLACE loadtype ([1f2ce55](https://git.datacontroller.io/dc/dc/commit/1f2ce55f249f4af56f0cacdec47e69246cd47431))
# [6.2.0](https://git.datacontroller.io/dc/dc/compare/v6.1.0...v6.2.0) (2023-08-24)
### Bug Fixes
* re-enabling full REPLACE uploads ([08e39c4](https://git.datacontroller.io/dc/dc/commit/08e39c4fca570406f9aad3d907cb04596421d074))
### Features
* support for European numeric formats ([e48e47b](https://git.datacontroller.io/dc/dc/commit/e48e47bc635452b59e107b235e597c26e748875e))
# [6.1.0](https://git.datacontroller.io/dc/dc/compare/v6.0.0...v6.1.0) (2023-07-25)
### Bug Fixes
* missing mf_existds dependency in bitemporal_dataloader ([5ce1701](https://git.datacontroller.io/dc/dc/commit/5ce1701657136f2cf792441412230513ff52e7e8))
* reducing audit data volumes. Closes [#4](https://git.datacontroller.io/dc/dc/issues/4) ([54fe701](https://git.datacontroller.io/dc/dc/commit/54fe7013b1a25be228eeb2aba3553f6219952de6))
* release script, excel upload duplicate primary keys, cypress fix ([2f79487](https://git.datacontroller.io/dc/dc/commit/2f79487aeaf6268b027a8fa52fcdaae2b449de3d))
### Features
* full format deletion, closes [#2](https://git.datacontroller.io/dc/dc/issues/2) ([8dc40bd](https://git.datacontroller.io/dc/dc/commit/8dc40bdd4e3a7ad5c1e6582b4130f24bc445eb77))
# Changelog
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.

View File

@ -1,6 +1,9 @@
# Data Controller
# Contributing
## Workflow guidelines
[Wiki Page](https://git.datacontroller.io/dc/dc/wiki/Git-Workflow)
## Dependencies that requires licences
[SheetJS Pro Version](https://www.npmjs.com/package/sheetjs)
@ -50,6 +53,17 @@ npm run lint:fix
Typedoc is used for generating typescript documentation based on the code.
That part is automated and beign done as a part of CI job.
# Release
Release is automated as a part of CI job. Workflow file: `.gitea/workflows/release.yaml`.
It will run automatically when branch merged to the `main` branch.
IMPORTANT!
If release job fails, after it has been created empty release and a tag, we must not re-run the relase job until we removed the newly create GIT TAG and RELEASE.
To remove the git tag run:
```
git push -d origin vX.X.X
```
To remove the release, you need to do it with repo administration over at [https://git.datacontroller.io/dc/dc](https://git.datacontroller.io/dc/dc)
# Troubleshooting
## Makedata service "could not create directory" error

View File

@ -3,25 +3,15 @@ Licence Agreement for Data Controller for SAS®
Copyright (c) Bowe IO Ltd
Data Controller is a software distributed by 4GL Apps, a brand owned by Bowe IO Ltd, a UK Limited Company headquarted in 29 Oldfield Rd, Cumbria, registered by companies house under number 08777171, VAT number: 203914240
Data Controller software is distributed by 4GL Apps, a brand owned by Bowe IO Ltd, a UK Limited Company headquarted in 29 Oldfield Rd, Cumbria, registered at Companies House with company number 08777171, VAT number: 203914240
This software is protected by applicable copyright laws, including international treaties, and dual-
licensed depending on whether your use for commercial purposes, meaning intended for or