1
0
Fork 0
mirror of synced 2024-09-20 03:08:18 +12:00
Commit graph

82 commits

Author SHA1 Message Date
Adria Navarro
f4d70ad7f3
Merge branch 'master' into BUDI-7656/add-multiple-relationships-dev-script 2024-01-02 12:34:32 +01:00
Adria Navarro
f74264c1c8 Add tests 2023-12-29 16:37:34 +01:00
Adria Navarro
f722f9e2d6 Invalidate reset code once used 2023-12-29 15:06:04 +01:00
Adria Navarro
c0a19c2a7e Type cache arguments 2023-12-22 14:37:54 +01:00
Sam Rose
7ec2c3860b
Optimise the performance of Writethrough.put. 2023-12-14 16:20:31 +00:00
mike12345567
c8128325c6 Improving type handling. 2023-12-13 15:39:04 +00:00
mike12345567
c4af5214ef Improving types around the writethrough cache, exposing the proper typing from the database and removing a log statement which is useless, errors are correctly propogated if they matter (and handled above this level with proper context) or in the 99% scenario it is not a real error (such as try once locks already being held) and a log is just spammy. 2023-12-13 15:08:23 +00:00
mike12345567
57fa9baef8 PR comments and possible fix for test failures. 2023-11-17 16:33:58 +00:00
mike12345567
7fb6c0927a Moving things around to get rid of cyclics created by moving invite/passwordReset into backend-core - also updating currentapp test case to mock a bit better. 2023-11-17 16:20:10 +00:00
Sam Rose
e3a4c34f8d
Pass types through context callbacks. 2023-11-08 16:17:24 +00:00
jvcalderon
cea1c04b73 Creators count functionality 2023-10-24 17:16:44 +02:00
jvcalderon
648410348d [Revert] [Added] Per user per creator changes 2023-10-23 13:27:59 +02:00
jvcalderon
44474b063a Merge branch 'master' into features/per-user-per-creator-realease2 2023-10-18 13:43:11 +02:00
jvcalderon
5b2f55a592 Per user per creator changes 2023-10-18 13:36:34 +02: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
9cd7ef7827 Typing redis 2023-09-19 14:32:05 +02:00
Adria Navarro
e128f1c921 Fix types 2023-09-19 13:28:24 +02:00
Adria Navarro
1d63b219b8 Make use of UserDB 2023-09-19 13:28:24 +02:00
Adria Navarro
9e1ccc35ee Handle missing users 2023-09-19 13:28:24 +02:00
Adria Navarro
7b4585ce68 Tenantid optional 2023-09-19 13:28:24 +02:00
Adria Navarro
4311d563d2 Add tests 2023-09-19 13:28:24 +02:00
Adria Navarro
d3b04ef4de Add tests 2023-09-19 13:28:24 +02:00
Adria Navarro
3336433de8 User cache, get in bulk 2023-09-19 13:28:24 +02:00
Adria Navarro
205d33f172 Clean cypress refs 2023-09-07 15:37:22 +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
Adria Navarro
8b693a6fa3 Check types on backend-core 2023-08-01 13:08:09 +02:00
Martin McKeaveney
108d18df75 fix type check for deleted app type 2023-07-21 09:57:37 +01:00
Martin McKeaveney
567c7fd485 code review 2023-07-21 09:43:25 +01:00
Martin McKeaveney
b5340c20d8 lint 2023-07-20 16:56:31 +01:00
Martin McKeaveney
054fb24ea9 demote some app metadata related bb-alert messages 2023-07-20 16:15:59 +01:00
Adria Navarro
1072292b9f Type breaking changes as any 2023-07-18 10:49:39 +02:00
Michael Drury
99607ca06e Reverting try twice change to writethrough. 2023-05-30 20:45:10 +01:00
Michael Drury
5249148d6c Updating writethrough test to be aware of the double attempt locks. 2023-05-30 20:20:22 +01:00
mike12345567
7c7bd4d5cb Fix for debugging with webstorm the old way (if desired), updating the builder middleware to be more multi-dev capable, ignoring 409s when attempting to update the last updated at for apps (if multiple devs hit at same time, only use one) also updating writethrough cache to retry once, with the extended TTL on locks, plus the multi-dev collab it can take a minute to update usage quota doc when a lot of updates occur at once. 2023-05-30 17:41:20 +01:00
Rory Powell
e1a147e823 Merge branch 'master' into develop 2023-05-03 16:06:42 +01:00
adrinr
b128306262 Increase writethrough cache timeout 2023-04-19 16:47:48 +01:00
mike12345567
ada052e043 Merging in develop - fixing some test cases which broke in the process. 2023-04-12 10:56:21 +01:00
Rory Powell
976b3a55ca Update logging to support dd trace attributes (#10086)
* Update logging middleware to integrate with pino for console logging

* Remove elastic apm references, use updated core middlewares

* Remove redundant LOG_LEVEL definitions

* Remove no longer needed jest logging overrides

* lint

* Backwards compat between console log helpers and pino

* Configurable DISABLE_HTTP_LOGGING

* Don't log 4xx as errors

* Remove redundant ENABLE_4XX_HTTP_LOGGING

* Cleanup migrations and event logging

* Improve bb-alert logging

* Add DISABLE_HTTP_LOGGING to helm chart

* Add ops endpoints for testing

* Disable http logging in dev

* Backwards compatible tracing implementation

* Naming update on http logging env var

* lint

* Update packages/backend-core/src/environment.ts

Co-authored-by: Adria Navarro <adria@revityapp.com>

* Merge

* Lint

* Fix console.warn failing mock by replacing with alerts mock instead

* Lint

---------

Co-authored-by: Adria Navarro <adria@revityapp.com>
2023-04-04 15:08:46 +01:00
mike12345567
24fc72657d Fixing all broken test cases after breaking out context fully from jestSetup/backend-core jest loading. 2023-03-30 16:35:25 +01:00
adrinr
84d450a931 Renames 2023-03-07 12:47:27 +01:00
adrinr
49493d80be Use name suffix instead of complex key object 2023-03-07 12:45:20 +01:00
adrinr
4d854ea5a7 Merge remote-tracking branch 'origin/develop' into bug/budi-5901-usage-quota-document-conflicts-can-cause 2023-03-07 12:41:58 +01:00
mike12345567
2335932978 Some updates to core types - used in pro update. 2023-03-02 10:20:49 +00:00
adrinr
dded8beaeb Fix writethrough falling behind 2023-03-01 13:16:57 +01:00
adrinr
b922fc3b00 Improve testing 2023-02-28 15:03:18 +01:00
adrinr
c1462a7c9c Clean code 2023-02-28 14:54:43 +01:00
adrinr
c254c565e4 Use redlock for writethrough 2023-02-28 14:54:34 +01:00
Rory Powell
ae9979929a Enable higher concurrency and resiliency in worker tests 2023-02-13 11:57:30 +00:00
adrinr
11a7742d90 Cleanup 2023-02-03 19:23:36 +00:00
adrinr
6dab44a569 Clean code 2023-02-03 09:37:34 +00:00