1
0
Fork 0
mirror of synced 2024-07-26 08:35:53 +12:00
Commit graph

274 commits

Author SHA1 Message Date
mike12345567 35d96f54c8 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 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
mike12345567 7eb29ffc7d 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 c8e02a20a0 Updating per review comments. 2021-11-10 12:03:43 +00:00
mike12345567 a0ebe7537d Merge branch 'develop' of github.com:Budibase/budibase into fix/user-metadata 2021-11-08 17:28:32 +00: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 7cead2d8f4 cookie based approach 2021-11-04 14:03:18 +01:00
Michael Drury 8bf2e7278e Adding sync user endpoint to server which can be used by the worker. 2021-11-03 23:15:38 +00:00
Rory Powell 85cca04321 Add expired user notification 2021-11-03 15:46:45 +00:00
Rory Powell 2dced6f7a8 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 957ce7ef04 Add migration unit tests 2021-10-26 15:47:36 +01:00
Rory Powell 2011e579a1 Ignore case when finding user by email 2021-10-26 12:40:30 +01:00
mike12345567 a2d302cd57 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 81f49dcdf1 encapsulate global logout function 2021-10-13 12:26:26 +01:00
Martin McKeaveney ed9574b815 tidy up 2021-10-12 20:19:32 +01:00
Martin McKeaveney 3f279d8d0f platform logout function 2021-10-12 19:49:34 +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 380d0e030e 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 3cc733eefd Merge branch 'develop' of github.com:Budibase/budibase into fix/mike-fixes 2021-10-06 16:58:02 +01:00
Martin McKeaveney cec4c9ba35
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 13a2770c26 Fix tests 2021-10-06 15:57:13 +01:00
Martin McKeaveney a3e01cccdb don't upload tarball to s3 in cloud 2021-10-06 15:36:40 +01:00
mike12345567 8699d7293b 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 f10297953f Don't let user exist in multiple tenants when using custom sso 2021-10-06 15:15:46 +01:00
Rory Powell 651947bb49 Add API keys between account portal and budibase 2021-10-04 13:40:50 +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 0e4bdb73a4 Remove global info users on user deletion 2021-09-30 13:08:07 +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 e2bf53b957
Merge pull request #2789 from Budibase/feature/deprovisioning
Tenant deprovisioning
2021-09-29 17:17:26 +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 e8b35e2a68 Honour cookie domain on empty values 2021-09-29 13:51:33 +01:00
mike12345567 be1f94941c Merge branch 'develop' of github.com:Budibase/budibase into feature/cloud-export 2021-09-29 12:57:14 +01:00
Rory Powell 5835716e9d Deprovision complete 2021-09-29 12:25:01 +01:00
Rory Powell 5be2a8489d Deprovisioning working minus apps 2021-09-29 11:36:24 +01:00
Martin McKeaveney 3c40444b33
Merge pull request #2771 from Budibase/feature/subdomain-tenantid
adding subdomain checking to tenancy middleware
2021-09-29 09:56:53 +01:00
Rory Powell 05f237dd26 Merge branch 'develop' into feature/deprovisioning 2021-09-28 17:13:04 +01:00
Martin McKeaveney 6e2508797a adding subdomain checking to tenancy middleware 2021-09-28 16:40:03 +01:00
Rory Powell b8e4824154 Set cookie domain to fix logout 2021-09-28 16:35:31 +01:00
Martin McKeaveney e92c2be577
Revert "Temp account portal logging" 2021-09-28 11:33:07 +01:00
mike12345567 145c0a11c9 Merge branch 'develop' of github.com:Budibase/budibase into feature/cloud-export 2021-09-28 11:23:03 +01:00
Rory Powell aa428881e7 Temp account portal logging 2021-09-28 10:15:48 +01:00
Rory Powell 4813a63439 Deprovisioning WIP 2021-09-28 09:48:00 +01:00
mike12345567 f836565f69 Putting together cloud export and import functionality, still need to test, but basic concept there. 2021-09-27 19:12:41 +01:00
Martin McKeaveney f877244571 abstract usagedoc creation into auth, create the doc if it doesn't exist 2021-09-27 17:35:22 +01:00
mike12345567 649a33d3c8 Getting rid of the concept of permissions hierarchy, roles still have a hierarchy and base permissions still follow the old system, but resources can be given a stack of separate permissions which don't override each other. 2021-09-23 19:04:53 +01:00
Michael Drury 53aaea9e31
Merge pull request #2698 from Budibase/feature/view-cloud-replacement
Cloud View replacement
2021-09-22 18:21:38 +01:00
Rory Powell e4fb901e24
Merge pull request #2691 from Budibase/feature/onboarding-backend
SSO flow and account deletion
2021-09-22 09:47:06 +01:00
Martin McKeaveney 61a77b1fd4 merge from master 2021-09-21 21:42:52 +01:00
mike12345567 e0ae992a46 Merge branch 'develop' of github.com:Budibase/budibase into feature/view-cloud-replacement 2021-09-21 17:27:47 +01:00
mike12345567 efdd78c7fe Removing use of db.post as its dangerous to allow the possibility of _id being auto-generated, these docs would be lost as we couldn't query them out by the usual id mechanism. 2021-09-21 16:07:04 +01:00