Commit Graph

422 Commits

Author SHA1 Message Date
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
Budibase Staging Release Bot 92b415d109 v0.9.87-alpha.5 2021-08-03 12:48:30 +00:00
Budibase Release Bot 308bb709ae v0.9.92 2021-08-03 09:21:53 +00:00
Budibase Release Bot 913cf9071b v0.9.91 2021-08-03 09:12:12 +00: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
Budibase Release Bot 0f4df3cc85 v0.9.90 2021-08-02 14:49:04 +00:00
Budibase Release Bot c0e1f29788 v0.9.89 2021-08-02 14:36:56 +00:00
Budibase Staging Release Bot 22db140dcf v0.9.87-alpha.4 2021-08-02 13:02:24 +00:00
Budibase Release Bot e332003cb7 v0.9.88 2021-07-30 18:07:23 +00:00
Budibase Release Bot 2bfe7866cf v0.9.87 2021-07-30 17:25:31 +00:00
Budibase Staging Release Bot 03e66795e4 v0.9.87-alpha.3 2021-07-30 11:04:41 +00:00
Rory Powell 5a83b177d2 Merge pull request #2175 from Budibase/feature/sso-sync-picture
Sync profile picture when using SSO
2021-07-30 11:56:42 +01:00
Budibase Staging Release Bot ffbcaf1777 v0.9.87-alpha.2 2021-07-30 10:33:02 +00:00
Budibase Staging Release Bot 699c1964dc v0.9.87-alpha.1 2021-07-29 21:44:52 +00: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
Budibase Staging Release Bot 96d11ef07f v0.9.87-alpha.0 2021-07-29 10:20:04 +00:00
Rory Powell da3dfe6266 Merge master -> develop version bump 0.9.86 2021-07-29 10:55:31 +01:00
Budibase Staging Release Bot 4f2a2d3090 v0.9.86-alpha.0 2021-07-29 09:19:25 +00:00
Budibase Release Bot 9778ce8f98 v0.9.86 2021-07-29 09:17:21 +00:00
Budibase Release Bot 1799502520 v0.9.85 2021-07-28 21:57:53 +00:00
Budibase Release Bot 4c86d5558d v0.9.84 2021-07-28 09:34:03 +00:00
mike12345567 5dfeb9b3ca Limiting use of query string to a few select endpoints for determining tenant ID. 2021-07-27 18:02:59 +01:00
mike12345567 35f1b50511 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
Budibase Release Bot a682cffbec v0.9.83 2021-07-27 16:13:27 +00: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
Budibase Staging Release Bot 58b1d81d88 v0.9.83-alpha.0 2021-07-27 14:50:45 +00:00
mike12345567 615053f201 Fixing some issues with org not being correctly detected. 2021-07-27 15:35:26 +01:00
Martin McKeaveney 775bcc631c Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-27 12:03:20 +01:00
Budibase Release Bot b8ca801b6a v0.9.82 2021-07-27 11:01:29 +00:00
Martin McKeaveney 2c2e46f26b merge 2021-07-27 11:58:41 +01:00
mike12345567 1b40740709 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-27 10:32:18 +01:00
Budibase Release Bot 7de10f6db3 v0.9.81 2021-07-27 09:20:57 +00:00
Budibase Staging Release Bot 31a7414333 v0.9.80-alpha.9 2021-07-27 09:11:15 +00:00
Budibase Release Bot 535a28eb83 v0.9.80 2021-07-27 09:07:05 +00:00
Budibase Staging Release Bot 1d8a5da6cc v0.9.80-alpha.8 2021-07-26 21:20:37 +00:00
mike12345567 224a63ccb2 Linting. 2021-07-26 13:20:42 +01:00
mike12345567 4606248ffd Fixing up everything found when testing with Cypress. 2021-07-26 13:19:47 +01:00
Budibase Staging Release Bot 5421768521 v0.9.80-alpha.7 2021-07-26 09:34:02 +00:00
Budibase Staging Release Bot 074ebfde63 v0.9.80-alpha.6 2021-07-26 08:23:08 +00:00
Budibase Staging Release Bot d44bafba06 v0.9.80-alpha.5 2021-07-26 07:42:30 +00:00
Budibase Staging Release Bot 1b54e53ec6 v0.9.80-alpha.4 2021-07-25 11:22:12 +00:00
Budibase Staging Release Bot cfec959384 v0.9.80-alpha.3 2021-07-25 10:58:35 +00:00
Budibase Staging Release Bot 054740398f v0.9.80-alpha.2 2021-07-24 11:22:42 +00:00
mike12345567 a630bfb515 Fixing test case. 2021-07-23 20:08:16 +01:00
mike12345567 c63ee57bbd Linting. 2021-07-23 20:03:11 +01:00
mike12345567 4d0faa38e3 Changing how apps are retrieved to be more efficient. 2021-07-23 20:01:53 +01:00
Budibase Staging Release Bot 306ad55c99 v0.9.80-alpha.1 2021-07-23 17:41:06 +00:00
Rory Powell 75bda99e00 Fix staging version 2021-07-23 18:31:45 +01:00
Budibase Staging Release Bot 255bea8553 v0.9.79-alpha.5 2021-07-23 16:55:34 +00:00
mike12345567 bd301cf972 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 17:52:30 +01:00
mike12345567 be6561e93d Adding use of the tenancy ID. 2021-07-23 17:41:00 +01:00
mike12345567 9377c7b0f3 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 17:20:41 +01:00
Budibase Staging Release Bot f0163b3942 v0.9.79-alpha.4 2021-07-23 16:13:42 +00:00
Budibase Release Bot c47d08bb4a v0.9.79 2021-07-23 16:08:58 +00:00
mike12345567 df942f7d7c Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-23 17:02:33 +01:00
Budibase Staging Release Bot 69b2bee2e1 v0.9.79-alpha.3 2021-07-23 15:46:11 +00: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
Budibase Staging Release Bot 32cf132022 v0.9.79-alpha.2 2021-07-23 14:05:23 +00:00
Budibase Staging Release Bot 885d3003fe v0.9.79-alpha.1 2021-07-23 11:08:21 +00:00
Budibase Staging Release Bot f3f60aee78 v0.9.79-alpha.0 2021-07-23 09:37:21 +00:00
mike12345567 313302cae2 Fixing test cases and bugs that they raised. 2021-07-22 22:36:16 +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 be1558e1e7 Adding mechanism to disable org functionality when multi-tenancy disabled. 2021-07-21 17:52:42 +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
Peter Clement 3f42ed74b9 Merge remote-tracking branch 'origin/develop' into oidc-config-management 2021-07-20 12:57:58 +01:00
mike12345567 358b2aef89 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-19 17:35:48 +01:00
mike12345567 e026375f50 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-19 16:24:19 +01:00
Budibase Release Bot d8136d0704 v0.9.78 2021-07-19 14:23:03 +00:00
mike12345567 e56a0f5aa3 Fixing some tenancy issues. 2021-07-19 12:57:52 +01:00
Budibase Release Bot ec19ff23c2 v0.9.77 2021-07-16 18:52:46 +00:00
mike12345567 d157285918 Adding organisation page. 2021-07-16 18:24:32 +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
Budibase Release Bot 2668f2ba40 v0.9.76 2021-07-15 23:23:00 +00:00
mike12345567 912659a8ad First version of multi-tenancy, work still to be done. 2021-07-15 17:57:02 +01:00
Rory Powell 33b352c3ef Store OIDC config in cookie instead of URL 2021-07-15 16:20:31 +01:00
Rory Powell 239e39e5ed Merge branch 'develop' into feature/oidc-support 2021-07-15 14:05:30 +01:00
Rory Powell ea7ebafe12 Add database test configuration to auth package 2021-07-15 12:55:35 +01:00
Budibase Release Bot 2bd7934518 v0.9.75 2021-07-15 10:12:28 +00:00
mike12345567 f6a133e556 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 3152bd1839 Invert logos config naming to prevent conflict 2021-07-14 15:48:29 +01:00
mike12345567 3eb82b5a63 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-14 13:54:39 +01:00
mike12345567 ae3a09d560 Merge branch 'master' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-14 13:53:57 +01:00
Budibase Release Bot 23bb4215c2 v0.9.74 2021-07-13 16:53:42 +00:00
mike12345567 004f719dde Renaming groups to workspaces. 2021-07-13 17:27:04 +01:00
Peter Clement 9dd05ec96e Add UUID to each oidc config to distinguish each provider 2021-07-13 15:52:21 +01:00
Rory Powell 6c8a025760 Setup common test data 2021-07-13 12:08:58 +01:00
Rory Powell b3cd3f7a49 Add jest to auth package devDependencies 2021-07-13 10:49:27 +01:00
Rory Powell b47073ae49 Remove redundant check on requireLocalAccount 2021-07-13 10:46:27 +01:00
Rory Powell f7d91f7cd6 Test google auth strategy 2021-07-13 10:17:14 +01:00
Rory Powell fc3d7122a7 Add jest to auth package + test oidc strategy 2021-07-13 10:02:08 +01:00
Martin McKeaveney bebfe4c6e1 merge with master 2021-07-11 18:07:46 +01:00
Budibase Release Bot 1f5b3b4467 v0.9.73 2021-07-09 17:29:06 +00:00
Andrew Kingston aa2691a452 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 baaaf3f237 Update clientId -> clientID 2021-07-09 16:21:42 +01:00
Rory Powell a98ae5b367 Remove review comment 2021-07-09 09:37:52 +01:00
Rory Powell 73c8dcf71b Merge branch 'develop' into feature/oidc-support 2021-07-08 20:15:16 +01:00
Rory Powell 20b70a0445 Always maintain original user id. No longer remove old user during sync 2021-07-08 16:49:07 +01:00
Rory Powell faf711e092 sync third party profile on every login 2021-07-08 16:11:48 +01:00
Rory Powell 1c18b4c6ac 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 c16cfc328f Linting 2021-07-08 13:12:25 +01:00
Rory Powell ec93d15462 Integrate with configuration ui / support for email usernames 2021-07-08 13:04:04 +01:00
Andrew Kingston a7a081da8c Add application/json as a known file type 2021-07-08 12:55:51 +01:00
Rory Powell bf94125d33 Save email from third party user 2021-07-08 11:54:16 +01:00
Rory Powell f0016f4bde Merge branch 'feature/oidc-support' of github.com:Budibase/budibase into feature/oidc-support 2021-07-08 11:12:45 +01:00
Rory Powell 25f1368227 Merge google/oidc user authentication and surface user relevant error messages during authentication 2021-07-08 11:12:34 +01:00
mike12345567 93302cb667 Linting. 2021-07-07 23:30:14 +01:00
mike12345567 4916ff7eb8 Adding sessions API. 2021-07-07 23:29:19 +01:00
Peter Clement 2e49686eab Merge branch 'feature/oidc-support' of https://github.com/Budibase/budibase into oidc-config-management 2021-07-07 17:42:31 +01:00
mike12345567 93cc9530ed Merge branch 'develop' of github.com:Budibase/budibase into feature/user-session 2021-07-07 17:17:16 +01:00
mike12345567 7f0fc5f899 Fixing session issues after testing a bit. 2021-07-07 17:15:53 +01:00
Peter Clement cff2a9ad7d Fix for icon upload issue 2021-07-07 16:18:18 +01:00
Rory Powell d6c6681220 Fallback to ID token to retrieve email when not available in passport profile (oidc userinfo) 2021-07-07 14:58:14 +01:00
Peter Clement 37b1200051 Allow user uploaded icons in oidc config 2021-07-07 13:41:09 +01:00
Budibase Release Bot f4f2a03503 v0.9.72 2021-07-07 12:19:03 +00:00
Budibase Release Bot 330fd8b922 v0.9.71 2021-07-07 10:52:11 +00:00
Martin McKeaveney 13517d5298 make logged in users basic by default, prevent allowing users to be assigned as default in the UI 2021-07-06 18:43:04 +01:00
mike12345567 b847f85d91 WIP - first version of user sessions. 2021-07-06 18:10:04 +01:00
Martin McKeaveney aa0906bcad public role in builder backend UI 2021-07-06 17:19:53 +01:00
Martin McKeaveney 68df47e22f default to public in UI 2021-07-06 17:19:03 +01:00
Martin McKeaveney 25fd9cd54f default users without roles to public role 2021-07-06 17:13:02 +01:00
Rory Powell 71ddd41877 Improve error handling on openid-configuration request 2021-07-06 10:03:40 +01:00
Rory Powell 7803540399 Use configuration url to retrieve oidc endpoints
The /.well-known/openid-configuration endpoint can be used to
retrieve the majority of configuration needed for oidc

Additionally refactor the callback url to be generated on the server
side as this is a fixed endpoint.

Add linting fixes
2021-07-06 10:03:40 +01:00
Bernhard Hayden baab7141c0 Proof of concept OIDC implementation 2021-07-06 10:03:40 +01:00
Budibase Release Bot 1532fee301 v0.9.70 2021-07-05 14:38:21 +00:00
Peter Clement 0e6fb73b9e Add validation to backend for OIDC configuration 2021-07-05 14:27:19 +01:00
Budibase Release Bot b4c2e3cd31 v0.9.69 2021-07-01 10:51:59 +00:00
Budibase Release Bot 9b1530ff87 v0.9.68 2021-07-01 10:41:50 +00:00
Budibase Release Bot 4abd23f6ff v0.9.67 2021-06-29 16:46:33 +00:00
Martin McKeaveney ceeb968531 Merge pull request #1871 from Budibase/develop
Develop
2021-06-29 14:48:27 +01:00
Budibase Release Bot e80e2c6a7b v0.9.66 2021-06-29 13:24:30 +00:00
mike12345567 fd45ac86ab Fixing issue with Redis which was causing CPU peaking if couldn't connect. 2021-06-25 15:32:59 +01:00
Budibase Release Bot 4eedbe7890 v0.9.65 2021-06-25 11:32:56 +00:00
Budibase Release Bot 6f280e389a v0.9.64 2021-06-24 11:37:19 +00:00
Budibase Release Bot 01bd23f45e v0.9.63 2021-06-23 22:43:56 +00:00
Budibase Release Bot 8d740bd199 v0.9.62 2021-06-23 22:27:33 +00:00
Budibase Release Bot b63a901a47 v0.9.61 2021-06-23 19:53:30 +00:00
Budibase Release Bot e25c6d4f3f v0.9.60 2021-06-23 12:53:57 +00:00
Budibase Release Bot e141a17e87 v0.9.59 2021-06-23 11:09:48 +00:00
Budibase Release Bot ce2abff002 v0.9.58 2021-06-23 09:13:01 +00:00
Budibase Release Bot e93c40a0d7 v0.9.57 2021-06-23 08:45:22 +00:00
Budibase Release Bot a61abb0476 v0.9.56 2021-06-23 07:33:05 +00:00
Budibase Release Bot ee825b3728 v0.9.55 2021-06-22 16:31:57 +00:00
Budibase Release Bot 42d18b8d7f v0.9.54 2021-06-22 16:03:40 +00:00