Commit Graph

289 Commits

Author SHA1 Message Date
mike12345567 f136bcbc8c Adding slash incase couch URL doesn't contain. 2021-12-10 16:46:00 +00:00
mike12345567 7567c778c8 Removing repeated line. 2021-12-10 15:18:57 +00:00
mike12345567 ce3d7df39d Allowing start end key syntax to be used outside of tenancy if we need to. 2021-12-10 15:17:18 +00:00
mike12345567 312db6182d Reducing the load on DB caused by CouchDB all_db when working with a large number of couch databases. 2021-12-10 15:10:45 +00:00
mike12345567 de72792576 Setting auth cookie to not expire. 2021-12-03 12:39:20 +00:00
mike12345567 d9afc58401 Extending logout TTL from a day to a week. 2021-12-03 11:17:48 +00:00
mike12345567 0f0770af32 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-11-25 12:21:58 +00:00
mike12345567 7170c00a4f Fix for cypress test issues, when metadata is updated rapidly it could get into a bad state - this should resolve it. 2021-11-16 20:56:24 +00:00
mike12345567 aaff5260d3 Adding a script to be able to debug backend like cypress runs, without needing to build everytime - fixing an issue that appears to only occur occasionally in the cypress environment. 2021-11-16 17:40:31 +00:00
mike12345567 a7cf64ce9e Fixing issue discovered by cypress test. 2021-11-16 15:23:02 +00:00
mike12345567 720fa12b21 Quick update to the app caching to improve performance even further, cache when an app doesn't have metadata/is invalid, meaning we don't need to poll the database everytime to see if the metadata doc exists. 2021-11-16 14:15:13 +00: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
mike12345567 289c1325f8 Adding specific error cases to all app ID checking functions - three cases, is dev/prod, isn't and no app/ID provided. 2021-11-16 10:30:37 +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
mike12345567 f13257bebe Updating the getAllApps function to use a cached version of the app metadata, rather than retrieving it individually everytime. Also invalidating the results everytime they are updated (at least in the important locations). 2021-11-15 17:40:45 +00:00
mike12345567 bf4a8737f0 Updating to allow a list of roles to be retrieved, allowing resources to have multiple levels of role that they can be accessed via. 2021-11-15 15:26:09 +00:00
mike12345567 e918efe8c2 Fixing an issue discovered in #3385 - RBAC roles worked for applying lower levels of roles, but they didn't revoke access correctly, it would always fallback to the base permissions if higher permissions were set. 2021-11-15 13:48:26 +00:00
Rory Powell 6af8ab2dc0 Fixes for google sso, cloud email url and cloud logo updates 2021-11-12 13:31:55 +00:00
mike12345567 47122f76fd 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
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 b80a93d6d5 cookie based approach 2021-11-04 14:03:18 +01:00
Michael Drury 3a5e004f36 Adding sync user endpoint to server which can be used by the worker. 2021-11-03 23:15:38 +00:00
Rory Powell 044579b829 Add expired user notification 2021-11-03 15:46:45 +00:00
Rory Powell fbaedd6a34 Fix: Prevent user updates in multi tenant mode from deleting user password. Also forward the authentication error from the backend to the login page to warn when an sso user is trying to log in with a password when one is not present 2021-11-03 15:04:05 +00:00
Rory Powell a4aa371ceb Add migration unit tests 2021-10-26 15:47:36 +01:00
Rory Powell 7b8318f9db Ignore case when finding user by email 2021-10-26 12:40:30 +01:00
mike12345567 bd59c28081 Removing live replication between deployed and development app, instead it is replicated when the app is opened in the builder. Live replication was not working and only actually pulled back the data on deploy which was a little confusing, this way it can easily be controlled. 2021-10-22 14:34:20 +01:00
Martin McKeaveney 74c74d78f2 encapsulate global logout function 2021-10-13 12:26:26 +01:00
Martin McKeaveney 11e64b0ffe tidy up 2021-10-12 20:19:32 +01:00
Martin McKeaveney af7bddcf22 platform logout function 2021-10-12 19:49:34 +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
mike12345567 183b6e7b50 Fixing issue with user's being logged in and trying to access other tenants public apps, this work makes sure that users from other tenants will not be 403'd immediately (too aggressive) but instead they will have all other their RBAC roles revoked. 2021-10-07 15:49:26 +01:00
mike12345567 2d9a087efe Merge branch 'develop' of github.com:Budibase/budibase into fix/mike-fixes 2021-10-06 16:58:02 +01:00
Martin McKeaveney 2f5ab466b0 Merge pull request #2901 from Budibase/fix/custom-sso-enforce-cross-tenancy
Don't let user exist in multiple tenants when using custom sso
2021-10-06 16:14:34 +01:00
Rory Powell 006610f00d Fix tests 2021-10-06 15:57:13 +01:00
Martin McKeaveney f0b9b230eb don't upload tarball to s3 in cloud 2021-10-06 15:36:40 +01:00
mike12345567 ed60a1fb1a Fixing an issue with new data source creation, could not view fetched tables until refresh page. 2021-10-06 15:31:32 +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 2f589a2f42 Add API keys between account portal and budibase 2021-10-04 13:40:50 +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
Rory Powell 6e10c1fa73 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
Rory Powell ee7529769f 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
Rory Powell 828da8b4d7 Honour cookie domain on empty values 2021-09-29 13:51:33 +01:00
mike12345567 1f127939af Merge branch 'develop' of github.com:Budibase/budibase into feature/cloud-export 2021-09-29 12:57:14 +01:00
Rory Powell c74c577ab9 Deprovision complete 2021-09-29 12:25:01 +01:00
Rory Powell 591203f5cd Deprovisioning working minus apps 2021-09-29 11:36:24 +01:00
Martin McKeaveney 12c405904f Merge pull request #2771 from Budibase/feature/subdomain-tenantid
adding subdomain checking to tenancy middleware
2021-09-29 09:56:53 +01:00