Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/605716129 update front end connector #32

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
94307c5
feat: temp update of version
wouteraj Nov 26, 2020
c77d0d6
Create npm-publish.yml
wouteraj Nov 26, 2020
6befa3b
Merge pull request #21 from digita-ai/feature/wouteraj-patch-1
wouteraj Nov 26, 2020
1141115
fix: use local version of ng in build script
wouteraj Nov 26, 2020
5a262af
fix: fix absolute path in build script
wouteraj Nov 26, 2020
11551a4
fix: link and build
wouteraj Nov 26, 2020
f976048
fix: removed public api reference
wouteraj Nov 26, 2020
7bb9855
fix: update version number
wouteraj Nov 26, 2020
68c7737
fix: fixed version number
wouteraj Nov 26, 2020
d9ef386
feat: publish remaining npm packages
wouteraj Nov 26, 2020
3e07859
fix: removed unnecessary dependency
wouteraj Nov 26, 2020
6217788
fix: set ci trigger to develop
wouteraj Dec 8, 2020
92f1552
Merge pull request #24 from digita-ai/feature/600707036-gh-actions-bu…
wouteraj Dec 8, 2020
263c6ba
feat: Support the community solid server as cache back-end
wouteraj Dec 8, 2020
768b0ed
fix: build using regular script
wouteraj Dec 8, 2020
9569c56
fix: restore link & build
wouteraj Dec 8, 2020
459a1df
fix: move config base api to data
wouteraj Dec 8, 2020
4aea877
fix: remove public-api imports
wouteraj Dec 8, 2020
6776d97
fix: fixed circular dependencies
wouteraj Dec 8, 2020
e2a5237
feat: try to build on feature branches
wouteraj Dec 8, 2020
595eb18
feat: created sessionstorageservice
Dec 9, 2020
d1a1e8f
feat: added inrupt dependencies
Dec 9, 2020
177754e
feat: added getConnectionBySessionId
Dec 10, 2020
b25c95e
feat: added security service
wouteraj Dec 10, 2020
c0b2ef8
fix: Only transform type registration if instance url is valid
wouteraj Dec 11, 2020
a3b9714
fix: fixed default uuid imports
wouteraj Dec 12, 2020
e75ef67
chore: version bump
wouteraj Dec 12, 2020
4d1f589
fix: save source to correct remote uri
wouteraj Dec 12, 2020
05783da
feat: support deleting exchanges
wouteraj Dec 12, 2020
79fac5c
Merge pull request #28 from digita-ai/feature/608779373-fix-integrati…
wouteraj Dec 12, 2020
0d5bb5b
fix: correctly transform policy purpose
wouteraj Dec 13, 2020
e2b4e26
feat: marketplace models services
Dec 13, 2020
b9fe580
feat: added dgt-oidc service
Dec 14, 2020
8f72990
feat: added dgt-connector-solid-web
Dec 14, 2020
7ae8384
feat: added dgt-session-storage service
Dec 14, 2020
4253c79
fix: changed dgt-oidc service folder
Dec 14, 2020
c568eee
feat: Restyle navigation
lem-onade Dec 14, 2020
bf1cd1a
refactor: support tslint
wouteraj Dec 16, 2020
53d414e
feat: implemented save connection
Dec 16, 2020
3026d31
feat: added getConnectionBySessionId to connection services
Dec 17, 2020
af8e832
feat: made progress with connecting
Dec 17, 2020
f496009
feat: conneting works
Dec 21, 2020
08803da
feat: authentication works
Dec 22, 2020
e3aba96
feat: getting resources works
Dec 23, 2020
ae12ef3
feat: updating data
Dec 23, 2020
98bc910
fix: removed logs
Dec 23, 2020
3473c03
Merge branch 'develop' into feature/605716129-update-front-end-connector
Dec 23, 2020
ae0aa87
feat: moved sparql logic to cache services
lem-onade Dec 23, 2020
c1ca856
docs: added documentation
lem-onade Dec 24, 2020
10997fb
fix: in memory cache returns sparql resultset
lem-onade Dec 24, 2020
e6bb008
fix: changes configuration.session.info.webId to configuration.webId
Dec 24, 2020
a41e5a1
feat: updated http session service
Dec 24, 2020
9db1f50
chore: updated inrupt sdk
Dec 28, 2020
df4e416
fix: only save sessioninfo
Dec 28, 2020
142c909
fix: fixed communica sparql results
lem-onade Dec 28, 2020
a33f288
fix: typo
lem-onade Dec 28, 2020
a82f72c
fix: align resultset solid cache
lem-onade Dec 29, 2020
543a64e
fix: added extra conversions
lem-onade Dec 29, 2020
2e35705
feat: updated delete sparql query
BelgianNoise Dec 30, 2020
742729c
Merge branch 'feature/609920135-update-query-ui' into feature/6077007…
BelgianNoise Dec 30, 2020
3044764
Merge pull request #33 from digita-ai/feature/609920135-update-query-ui
BelgianNoise Dec 30, 2020
ea8cf09
Merge branch 'develop' into feature/607700741-improve-delete-in-cache…
BelgianNoise Dec 30, 2020
704c524
Merge pull request #35 from digita-ai/feature/607700741-improve-delet…
BelgianNoise Dec 30, 2020
d8cb8cb
chore: version bump
BelgianNoise Dec 30, 2020
09540b3
Merge branch 'feature/607700741-improve-delete-in-cache-services' of …
BelgianNoise Dec 30, 2020
dd4fb19
Merge branch 'develop' into feature/607700741-improve-delete-in-cache…
BelgianNoise Dec 30, 2020
4e4ffd8
Merge pull request #36 from digita-ai/feature/607700741-improve-delet…
BelgianNoise Dec 30, 2020
d3ff16b
feat: fixed local references bug
lem-onade Dec 30, 2020
76773cd
docs: added documentation
lem-onade Dec 30, 2020
4ab65df
docs: added documentation
lem-onade Dec 30, 2020
2a05253
Merge branch 'feature/615489769-fix-relative-uris' of github.com:digi…
lem-onade Dec 30, 2020
324c092
feat: delete values before saving them
BelgianNoise Dec 30, 2020
0215c46
Merge pull request #37 from digita-ai/feature/615489769-fix-relative-…
BelgianNoise Dec 30, 2020
e9f14c9
Merge branch 'develop' into feature/607699215-improve-save-in-cache-s…
BelgianNoise Dec 30, 2020
96ca98d
Merge pull request #38 from digita-ai/feature/607699215-improve-save-…
BelgianNoise Dec 30, 2020
d257e67
feat: develop source configurator
BelgianNoise Jan 4, 2021
f9679e6
feat: changed DGTWorkflowService to DGTWorkflowManagerService
Jan 4, 2021
42586d0
feat: added sparql remote service
wouteraj Jan 4, 2021
385e1af
feat: run sparql query in ld service
wouteraj Jan 4, 2021
e7f3524
chore: minor version bump
wouteraj Jan 4, 2021
4e43a73
Merge pull request #39 from digita-ai/feature/599438142-update-sidenav
wouteraj Jan 4, 2021
48bc610
feat: implemented saving workflows
Jan 5, 2021
2234da1
feat: implemented saving workflows
Jan 5, 2021
8e273f1
Merge branch 'feature/616895054-save-workflows-in-cache' of github.co…
Jan 5, 2021
2452903
Merge branch 'feature/616895054-save-workflows-in-cache' of github.co…
Jan 5, 2021
9c36352
Merge branch 'feature/616895054-save-workflows-in-cache' of github.co…
Jan 5, 2021
54d9301
Merge remote-tracking branch 'origin/develop' into feature/616895054-…
Jan 5, 2021
c1a7956
feat: added dgt workflow remote service
Jan 6, 2021
270f6e9
style: fixed linting errors
wouteraj Jan 7, 2021
0a9b143
chore: minor version bump
wouteraj Jan 7, 2021
5d6e475
feat: add workflows to cache
wouteraj Jan 7, 2021
7b29c8d
fix: don't use default import of uuid
wouteraj Jan 7, 2021
045ca53
feat: added timeline components
BelgianNoise Jan 7, 2021
ca7b217
feat: Workflow overview (#42)
lem-onade Jan 7, 2021
0eb4775
feat: support discovery
BelgianNoise Jan 8, 2021
c407ae6
fix: filter data according to purpose and prevent duplicate resources…
BelgianNoise Jan 14, 2021
bd826c7
fix: instantiate workflow actions after reading from cache
wouteraj Jan 14, 2021
a85d845
chore: updated inrupt library
Jan 18, 2021
4a6e0c1
feat: delete exchanges and connections
BelgianNoise Jan 19, 2021
48e8f95
fix: don't automatically refresh cache when retrieving resources
Jan 21, 2021
0f9ebfc
feat: removed sessionStorage from manager/session
Jan 22, 2021
97a4eb1
refactor: replace data values with resources
Jan 23, 2021
5defe79
Merge remote-tracking branch 'origin/develop' into feature/605716129-…
Jan 26, 2021
bbd86ef
fix: after merge
Jan 27, 2021
64ee709
feat: manage invites (#49)
BelgianNoise Jan 28, 2021
8f94f4f
feat: fix event uris by adding missing typeregitrations
Jan 29, 2021
be158ce
fix: filtered persons in profile transformer
Jan 29, 2021
1cfd5b3
fix: set matInput to readonly (temp fix)
Jan 29, 2021
5649265
feat: show data groups in vault navigation
BelgianNoise Jan 29, 2021
bf97b6c
feat: support merge holders
wouteraj Jan 30, 2021
01063a5
feat: refresh cache for holder or source
wouteraj Jan 30, 2021
32b0d85
fix: fix email component (#57)
wouteraj Feb 1, 2021
1be565f
fix: write to workflow destination
lem-onade Feb 2, 2021
5882ce4
feat: added disconnect in oidc
Feb 4, 2021
17d7256
fix: commented save changes button (temp)
Feb 5, 2021
f067e73
refactor: added logging to session storage
wouteraj Feb 8, 2021
7694b4a
Merge branch 'develop' into feature/605716129-update-front-end-connector
wouteraj Feb 8, 2021
6d4b778
fix: set session storage in session manager
wouteraj Feb 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
54 changes: 54 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: Node.js Package

on:
push:
branches:
- feature/*
- develop

env:
NPM_TOKEN: ${{secrets.GA_TOKEN}}

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 10
- run: yarn install
- run: yarn run build
- run: yarn run test:headless

publish-gpr:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/develop'
needs: test
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 10
registry-url: https://npm.pkg.github.com/
- run: yarn install
- run: yarn run build
- run: npm publish dist/dgt-shared-test
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- run: npm publish dist/dgt-shared-utils
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- run: npm publish dist/dgt-shared-data
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- run: npm publish dist/dgt-shared-web
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- run: npm publish dist/dgt-shared-connectors
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
7 changes: 7 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
semi: true,
trailingComma: 'all',
singleQuote: true,
printWidth: 120,
tabWidth: 4,
};
10 changes: 9 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,21 @@
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "projects/dgt-shared-web/tsconfig.lib.json",
"project": "projects/dgt-shared-web/ng-package.json",
"project": "projects/dgt-shared-web/ng-package.json"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/dgt-shared-web/src/test.ts",
"styles": [
"projects/dgt-shared-web/theme/styles.scss"
],
"stylePreprocessorOptions": {
"includePaths": [
"projects/dgt-shared-web/theme/"
]
},
"tsConfig": "projects/dgt-shared-web/tsconfig.spec.json",
"karmaConfig": "projects/dgt-shared-web/karma.conf.js"
}
Expand Down
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {extends: ['@commitlint/config-conventional']};
3 changes: 3 additions & 0 deletions custom-webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ module.exports = {
'@sinonjs/text-encoding': 'TextEncoder',
'isomorphic-webcrypto': 'crypto'
},
stats: {
warningsFilter: [/Module not found.*nestjs\/common/i],
},
node: {
buffer: true,
Buffer: true,
Expand Down
29 changes: 23 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "dgt-shared",
"version": "0.0.0",
"version": "0.2.25",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "./scripts/build.sh",
"build": "./scripts/linkAndBuild.sh",
"publish": "./scripts/publish.sh",
"build:utils": "ng build dgt-shared-utils",
"build:data": "ng build dgt-shared-data",
Expand All @@ -13,11 +13,18 @@
"build:connectors": "ng build dgt-shared-connectors",
"publish:utils": "npm publish dist/dgt-shared-utils",
"publish:web": "npm publish dist/dgt-shared-web",
"reinstall": "rm -rf node_modules yarn.lock && yarn install && ./scripts/linkAndBuild.sh;",
"reinstall": "rm -rf node_modules && yarn install && ./scripts/linkAndBuild.sh;",
"test": "ng test",
"test:headless": "./scripts/test-headless.sh",
"lint": "ng lint",
"e2e": "ng e2e"
},
"husky": {
"hooks": {
"pre-commit": "grep -E '\\.(ts)$' | xargs yarn lint --files",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"private": true,
"dependencies": {
"@angular/animations": "~7.2.0",
Expand All @@ -28,19 +35,25 @@
"@angular/flex-layout": "7.0.0-beta.23",
"@angular/forms": "~7.2.0",
"@angular/material": "7.3.7",
"@angular/service-worker": "^7.2.7",
"@angular/platform-browser": "~7.2.0",
"@angular/platform-browser-dynamic": "~7.2.0",
"@angular/router": "~7.2.0",
"@angular/service-worker": "^7.2.7",
"@comunica/actor-init-sparql": "^1.16.2",
"@comunica/actor-init-sparql-rdfjs": "^1.16.2",
"@comunica/bus-sparql-serialize": "^1.16.0",
"@inrupt/solid-client-authn-browser": "1.4.2",
"@inrupt/solid-client-authn-core": "1.4.2",
"@nestjs/common": "^7.0.0",
"@nestjs/core": "^7.0.0",
"@ngrx/effects": "^7.3.0",
"@solid/jose": "^0.6.0",
"awesome-phonenumber": "^2.5.0",
"base64url": "^3.0.1",
"buffer": "^5.4.3",
"cache-manager": "^3.4.0",
"class-transformer": "^0.3.1",
"class-validator": "^0.12.2",
"core-js": "^2.5.4",
"jsonwebtoken": "^8.2.0",
"locale2": "^2.3.1",
Expand All @@ -66,21 +79,24 @@
"@angular/cli": "~7.3.3",
"@angular/compiler-cli": "~7.2.0",
"@angular/language-service": "~7.2.0",
"@commitlint/cli": "8.3.5",
"@commitlint/config-conventional": "8.3.4",
"@ngrx/store": "^7.3.0",
"@ngx-translate/core": "11.0.1",
"@ngx-translate/http-loader": "4.0.0",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"@types/mocha": "^7.0.2",
"@types/mssql": "6.0.1",
"@types/n3": "^1.4.0",
"@types/passport-strategy": "^0.2.35",
"@types/solid-auth-client": "^2.3.1",
"@types/sparqljs": "2.1.0",
"@types/uuid": "3.4.3",
"@types/mssql": "6.0.1",
"angularfire2": "5.1.1",
"codelyzer": "~4.5.0",
"firebase": "5.8.4",
"husky": "^4.3.0",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~4.0.0",
Expand All @@ -94,7 +110,8 @@
"ts-node": "~7.0.0",
"tsickle": "0.34.0",
"tslib": "^1.9.0",
"tslint": "~5.11.0",
"tslint": "~5.20.0",
"tslint-jasmine-rules": "^1.6.1",
"typescript": "3.8.3"
},
"browser": {
Expand Down
10 changes: 8 additions & 2 deletions projects/dgt-shared-connectors/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,14 @@ module.exports = function (config) {
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
browsers: ['Chrome', 'ChromeHeadlessCI'],
singleRun: false,
restartOnFileChange: true
restartOnFileChange: true,
customLaunchers: {
ChromeHeadlessCI: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
},
});
};
8 changes: 4 additions & 4 deletions projects/dgt-shared-connectors/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@digita-ai/dgt-shared-connectors",
"version": "0.1.2",
"version": "0.2.25",
"devDependencies": {
"@digita-ai/dgt-shared-test": "0.1.2",
"@digita-ai/dgt-shared-test": "0.2.25",
"@types/mssql": "^4.3.1",
"@types/n3": "^1.4.0",
"@types/rdflib": "^1.0.5",
Expand All @@ -12,8 +12,8 @@
"@types/node": "~11.9.5",
"@angular/common": "^7.2.0",
"@angular/core": "^7.2.0",
"@digita-ai/dgt-shared-data": "0.1.2",
"@digita-ai/dgt-shared-utils": "0.1.2",
"@digita-ai/dgt-shared-data": "0.2.25",
"@digita-ai/dgt-shared-utils": "0.2.25",
"@solid/jose": "^0.6.0",
"lodash": "4.17.11",
"ts-md5": "^1.2.7",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,25 +1,35 @@
import { NgModule } from '@angular/core';
import { DGTSharedDataModule } from '@digita-ai/dgt-shared-data';
import { DGTSharedUtilsModule } from '@digita-ai/dgt-shared-utils';
import { DGTSourceGravatarConnector } from './gravatar/connectors/dgt-source-gravatar.connector';
import { DGTSourceMSSQLConnector } from './mssql/connectors/dgt-source-mssql.connector';
import { DGTSourceSolidConnector } from './solid/connectors/dgt-source-solid.connector';
import { DGTSessionStorageService } from '@digita-ai/dgt-shared-data';
import { DGTConnectorGravatar } from './gravatar/connectors/dgt-source-gravatar.connector';
import { DGTConnectorMSSQL } from './mssql/connectors/dgt-source-mssql.connector';
import { DGTConnectorSolid } from './solid/connectors/dgt-source-solid.connector';
import { DGTSolidService } from './solid/services/dgt-solid.service';
import { DGTSourceSolidTrustedAppTransformerService } from './solid/services/dgt-source-solid-trusted-app-transformer.service';
import { DGTConnectorSolidWeb } from './solid/connectors/dgt-source-solid-web.connector';
import { DGTOIDCService } from './oidc/services/dgt-oidc.service';

export const declarations = [];
export const imports = [
DGTSharedUtilsModule
DGTSharedUtilsModule,
DGTSharedDataModule,
];
export const providers = [
DGTSourceSolidConnector,
DGTSourceMSSQLConnector,
DGTSourceGravatarConnector,
DGTConnectorSolid,
DGTConnectorMSSQL,
DGTConnectorGravatar,
DGTSourceSolidTrustedAppTransformerService,
DGTSessionStorageService,
DGTConnectorSolidWeb,
DGTSolidService,
DGTOIDCService,
];

@NgModule({
declarations,
imports,
providers,
exports: imports
exports: imports,
})
export class DGTSharedConnectorsModule { }
Loading