1
0
Fork 0
mirror of synced 2024-07-22 06:36:18 +12:00
Commit graph

6382 commits

Author SHA1 Message Date
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
Michael Drury 659d42311c
Merge pull request #1932 from Budibase/fix/sql-relationship-validation
Adding validation to SQL relationship modal
2021-07-06 15:55:41 +01:00
Andrew Kingston c4b7428aed Avoid filter editor sending a prop change when filter is not an array, which was causing extra 409s and causing issues with tables 2021-07-06 15:55:02 +01:00
Andrew Kingston 4bc1938966 Fix data provider filtering on datetime fields 2021-07-06 15:54:25 +01:00
Andrew Kingston 83a91a8943 Fix bug with tabs causing them to broadcast a change event on mount 2021-07-06 15:53:52 +01:00
mike12345567 fd6080b39e Making sure that keys cannot be duplicated for primary keys, this wouldn't have any function. 2021-07-06 15:45:14 +01:00
mike12345567 a9c6b10560 Quick fix, make sure auto-columns never sent to DB. 2021-07-06 13:55:05 +01:00
mike12345567 6e33ab581b Linting. 2021-07-06 13:11:29 +01:00
mike12345567 b7a5476135 Don't allow foreign key to be the primary key of a row (this would break things). 2021-07-06 13:10:02 +01:00
mike12345567 568128479f Linting. 2021-07-06 12:59:55 +01:00
mike12345567 478a851956 Adding validation to the SQL relationship creation modal. 2021-07-06 12:58:36 +01:00
Andrew Kingston dfc499c034 Fix data provider filtering on datetime fields 2021-07-06 12:01:01 +01:00
Andrew Kingston 50d59924ad
Merge pull request #1918 from Budibase/spectrum-apps
Spectrum themed apps
2021-07-06 11:43:52 +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
Andrew Kingston fe62356808 Remove inline-block from links as it is not needed 2021-07-06 09:24:02 +01:00
mike12345567 6a8fd12805 Linting. 2021-07-05 18:16:04 +01:00
mike12345567 4e4b8f244e Giving the system the ability to make auto increment columns auto-columns in postgres or mysql. 2021-07-05 18:11:23 +01:00
Andrew Kingston 80679cba13 Merge branch 'develop' of github.com:Budibase/budibase into spectrum-apps 2021-07-05 17:41:26 +01:00
Andrew Kingston 322ea442d8 Fix cypress test 2021-07-05 17:37:38 +01:00
mike12345567 c10e2da4f5 Fixing issue with TS definitions. 2021-07-05 17:33:36 +01:00
mike12345567 13fab4ba60 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-05 17:17:32 +01:00
Andrew Kingston 7ecb593e0f Remove ES6 optional chaining from server package 2021-07-05 17:05:34 +01:00
Andrew Kingston 2317e87436 Preserve whitespace in card description 2021-07-05 16:47:44 +01:00
Andrew Kingston f227f0623f Lint 2021-07-05 16:47:30 +01:00
Budibase Release Bot 54dae1b5a2 v0.9.70 2021-07-05 14:38:21 +00:00
mike12345567 abc19bc2c1 Linting. 2021-07-05 15:16:32 +01:00
mike12345567 b4d91769cc Fixing issue with single quotes in strings breaking JSON parsing. 2021-07-05 15:14:45 +01:00
Andrew Kingston 77ae0e58b8 Add placholder color to color picker component to represent undefined color choice 2021-07-05 14:31:10 +01:00
Peter Clement f61c5b8143 Add validation to backend for OIDC configuration 2021-07-05 14:27:19 +01:00
Peter Clement 904ce29315 Front End form for OIDC configuration 2021-07-05 14:25:42 +01:00
Andrew Kingston a84d1d2ec8 Update remaining static color variables to spectrum instead 2021-07-05 14:02:49 +01:00
Andrew Kingston d5cfcc8ba7 Fix mobile drawer not using spectrum colours 2021-07-05 13:56:04 +01:00
mike12345567 58c5ddaa90 Review comments. 2021-07-05 11:06:39 +01:00
mike12345567 8254880fa8 Quick fixes for UI, making sure relationships UI not displayed unless tables exist and fixing issue with through being sent up with one-to-many. 2021-07-05 11:03:54 +01:00
mike12345567 dcd4774693 Re-working UI after some review. 2021-07-05 10:48:28 +01:00