Commit Graph

690 Commits

Author SHA1 Message Date
mike12345567 77b9baa095 Updating types to remove any instances of ctx.status = 200 being set and then no body provided. 2024-12-13 16:48:47 +00:00
mike12345567 17d421f12b Fixes for types based on CI. 2024-12-06 16:14:46 +00:00
mike12345567 a3df34b350 Renaming new type. 2024-12-06 10:50:39 +00:00
mike12345567 165ff4e768 Misc system APIs typing. 2024-12-05 17:02:36 +00:00
mike12345567 95b7b14ff6 User API typing. 2024-12-05 16:47:06 +00:00
mike12345567 30717dae6c Template API typing. 2024-12-05 16:26:57 +00:00
mike12345567 cdabe324ad Self API typing. 2024-12-05 16:07:16 +00:00
mike12345567 54c11e33c5 Role API typing. 2024-12-05 15:56:04 +00:00
mike12345567 c0df3e67b3 Licensing API typing. 2024-12-05 15:01:48 +00:00
mike12345567 cbab77ea24 Email API typing. 2024-12-05 14:59:15 +00:00
mike12345567 60e4d3f0e6 Config API typing. 2024-12-05 14:50:50 +00:00
mike12345567 8c8a973c91 Auth API typing. 2024-12-04 18:34:16 +00:00
melohagan 39859e10ed
Don't fetch account for identifyTenantGroup posthog event (#15092)
* Don't fetch account for identifyTenantGroup posthog event

* Support self hosted

* Fix types
2024-11-29 13:12:13 +00:00
mike12345567 67fedd986c Adding some validation for tenant lookup endpoint, fail with a better error if something goes wrong with email processing. 2024-11-21 12:18:20 +00:00
Martin McKeaveney 0bb6f691a8 adding crypto dep 2024-11-20 10:05:55 +00:00
Sam Rose 915a7b4c1c
Merge master. 2024-11-06 17:34:51 +00:00
Sam Rose 45976313ab
Fix build. 2024-11-06 10:46:00 +00:00
Sam Rose ff9d59e1ee
Log SQS connection errors, and retry connection a few times before giving up. 2024-11-05 15:35:38 +00:00
Martin McKeaveney 7623c0ce07 further AI config updates for case where there's no configuration 2024-11-05 10:54:33 +00:00
Adria Navarro 7235fd9d5c Merge from master 2024-11-04 10:25:38 +01:00
Mel O'Hagan 41807e87b3 Don't throw if no account-holder is found 2024-10-31 08:44:36 +00:00
melohagan 7dcdce2480
Gro 738 refactor code that returns the account holder from user (#14872)
* WIP

* WIP

* Remove tests

* Remove TenantInfo

* Remove unused export

* Remove TenantInfo type

* Remove unused export

* Remove unused routes

* Add getAccountHolder front-end endpoint

* Add endpoint to no tenancy list

* Get account holder via appId

* lint

* Update pro ref

* Use account email instead of budibaseUserId (#14876)

* Update account-portal ref

* Update account portal ref

* Correct import order

* Simplify boolean

* type fix

* Rename endpoint to accountholder

* Update account-portal ref

* Refactor

* Refactor to not use appId

* Update type

* appId not needed

* Unused import
2024-10-28 14:46:42 +00:00
Adria Navarro 67d2e0cf61 Port changes from PR #14846 2024-10-23 14:34:39 +02:00
Adria Navarro 9e501b4e65 Cleanup SQS feature usages 2024-10-21 15:19:55 +02:00
mike12345567 87bdd68afa Updating to use enum for feature flags across the board. 2024-10-18 17:07:35 +01:00
Sam Rose c0cc2a9e3d
Move isSupportedUserSearch from backend-core to shared-core. 2024-09-30 15:16:24 +01:00
Martin McKeaveney b45017dd5a lint 2024-09-19 17:06:09 +01:00
Martin McKeaveney 6a5f001977 remove tests that are no longer relevant in worker 2024-09-19 10:54:25 +01:00
Martin McKeaveney e0fb44f63f lint 2024-09-19 10:21:49 +01:00
Martin McKeaveney 8a399bfbdf set custom configs quotas to right number 2024-09-18 17:42:55 +01:00
Martin McKeaveney 8e2d21c85f call right sdk method on ai module for enriching AI config 2024-09-17 18:27:49 +01:00
Martin McKeaveney e40f397c25 move check for OpenAI config variable to legacy path 2024-09-17 16:29:44 +01:00
Martin McKeaveney 224be10b6c support for overriding models 2024-09-17 16:08:59 +01:00
Martin McKeaveney a27be54b69 make mocks async 2024-09-10 22:38:45 +01:00
Martin McKeaveney 38fc65c541 fix tests 2024-09-10 22:25:47 +01:00
Martin McKeaveney 304b2a5c61
Update packages/worker/src/api/controllers/global/configs.ts
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-09-10 16:45:32 +01:00
Martin McKeaveney c6907eb09e fix types 2024-09-10 16:41:44 +01:00
Martin McKeaveney 1ee8a12e29 use real data instead of mocks 2024-09-10 16:01:00 +01:00
Martin McKeaveney 933ca952d2 lint 2024-09-10 14:50:17 +01:00
Martin McKeaveney 08669793d7 Merge branch 'budi-8608-ai-platform-level-config' of github.com:Budibase/budibase into budi-8608-ai-platform-level-config 2024-09-10 10:55:25 +01:00
Martin McKeaveney 4fed5787ac review comments 2024-09-10 10:54:50 +01:00
Martin McKeaveney 7a376d9629
Update packages/worker/src/api/controllers/global/configs.ts
Co-authored-by: Sam Rose <hello@samwho.dev>
2024-09-10 10:26:18 +01:00
Martin McKeaveney 96fbc8fff0 feature flag support 2024-09-09 18:07:47 +01:00
Martin McKeaveney b4a4f81308 linting 2024-09-09 16:52:56 +01:00
Martin McKeaveney 57698170a8 lint 2024-09-09 13:55:26 +01:00
Martin McKeaveney 6bf4f47110 further tests around default BB AI config 2024-09-06 15:42:37 +01:00
Martin McKeaveney 891f736815 unit tests for secrets mapping 2024-09-06 15:37:09 +01:00
Martin McKeaveney d3b90a0253 initial impl of default Budibase AI config through env vars 2024-09-03 19:47:36 +01:00
Martin McKeaveney 0d5e776424 preserve apikeys on save 2024-09-03 19:12:13 +01:00
Martin McKeaveney 43135e4274 AI Config CRUD complete 2024-09-03 17:18:46 +01:00