1
0
Fork 0
mirror of synced 2024-08-05 13:21:26 +12:00
Commit graph

286 commits

Author SHA1 Message Date
mike12345567
f6705b879a 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
b1cc0d0783 Setting auth cookie to not expire. 2021-12-03 12:39:20 +00:00
mike12345567
e6b3521ed5 Extending logout TTL from a day to a week. 2021-12-03 11:17:48 +00:00
mike12345567
831ef53319 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-11-25 12:21:58 +00:00
mike12345567
3b9f3d6690 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
8d56fe1339 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
a9c6395d72 Fixing issue discovered by cypress test. 2021-11-16 15:23:02 +00:00
mike12345567
960ea66fd7 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
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
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
e0f04abfb1 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
4268ad6f80 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
cf13853f09 Fixes for google sso, cloud email url and cloud logo updates 2021-11-12 13:31:55 +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