Sam Rose
84d9f6816c
Enable a variety of useful looking lints.
2024-12-09 12:52:21 +00:00
mike12345567
6371296246
Adding type keyword.
2024-12-05 14:06:58 +00:00
mike12345567
862fcee0b4
More middleware typing (pls)
2024-12-05 13:58:17 +00:00
mike12345567
10c1c18f16
More typing fixes.
2024-12-05 13:44:08 +00:00
mike12345567
48379021ef
PR comments and fixes.
2024-12-05 11:36:56 +00:00
mike12345567
cb49beb317
Replacing BBContext where its still used in backend-core and middlewares.
2024-12-04 16:51:56 +00:00
Martin McKeaveney
62be25c157
fix dnd handlers
2024-11-18 13:20:31 +00:00
Martin McKeaveney
dcecd5c4a9
add unsafe-inline migration strategy
2024-11-15 15:02:34 +00:00
Martin McKeaveney
78cf681580
ignore types for direct mockImpl calls
2024-11-15 14:41:05 +00:00
Martin McKeaveney
87f85a0d63
unit test
2024-11-10 13:17:21 +00:00
Martin McKeaveney
9525cf8682
make directives immutable
2024-11-10 13:11:49 +00:00
Martin McKeaveney
1543e6dc2b
env variable for turning off csp
2024-11-10 13:08:51 +00:00
Martin McKeaveney
9996fc7f12
CSP nonce E2E
2024-11-08 17:40:29 +00:00
mike12345567
5a46e16b8d
Adding some tests around the openAPI public APIs to make sure the security works the way we expect, do not redirect API requests.
2024-10-24 16:54:08 +01:00
Sam Rose
adad73a9e2
Fix tests.
2024-10-09 13:10:52 +01:00
Sam Rose
eee2991b09
Rejib IP fetching.
2024-10-09 12:57:14 +01:00
melohagan
e3c6b60211
Remove unused properties ( #14732 )
...
* Remove unused properties
* lint
2024-10-08 12:56:48 +00:00
melohagan
49a4e252c6
Allow an account holder to login to account-portal if the tenant has been deleted. ( #14547 )
...
* Add email to session for populate user
* Add email param
* use param object
* Type fix for tests
* Fix test
* Temporarily remove account-portal tests
2024-09-12 08:38:11 +00:00
Sam Rose
d7e07bb44a
Fix worker tests.
2024-08-07 17:33:47 +01:00
Sam Rose
edb3b685b5
Remove node-fetch mock from backend-core and replace with nock.
2024-08-07 15:26:04 +01:00
Adria Navarro
1c69cfaeda
Fix initialisation
2024-07-12 12:32:36 +02:00
Adria Navarro
50c8449f4b
Add extra test
2024-07-12 12:17:37 +02:00
Sam Rose
16e293a9ff
Fix tests.
2024-07-04 09:55:36 +01:00
Sam Rose
253110ac6f
Detect secrets in error messages.
2024-07-03 16:31:42 +01:00
Adria Navarro
2d953f19cc
Clean validation message
2024-06-04 11:11:50 +02:00
Adria Navarro
1c4fc21870
Lint
2024-04-25 16:36:47 +02:00
Adria Navarro
e0216bb00c
Lint
2024-04-25 13:20:59 +02:00
Martin McKeaveney
4a6e1b7192
fix all cases of lint rule
2024-04-10 17:39:12 +01:00
Sam Rose
217b39c232
Reenable no-unused-vars
2024-03-20 11:46:39 +00:00
Sam Rose
1785f3af7e
Get lint passing.
2024-03-19 10:55:51 +00:00
Sam Rose
1f63f0bddf
Run auto fix.
2024-03-19 09:46:10 +00:00
Sam Rose
6b306266b5
Only show stack traces if you ask for them.
2024-02-29 11:09:39 +00:00
Sam Rose
8488ff4144
Print stack traces from inside request handler.
2024-02-29 09:19:14 +00:00
Adria Navarro
fb1bfbdae8
Clean code
2024-02-22 13:55:26 +01:00
Sam Rose
7ca748a3be
Remove objects from setUser call. We can add them later if we need them.
2024-01-05 18:10:23 +00:00
Sam Rose
946a73f1b6
Set user ID correctly.
2024-01-05 14:40:16 +00:00
Sam Rose
b3cd74e877
Remove user email from DataDog user info.
2024-01-05 13:49:01 +00:00
Sam Rose
69bfd01bf0
Attach authenticated user to DataDog spans.
2024-01-05 11:37:10 +00:00
mike12345567
8628c67c90
Fixing typing issues.
2023-12-05 18:17:27 +00:00
mike12345567
33b7e4d5d2
Some final refactoring, using proper jwt lib rather than requiring (proper typing).
2023-12-05 16:28:19 +00:00
Adria Navarro
db2c20e3ae
eslint import/newline-after-import
2023-11-20 21:52:29 +01:00
Sam Rose
767900aec6
Remove type information from JSDoc in .ts files, it's redundant.
2023-10-17 16:46:32 +01:00
Adria Navarro
6f1d027126
Fix test
2023-09-19 13:28:24 +02:00
mike12345567
3395a5b96b
Some other minor changes to fully support the per app builder from groups, making sure middlewares are properly aware.
2023-08-22 19:15:47 +01:00
mike12345567
7b9f86d7ea
Fix found by authorized test case.
2023-07-28 17:06:53 +01:00
mike12345567
3a211b8865
Some builder test cases, check the service type switch works as expected.
2023-07-28 16:50:44 +01:00
mike12345567
72438f531d
Update for worker, get builder endpoints working for app builders.
2023-07-28 15:39:59 +01:00
mike12345567
e469abb679
reworking frontend to use shared core functions to check if is admin or builder (needs further expansion).
2023-07-19 18:05:02 +01:00
mike12345567
91847504c8
Adding test cases for admin/builder checking middlewares.
2023-07-18 18:10:15 +01:00
mike12345567
39746e0bf0
Main body of work to handle the new approach of per app builders support.
2023-07-18 16:57:48 +01:00