Commit Graph

6418 Commits

Author SHA1 Message Date
Rory Powell 40013d45c3 Load oidc config by id 2021-07-13 17:07:48 +01:00
Rory Powell fe5a81efbc Update reference to microsoft logo to use most recent name 2021-07-13 16:35:54 +01:00
Rory Powell 83bf736f07 Remove reference to oracle logo to fix build 2021-07-13 16:24:30 +01:00
Peter Clement 2900743545 Add UUID to each oidc config to distinguish each provider 2021-07-13 15:52:21 +01:00
Peter Clement ca0f74eee8 improve structure of OIDC config 2021-07-13 14:55:14 +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 1a7619367b Refactor auth controller tests to reuse common behaviour 2021-07-13 10:28:15 +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 0cf5f4dc3d
Merge pull request #1969 from Budibase/empty-layout-tweaks
Empty layout tweaks
2021-07-12 19:17:41 +01:00
mike12345567 c6d80e2265 Adding float type to MySQL. 2021-07-12 11:10:11 +01:00
mike12345567 dc32c90aaa Fixing some issues discovered with the new SQL connectors were the input type would always be string (causing some SQL types to break) - parsing these before input to attempt to fix this problem - issue referenced in #1943. 2021-07-12 10:51:30 +01:00
Martin McKeaveney 742402f4c7 merge with master 2021-07-11 18:07:46 +01:00
Rory Powell e1bea33d9a Unit test auth controller oidc functions 2021-07-11 17:54:18 +01:00
Andrew Kingston 05a06bc38a Remove padding from empty layouts and add option for full width layout content 2021-07-10 11:56:32 +01:00
Rory Powell 2e55e03571 Trim empty space on auth0 and microsoft logos 2021-07-09 18:31:52 +01:00
Budibase Release Bot 3b07d3143b v0.9.73 2021-07-09 17:29:06 +00:00
Kyle Harrison b4afda7b09 apply fixes for common spelling mistakes 2021-07-09 17:54:49 +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
Andrew Kingston efb0c60464 Remove log statement, batch uploads and remove unecessary conditional 2021-07-09 16:42:09 +01:00
Rory Powell 97a62594ed Update clientId -> clientID 2021-07-09 16:21:42 +01:00
Peter Clement 09b148e2c8 linting 2021-07-09 15:55:01 +01:00
Peter Clement de075a7549 Fix OIDC logo conditional display 2021-07-09 15:50:46 +01:00
Peter Clement 90e6db2be1 Linting and Optimisation 2021-07-09 15:05:39 +01:00
Peter Clement 4ae29f6b54 Fix bug where OIDC icon was not being displayed due to misconfiguration 2021-07-09 14:18:03 +01:00
Andrew Kingston dbac6d5988 Reload the client preview whenever client library version changes 2021-07-09 13:23:49 +01:00
Andrew Kingston a74d2a8040 Remove leftover code from testing 2021-07-09 12:42:48 +01:00
Andrew Kingston 986785cacf Bundle latest client library with the server and use it when updating apps in production 2021-07-09 12:33:09 +01:00
Peter Clement 38a00ba50e Update login page to support user based oidc icon and name 2021-07-09 09:49:34 +01:00
Peter Clement 80a35d6ef0 Add oidc icon and name to public api for login page 2021-07-09 09:49:16 +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
Peter Clement 883e07491b Merge branch 'feature/oidc-support' of https://github.com/Budibase/budibase into oidc-config-management 2021-07-08 14:29:28 +01:00
Andrew Kingston 6d0125540d Move standard components from server dev dependencies to real dependencies 2021-07-08 14:00:14 +01:00
Andrew Kingston 567d8577ba Add tests for updating and reverting client library version 2021-07-08 13:20:52 +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 6716bf2da1 Add endpoint to revert client app version 2021-07-08 12:56:54 +01:00
Andrew Kingston 888323dd7e Fix modal flashing when reverting app version and fix version number being incorrect 2021-07-08 12:56:35 +01:00
Andrew Kingston 08578af4ba Add application/json as a known file type 2021-07-08 12:55:51 +01:00
Peter Clement 6a3367389d fixing conflict with OIDCButton 2021-07-08 12:36:09 +01:00
Rory Powell ef8b9b40c1 Save email from third party user 2021-07-08 11:54:16 +01:00
Peter Clement fcb4518f25 Merge branch 'feature/oidc-support' of https://github.com/Budibase/budibase into oidc-config-management 2021-07-08 11:38:28 +01:00
Peter Clement b86691f7ef fix issue where oidc config form was not loading due to oidc_logos being undefined 2021-07-08 11:15:22 +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 2bee348721 Fixing test cases. 2021-07-08 00:30:55 +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
mike12345567 278d984006 Changing budibase -> internal/csv in datasource menu. 2021-07-07 17:46:39 +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
Peter Clement 02df5960c2 Add OIDC icon to login page 2021-07-07 17:39:26 +01:00
Andrew Kingston c1432ee8ec Add UI to revert app version and initial work on app revert backend 2021-07-07 17:35:28 +01:00
mike12345567 34143a76a8 Merge branch 'feature/plus-table-internal' of github.com:Budibase/budibase into feature/user-session 2021-07-07 17:32:09 +01:00
mike12345567 4d0425b19f Internal table detail screens should still have limit one. 2021-07-07 17:31:03 +01:00
mike12345567 1c7f47dbf2 Merge branch 'feature/plus-table-internal' of github.com:Budibase/budibase into feature/user-session 2021-07-07 17:22:50 +01:00
mike12345567 900ed2334c Inverting logic as the type isn't always internal. 2021-07-07 17:21:56 +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
mike12345567 3ab4a5d83c Making it possible to create an internal table from the plus symbol. 2021-07-07 17:13:04 +01:00
mike12345567 b8928077e2 Making it possible to create an internal table from the plus symbol. 2021-07-07 17:12:13 +01:00
Andrew Kingston a6b5861cbc Add client libary update management from inside the builder 2021-07-07 17:07:42 +01:00
Andrew Kingston 948ad092e5 Fix crash when referencing a component definition that doesn't exist 2021-07-07 17:07:16 +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
Andrew Kingston b8d1809a2c Use client feature flags to conditionally show theme picker 2021-07-07 13:55:05 +01:00
Andrew Kingston db276468aa Use client features to determine when to show client preview on initial load 2021-07-07 13:54:44 +01:00
Andrew Kingston 7040ee48f4 Store client features in frontend store 2021-07-07 13:54:21 +01:00
Andrew Kingston 54236ee031 Add feature flags to manifest 2021-07-07 13:53:59 +01:00
Peter Clement b5f398da4d Allow user uploaded icons in oidc config 2021-07-07 13:41:09 +01:00
Rory Powell 42c8526ac2 Add info to 403 responses 2021-07-07 13:28:55 +01:00
Andrew Kingston 4dec87795a Update develop with master bugfix and add comments to explain loading events 2021-07-07 13:21:30 +01:00
Budibase Release Bot 4afd6f4fbe v0.9.72 2021-07-07 12:19:03 +00:00
Andrew Kingston bf6762dd66 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-07 13:16:26 +01:00
Andrew Kingston 4b4610f581 Fix iframe preview loading bug in old client library versions 2021-07-07 13:09:33 +01:00
Budibase Release Bot cdd85c4d11 v0.9.71 2021-07-07 10:52:11 +00:00
Andrew Kingston 70d29c32f8 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-07 11:48:38 +01:00
Andrew Kingston 19f2a2067e Improve handling of permission issues and routing issues, and add an error fallback message 2021-07-07 11:29:35 +01:00
Andrew Kingston 1ef2820b5d Expose the screens and layouts from the screen store in the client library 2021-07-07 11:28:53 +01:00
Andrew Kingston b6c6dba721 Don't attempt to enrich a user object whenever the role is PUBLIC to avoid 403s 2021-07-07 11:28:35 +01:00
Andrew Kingston 8c39c4792d Add error handling to builder preview and loading indicator 2021-07-07 11:10:23 +01:00
Andrew Kingston 7b841e709a Mock redis shutdown method to avoid errors 2021-07-07 09:34:56 +01:00
Andrew Kingston e00a37d707 Only clean up app tmp dir if it exists during testing 2021-07-07 09:34:40 +01:00
Andrew Kingston 8f97ea3771 Swap row and column icons 2021-07-07 09:28:11 +01:00
Martin McKeaveney e9d6ddb571 typo 2021-07-06 18:56:41 +01:00
Martin McKeaveney dbef8077f0 better naming, filter out public from inheritable roles 2021-07-06 18:55:34 +01:00
Martin McKeaveney da800dd3fc prevent editing public role in apps 2021-07-06 18:54:08 +01: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
Andrew Kingston eb620ea3ce Add basic fallback error to real apps when client library fails to load 2021-07-06 18:37:21 +01:00
Andrew Kingston 0381204855 Don't reload client app on 403, just show an error instead 2021-07-06 18:37:06 +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
Andrew Kingston bd6de7fe31 Remove redirect when user only has access to one app 2021-07-06 17:00:44 +01:00