Commit Graph

935 Commits

Author SHA1 Message Date
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
mike12345567 40c6eb2007 Main body of work, refactoring most usages. 2022-01-27 18:18:31 +00:00
Martin McKeaveney 203c892f33 code review and merge with develop 2022-01-26 17:45:28 +01:00
Rory Powell 5cb6e19274 Add CSRF Token 2022-01-25 22:54:50 +00:00
Rory Powell 7e0c435b7b Merge branch 'develop' into feature/app-urls 2022-01-21 17:35:23 +00:00
Rory Powell 08bd447b51 Remove server -> worker request to retrieve apps, remove hosting endpoints and store 2022-01-21 17:31:18 +00:00
mike12345567 7f1dab078b Merge branch 'develop' of github.com:Budibase/budibase into cypress-testing 2022-01-21 13:37:05 +00:00
Rory Powell 5246296a39
Merge pull request #4000 from Budibase/fix/sync-apps-reset-rows-quotas
App and Row Quota Fixes
2022-01-21 11:20:14 +00:00
Maurits Lourens b072df09e2 Merge branch 'develop' into worker_typescript 2022-01-20 15:26:42 +01:00
mike12345567 692a92e052 Adding fix to show the initial create table modal when a new app is created, the same as prod, when testing in cypress. 2022-01-20 12:29:28 +00:00
mike12345567 dcf99150d1 Fixing cypress tests, removing change which was added to try and fix reverted test cases. 2022-01-20 12:26:59 +00:00
Maurits Lourens f96c5ffc9f add typescript support to worker 2022-01-20 09:15:46 +01:00
Michael Drury 5d8f78b377
Merge pull request #4090 from Budibase/fix/3721
Fixing issue with existing SQL relationships and deleting tables externally to Budibase
2022-01-19 15:02:15 +00:00
mike12345567 079ca74f8a Making the worker tell the UI it is in production when running in Cypress. 2022-01-19 13:05:31 +00:00
Andrew Kingston 4e7d5e7d65 Fix server crash when trying to log out and already logged out 2022-01-19 11:22:44 +00:00
Martin McKeaveney 20cb3d8f2c more flexible datasource auth config 2022-01-17 15:52:10 +01:00
Martin McKeaveney 857d1f7c0b gsheets E2E 2022-01-15 19:28:04 +01:00
mike12345567 d89cf66343 Merge branch 'develop' of github.com:Budibase/budibase into fix/sync-apps-reset-rows-quotas 2022-01-12 13:20:22 +00:00
mike12345567 60a1efeade Removing use of direct package access. 2022-01-12 12:54:25 +00:00
mike12345567 5d9b3af332 Refactoring core library usage in monorepo, make it a bit cleaner/easier to search/more standardised. 2022-01-12 11:32:14 +00:00
Rory Powell 5671244274 Merge branch 'develop' into fix/sync-apps-reset-rows-quotas 2022-01-12 09:34:14 +00:00
Rory Powell 76463bc368 Enable migration 2022-01-11 18:38:18 +00:00
Rory Powell ea82983ebd Sync app quota to correct number, reset and disable rows quota 2022-01-11 17:49:42 +00:00
mike12345567 3f6b7d4daf Renaming some variables to core, fixing test cases that referenced auth directly. 2022-01-11 16:18:30 +00:00
mike12345567 836a2f5863 Switching out @budibase/auth to @budibase/backend-core. 2022-01-10 19:33:00 +00:00
Martin McKeaveney c2d97b9449 google auth working 2022-01-06 08:08:54 +00:00
mike12345567 24bebd82e9 Fixing issue #3915 so that when using the short hand URL for apps you will be redirected correctly if not logged in, allows all users to make use of it and updating the builder to send the user to the short form factor URL if not in cloud. 2022-01-05 18:26:39 +00:00
mike12345567 3f5263f192 Merge branch 'develop' of github.com:Budibase/budibase into feature/query-variables 2022-01-04 12:58:42 +00:00
mike12345567 5326284075 Some fixes after testing dynamic variables in rest a bit more. 2021-12-17 14:08:48 +00:00
Andrew Kingston a0f3863f69 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-07 15:11:32 +00:00
Andrew Kingston a0d8bffbc6 Remove the pre-execution validation in string templates to double performance and prevent JS binding issues when mutating context 2021-12-06 17:58:43 +00:00
mike12345567 de72792576 Setting auth cookie to not expire. 2021-12-03 12:39:20 +00:00
mike12345567 b1cc0d0783 Setting auth cookie to not expire. 2021-12-03 12:39:20 +00:00
Martin McKeaveney 4b79045dac adding check on backend 2021-11-26 15:27:37 +01:00
Martin McKeaveney 717861d2c7 adding check on backend 2021-11-26 15:27:37 +01:00
Rory Powell 4235aba7a2 Merge pull request #3354 from Budibase/rory/fixes-platform-url
Fixes for google sso, cloud email url and cloud logo updates
2021-11-16 13:46:06 +00:00
Rory Powell 851850dc03
Merge pull request #3354 from Budibase/rory/fixes-platform-url
Fixes for google sso, cloud email url and cloud logo updates
2021-11-16 13:46:06 +00:00
Michael Drury 5470b77fb3 Fixing issue presented by test, passing Couch instance around for when it is being used in memory. 2021-11-15 19:34:08 +00:00
Michael Drury 0f37562ab6 Fixing issue presented by test, passing Couch instance around for when it is being used in memory. 2021-11-15 19:34:08 +00:00
Rory Powell 6af8ab2dc0 Fixes for google sso, cloud email url and cloud logo updates 2021-11-12 13:31:55 +00:00
Rory Powell cf13853f09 Fixes for google sso, cloud email url and cloud logo updates 2021-11-12 13:31:55 +00:00
Michael Drury 100311fb93 Merge pull request #3251 from Budibase/fix/user-metadata
Syncing user metadata - allow builder to interact with user metadata in app
2021-11-10 13:41:57 +00:00
Michael Drury de2029588b
Merge pull request #3251 from Budibase/fix/user-metadata
Syncing user metadata - allow builder to interact with user metadata in app
2021-11-10 13:41:57 +00:00
mike12345567 18b98a158a Fixing issue found by test case. 2021-11-10 12:52:23 +00:00
mike12345567 1453e8810b Fixing issue found by test case. 2021-11-10 12:52:23 +00:00
mike12345567 47122f76fd Updating per review comments. 2021-11-10 12:03:43 +00:00
mike12345567 c8e02a20a0 Updating per review comments. 2021-11-10 12:03:43 +00:00
mike12345567 99c47ab264 Merge branch 'develop' of github.com:Budibase/budibase into fix/user-metadata 2021-11-08 17:28:32 +00:00
mike12345567 a0ebe7537d Merge branch 'develop' of github.com:Budibase/budibase into fix/user-metadata 2021-11-08 17:28:32 +00:00
mike12345567 b310918ec4 Fixing #3182 so that sorting is disabled for certain column types that we cannot use, as well as fixing some issues with MS-SQL plus tables. 2021-11-08 17:25:05 +00:00
mike12345567 15907280b2 Fixing #3182 so that sorting is disabled for certain column types that we cannot use, as well as fixing some issues with MS-SQL plus tables. 2021-11-08 17:25:05 +00:00
mike12345567 6e76a7dd1a Adding a check to disable user sync in test when server not available. 2021-11-04 20:28:26 +00:00
mike12345567 c0ff805816 Adding a check to disable user sync in test when server not available. 2021-11-04 20:28:26 +00:00
mike12345567 94ee13ffc4 Adding the sync call from the worker for creation, updating and deletion of users. Making sure that production and development apps are always up to date with user metadata. 2021-11-04 14:53:03 +00:00
mike12345567 9aa708588a Adding the sync call from the worker for creation, updating and deletion of users. Making sure that production and development apps are always up to date with user metadata. 2021-11-04 14:53:03 +00:00
Martin McKeaveney cb5df8fe1e Merge pull request #3159 from Budibase/feature/template-urls
allow opening a template directly from a URL
2021-11-04 14:46:18 +01:00
Martin McKeaveney e9fe1edfc6
Merge pull request #3159 from Budibase/feature/template-urls
allow opening a template directly from a URL
2021-11-04 14:46:18 +01:00
Martin McKeaveney b80a93d6d5 cookie based approach 2021-11-04 14:03:18 +01:00
Martin McKeaveney 7cead2d8f4 cookie based approach 2021-11-04 14:03:18 +01:00
Rory Powell 081e38e5ea Merge branch 'develop' into prevent-dev-app-access 2021-10-26 14:55:59 +01:00
Rory Powell 26bb6cb6b5 Merge branch 'develop' into prevent-dev-app-access 2021-10-26 14:55:59 +01:00
Rory Powell 55599c0a50 Add timeout to node mailer, lower than jest default 2021-10-26 14:31:56 +01:00
Rory Powell 507a58c9c5 Add timeout to node mailer, lower than jest default 2021-10-26 14:31:56 +01:00
Rory Powell ad61f2af3b Prevent non builder from accessing dev apps 2021-10-25 16:59:09 +01:00
Rory Powell 0718f99850 Prevent non builder from accessing dev apps 2021-10-25 16:59:09 +01:00
Rory Powell f3b630ed95 Sentry updates 2021-10-18 14:57:30 +01:00
Rory Powell 2fb2b570d1 Sentry updates 2021-10-18 14:57:30 +01:00
Peter Clement 63b0938d36 Don't show the create datasource popup in dev environments 2021-10-14 16:45:27 +01:00
Peter Clement 259ca7f4cd Don't show the create datasource popup in dev environments 2021-10-14 16:45:27 +01:00
Martin McKeaveney 1c31ed51c8 fixing auto imported path 2021-10-13 16:23:16 +01:00
Martin McKeaveney ad6d50df26 fixing auto imported path 2021-10-13 16:23:16 +01:00
Martin McKeaveney 5457096370 merge 2021-10-13 14:18:56 +01:00
Martin McKeaveney d9bfacf956 merge 2021-10-13 14:18:56 +01:00
Martin McKeaveney 74c74d78f2 encapsulate global logout function 2021-10-13 12:26:26 +01:00
Martin McKeaveney 81f49dcdf1 encapsulate global logout function 2021-10-13 12:26:26 +01:00
Martin McKeaveney af7bddcf22 platform logout function 2021-10-12 19:49:34 +01:00
Martin McKeaveney 3f279d8d0f platform logout function 2021-10-12 19:49:34 +01:00
Martin McKeaveney b38704978a Merge branch 'develop' of github.com:Budibase/budibase into fix/postrelease 2021-10-12 16:50:37 +01:00
Martin McKeaveney 2674f1992f Merge branch 'develop' of github.com:Budibase/budibase into fix/postrelease 2021-10-12 16:50:37 +01:00
Martin McKeaveney ec26d5c738 SSL support for digitalocean, started utility function for BB logout, bunch of minor bug fixes 2021-10-12 16:13:54 +01:00
Martin McKeaveney 14370c81b9 SSL support for digitalocean, started utility function for BB logout, bunch of minor bug fixes 2021-10-12 16:13:54 +01:00
mike12345567 1e4799ce9c Fixing an issue with env variables becoming numbers if they started with one. 2021-10-11 17:59:44 +01:00
mike12345567 7ae840f758 Fixing an issue with env variables becoming numbers if they started with one. 2021-10-11 17:59:44 +01:00
Rory Powell 9ea1774bcf Don't perform account deletion check when self hosted 2021-10-11 11:14:44 +01:00
Rory Powell c0d46262bf Don't perform account deletion check when self hosted 2021-10-11 11:14:44 +01:00
mike12345567 7a26f3769d Fixing some issues with cloud export/import, removing the ability to export and import your users as this was dangerous and didn't really work with passwords/SSO. 2021-10-08 18:21:40 +01:00
mike12345567 a7b5fc2e1b Fixing some issues with cloud export/import, removing the ability to export and import your users as this was dangerous and didn't really work with passwords/SSO. 2021-10-08 18:21:40 +01:00
mike12345567 4d04a3baf4 Adding a check for test environment to not clear app cookie on login as this breaks cypress. 2021-10-07 17:39:44 +01:00
mike12345567 b87559917b Adding a check for test environment to not clear app cookie on login as this breaks cypress. 2021-10-07 17:39:44 +01:00
mike12345567 52b44736c5 Fixing another issue with ethereal test package. 2021-10-07 16:35:11 +01:00
mike12345567 b267698caa Fixing another issue with ethereal test package. 2021-10-07 16:35:11 +01:00
mike12345567 efb09523a7 Fixing a small issue with email test fix. 2021-10-07 16:14:00 +01:00
mike12345567 a4014c5580 Fixing a small issue with email test fix. 2021-10-07 16:14:00 +01:00
mike12345567 fab766adb6 Adding functionality to check if ethereal is down, if it is don't fail the test. 2021-10-07 16:11:33 +01:00
mike12345567 64b98a6d18 Adding functionality to check if ethereal is down, if it is don't fail the test. 2021-10-07 16:11:33 +01:00
mike12345567 e6844d7bdf Fix an issue with current app cookie, get rid of it on login/logout. 2021-10-07 12:19:23 +01:00
mike12345567 245c92482c Fix an issue with current app cookie, get rid of it on login/logout. 2021-10-07 12:19:23 +01:00
Rory Powell 615d0390d5 Honour cookie domain when custom sso is enabled 2021-10-06 16:50:15 +01:00
Rory Powell 322ef42713 Honour cookie domain when custom sso is enabled 2021-10-06 16:50:15 +01:00
Rory Powell ee10bce48b Don't let user exist in multiple tenants when using custom sso 2021-10-06 15:15:46 +01:00
Rory Powell f10297953f Don't let user exist in multiple tenants when using custom sso 2021-10-06 15:15:46 +01:00
mike12345567 1f95c693ac As with the account portal, updating the monorepo to use the users name if it is available for some email templates. 2021-10-04 17:59:25 +01:00
mike12345567 8a9c112388 As with the account portal, updating the monorepo to use the users name if it is available for some email templates. 2021-10-04 17:59:25 +01:00
Rory Powell ec35b81af8 Fix backup SMTP 2021-10-04 15:58:05 +01:00
Rory Powell df0b3cc6de Fix backup SMTP 2021-10-04 15:58:05 +01:00
Rory Powell 2f589a2f42 Add API keys between account portal and budibase 2021-10-04 13:40:50 +01:00
Rory Powell 651947bb49 Add API keys between account portal and budibase 2021-10-04 13:40:50 +01:00
Rory Powell d63186ff8f Fix email link from internal bb onboarding. Prevent account holder from being deleted 2021-10-04 11:30:59 +01:00
Rory Powell 5e6e3cd123 Fix email link from internal bb onboarding. Prevent account holder from being deleted 2021-10-04 11:30:59 +01:00
mike12345567 be09410cae Quick fix for worker, API key was not considered good enough to access worker, updated this and added better error to smtp action. 2021-10-01 13:29:08 +01:00
mike12345567 04acb160a2 Quick fix for worker, API key was not considered good enough to access worker, updated this and added better error to smtp action. 2021-10-01 13:29:08 +01:00
Michael Drury 29b177208c Merge pull request #2815 from Budibase/feature/cloud-export
Cloud export -> self host import
2021-09-30 14:55:37 +01:00
Michael Drury f2534c3ec3
Merge pull request #2815 from Budibase/feature/cloud-export
Cloud export -> self host import
2021-09-30 14:55:37 +01:00
Rory Powell 3fb83eabad Merge branch 'develop' into remove-global-info-users-on-deletion 2021-09-30 13:38:12 +01:00
Rory Powell db6ae6567e Merge branch 'develop' into remove-global-info-users-on-deletion 2021-09-30 13:38:12 +01:00
Rory Powell 6e10c1fa73 Remove global info users on user deletion 2021-09-30 13:08:07 +01:00
Rory Powell 0e4bdb73a4 Remove global info users on user deletion 2021-09-30 13:08:07 +01:00
mike12345567 f8562015ac Merge branch 'develop' of github.com:Budibase/budibase into feature/cloud-export 2021-09-30 12:22:28 +01:00
mike12345567 7de9ed2fdf Merge branch 'develop' of github.com:Budibase/budibase into feature/cloud-export 2021-09-30 12:22:28 +01:00
Rory Powell b64f1aa322 Fix saveUser by adding same tenant check 2021-09-30 10:27:35 +01:00
Rory Powell 4ee2d23749 Fix saveUser by adding same tenant check 2021-09-30 10:27:35 +01:00
Rory Powell f089c20d60 replace ?. with && 2021-09-29 17:55:08 +01:00
Rory Powell 0734eb0ce7 replace ?. with && 2021-09-29 17:55:08 +01:00
Rory Powell 93d4ee4aad Update existing user in account portal check to only check verified users - fix provision flow 2021-09-29 17:46:13 +01:00
Rory Powell e90d947e38 Update existing user in account portal check to only check verified users - fix provision flow 2021-09-29 17:46:13 +01:00
Rory Powell ee7529769f Merge pull request #2789 from Budibase/feature/deprovisioning
Tenant deprovisioning
2021-09-29 17:17:26 +01:00
Rory Powell e2bf53b957
Merge pull request #2789 from Budibase/feature/deprovisioning
Tenant deprovisioning
2021-09-29 17:17:26 +01:00
mike12345567 a0f69251c8 Adding the ability to run the monorepo in cloud mode without the connected account portal (login, org setting and admin creation are all available again) as well as re-working how the redirects work to massively reduce the chance of cycles which I was experiencing constantly. 2021-09-29 16:55:59 +01:00
mike12345567 f69469ea4f Adding the ability to run the monorepo in cloud mode without the connected account portal (login, org setting and admin creation are all available again) as well as re-working how the redirects work to massively reduce the chance of cycles which I was experiencing constantly. 2021-09-29 16:55:59 +01:00
Rory Powell c74c577ab9 Deprovision complete 2021-09-29 12:25:01 +01:00