@telia-ace/alliance-portal 1.0.9 → 1.1.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +10 -15
- package/CHANGELOG.md +0 -351
- package/dist/server.cjs +0 -883
package/package.json
CHANGED
|
@@ -1,37 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telia-ace/alliance-portal",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.1.0-next.1",
|
|
4
4
|
"description": "ACE Alliance portal",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "Telia Company AB",
|
|
7
|
-
"main": "dist/index.js",
|
|
8
|
-
"types": "dist/index.d.ts",
|
|
9
7
|
"type": "module",
|
|
10
8
|
"files": [
|
|
11
9
|
"LICENSE.txt",
|
|
12
|
-
"README.md"
|
|
13
|
-
"CHANGELOG.md",
|
|
14
|
-
"dist/"
|
|
10
|
+
"README.md"
|
|
15
11
|
],
|
|
16
12
|
"devDependencies": {
|
|
17
|
-
"@trpc/client": "^10.
|
|
13
|
+
"@trpc/client": "^10.44.1",
|
|
18
14
|
"connect-redis": "^7.1.0",
|
|
19
15
|
"dotenv": "^16.3.1",
|
|
20
16
|
"express": "^5.0.0-beta.1",
|
|
21
|
-
"express-openid-connect": "^2.17.
|
|
22
|
-
"jose": "^
|
|
23
|
-
"redis": "^4.6.
|
|
24
|
-
"
|
|
25
|
-
"@telia-ace/alliance-
|
|
26
|
-
"@telia-ace/alliance-internal-node-utilities": "^1.0.6"
|
|
17
|
+
"express-openid-connect": "^2.17.1",
|
|
18
|
+
"jose": "^5.1.3",
|
|
19
|
+
"redis": "^4.6.11",
|
|
20
|
+
"@telia-ace/alliance-data": "^1.1.0-next.0",
|
|
21
|
+
"@telia-ace/alliance-internal-node-utilities": "^1.1.0-next.0"
|
|
27
22
|
},
|
|
28
23
|
"publishConfig": {
|
|
29
24
|
"access": "public"
|
|
30
25
|
},
|
|
31
26
|
"scripts": {
|
|
32
|
-
"dev": "tsx watch ./src/server.ts",
|
|
33
27
|
"build:dev": "tsc && tsup",
|
|
34
|
-
"build:prod": "tsc && tsup",
|
|
28
|
+
"build:prod": "tsc && tsup --minify",
|
|
29
|
+
"dev": "tsx watch ./src/server.ts",
|
|
35
30
|
"test": "vitest"
|
|
36
31
|
}
|
|
37
32
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,351 +0,0 @@
|
|
|
1
|
-
# @telia-ace/alliance-portal
|
|
2
|
-
|
|
3
|
-
## 1.0.9
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- Move public key related utilities to internal node utilities package. ([#440](https://github.com/telia-company/ace-alliance-sdk/pull/440))
|
|
8
|
-
|
|
9
|
-
## 1.0.9-next.0
|
|
10
|
-
|
|
11
|
-
### Patch Changes
|
|
12
|
-
|
|
13
|
-
- Move public key related utilities to internal node utilities package. ([#437](https://github.com/telia-company/ace-alliance-sdk/pull/437))
|
|
14
|
-
|
|
15
|
-
## 1.0.8
|
|
16
|
-
|
|
17
|
-
### Patch Changes
|
|
18
|
-
|
|
19
|
-
- 2858c59: Replace NestJS with Express 5.
|
|
20
|
-
- 321a5d6: Replace `@telia-ace/alliance-databases`, using NestJS + GraphQL, with `@telia-ace/alliance-data`, using Expess 5 + tRPC.
|
|
21
|
-
- 1b9c7a9: Fixed an issue where the cookie policy route was not returning the expected result under certain conditions (https://github.com/telia-company/ace-alliance-sdk/issues/422).
|
|
22
|
-
- d8c3069: Improve error page with support for log out.
|
|
23
|
-
- d8c3069: Support logging out by navigating to `/logout`.
|
|
24
|
-
|
|
25
|
-
## 1.0.8-next.3
|
|
26
|
-
|
|
27
|
-
### Patch Changes
|
|
28
|
-
|
|
29
|
-
- d8c3069: Improve error page with support for log out.
|
|
30
|
-
- d8c3069: Support logging out by navigating to `/logout`.
|
|
31
|
-
|
|
32
|
-
## 1.0.8-next.2
|
|
33
|
-
|
|
34
|
-
### Patch Changes
|
|
35
|
-
|
|
36
|
-
- 2858c59: Replace NestJS with Express 5.
|
|
37
|
-
|
|
38
|
-
## 1.0.8-next.1
|
|
39
|
-
|
|
40
|
-
### Patch Changes
|
|
41
|
-
|
|
42
|
-
- 1b9c7a9: Fixed an issue where the cookie policy route was not returning the expected result under certain conditions (https://github.com/telia-company/ace-alliance-sdk/issues/422).
|
|
43
|
-
|
|
44
|
-
## 1.0.8-next.0
|
|
45
|
-
|
|
46
|
-
### Patch Changes
|
|
47
|
-
|
|
48
|
-
- 321a5d6: Replace `@telia-ace/alliance-databases`, using NestJS + GraphQL, with `@telia-ace/alliance-data`, using Expess 5 + tRPC.
|
|
49
|
-
- Updated dependencies [321a5d6]
|
|
50
|
-
- @telia-ace/alliance-internal-node-utilities@1.0.5-next.0
|
|
51
|
-
|
|
52
|
-
## 1.0.7
|
|
53
|
-
|
|
54
|
-
### Patch Changes
|
|
55
|
-
|
|
56
|
-
- c2335bc: Validate and define default values for environment config using Zod.
|
|
57
|
-
- c2335bc: Move health check endpoint to `/-/health`.
|
|
58
|
-
- c2335bc: Add 404 page for non existant Workspaces.
|
|
59
|
-
- c2335bc: Add support for `LANDING_PAGE` environment variable to display a landing page on the portal instance root.
|
|
60
|
-
- c2335bc: Respond with correct status code in endpoints.
|
|
61
|
-
- c2335bc: Add current Workspace name to Customer Portal page title.
|
|
62
|
-
- c2335bc: Define `HEALTHCHECK` in Dockerfile.
|
|
63
|
-
- c2335bc: Setup health checks for services (https://github.com/telia-company/ace-alliance-sdk/issues/388).
|
|
64
|
-
- c2335bc: Fully support portals with static Workspace and Customer.
|
|
65
|
-
- c2335bc: Include `skipGroupClaimCheck` environment variable value in trace log when user signs in.
|
|
66
|
-
- c2335bc: Ensure unnecessary files aren't copied into Docker images.
|
|
67
|
-
- c2335bc: Replace `ORIGIN_AS_ROOT_URL` with `ROOT_URL_SUB_PATH` to configure what sub path a Portal will be hosted on.
|
|
68
|
-
- c2335bc: Ensure workspace existence is verified in health check for specific workspaces.
|
|
69
|
-
- c2335bc: Support customer / workspace specific portals.
|
|
70
|
-
- Updated dependencies [c2335bc]
|
|
71
|
-
- Updated dependencies [c2335bc]
|
|
72
|
-
- Updated dependencies [c2335bc]
|
|
73
|
-
- Updated dependencies [c2335bc]
|
|
74
|
-
- Updated dependencies [c2335bc]
|
|
75
|
-
- Updated dependencies [c2335bc]
|
|
76
|
-
- Updated dependencies [c2335bc]
|
|
77
|
-
- @telia-ace/alliance-internal-node-utilities@1.0.4
|
|
78
|
-
|
|
79
|
-
## 1.0.7-next.6
|
|
80
|
-
|
|
81
|
-
### Patch Changes
|
|
82
|
-
|
|
83
|
-
- 8434f9c: Ensure workspace existence is verified in health check for specific workspaces.
|
|
84
|
-
|
|
85
|
-
## 1.0.7-next.5
|
|
86
|
-
|
|
87
|
-
### Patch Changes
|
|
88
|
-
|
|
89
|
-
- 17d7be4: Move health check endpoint to `/-/health`.
|
|
90
|
-
- 17d7be4: Add 404 page for non existant Workspaces.
|
|
91
|
-
- 17d7be4: Add support for `LANDING_PAGE` environment variable to display a landing page on the portal instance root.
|
|
92
|
-
- 17d7be4: Respond with correct status code in endpoints.
|
|
93
|
-
- 17d7be4: Add current Workspace name to Customer Portal page title.
|
|
94
|
-
- 17d7be4: Include `skipGroupClaimCheck` environment variable value in trace log when user signs in.
|
|
95
|
-
- 17d7be4: Ensure unnecessary files aren't copied into Docker images.
|
|
96
|
-
- 17d7be4: Replace `ORIGIN_AS_ROOT_URL` with `ROOT_URL_SUB_PATH` to configure what sub path a Portal will be hosted on.
|
|
97
|
-
- Updated dependencies [17d7be4]
|
|
98
|
-
- Updated dependencies [17d7be4]
|
|
99
|
-
- @telia-ace/alliance-internal-node-utilities@1.0.4-next.4
|
|
100
|
-
|
|
101
|
-
## 1.0.7-next.4
|
|
102
|
-
|
|
103
|
-
### Patch Changes
|
|
104
|
-
|
|
105
|
-
- 0c97bb2: Validate and define default values for environment config using Zod.
|
|
106
|
-
- 0c97bb2: Fully support portals with static Workspace and Customer.
|
|
107
|
-
- Updated dependencies [0c97bb2]
|
|
108
|
-
- Updated dependencies [0c97bb2]
|
|
109
|
-
- @telia-ace/alliance-internal-node-utilities@1.0.4-next.3
|
|
110
|
-
|
|
111
|
-
## 1.0.7-next.3
|
|
112
|
-
|
|
113
|
-
### Patch Changes
|
|
114
|
-
|
|
115
|
-
- 7ef3b70: Define `HEALTHCHECK` in Dockerfile.
|
|
116
|
-
|
|
117
|
-
## 1.0.7-next.2
|
|
118
|
-
|
|
119
|
-
### Patch Changes
|
|
120
|
-
|
|
121
|
-
- 9b2cfd7: Setup health checks for services (https://github.com/telia-company/ace-alliance-sdk/issues/388).
|
|
122
|
-
- Updated dependencies [9b2cfd7]
|
|
123
|
-
- @telia-ace/alliance-internal-node-utilities@1.0.4-next.2
|
|
124
|
-
|
|
125
|
-
## 1.0.7-next.1
|
|
126
|
-
|
|
127
|
-
### Patch Changes
|
|
128
|
-
|
|
129
|
-
- Updated dependencies [3b53cfc]
|
|
130
|
-
- @telia-ace/alliance-internal-node-utilities@1.0.4-next.1
|
|
131
|
-
|
|
132
|
-
## 1.0.7-next.0
|
|
133
|
-
|
|
134
|
-
### Patch Changes
|
|
135
|
-
|
|
136
|
-
- cd44395: Support customer / workspace specific portals.
|
|
137
|
-
- Updated dependencies [cd44395]
|
|
138
|
-
- @telia-ace/alliance-internal-node-utilities@1.0.4-next.0
|
|
139
|
-
|
|
140
|
-
## 1.0.6
|
|
141
|
-
|
|
142
|
-
### Patch Changes
|
|
143
|
-
|
|
144
|
-
- e8eda01: Fix issue with user session cookie being too large.
|
|
145
|
-
- ba13c59: Use `.env` files for configuration during development instead of JS/TS modules.
|
|
146
|
-
- 0f20a09: Change to unformatted JSON logs.
|
|
147
|
-
- ba13c59: Set user as `system-admin` if user claims include ACE Enterprise Admin group/role.
|
|
148
|
-
- f2aafe4: Store user session in Redis cache to avoid hitting cookie size limits (https://github.com/telia-company/ace-alliance-sdk/issues/377).
|
|
149
|
-
- cb4647b: Fix incomprehensible unauthorized text for users with insufficient workspace access.
|
|
150
|
-
- f743a2b: Skip checking user claims for groups when `AUTH_SKIP_GROUP_CLAIM_CHECK` is set to `'true'`.
|
|
151
|
-
- Updated dependencies [0f20a09]
|
|
152
|
-
- Updated dependencies [ba11e1f]
|
|
153
|
-
- Updated dependencies [f2aafe4]
|
|
154
|
-
- Updated dependencies [828548a]
|
|
155
|
-
- Updated dependencies [c9b1488]
|
|
156
|
-
- @telia-ace/alliance-internal-node-utilities@1.0.3
|
|
157
|
-
|
|
158
|
-
## 1.0.6-next.7
|
|
159
|
-
|
|
160
|
-
### Patch Changes
|
|
161
|
-
|
|
162
|
-
- 0f20a09: Change to unformatted JSON logs.
|
|
163
|
-
- Updated dependencies [0f20a09]
|
|
164
|
-
- @telia-ace/alliance-internal-node-utilities@1.0.3-next.4
|
|
165
|
-
|
|
166
|
-
## 1.0.6-next.6
|
|
167
|
-
|
|
168
|
-
### Patch Changes
|
|
169
|
-
|
|
170
|
-
- Updated dependencies [c9b1488]
|
|
171
|
-
- @telia-ace/alliance-internal-node-utilities@1.0.3-next.3
|
|
172
|
-
|
|
173
|
-
## 1.0.6-next.5
|
|
174
|
-
|
|
175
|
-
### Patch Changes
|
|
176
|
-
|
|
177
|
-
- f2aafe4: Store user session in Redis cache to avoid hitting cookie size limits (https://github.com/telia-company/ace-alliance-sdk/issues/377).
|
|
178
|
-
- Updated dependencies [f2aafe4]
|
|
179
|
-
- @telia-ace/alliance-internal-node-utilities@1.0.3-next.2
|
|
180
|
-
|
|
181
|
-
## 1.0.6-next.4
|
|
182
|
-
|
|
183
|
-
### Patch Changes
|
|
184
|
-
|
|
185
|
-
- f743a2b: Skip checking user claims for groups when `AUTH_SKIP_GROUP_CLAIM_CHECK` is set to `'true'`.
|
|
186
|
-
|
|
187
|
-
## 1.0.6-next.3
|
|
188
|
-
|
|
189
|
-
### Patch Changes
|
|
190
|
-
|
|
191
|
-
- e8eda01: Fix issue with user session cookie being too large.
|
|
192
|
-
|
|
193
|
-
## 1.0.6-next.2
|
|
194
|
-
|
|
195
|
-
### Patch Changes
|
|
196
|
-
|
|
197
|
-
- ba13c59: Use `.env` files for configuration during development instead of JS/TS modules.
|
|
198
|
-
- ba13c59: Set user as `system-admin` if user claims include ACE Enterprise Admin group/role.
|
|
199
|
-
|
|
200
|
-
## 1.0.6-next.1
|
|
201
|
-
|
|
202
|
-
### Patch Changes
|
|
203
|
-
|
|
204
|
-
- Updated dependencies [ba11e1f]
|
|
205
|
-
- @telia-ace/alliance-internal-node-utilities@1.0.3-next.1
|
|
206
|
-
|
|
207
|
-
## 1.0.6-next.0
|
|
208
|
-
|
|
209
|
-
### Patch Changes
|
|
210
|
-
|
|
211
|
-
- cb4647b: Fix incomprehensible unauthorized text for users with insufficient workspace access.
|
|
212
|
-
- Updated dependencies [828548a]
|
|
213
|
-
- @telia-ace/alliance-internal-node-utilities@1.0.3-next.0
|
|
214
|
-
|
|
215
|
-
## 1.0.5
|
|
216
|
-
|
|
217
|
-
### Patch Changes
|
|
218
|
-
|
|
219
|
-
- 7a0e643: Show 401 unauthorized page for users without access to the workspace.
|
|
220
|
-
- 59f0d3f: Remove unnecessary scripts.
|
|
221
|
-
- 8763155: Update all dependencies to latest.
|
|
222
|
-
- Updated dependencies [59f0d3f]
|
|
223
|
-
- Updated dependencies [9c6dc92]
|
|
224
|
-
- @telia-ace/alliance-internal-node-utilities@1.0.2
|
|
225
|
-
|
|
226
|
-
## 1.0.5-next.3
|
|
227
|
-
|
|
228
|
-
### Patch Changes
|
|
229
|
-
|
|
230
|
-
- 7a0e643: Show 401 unauthorized page for users without access to the workspace.
|
|
231
|
-
|
|
232
|
-
## 1.0.5-next.2
|
|
233
|
-
|
|
234
|
-
### Patch Changes
|
|
235
|
-
|
|
236
|
-
- Updated dependencies [9c6dc92]
|
|
237
|
-
- @telia-ace/alliance-internal-node-utilities@1.0.2-next.1
|
|
238
|
-
|
|
239
|
-
## 1.0.5-next.1
|
|
240
|
-
|
|
241
|
-
### Patch Changes
|
|
242
|
-
|
|
243
|
-
- 59f0d3f: Remove unnecessary scripts.
|
|
244
|
-
- Updated dependencies [59f0d3f]
|
|
245
|
-
- @telia-ace/alliance-internal-node-utilities@1.0.2-next.0
|
|
246
|
-
|
|
247
|
-
## 1.0.5-next.0
|
|
248
|
-
|
|
249
|
-
### Patch Changes
|
|
250
|
-
|
|
251
|
-
- 8763155: Update all dependencies to latest.
|
|
252
|
-
|
|
253
|
-
## 1.0.4
|
|
254
|
-
|
|
255
|
-
### Patch Changes
|
|
256
|
-
|
|
257
|
-
- 511ba31: Implement exception handling with error codes linking to [SDK error code wiki on GitHub](https://github.com/telia-company/ace-alliance-sdk/wiki/error-codes) (https://github.com/telia-company/ace-alliance-sdk/issues/24).
|
|
258
|
-
- 236e315: Add cookie policy document route.
|
|
259
|
-
- 511ba31: Add trace logs.
|
|
260
|
-
- 511ba31: Use PinoJS to handle logging, add support for `SERVICE_LOG_LEVEL` environment variable (https://github.com/telia-company/ace-alliance-sdk/issues/24).
|
|
261
|
-
- Updated dependencies [fd378fe]
|
|
262
|
-
- @telia-ace/alliance-internal-node-utilities@1.0.1
|
|
263
|
-
|
|
264
|
-
## 1.0.4-next.2
|
|
265
|
-
|
|
266
|
-
### Patch Changes
|
|
267
|
-
|
|
268
|
-
- Updated dependencies [fd378fe]
|
|
269
|
-
- @telia-ace/alliance-internal-node-utilities@1.0.1-next.0
|
|
270
|
-
|
|
271
|
-
## 1.0.4-next.1
|
|
272
|
-
|
|
273
|
-
### Patch Changes
|
|
274
|
-
|
|
275
|
-
- 511ba31: Implement exception handling with error codes linking to [SDK error code wiki on GitHub](https://github.com/telia-company/ace-alliance-sdk/wiki/error-codes) (https://github.com/telia-company/ace-alliance-sdk/issues/24).
|
|
276
|
-
- 511ba31: Add trace logs.
|
|
277
|
-
- 511ba31: Use PinoJS to handle logging, add support for `SERVICE_LOG_LEVEL` environment variable (https://github.com/telia-company/ace-alliance-sdk/issues/24).
|
|
278
|
-
|
|
279
|
-
## 1.0.4-next.0
|
|
280
|
-
|
|
281
|
-
### Patch Changes
|
|
282
|
-
|
|
283
|
-
- 236e315: Add cookie policy document route.
|
|
284
|
-
|
|
285
|
-
## 1.0.3
|
|
286
|
-
|
|
287
|
-
### Patch Changes
|
|
288
|
-
|
|
289
|
-
- a327e4e: Replace Passport.js with `express-openid-connect`.
|
|
290
|
-
|
|
291
|
-
## 1.0.3-next.0
|
|
292
|
-
|
|
293
|
-
### Patch Changes
|
|
294
|
-
|
|
295
|
-
- a327e4e: Replace Passport.js with `express-openid-connect`.
|
|
296
|
-
|
|
297
|
-
## 1.0.2
|
|
298
|
-
|
|
299
|
-
### Patch Changes
|
|
300
|
-
|
|
301
|
-
- 1ea5886: Sync the Alliance JWT content with its .NET counterpart.
|
|
302
|
-
|
|
303
|
-
## 1.0.2-next.0
|
|
304
|
-
|
|
305
|
-
### Patch Changes
|
|
306
|
-
|
|
307
|
-
- 2452588: Sync the Alliance JWT content with its .NET counterpart.
|
|
308
|
-
|
|
309
|
-
## 1.0.1
|
|
310
|
-
|
|
311
|
-
### Patch Changes
|
|
312
|
-
|
|
313
|
-
- 0397918: Regenerate GraphQL TypeScript.
|
|
314
|
-
- 1569c8b: Support `WEBPROVISIONS_DISTRIBUTION_URL` configuration value.
|
|
315
|
-
- c89a20d: Add loader to portal HTML.
|
|
316
|
-
- 1569c8b: Use enums for configuration.
|
|
317
|
-
- 69d2ced: Create new users in database after logging in.
|
|
318
|
-
- 51a6f19: Add `@telia-ace/alliance-portal` package.
|
|
319
|
-
- 69d2ced: Update all dependencies to latest.
|
|
320
|
-
|
|
321
|
-
## 1.0.1-next.4
|
|
322
|
-
|
|
323
|
-
### Patch Changes
|
|
324
|
-
|
|
325
|
-
- 0397918: Regenerate GraphQL TypeScript.
|
|
326
|
-
|
|
327
|
-
## 1.0.1-next.3
|
|
328
|
-
|
|
329
|
-
### Patch Changes
|
|
330
|
-
|
|
331
|
-
- 69d2ced: Create new users in database after logging in.
|
|
332
|
-
- 69d2ced: Update all dependencies to latest.
|
|
333
|
-
|
|
334
|
-
## 1.0.1-next.2
|
|
335
|
-
|
|
336
|
-
### Patch Changes
|
|
337
|
-
|
|
338
|
-
- c89a20d: Add loader to portal HTML.
|
|
339
|
-
|
|
340
|
-
## 1.0.1-next.1
|
|
341
|
-
|
|
342
|
-
### Patch Changes
|
|
343
|
-
|
|
344
|
-
- 1569c8b: Support `WEBPROVISIONS_DISTRIBUTION_URL` configuration value.
|
|
345
|
-
- 1569c8b: Use enums for configuration.
|
|
346
|
-
|
|
347
|
-
## 1.0.1-next.0
|
|
348
|
-
|
|
349
|
-
### Patch Changes
|
|
350
|
-
|
|
351
|
-
- 51a6f19: Add `@telia-ace/alliance-portal` package.
|