Commit Graph

283 Commits

Author SHA1 Message Date
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
Rory Powell 44002979b0 Self hosted SSO flow and account deletion 2021-09-21 12:27:53 +01:00
Martin McKeaveney 52f4aad525 adding AWS region to bucket config 2021-09-21 11:49:32 +01:00
Rory Powell 96b76231a9 Merge branch 'develop' into feature/onboarding-backend 2021-09-20 11:27:02 +01:00
Rory Powell 12a5428a6e Move all session population to budibase (bug fix) 2021-09-20 11:26:19 +01:00
Andrew Kingston a59c2db8ea Merge branch 'master' of github.com:Budibase/budibase into develop 2021-09-20 10:33:18 +01:00
Rory Powell 72a0203829 Password reset for budibase users 2021-09-17 13:41:22 +01:00
Rory Powell 626b166346 Access controls for cloud, self, and regular budibase users 2021-09-15 15:45:43 +01:00
Michael Drury 12f364e296
Merge pull request #2598 from Budibase/feature/automation-rework
Automation backend rework
2021-09-14 17:30:26 +01:00
Rory Powell 0af538816d
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
Martin McKeaveney 57b92d5b96 fix app fetching 2021-09-14 11:16:28 +01:00
Martin McKeaveney 02c9719b03 publishing redis client fix to master 2021-09-13 18:29:44 +01:00
Rory Powell 8d4311d232 Fix typo 2021-09-13 17:45:37 +01:00
Rory Powell ff39d247c8 Configurable user cache population in auth middleware 2021-09-13 17:38:12 +01:00
mike12345567 67c07b7e38 Fix for issue #2593. 2021-09-13 09:00:14 +01:00
mike12345567 3679579d53 Introducing the concept of flagging an automation as 'in test' which means it can run with triggers and everything as it normally would in development. 2021-09-10 14:37:34 +01:00
mike12345567 06d17827b6 Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-rework 2021-09-10 11:16:43 +01:00
Martin McKeaveney 9bc592818a fix redis auth for hosts containing redis 2021-09-10 10:08:13 +01:00
Martin McKeaveney ad2cccfbd2 lint 2021-09-09 18:20:12 +01:00
Martin McKeaveney a6ff46be0c formatting 2021-09-09 17:16:32 +01:00
Martin McKeaveney c8b772b8c1 allow configuration of redis cluster with fully qualified redis URL 2021-09-09 17:14:24 +01:00
mike12345567 01ca02ea9c Merge branch 'develop' of github.com:Budibase/budibase into feature/automation-rework 2021-09-09 16:33:41 +01:00
mike12345567 0117c1498f 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
Rory Powell a7576d86ba Add new redis key for email verification 2021-09-09 12:32:16 +01:00
mike12345567 d05c60d470 Adding slack integration. 2021-09-07 13:58:53 +01:00
Martin McKeaveney 9e73dcdd44 lint 2021-09-06 16:24:51 +01:00
Martin McKeaveney 53aebdf585 fix test failure 2021-09-06 16:18:50 +01:00
mike12345567 9e4ab9054e 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 2dca8ab46e Quick fix for backwards compat, enabling multi-tenancy on a previously single tenancy environment. 2021-09-06 15:14:46 +01:00
Martin McKeaveney 6d5fa8f9c7 catch when no couchDB url passed 2021-08-18 11:55:19 +01:00
Martin McKeaveney acff289940 simplify couchDB configuration 2021-08-18 11:23:28 +01:00
Martin McKeaveney c66f5ab6ff couchDB auth options 2021-08-17 14:11:03 +01:00
mike12345567 88396b77ed Merge branch 'fix/apps-2195-2282-2283' of github.com:Budibase/budibase into develop 2021-08-06 17:14:31 +01:00
mike12345567 5f997ab836 Linting. 2021-08-06 16:39:30 +01:00
mike12345567 c4f8d17a6e 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 d98706c7af Defining fetch for third party image retrieval. 2021-08-05 13:39:40 +01:00
mike12345567 42f08f97cc Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants"
This reverts commit 0d2e2314d4, reversing
changes made to 1beca4ee96.
2021-08-05 09:59:08 +01:00
Martin McKeaveney d9ad54d939 merge with master 2021-08-04 13:20:11 +01:00
Martin McKeaveney 52c803bf39 adding log to authenticated middleware for K8S env 2021-08-04 10:38:49 +01:00
Michael Drury 655bfe1a0c
Merge branch 'develop' into feature/multi-tenants 2021-08-04 10:07:31 +01:00
Michael Drury f37946d47e
Revert "Multi-tenancy/organisations" 2021-08-04 10:02:24 +01:00
mike12345567 5dc7b4b09e Fixing some issues highlighted by worker test cases. 2021-08-03 17:14:17 +01:00
mike12345567 55ff798803 Linting. 2021-08-03 15:41:51 +01:00
mike12345567 54e765a182 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 75ae7ac8d6 Linting. 2021-08-02 18:36:32 +01:00
mike12345567 7a69dcef78 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 1dbf7fa3b7 Fix import 2021-07-29 14:51:35 +01:00
Rory Powell 298cf4965c Sync profile picture when using SSO 2021-07-29 14:43:23 +01:00
mike12345567 a21fd3e0ee Limiting use of query string to a few select endpoints for determining tenant ID. 2021-07-27 18:02:59 +01:00
mike12345567 9174615821 Fixing an issue where you could accidentally end up on org/admin page due to the reactivity statements firing all the time. 2021-07-27 17:56:39 +01:00
mike12345567 b73b20cdbb Linting. 2021-07-27 16:24:39 +01:00
mike12345567 fb562908ee Fixing some issues with public endpoints causing logout loop. 2021-07-27 16:17:02 +01:00
mike12345567 1df08ffe35 Fixing some issues with org not being correctly detected. 2021-07-27 15:35:26 +01:00
mike12345567 669685580f Linting. 2021-07-26 13:20:42 +01:00
mike12345567 5c58630ed7 Fixing up everything found when testing with Cypress. 2021-07-26 13:19:47 +01:00
mike12345567 e76c44000b Fixing test case. 2021-07-23 20:08:16 +01:00
mike12345567 cfea184633 Linting. 2021-07-23 20:03:11 +01:00
mike12345567 a384cc059d Changing how apps are retrieved to be more efficient. 2021-07-23 20:01:53 +01:00
mike12345567 93f5419072 Adding use of the tenancy ID. 2021-07-23 17:41:00 +01:00
mike12345567 36e1ddf423 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-23 17:02:33 +01:00
mike12345567 b5d7e76ec2 Merge branch 'fix/lucene-filtering' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 16:10:59 +01:00
mike12345567 9f06b180a8 Adding concept of version to APIs. 2021-07-23 15:29:14 +01:00
mike12345567 155e30965f Fixing test cases and bugs that they raised. 2021-07-22 22:36:16 +01:00
mike12345567 190798d4ee Swapping admin -> global in worker to reduce confusion in API url naming. 2021-07-22 12:56:47 +01:00
mike12345567 e62c858a8d Adding mechanism to disable org functionality when multi-tenancy disabled. 2021-07-21 17:52:42 +01:00
mike12345567 f99f077cdc 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 7afce332c8 Fixing some issues discovered with logging in. 2021-07-20 17:46:41 +01:00
mike12345567 2182645339 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-20 15:56:12 +01:00
mike12345567 8241df2581 Fixing some tenancy issues. 2021-07-19 12:57:52 +01:00
mike12345567 c248844a24 Adding organisation page. 2021-07-16 18:24:32 +01:00
mike12345567 037dce5016 Further work, tenancy now working but some more work to be done. 2021-07-16 18:04:49 +01:00
mike12345567 f0f9736c0b Updating auth to utilise the tenant system. 2021-07-16 15:08:58 +01:00
mike12345567 5ffe3c7935 First version of multi-tenancy, work still to be done. 2021-07-15 17:57:02 +01:00
Rory Powell 70601b7cc5 Store OIDC config in cookie instead of URL 2021-07-15 16:20:31 +01:00
Rory Powell 90c0e7b2c1 Merge branch 'develop' into feature/oidc-support 2021-07-15 14:05:30 +01:00
Rory Powell 9e24bc14e7 Add database test configuration to auth package 2021-07-15 12:55:35 +01:00
mike12345567 f2c2ead3fc Cleaning up deployments into the app DB, moving API keys to be in global DB (which will be tenancy managed) and adding concept of platform info DB. 2021-07-14 16:29:32 +01:00
Rory Powell 356a765c92 Invert logos config naming to prevent conflict 2021-07-14 15:48:29 +01:00
mike12345567 e296a67b50 Renaming groups to workspaces. 2021-07-13 17:27:04 +01:00
Peter Clement 2900743545 Add UUID to each oidc config to distinguish each provider 2021-07-13 15:52:21 +01:00
Rory Powell 0982968f79 Setup common test data 2021-07-13 12:08:58 +01:00
Rory Powell 4c9308462e Remove redundant check on requireLocalAccount 2021-07-13 10:46:27 +01:00
Rory Powell d25d9edda1 Test google auth strategy 2021-07-13 10:17:14 +01:00
Rory Powell 4f397740e0 Add jest to auth package + test oidc strategy 2021-07-13 10:02:08 +01:00
Andrew Kingston a9d4f09782
Merge pull request #1953 from Budibase/client-feature-flags
Client library updating and client library feature awareness
2021-07-09 16:52:45 +01:00
Rory Powell 97a62594ed Update clientId -> clientID 2021-07-09 16:21:42 +01:00
Rory Powell 94aa6b3711 Remove review comment 2021-07-09 09:37:52 +01:00
Rory Powell 63b13fc360 Merge branch 'develop' into feature/oidc-support 2021-07-08 20:15:16 +01:00
Rory Powell 87f05e7d06 Always maintain original user id. No longer remove old user during sync 2021-07-08 16:49:07 +01:00
Rory Powell 8bea18e696 sync third party profile on every login 2021-07-08 16:11:48 +01:00
Rory Powell 7db8658518 remove duplicate scope definition
scope can be defined both within the strategy declaration or when invoking passport
2021-07-08 15:21:54 +01:00
Rory Powell db9078cebe Linting 2021-07-08 13:12:25 +01:00