Commit Graph

426 Commits

Author SHA1 Message Date
Budibase Staging Release Bot 20a08f2696 v0.9.87-alpha.6 2021-08-03 21:01:15 +00:00
mike12345567 5dc7b4b09e Fixing some issues highlighted by worker test cases. 2021-08-03 17:14:17 +01:00
Budibase Release Bot cc38b0af0f v0.9.93 2021-08-03 16:02:29 +00: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
Budibase Staging Release Bot b8d94c7cb5 v0.9.87-alpha.5 2021-08-03 12:48:30 +00:00
Budibase Release Bot c059926da6 v0.9.92 2021-08-03 09:21:53 +00:00
Budibase Release Bot 55c14935a7 v0.9.91 2021-08-03 09:12:12 +00: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
Budibase Release Bot 0b50867dd6 v0.9.90 2021-08-02 14:49:04 +00:00
Budibase Release Bot 8d2040cae4 v0.9.89 2021-08-02 14:36:56 +00:00
Budibase Staging Release Bot 9b66b6090f v0.9.87-alpha.4 2021-08-02 13:02:24 +00:00
Budibase Release Bot 758833a191 v0.9.88 2021-07-30 18:07:23 +00:00
Budibase Release Bot 9dbd67b57f v0.9.87 2021-07-30 17:25:31 +00:00
Budibase Staging Release Bot 0cb528489c v0.9.87-alpha.3 2021-07-30 11:04:41 +00:00
Rory Powell eda14f032a
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 0df305205e v0.9.87-alpha.2 2021-07-30 10:33:02 +00:00
Budibase Staging Release Bot 110a39e7f4 v0.9.87-alpha.1 2021-07-29 21:44:52 +00: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
Budibase Staging Release Bot 7a42898ef8 v0.9.87-alpha.0 2021-07-29 10:20:04 +00:00
Rory Powell 079e78b557 Merge master -> develop version bump 0.9.86 2021-07-29 10:55:31 +01:00
Budibase Staging Release Bot b90435756d v0.9.86-alpha.0 2021-07-29 09:19:25 +00:00
Budibase Release Bot 6f190345de v0.9.86 2021-07-29 09:17:21 +00:00
Budibase Release Bot 3b3211b978 v0.9.85 2021-07-28 21:57:53 +00:00
Budibase Release Bot a804cabbe8 v0.9.84 2021-07-28 09:34:03 +00: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
Budibase Release Bot fa307c9a59 v0.9.83 2021-07-27 16:13:27 +00: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
Budibase Staging Release Bot 01a1fce0f8 v0.9.83-alpha.0 2021-07-27 14:50:45 +00:00
mike12345567 1df08ffe35 Fixing some issues with org not being correctly detected. 2021-07-27 15:35:26 +01:00
Martin McKeaveney 30be2a00fa Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-27 12:03:20 +01:00
Budibase Release Bot 10180ba277 v0.9.82 2021-07-27 11:01:29 +00:00
Martin McKeaveney e7153277fb merge 2021-07-27 11:58:41 +01:00
mike12345567 e2e796cd9d Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-27 10:32:18 +01:00
Budibase Release Bot 03acad2d89 v0.9.81 2021-07-27 09:20:57 +00:00
Budibase Staging Release Bot 2ecb2de1d2 v0.9.80-alpha.9 2021-07-27 09:11:15 +00:00
Budibase Release Bot 805464b474 v0.9.80 2021-07-27 09:07:05 +00:00
Budibase Staging Release Bot 0dbec1f1a4 v0.9.80-alpha.8 2021-07-26 21:20:37 +00: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
Budibase Staging Release Bot eaf656a85d v0.9.80-alpha.7 2021-07-26 09:34:02 +00:00
Budibase Staging Release Bot 9b0daf925c v0.9.80-alpha.6 2021-07-26 08:23:08 +00:00
Budibase Staging Release Bot ef396a1a48 v0.9.80-alpha.5 2021-07-26 07:42:30 +00:00
Budibase Staging Release Bot 3b3b90c721 v0.9.80-alpha.4 2021-07-25 11:22:12 +00:00
Budibase Staging Release Bot ef3ee02885 v0.9.80-alpha.3 2021-07-25 10:58:35 +00:00
Budibase Staging Release Bot 88dbb17af0 v0.9.80-alpha.2 2021-07-24 11:22:42 +00: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
Budibase Staging Release Bot 88b53b34a0 v0.9.80-alpha.1 2021-07-23 17:41:06 +00:00
Rory Powell 51a1cd5f43 Fix staging version 2021-07-23 18:31:45 +01:00
Budibase Staging Release Bot dcec1accc2 v0.9.79-alpha.5 2021-07-23 16:55:34 +00:00
mike12345567 7fe7ca9411 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 17:52:30 +01:00
mike12345567 93f5419072 Adding use of the tenancy ID. 2021-07-23 17:41:00 +01:00
mike12345567 e4eb2d34b2 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 17:20:41 +01:00
Budibase Staging Release Bot c2cd7f639c v0.9.79-alpha.4 2021-07-23 16:13:42 +00:00
Budibase Release Bot 7ec521c0e9 v0.9.79 2021-07-23 16:08:58 +00:00
mike12345567 36e1ddf423 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-23 17:02:33 +01:00
Budibase Staging Release Bot 91fe930b7e v0.9.79-alpha.3 2021-07-23 15:46:11 +00: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
Budibase Staging Release Bot e45a6f6778 v0.9.79-alpha.2 2021-07-23 14:05:23 +00:00
Budibase Staging Release Bot 5ef00cd2a4 v0.9.79-alpha.1 2021-07-23 11:08:21 +00:00
Budibase Staging Release Bot c71d8a4f42 v0.9.79-alpha.0 2021-07-23 09:37:21 +00: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
Peter Clement 32b2093cff Merge remote-tracking branch 'origin/develop' into oidc-config-management 2021-07-20 12:57:58 +01:00
mike12345567 99fe16d169 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-19 17:35:48 +01:00
mike12345567 63dba7b574 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-19 16:24:19 +01:00
Budibase Release Bot f518890ae0 v0.9.78 2021-07-19 14:23:03 +00:00
mike12345567 8241df2581 Fixing some tenancy issues. 2021-07-19 12:57:52 +01:00
Budibase Release Bot 49f1c20f17 v0.9.77 2021-07-16 18:52:46 +00: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
Budibase Release Bot 5b2c463ebf v0.9.76 2021-07-15 23:23:00 +00: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
Budibase Release Bot fb334c6f15 v0.9.75 2021-07-15 10:12:28 +00: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 ccb0e1b354 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-14 13:54:39 +01:00
mike12345567 cb1514cb1a Merge branch 'master' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-14 13:53:57 +01:00
Budibase Release Bot be0559606a v0.9.74 2021-07-13 16:53:42 +00: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 62533e40d7 Add jest to auth package devDependencies 2021-07-13 10:49:27 +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
Martin McKeaveney 742402f4c7 merge with master 2021-07-11 18:07:46 +01:00
Budibase Release Bot 3b07d3143b v0.9.73 2021-07-09 17:29:06 +00: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
Rory Powell aa601f3701 Integrate with configuration ui / support for email usernames 2021-07-08 13:04:04 +01:00
Andrew Kingston 08578af4ba Add application/json as a known file type 2021-07-08 12:55:51 +01:00
Rory Powell ef8b9b40c1 Save email from third party user 2021-07-08 11:54:16 +01:00
Rory Powell 238d31e922 Merge branch 'feature/oidc-support' of github.com:Budibase/budibase into feature/oidc-support 2021-07-08 11:12:45 +01:00
Rory Powell 5ec79acabf Merge google/oidc user authentication and surface user relevant error messages during authentication 2021-07-08 11:12:34 +01:00
mike12345567 2fc606f5b5 Linting. 2021-07-07 23:30:14 +01:00
mike12345567 cc67e2caa6 Adding sessions API. 2021-07-07 23:29:19 +01:00
Peter Clement 4b518af605 Merge branch 'feature/oidc-support' of https://github.com/Budibase/budibase into oidc-config-management 2021-07-07 17:42:31 +01:00
mike12345567 7581360e9e Merge branch 'develop' of github.com:Budibase/budibase into feature/user-session 2021-07-07 17:17:16 +01:00
mike12345567 79b7747714 Fixing session issues after testing a bit. 2021-07-07 17:15:53 +01:00
Peter Clement 8426ffc036 Fix for icon upload issue 2021-07-07 16:18:18 +01:00
Rory Powell 1c39c2f063 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 b5f398da4d Allow user uploaded icons in oidc config 2021-07-07 13:41:09 +01:00
Budibase Release Bot 4afd6f4fbe v0.9.72 2021-07-07 12:19:03 +00:00
Budibase Release Bot cdd85c4d11 v0.9.71 2021-07-07 10:52:11 +00:00
Martin McKeaveney 93b562e2df 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 36c0e45761 WIP - first version of user sessions. 2021-07-06 18:10:04 +01:00
Martin McKeaveney 6af078a546 public role in builder backend UI 2021-07-06 17:19:53 +01:00
Martin McKeaveney 561f824606 default to public in UI 2021-07-06 17:19:03 +01:00
Martin McKeaveney 4e8b140c52 default users without roles to public role 2021-07-06 17:13:02 +01:00
Rory Powell 0745eedbcc Improve error handling on openid-configuration request 2021-07-06 10:03:40 +01:00
Rory Powell 624dd20522 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 65c436145a Proof of concept OIDC implementation 2021-07-06 10:03:40 +01:00
Budibase Release Bot 54dae1b5a2 v0.9.70 2021-07-05 14:38:21 +00:00
Peter Clement f61c5b8143 Add validation to backend for OIDC configuration 2021-07-05 14:27:19 +01:00
Budibase Release Bot 5f4199a3fb v0.9.69 2021-07-01 10:51:59 +00:00
Budibase Release Bot 1385a08395 v0.9.68 2021-07-01 10:41:50 +00:00
Budibase Release Bot 2258f43bc1 v0.9.67 2021-06-29 16:46:33 +00:00
Martin McKeaveney 2c2e3757d8
Merge pull request #1871 from Budibase/develop
Develop
2021-06-29 14:48:27 +01:00
Budibase Release Bot 14810c1a0f v0.9.66 2021-06-29 13:24:30 +00:00
mike12345567 c17bfa34f5 Fixing issue with Redis which was causing CPU peaking if couldn't connect. 2021-06-25 15:32:59 +01:00
Budibase Release Bot e0459572af v0.9.65 2021-06-25 11:32:56 +00:00
Budibase Release Bot 8998e8cba4 v0.9.64 2021-06-24 11:37:19 +00:00
Budibase Release Bot 91f2d5a075 v0.9.63 2021-06-23 22:43:56 +00:00
Budibase Release Bot 53a2707086 v0.9.62 2021-06-23 22:27:33 +00:00
Budibase Release Bot 4af9574178 v0.9.61 2021-06-23 19:53:30 +00:00
Budibase Release Bot 6d822ee4c2 v0.9.60 2021-06-23 12:53:57 +00:00
Budibase Release Bot 157208ea76 v0.9.59 2021-06-23 11:09:48 +00:00
Budibase Release Bot 9fbb9d8d72 v0.9.58 2021-06-23 09:13:01 +00:00