Commit Graph

6405 Commits

Author SHA1 Message Date
mike12345567 184df6c685 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 bebfe4c6e1 merge with master 2021-07-11 18:07:46 +01:00
Rory Powell 4d3f44f982 Unit test auth controller oidc functions 2021-07-11 17:54:18 +01:00
Andrew Kingston 7392ad8eb2 Remove padding from empty layouts and add option for full width layout content 2021-07-10 11:56:32 +01:00
Rory Powell 15c53c16a7 Trim empty space on auth0 and microsoft logos 2021-07-09 18:31:52 +01:00
Budibase Release Bot 1f5b3b4467 v0.9.73 2021-07-09 17:29:06 +00:00
Kyle Harrison 2d451bb3a9 apply fixes for common spelling mistakes 2021-07-09 17:54:49 +01: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
Andrew Kingston 4112049a17 Remove log statement, batch uploads and remove unecessary conditional 2021-07-09 16:42:09 +01:00
Rory Powell baaaf3f237 Update clientId -> clientID 2021-07-09 16:21:42 +01:00
Peter Clement 3867c63116 linting 2021-07-09 15:55:01 +01:00
Peter Clement b94348dddc Fix OIDC logo conditional display 2021-07-09 15:50:46 +01:00
Peter Clement 5a86d6bb6d Linting and Optimisation 2021-07-09 15:05:39 +01:00
Peter Clement 7138070e4c Fix bug where OIDC icon was not being displayed due to misconfiguration 2021-07-09 14:18:03 +01:00
Andrew Kingston 8cc67d815c Reload the client preview whenever client library version changes 2021-07-09 13:23:49 +01:00
Andrew Kingston 60987e3d5c Remove leftover code from testing 2021-07-09 12:42:48 +01:00
Andrew Kingston ef4a0f8c79 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 005e0a2deb Update login page to support user based oidc icon and name 2021-07-09 09:49:34 +01:00
Peter Clement bcfbca0f08 Add oidc icon and name to public api for login page 2021-07-09 09:49:16 +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
Peter Clement 6be38bcefd 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 bd27aa0caf Move standard components from server dev dependencies to real dependencies 2021-07-08 14:00:14 +01:00
Andrew Kingston 959405332d Add tests for updating and reverting client library version 2021-07-08 13:20:52 +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 0ce553eaf2 Add endpoint to revert client app version 2021-07-08 12:56:54 +01:00
Andrew Kingston 4eb6d1e624 Fix modal flashing when reverting app version and fix version number being incorrect 2021-07-08 12:56:35 +01:00
Andrew Kingston a7a081da8c Add application/json as a known file type 2021-07-08 12:55:51 +01:00
Peter Clement cd1e5c8087 fixing conflict with OIDCButton 2021-07-08 12:36:09 +01:00
Rory Powell bf94125d33 Save email from third party user 2021-07-08 11:54:16 +01:00
Peter Clement b1c5b5cf35 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 99de767781 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 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 b0fb7ae991 Fixing test cases. 2021-07-08 00:30:55 +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
mike12345567 524957cb4d Changing budibase -> internal/csv in datasource menu. 2021-07-07 17:46:39 +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
Peter Clement 7a51eba93c Add OIDC icon to login page 2021-07-07 17:39:26 +01:00
Andrew Kingston 9440e4a5bf Add UI to revert app version and initial work on app revert backend 2021-07-07 17:35:28 +01:00
mike12345567 5d6e7eee91 Merge branch 'feature/plus-table-internal' of github.com:Budibase/budibase into feature/user-session 2021-07-07 17:32:09 +01:00
mike12345567 f1dd80dcb4 Internal table detail screens should still have limit one. 2021-07-07 17:31:03 +01:00
mike12345567 8d8e5b160d Merge branch 'feature/plus-table-internal' of github.com:Budibase/budibase into feature/user-session 2021-07-07 17:22:50 +01:00
mike12345567 53199ddc61 Inverting logic as the type isn't always internal. 2021-07-07 17:21:56 +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
mike12345567 44c87f4fb8 Making it possible to create an internal table from the plus symbol. 2021-07-07 17:13:04 +01:00
mike12345567 4acd094c74 Making it possible to create an internal table from the plus symbol. 2021-07-07 17:12:13 +01:00
Andrew Kingston 0a44b1e3d8 Add client libary update management from inside the builder 2021-07-07 17:07:42 +01:00
Andrew Kingston 0ff1f0fbe9 Fix crash when referencing a component definition that doesn't exist 2021-07-07 17:07:16 +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
Andrew Kingston fb6c115adf Use client feature flags to conditionally show theme picker 2021-07-07 13:55:05 +01:00
Andrew Kingston cc7b07a020 Use client features to determine when to show client preview on initial load 2021-07-07 13:54:44 +01:00
Andrew Kingston 24a2c547eb Store client features in frontend store 2021-07-07 13:54:21 +01:00
Andrew Kingston 9bf6600ccd Add feature flags to manifest 2021-07-07 13:53:59 +01:00
Peter Clement 37b1200051 Allow user uploaded icons in oidc config 2021-07-07 13:41:09 +01:00
Rory Powell c15051462e Add info to 403 responses 2021-07-07 13:28:55 +01:00
Andrew Kingston ac99f7a23b Update develop with master bugfix and add comments to explain loading events 2021-07-07 13:21:30 +01:00
Budibase Release Bot f4f2a03503 v0.9.72 2021-07-07 12:19:03 +00:00
Andrew Kingston 67ffb2d96d Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-07 13:16:26 +01:00
Andrew Kingston ef88c740b2 Fix iframe preview loading bug in old client library versions 2021-07-07 13:09:33 +01:00
Budibase Release Bot 330fd8b922 v0.9.71 2021-07-07 10:52:11 +00:00
Andrew Kingston 9542910a41 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-07 11:48:38 +01:00
Andrew Kingston ab4e71c1a4 Improve handling of permission issues and routing issues, and add an error fallback message 2021-07-07 11:29:35 +01:00
Andrew Kingston ee8033e88f Expose the screens and layouts from the screen store in the client library 2021-07-07 11:28:53 +01:00
Andrew Kingston bdf7b6257a 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 07ea6469fd Add error handling to builder preview and loading indicator 2021-07-07 11:10:23 +01:00
Andrew Kingston 298e948432 Mock redis shutdown method to avoid errors 2021-07-07 09:34:56 +01:00
Andrew Kingston 82c00e6757 Only clean up app tmp dir if it exists during testing 2021-07-07 09:34:40 +01:00
Andrew Kingston dd02b8cf6c Swap row and column icons 2021-07-07 09:28:11 +01:00
Martin McKeaveney 9f3c2a8033 typo 2021-07-06 18:56:41 +01:00
Martin McKeaveney a8277c9385 better naming, filter out public from inheritable roles 2021-07-06 18:55:34 +01:00
Martin McKeaveney 78bd36304e prevent editing public role in apps 2021-07-06 18:54:08 +01: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
Andrew Kingston 197d895174 Add basic fallback error to real apps when client library fails to load 2021-07-06 18:37:21 +01:00
Andrew Kingston 414a7dbee6 Don't reload client app on 403, just show an error instead 2021-07-06 18:37:06 +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
Andrew Kingston 788f517b04 Remove redirect when user only has access to one app 2021-07-06 17:00:44 +01:00
Michael Drury df97a2572b 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 929d1c73d4 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 1ac29025a2 Fix data provider filtering on datetime fields 2021-07-06 15:54:25 +01:00
Andrew Kingston 8befb1d545 Fix bug with tabs causing them to broadcast a change event on mount 2021-07-06 15:53:52 +01:00
mike12345567 ede0a5ec9b 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 6648e548c5 Quick fix, make sure auto-columns never sent to DB. 2021-07-06 13:55:05 +01:00
mike12345567 3cdd658ea0 Linting. 2021-07-06 13:11:29 +01:00
mike12345567 ff99e1dcc6 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 2fc512bcda Linting. 2021-07-06 12:59:55 +01:00
mike12345567 04fbb8ea29 Adding validation to the SQL relationship creation modal. 2021-07-06 12:58:36 +01:00
Andrew Kingston 5d8a0e74d4 Fix data provider filtering on datetime fields 2021-07-06 12:01:01 +01:00
Andrew Kingston 1c636dfd04 Merge pull request #1918 from Budibase/spectrum-apps
Spectrum themed apps
2021-07-06 11:43:52 +01:00
Rory Powell 71ddd41877 Improve error handling on openid-configuration request 2021-07-06 10:03:40 +01:00