Commit Graph

1064 Commits

Author SHA1 Message Date
Peter Clement c5b9be60c7 Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-19 11:23:31 +01:00
Rory Powell 617ec1fe02 Write users and activity to dynamo 2022-07-18 16:11:52 -04:00
Peter Clement dfdee4d271 lint 2022-07-18 12:33:56 +01:00
Peter Clement e63c7fd56f update groups doc to take a roles object 2022-07-14 16:58:32 +01:00
NEOLPAR a7898411a9 fixed issue bulkDelete losing context because of a forEach loop 2022-07-14 14:15:12 +01:00
Peter Clement 6663fc25fc Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-14 13:32:51 +01:00
Peter Clement 20e9e7a716 Merge branch 'feat/user-groups-tab' of github.com:Budibase/budibase into feat/user-groups-tab 2022-07-14 09:19:08 +01:00
Peter Clement 71179b0f1e overview card updates 2022-07-14 08:39:39 +01:00
NEOLPAR 22864ba324 fixed duplicating users in user creation backend 2022-07-13 17:37:03 +01:00
Peter Clement 4543b1213f some user table fixes 2022-07-13 15:46:10 +01:00
mike12345567 b860e05fe8 Quick fix for realEmail test which was causing problems. 2022-07-13 15:39:58 +01:00
Michael Drury 956cd01a3c
Merge pull request #6638 from Budibase/fix/6633
July release fixes
2022-07-13 14:01:32 +01:00
mike12345567 ec9c0a3ed7 Increasing real email test timeout. 2022-07-13 13:32:06 +01:00
mike12345567 a946641735 Fix for #6681 - email save validation not working. 2022-07-13 11:57:14 +01:00
Martin McKeaveney 2b42545b77 prevent redirect on app overview by allowing builders access to user endpoint 2022-07-13 11:49:23 +01:00
Peter Clement 72a67adcf4 improve performance of adding users and groups 2022-07-11 15:29:39 +01:00
Michael Drury ef1e70b281
Merge pull request #6636 from Budibase/omnibus-action
Single image pipeline
2022-07-11 11:12:09 +01:00
Mel O'Hagan a72bcd9645 Add await to cache delete 2022-07-08 14:53:34 +01:00
Mel O'Hagan e677cbef20 Merge branch 'bug/sev3/reset-email-config-delete-cache' into bug/sev3/reset-email-config-delete-cache-dev 2022-07-08 14:50:47 +01:00
Peter Clement 0e3b1fc46f linting and tidy 2022-07-07 08:55:32 +01:00
mike12345567 216298c74b Fixing issue which can block accessing platform - if error scenario occurs but admin user partially created. 2022-07-06 16:42:38 +01:00
mike12345567 c62805853a Updating user search endpoint to allow searching by app ID with a new view, as well as updating user page to have a search input again. 2022-07-06 16:09:05 +01:00
Peter Clement b846402d90 take into account pagination 2022-07-06 12:58:55 +01:00
Peter Clement c9d86230d4 fixing users api references 2022-07-06 08:45:22 +01:00
Peter Clement daafba8ec8 Merge remote-tracking branch 'origin/develop' into feat/user-groups-tab 2022-07-05 16:04:01 +01:00
Peter Clement a84b36cc54 group / user app assignment 2022-07-05 09:21:59 +01:00
Dean d7a572d9ee Code review update, removing sheets scope from authentication 2022-07-04 13:37:56 +01:00
Dean 4ecae7fa5b Code review updates 2022-07-04 12:54:26 +01:00
Dean 709e8600b0 Auth test fix for oidc strategy mocks 2022-07-04 09:04:55 +01:00
Dean 2ea4a9d225 Refresh the OAuth tokens automatically when making rest calls. Fix to remove the password from the api token authentication. 2022-07-03 21:13:15 +01:00
Dean 6a79e467ba Merge remote-tracking branch 'origin/develop' into sso-rest-requests 2022-07-03 09:55:05 +01:00
mike12345567 136eec3388 Updating to maintain the old worker API for deprecation purposes, but removing from frontend usage. 2022-06-30 16:01:14 +01:00
mike12345567 2733f48492 Updating user page to search through the backend and building a basic pagination store that can be used for it. 2022-06-30 15:39:26 +01:00
mike12345567 3344a756d7 Adding fix for global user retrieval as part of admin creation. 2022-06-30 12:01:15 +01:00
mike12345567 e7ff299c63 Adding user pagination, removing usages of the global user list from builder and replacing with direct user lookups where possible, still need to apply filtering to username/email serverside. 2022-06-29 19:11:00 +01:00
Mel O'Hagan 8468222431 Delete checkList cache on destroy 2022-06-29 13:08:48 +01:00
Dean dc20ecc5ff Merge commit 2022-06-23 14:29:19 +01:00
Peter Clement 8d264fe983 updated store and finished groups tab 2022-06-22 13:55:31 +01:00
Peter Clement 4ab7e8cd11 saving and fetching groups from couch 2022-06-15 16:51:30 +01:00
Rory Powell 29292395ef Fix user id generation 2022-06-13 22:26:15 +01:00
Rory Powell eb0214a231 Back populate no-op migrations on new app and tenant create 2022-06-13 10:51:29 +01:00
Rory Powell a2b9fcd448 Dev improvements - remove need to rebuilds of backend-core/dist and enable debugging when running tests and backend services, use source directly using typescript and jest path mappings 2022-06-10 22:57:12 +01:00
Rory Powell e447fd11d1 Build fixes 2022-06-09 12:33:10 +01:00
Rory Powell 4e77571ddb Merge branch 'release' into feature/event-backfill 2022-06-06 09:50:06 +01:00
Martin McKeaveney 35b007d13c fix users list on app overview 2022-06-01 15:20:56 +01:00
Martin McKeaveney 9be1bddf85 Merge branch 'master' of github.com:Budibase/budibase into develop 2022-06-01 09:47:13 +01:00
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
mike12345567 76e24018be Merge branch 'develop' of github.com:Budibase/budibase into lab-day/refactor-app-db 2022-01-31 14:09:07 +00:00
Rory Powell 74b6844ebf Fix CSRF token not present using local auth 2022-01-31 11:07:54 +00:00
Rory Powell 3ce4f32250 Merge branch 'develop' into csrf 2022-01-30 21:20:48 +00:00
mike12345567 4b1331450c Fixing some issues discovered by the cypress tests, cleaning up how Couch is used. 2022-01-28 18:52:34 +00:00