Commit Graph

112 Commits

Author SHA1 Message Date
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
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
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
Rory Powell 006610f00d Fix tests 2021-10-06 15:57:13 +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
Martin McKeaveney df261bf3ea Revert "Temp account portal logging" 2021-09-28 11:33:07 +01:00
Rory Powell 0806e69010 Temp account portal logging 2021-09-28 10:15:48 +01:00
Michael Drury f45c780d99 Merge pull request #2698 from Budibase/feature/view-cloud-replacement
Cloud View replacement
2021-09-22 18:21:38 +01:00
mike12345567 e8e331e578 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
Rory Powell 29295e6d36 Self hosted SSO flow and account deletion 2021-09-21 12:27:53 +01:00
Rory Powell d2c5197fa0 Merge pull request #2574 from Budibase/feature/onboarding-backend
Add new redis key for email verification & pre-hashed password option
2021-09-14 11:17:54 +01:00
Rory Powell fb01a66936 Configurable user cache population in auth middleware 2021-09-13 17:38:12 +01:00
mike12345567 58aa32f1b0 Fixing issue with multi-tenancy and public apps, when the tenant isn't necessarily known, it can be found in the app ID, building a middleware to manage this. 2021-09-09 13:27:18 +01:00
Martin McKeaveney f7718ecae9 lint 2021-09-06 16:24:51 +01:00
Martin McKeaveney c1c4fe968f fix test failure 2021-09-06 16:18:50 +01:00
mike12345567 a0e0843363 Allowing all server endpoints to run without tenant information, as most endpoints in server can be public. 2021-09-06 16:01:45 +01:00
mike12345567 a8eb067de3 Merge branch 'fix/apps-2195-2282-2283' of github.com:Budibase/budibase into develop 2021-08-06 17:14:31 +01:00
mike12345567 be48677490 Fixes for a lot of issues generated by the use of the pouchdb allDbs call, which is not designed for multi-client DB setups like ours, using CouchDB method instead. 2021-08-06 16:38:07 +01:00
mike12345567 efcbe864c2 Defining fetch for third party image retrieval. 2021-08-05 13:39:40 +01:00
mike12345567 46ea3f3e9e Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants"
This reverts commit 4834b765be, reversing
changes made to 2456e69483.
2021-08-05 09:59:08 +01:00
Martin McKeaveney df927e3feb merge with master 2021-08-04 13:20:11 +01:00
Martin McKeaveney 0ad651d592 adding log to authenticated middleware for K8S env 2021-08-04 10:38:49 +01:00
Michael Drury ec26f6ab5e Merge branch 'develop' into feature/multi-tenants 2021-08-04 10:07:31 +01:00
Michael Drury b86a6fddc9 Revert "Multi-tenancy/organisations" 2021-08-04 10:02:24 +01:00
mike12345567 e7974f7e86 Implementing some changes to how context gets set for tenancy, after testing, as well as updating server. 2021-08-03 15:32:25 +01:00
mike12345567 f3ce979230 Linting. 2021-08-02 18:36:32 +01:00
mike12345567 7743384f77 re-write, to use the ideas that Rory put in place, still WIP, un-tested but all implemented. 2021-08-02 18:34:43 +01:00
Rory Powell dd8b1361d8 Fix import 2021-07-29 14:51:35 +01:00
Rory Powell 73d1cb41d8 Sync profile picture when using SSO 2021-07-29 14:43:23 +01:00
mike12345567 5324f506b6 Linting. 2021-07-27 16:24:39 +01:00
mike12345567 adf6d18cb1 Fixing some issues with public endpoints causing logout loop. 2021-07-27 16:17:02 +01:00
mike12345567 615053f201 Fixing some issues with org not being correctly detected. 2021-07-27 15:35:26 +01:00
mike12345567 a630bfb515 Fixing test case. 2021-07-23 20:08:16 +01:00
mike12345567 be6561e93d Adding use of the tenancy ID. 2021-07-23 17:41:00 +01:00
mike12345567 df942f7d7c Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-23 17:02:33 +01:00
mike12345567 4160d63b2d Merge branch 'fix/lucene-filtering' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 16:10:59 +01:00
mike12345567 fa3cf585d7 Adding concept of version to APIs. 2021-07-23 15:29:14 +01:00
mike12345567 27b2a13817 Swapping admin -> global in worker to reduce confusion in API url naming. 2021-07-22 12:56:47 +01:00
mike12345567 3305400c83 Fixing saving of oidc and google auth, neither should require the callbackURL property with the tenancy update. 2021-07-21 11:10:26 +01:00
mike12345567 9d89362af1 Fixing some issues discovered with logging in. 2021-07-20 17:46:41 +01:00
mike12345567 129ff3fef2 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-20 15:56:12 +01:00
mike12345567 f3156fca06 Further work, tenancy now working but some more work to be done. 2021-07-16 18:04:49 +01:00
mike12345567 b7995dd61d Updating auth to utilise the tenant system. 2021-07-16 15:08:58 +01:00
mike12345567 912659a8ad First version of multi-tenancy, work still to be done. 2021-07-15 17:57:02 +01:00
Rory Powell ea7ebafe12 Add database test configuration to auth package 2021-07-15 12:55:35 +01:00
Peter Clement 9dd05ec96e Add UUID to each oidc config to distinguish each provider 2021-07-13 15:52:21 +01:00