1
0
Fork 0
mirror of synced 2024-07-02 13:01:09 +12:00
Commit graph

968 commits

Author SHA1 Message Date
Rory Powell 429f379431 Failover protection with event cache 2022-05-31 21:04:41 +01:00
mike12345567 e439d7097b Review comments and test fix. 2022-05-31 10:16:22 +01:00
Rory Powell fd845284d3 Lots of failure handling and caching 2022-05-30 21:46:08 +01:00
mike12345567 81edc7a18a Adding process exits. 2022-05-30 21:24:23 +01:00
mike12345567 06a32ed357 Fixing issue with server not shutting down correctly when an error occurs, making sure that everything clears up gracefully. 2022-05-30 21:22:06 +01:00
Rory Powell f2f6bf779d Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-29 00:25:40 +01:00
Rory Powell 64d73e2f96 Merge branch 'develop' into feature/posthog-v2 2022-05-28 23:03:31 +01:00
Rory Powell 9610d8f1e7 Identity tenant and installation groups, property updates 2022-05-28 21:38:22 +01:00
Rory Powell 967fc8a397 Fix provisioning in multi tenant environment 2022-05-27 10:51:23 +01:00
Rory Powell 37b734731c
Merge pull request #6075 from Budibase/fix/provisioning-multi-tenant
Fix provisioning in multi tenant environment
2022-05-27 10:17:30 +01:00
Rory Powell ab54ae29ab Fix provisioning in multi tenant environment 2022-05-26 16:48:26 +01:00
Rory Powell cbc3e72757 app and account properties, add account details to all user and tenant identities 2022-05-26 10:13:26 +01:00
Rory Powell b69a0836f5 Identity updates 2022-05-24 20:01:13 +01:00
Rory Powell 9d0b4ef45e User context updates and misc fixes 2022-05-24 09:54:36 +01:00
mike12345567 d535afa542 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-05-23 23:43:57 +01:00
Rory Powell 22aa226ca9 Event identification 2022-05-23 22:14:44 +01:00
Martin McKeaveney 73404a6fb3 prevent issue with TTL dependency import 2022-05-23 17:38:02 +01:00
mike12345567 806a0c0389 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-05-23 17:03:36 +01:00
Martin McKeaveney 1cc140d50a making checklist cache length controllable through env var 2022-05-23 16:57:15 +01:00
Martin McKeaveney f8d0e6fea8 merge 2022-05-23 16:52:34 +01:00
Martin McKeaveney b30c045663 enable clustering on server and worker services, better log output on user not found errors 2022-05-23 16:24:29 +01:00
mike12345567 7be0dad245 Updating cache to 1 hour. 2022-05-23 16:06:47 +01:00
mike12345567 0e84430307 Removing old caching code. 2022-05-23 15:07:58 +01:00
mike12345567 100f5a6f3c Moving the withCache function to backend-core so that it can be shared, as well as adding a cache busting function which can be used when one of the checklist configs changes. 2022-05-23 15:03:52 +01:00
Rory Powell 6ea7912a73 Merge branch 'feature/posthog-v2' into feature/event-backfill 2022-05-23 10:29:33 +01:00
Rory Powell 80a82bbcc3 Merge branch 'develop' into feature/posthog-v2 2022-05-23 09:04:00 +01:00
Martin McKeaveney 58a5c3d82b turn off withCache for tests 2022-05-23 00:29:45 +01:00
Martin McKeaveney 9483712c7e withCache wrapper for working with redis 2022-05-23 00:09:03 +01:00
Martin McKeaveney 7299863d28 query optimisation on checklist endpoint 2022-05-22 18:51:13 +01:00
mike12345567 8ab3fc810b Improving performance of load script, can generate thousands of users a second. 2022-05-22 18:29:02 +01:00
Martin McKeaveney 0606519695 lint 2022-05-22 16:39:34 +01:00
Rory Powell 8ae358d237 App migrations finished 2022-05-20 12:29:31 +01:00
Rory Powell 9fdba2b6e1 Migration for apps, automations, datasources, layouts, queries, roles, tables 2022-05-19 08:19:25 +01:00
mike12345567 7ec772e0de Adding upgrade messaging. 2022-05-18 12:03:27 +01:00
mike12345567 679cb94deb Labelling worker env variables. 2022-05-17 17:47:33 +01:00
mike12345567 36a190b0ed Finishing off UI, expanding settings menus from 80ch to 90ch as they were quite restricted and made the usage UI a bit difficult to view. Added a DISABLE_DEVELOPER_LICENSE env variable for testing. 2022-05-17 17:44:40 +01:00
Rory Powell 182831d502 handlers -> publishers and analtics -> processors 2022-05-10 10:33:59 +01:00
Rory Powell bd33c827eb Merge branch 'develop' into feature/posthog-v2 2022-04-27 16:32:00 +01:00
Martin McKeaveney 630f29444d fix build 2022-04-26 13:58:33 +01:00
Martin McKeaveney e01ef9bdfb merge with master 2022-04-26 10:21:45 +01:00
Vinoth Kirubakaran 3fe651b0fb chore: resolved merge conflicts from develop branch 2022-04-22 15:23:05 +05:30
Vinoth Kirubakaran 5803fcc6b1 feat: made changes to worker and server packages to use global-agent to setup proxy from env variables 2022-04-20 16:00:03 +05:30
Rory Powell b21ba78cf2 Feature flag upgrade page 2022-04-20 09:46:20 +01:00
mike12345567 ea6f580501 Initial version of memory leak protection, making sure that PouchDB databases are closed correctly after use, using a combination of closures wrapping DB gets (this replaces the getDB, leaving only a dangerousGetDB function which can be used in very very specific scenarios) and then closing the DB as part of CLS hooked functions finishing. Also moving the GlobalDB init to the tenancy middleware as this is used everywhere in the worker/app services - means that not all getGlobalDB calls require an async closure around them. 2022-04-19 19:42:52 +01:00
Rory Powell 769f48f935 Remove remaining direct usage of CouchDB. Add common pouch config to backend-core 2022-04-19 16:45:27 +01:00
Rory Powell 23b68660c2 Merge branch 'feature/licensing' into feature/posthog-v2 2022-04-12 17:12:46 +01:00
Rory Powell dd740df387 Merge branch 'develop' into feature/licensing 2022-04-12 16:18:41 +01:00
Rory Powell 76d4e5d760 Test updates 2022-04-12 15:37:49 +01:00
Rory Powell 6a346d4650 User management events 2022-04-12 12:34:36 +01:00
Rory Powell 75be1e031b user / rbac events + tests 2022-04-08 01:28:22 +01:00
Rory Powell ed9836d8a6 query / update events + tests 2022-04-07 00:38:18 +01:00
Rory Powell 9d264ef1ba org settings events + tests + stub license events 2022-04-06 22:53:33 +01:00
Rory Powell b650863a2b smtp events + centralise worker test config 2022-04-06 17:00:17 +01:00
Rory Powell 1a131f3e19 Refactor automation tests to run independently 2022-04-06 12:34:31 +01:00
Rory Powell 9ebdf837fc sso activated/deactivated events + tests 2022-04-06 00:54:07 +01:00
Rory Powell fde16cf548 google/oidc created/deleted events + tests 2022-04-05 23:14:53 +01:00
Rory Powell a4b49c3633 Logout events 2022-04-05 16:56:28 +01:00
Rory Powell 39ef2438a3 sso auth + datasource events, test updates 2022-04-05 15:46:04 +01:00
mike12345567 40d38e6e3d Single docker container configuration. 2022-04-01 01:00:52 +01:00
mike12345567 80a99b549f Make sure that ethereal tests don't fail on jest timeout. 2022-03-30 14:45:03 +01:00
Rory Powell 4ad846f116 Remove remaining direct usage of CouchDB. Add common pouch config to backend-core 2022-03-29 16:03:44 +01:00
Rory Powell ef629c9859 Fixes 2022-03-25 16:08:12 +00:00
Rory Powell 180e37b9f1 Tests complete + backwards compatibility for deployment 2022-03-22 00:23:22 +00:00
Rory Powell bf9f5488fc Merge branch 'develop' into feature/licensing 2022-03-21 17:13:16 +00:00
Rory Powell 336f0ff4a0 Published apps, automations and query count quotas 2022-03-20 01:13:54 +00:00
Rory Powell 62b360b9ea Add developer usage restrictions to SSO user creation 2022-03-18 08:01:31 +00:00
Rory Powell 893f82ac4d Better error handling around license errors 2022-03-16 17:29:47 +00:00
Rory Powell 714da96ee5 developer and published apps usage quota migrations 2022-03-16 08:18:09 +00:00
Rory Powell 0d64bed4b3 Finish upgrade and billing pages 2022-03-15 08:16:45 +00:00
mike12345567 a5556595de Fixing an issue with the public API loading for the first time in a multi-tenant environment, also fixing an issue in self host when switching between environments with different secrets. 2022-03-14 19:05:02 +00:00
Rory Powell ccf2fe3d01 Self Host <-> Licensing integration 2022-03-09 21:16:22 +00:00
Rory Powell c22fb79d94 Merge branch 'develop' into labday/status-banner 2022-03-08 16:31:07 +00:00
Rory Powell 995f7c4b58 Move licensing middleware to pro repo 2022-03-08 08:01:41 +00:00
Rory Powell 3b9303a1fb Enforce licensed developer count + error types/codes framework 2022-03-04 13:42:50 +00:00
Rory Powell 515ade6bd3 Add shared licensing cache 2022-03-03 13:37:04 +00:00
Rory Powell 8ff9aac4f8 Start to integrate licensing with sessions 2022-03-01 21:11:45 +00:00
mike12345567 f2c2c903e5 Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-02-24 18:19:20 +00:00
Rory Powell 9fcf702a32 Add status banner that reacts to cypress healthcheck failures 2022-02-24 14:41:24 +00:00
Mitch-Budibase b6bc10f397
Merge pull request #4140 from Budibase/cypress-testing
Multiple changes to the entire test suite
2022-02-22 11:16:56 +00:00
mike12345567 97337db4ee Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-02-21 14:34:06 +00:00
Rory Powell d9ead48c59 Deprovision and local couch db url fix 2022-02-18 17:36:23 +00:00
Mitch-Budibase e3b1e0915c
Merge branch 'develop' into cypress-testing 2022-02-17 14:22:21 +00:00
mike12345567 eb0916d4fe Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-02-16 15:30:48 +00:00
mike12345567 7bac5d5961 Adding a check to make sure there is a tenant ID for the checklist call when looking up apps in multi-tenant envs. 2022-02-16 12:36:24 +00:00
mike12345567 ab3971034d Quick fix for checklist API performance on default tenant in cloud. 2022-02-16 11:59:43 +00:00
mike12345567 3b69862b56 Adding fix for ethereal tests incase there is an issue with service. 2022-02-15 11:30:45 +00:00
mike12345567 92d457ac00 Adding basic encrypt/decrypt pathway. 2022-02-14 18:32:09 +00:00
mike12345567 93f2ed11ff Shifting over all of self API, deprecating old endpoints. 2022-02-14 18:11:35 +00:00
mike12345567 84bf8c3422 Adding tenancy to the API key, making the authenticated middleware aware of new user API keys, using a view to lookup the user by API key. 2022-02-11 22:24:48 +00:00
mike12345567 dff24e402d Getting api key/dev info docs setup and in use. 2022-02-10 19:06:49 +00:00
mike12345567 788cb19fa8 Moving APIs around after some discussion, creating a self API to make it obvious. 2022-02-10 18:34:55 +00:00
mike12345567 ac49ce6612 Merge branch 'develop' of github.com:Budibase/budibase into feature/budibase-api 2022-02-10 17:42:28 +00:00
Michael Drury e01563b6fc Adding basic endpoints for API keys. 2022-02-09 23:16:24 +00:00
Martin McKeaveney f574c90de3 use env platform URL for datasource auth to prevent tenant overrides 2022-02-09 18:33:29 +01:00
Mitch-Budibase 0e0e4bb065
Merge branch 'develop' into cypress-testing 2022-02-09 13:53:17 +00:00
mike12345567 53aabb4d05 Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-02-01 14:33:02 +00:00
Rory Powell d1bcf4f3ba Reorder jest mock and import statements for email mocking 2022-01-31 21:05:14 +00:00
Rory Powell 31f0400df5 Merge branch 'develop' into worker_typescript 2022-01-31 20:29:20 +00:00
mike12345567 03b4b29b01 Review comments, renaming deployed -> prod in terms of app IDs. 2022-01-31 17:42:51 +00:00
mike12345567 09cfa9508e Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 17:16:59 +00:00