Commit Graph

6689 Commits

Author SHA1 Message Date
Rory Powell 3152bd1839 Invert logos config naming to prevent conflict 2021-07-14 15:48:29 +01:00
Andrew Kingston 5e1c0b9417 Update styles of modal bindable input 2021-07-14 15:46:47 +01:00
Andrew Kingston d8ad23ddb8 Update styles of server binding panel used for formula fields and automation bindings 2021-07-14 15:46:31 +01:00
Andrew Kingston 120994e2c4 Use automation block title in drawer for automation bindings 2021-07-14 15:46:00 +01:00
Andrew Kingston 83d6a7c56d Disable save button in drawerbindableinput when syntax is invalid 2021-07-14 15:45:05 +01:00
Andrew Kingston 38014a76be Update drawer styles, drawer bindable inputs and settings bindable inputs 2021-07-14 14:21:11 +01:00
Rory Powell d97914837e Casing change to config checklist 2021-07-14 14:13:04 +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
mike12345567 a9160f5914 Rewording email template descriptions. 2021-07-14 13:24:46 +01:00
mike12345567 a31cce0ff9 Linting. 2021-07-14 13:18:27 +01:00
mike12345567 c20fde41ee Some quick fixes after a user had some confusion over how the email templating works, just adding some detail that should help explain. 2021-07-14 11:23:24 +01:00
Peter Clement 283698f8c5 Fix config form saving bugs 2021-07-13 21:47:36 +01:00
Budibase Release Bot 23bb4215c2 v0.9.74 2021-07-13 16:53:42 +00:00
Rory Powell 67fbf73bdd Merge branch 'feature/oidc-support' of github.com:Budibase/budibase into feature/oidc-support 2021-07-13 17:33:08 +01:00
Rory Powell 63d119d6db Update OAuth -> Authentication header 2021-07-13 17:32:57 +01:00
Peter Clement b31be35307 Add UUID to each oidc config to distinguish each provider 2021-07-13 17:32:08 +01:00
Rory Powell 0973394208 Update config checklist to handle multiple sso sources 2021-07-13 17:30:17 +01:00
mike12345567 cc08b4fc4e Linting. 2021-07-13 17:28:05 +01:00
mike12345567 004f719dde Renaming groups to workspaces. 2021-07-13 17:27:04 +01:00
Martin McKeaveney 7e5c4be14f fix postgres query array value 2021-07-13 17:11:11 +01:00
Rory Powell dd306d59c5 Load oidc config by id 2021-07-13 17:07:48 +01:00
Rory Powell 3fa4b21a31 Update reference to microsoft logo to use most recent name 2021-07-13 16:35:54 +01:00
Rory Powell 2485f0da25 Remove reference to oracle logo to fix build 2021-07-13 16:24:30 +01:00
Peter Clement 9dd05ec96e Add UUID to each oidc config to distinguish each provider 2021-07-13 15:52:21 +01:00
Peter Clement af792cc09e improve structure of OIDC config 2021-07-13 14:55:14 +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 5f5fe92807 Refactor auth controller tests to reuse common behaviour 2021-07-13 10:28:15 +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
Andrew Kingston e692223661 Merge pull request #1969 from Budibase/empty-layout-tweaks
Empty layout tweaks
2021-07-12 19:17:41 +01:00
mike12345567 7aca56f019 Adding float type to MySQL. 2021-07-12 11:10:11 +01:00
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
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
Andrew Kingston 46c8c85736 Remove inline-block from links as it is not needed 2021-07-06 09:24:02 +01:00
mike12345567 b216c03e44 Linting. 2021-07-05 18:16:04 +01:00
mike12345567 8550d00751 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 dcaf02ecee Merge branch 'develop' of github.com:Budibase/budibase into spectrum-apps 2021-07-05 17:41:26 +01:00
Andrew Kingston 03c4f0fc24 Fix cypress test 2021-07-05 17:37:38 +01:00
mike12345567 eaf808b190 Fixing issue with TS definitions. 2021-07-05 17:33:36 +01:00
mike12345567 e7d6298647 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-05 17:17:32 +01:00
Andrew Kingston 27a03f7d35 Remove ES6 optional chaining from server package 2021-07-05 17:05:34 +01:00
Andrew Kingston c49338b4c1 Preserve whitespace in card description 2021-07-05 16:47:44 +01:00
Andrew Kingston c3913372e1 Lint 2021-07-05 16:47:30 +01:00
Budibase Release Bot 1532fee301 v0.9.70 2021-07-05 14:38:21 +00:00
mike12345567 ca1c48232b Linting. 2021-07-05 15:16:32 +01:00
mike12345567 16581552cb Fixing issue with single quotes in strings breaking JSON parsing. 2021-07-05 15:14:45 +01:00
Andrew Kingston 8ddf07b68a Add placholder color to color picker component to represent undefined color choice 2021-07-05 14:31:10 +01:00
Peter Clement 0e6fb73b9e Add validation to backend for OIDC configuration 2021-07-05 14:27:19 +01:00
Peter Clement a0f2de65e7 Front End form for OIDC configuration 2021-07-05 14:25:42 +01:00
Andrew Kingston 698e31acbc Update remaining static color variables to spectrum instead 2021-07-05 14:02:49 +01:00
Andrew Kingston 7fd9af81e8 Fix mobile drawer not using spectrum colours 2021-07-05 13:56:04 +01:00
mike12345567 7d244f0a9c Review comments. 2021-07-05 11:06:39 +01:00
mike12345567 006db17bfc 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 ea8fea98a9 Re-working UI after some review. 2021-07-05 10:48:28 +01:00
Andrew Kingston 4ac7accdcb Fix font family issue with date pickers 2021-07-05 10:24:44 +01:00
Andrew Kingston 1f3e0b4e6f Update list and detail autoscreens to be theme aware and use new designs 2021-07-05 10:20:20 +01:00
Andrew Kingston a621ebe7b9 Remove built-in padding from forms to be consistent with every other component 2021-07-05 10:19:59 +01:00
Andrew Kingston e969692952 Add quiet prop to button 2021-07-05 10:19:27 +01:00
Andrew Kingston 3ac16befad Add quiet prop to buttons and size styles to form 2021-07-05 10:19:07 +01:00
mike12345567 f450e38dab Linting. 2021-07-05 09:38:01 +01:00
Andrew Kingston 3e63c276dd Update colors of selection and hover indicators in client apps 2021-07-05 09:37:06 +01:00
mike12345567 57278b4532 Allowing user firstname and lastname to be updated through user portal. 2021-07-05 09:29:16 +01:00
Andrew Kingston 56d687a236 Merge branch 'develop' of github.com:Budibase/budibase into spectrum-apps 2021-07-05 09:03:24 +01:00
mike12345567 92af589827 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-03 11:28:38 +01:00
mike12345567 3849d2a968 Linting. 2021-07-03 11:16:29 +01:00
mike12345567 11f6abee0a Re-writing a bit so that it is aware some functionality is SQL only, makes future plus endpoints easier. 2021-07-03 11:15:01 +01:00
mike12345567 71f96f9601 Fixing little UI bugs. 2021-07-03 10:26:37 +01:00
mike12345567 2a1243e81e Linting. 2021-07-02 18:44:01 +01:00
mike12345567 c24cc5c3fb Fixing issue with many to many through junction table not realising some exist, or some need deleted - as well as removing limit from details screen, this was blocking join statements and served no purpose (its already a search by equals). 2021-07-02 18:42:01 +01:00
mike12345567 fcf4dbc7a1 Updating server test cases. 2021-07-02 14:49:47 +01:00
mike12345567 9aa672101e Linting. 2021-07-02 14:36:24 +01:00
mike12345567 a8ff2cc7bd Removing console logs and simplifying the relationship name. 2021-07-02 14:35:05 +01:00
mike12345567 10730d8053 Implementing UI to support the backend put in place. 2021-07-02 14:33:05 +01:00
Martin McKeaveney 3eb8f3c445 bidirectional relationships, many to one 2021-07-01 22:23:47 +01:00
Martin McKeaveney cae1a20411 preventing relationship overrides 2021-07-01 21:24:23 +01:00
Martin McKeaveney 0d4c3fd854 Merge branch 'feature/sql-relationships' of github.com:Budibase/budibase into feature/opinionated-relationships-ui 2021-07-01 20:09:27 +01:00
mike12345567 a5c3d4f86f Linting. 2021-07-01 19:23:29 +01:00
mike12345567 7fb1e80196 Re-writing external layer in typescript. 2021-07-01 19:20:41 +01:00
Martin McKeaveney 93569ccc87 simplify relationship configuration UI 2021-07-01 18:24:43 +01:00
mike12345567 b3eea4e4d1 Removing PG hack and handling the updating of relationships from the one side, e.g. one person is linked to many tasks, allow updating the person and having FK in tasks get updated with that persons ID. 2021-07-01 18:23:15 +01:00
Martin McKeaveney bc4c85bffa TS debug command for server 2021-07-01 17:36:41 +01:00
mike12345567 d9aa1360d0 Linting. 2021-07-01 14:25:23 +01:00
Martin McKeaveney 9f3e5cdc7f Merge branch 'feature/sql-relationships' of github.com:Budibase/budibase into feature/opinionated-relationships-ui 2021-07-01 14:14:52 +01:00
Martin McKeaveney edcf3161a3 relationships E2E 2021-07-01 14:14:48 +01:00
mike12345567 bb396ebff0 First version of enrichment. 2021-07-01 14:10:44 +01:00
mike12345567 ac834dc713 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-relationships 2021-07-01 12:29:38 +01:00
Budibase Release Bot b4c2e3cd31 v0.9.69 2021-07-01 10:51:59 +00:00
Michael Drury 235f76d805 Merge pull request #1893 from Budibase/fix/user-app-role-list
Fixing user roles administration - getting full list of apps
2021-07-01 11:43:59 +01:00
Budibase Release Bot 9b1530ff87 v0.9.68 2021-07-01 10:41:50 +00:00
mike12345567 ae84345d27 Fixing issue with full list of apps not appearing in user administration, meaning couldn't update roles. 2021-07-01 11:29:27 +01:00
Rory Powell 0faae01c07 Merge pull request #1869 from Budibase/fix/support-arm64-development
Support arm64 development: Bump "pkg": "^4.4.9" -> "pkg": "^5.3.0"
2021-07-01 08:53:32 +01:00
Andrew Kingston 96d803fd93 Only override color style on links if a color setting exists 2021-07-01 00:48:40 +01:00
Andrew Kingston 7e8bdae875 Only override color style on paragraphs if a color setting exists 2021-07-01 00:48:05 +01:00
Andrew Kingston 26ed9da4de Only override existing color style if a color setting exists for Headings 2021-07-01 00:47:38 +01:00
Andrew Kingston 1d2b306574 Add border style as an explicit option to prevent issues with dynamically adding it via the styleable helper 2021-07-01 00:40:16 +01:00
Andrew Kingston 54fe305031 Fix loophole where any user could load all screen and layout definitions via app package call 2021-06-30 21:54:48 +01:00
Andrew Kingston ca032aa6fe Update colours of selection indicators 2021-06-30 21:23:55 +01:00
Andrew Kingston c2d9be46e7 Reduce box shadow on layout nav wrapper 2021-06-30 20:40:27 +01:00
Andrew Kingston a41b376999 Fetch and use app theme in real client apps 2021-06-30 20:35:02 +01:00
Andrew Kingston 18f25f0be2 Update list autoscreen to be theme aware and use new component props 2021-06-30 20:14:41 +01:00
Andrew Kingston 3325cc1eb5 Use spectrum heading in standard components 2021-06-30 20:09:26 +01:00
Andrew Kingston d0c6f64b22 Fix link styles 2021-06-30 19:57:39 +01:00
Andrew Kingston 3b23d55685 Add custom scrollbars to client apps 2021-06-30 19:57:31 +01:00
Andrew Kingston ccb48a642f Set light as default app theme 2021-06-30 19:41:09 +01:00
Andrew Kingston 938ae65132 Use app name as default layout title 2021-06-30 19:40:59 +01:00
Andrew Kingston 9b9bda1fb4 Add error handling to builder preview and loading indicator 2021-06-30 19:37:03 +01:00
Martin McKeaveney 08393044c9 Merge branch 'feature/sql-relationships' of github.com:Budibase/budibase into feature/opinionated-relationships-ui 2021-06-30 18:53:33 +01:00
mike12345567 a15d15decb Linting. 2021-06-30 18:33:55 +01:00
mike12345567 3ed5cff945 First attempt at solving the enrichment call, as well as various fixes. 2021-06-30 18:31:16 +01:00
Andrew Kingston 0031ba205a Make charts respect spectrum variables 2021-06-30 16:45:06 +01:00
Andrew Kingston 45d235ca92 Add spectrum card component 2021-06-30 16:33:35 +01:00
Andrew Kingston 2beaa2b28a Merge and add initial work on cards 2021-06-30 16:33:19 +01:00
Martin McKeaveney 3c64f870bd Merge branch 'feature/sql-relationships' of github.com:Budibase/budibase into feature/opinionated-relationships-ui 2021-06-30 15:06:42 +01:00
mike12345567 75f13a07ef Linting. 2021-06-30 14:54:53 +01:00
mike12345567 9780f2a788 Getting writing of one and many rows working. 2021-06-30 14:46:44 +01:00
Andrew Kingston 48fdc8a2df Fix bug where stale data is shown in custom css drawer when changing components 2021-06-30 09:38:14 +01:00
Andrew Kingston c936ab2619 Fix bug which causes an 'undefined' layout to appear if the save call 409s 2021-06-30 09:35:31 +01:00
Andrew Kingston 2693878a72 Remove a lot of hacks around screenslots and allow naming them 2021-06-30 09:05:03 +01:00
Andrew Kingston 3ed1ac4ccd Fix text casing on some button settings 2021-06-30 08:46:53 +01:00
Andrew Kingston 8999756738 Make icon component slightly more presentable 2021-06-30 08:46:18 +01:00
Andrew Kingston 3217aeadb7 Update text component placeholders 2021-06-30 08:46:02 +01:00
Andrew Kingston 6bfcb3fc2b Add better theme compatibility to color picker and client app components 2021-06-30 08:30:57 +01:00
Martin McKeaveney 1987ea5f3e listing relationships in UI 2021-06-29 19:57:26 +01:00
mike12345567 9ca36893ad Managing the scenario where columns can overlap in SQL relationships which most JSON based libraries cannot manage, instead of trying to manage this just don't return the overlapping columns which are not of interest. 2021-06-29 18:38:27 +01:00
Budibase Release Bot 4abd23f6ff v0.9.67 2021-06-29 16:46:33 +00:00
mike12345567 98b7bff678 Implementing all return possibilities, now to implement creation. 2021-06-29 17:42:46 +01:00
Andrew Kingston 0fb12e7619 Use the real current user even inside builder preview 2021-06-29 17:41:02 +01:00
Martin McKeaveney 2e4116d40a pin eslint parser to fix build 2021-06-29 17:15:13 +01:00
Martin McKeaveney 1ca52dc0b9 adding prop to create/edit relationships 2021-06-29 15:30:32 +01: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
Rory Powell 670f75d734 Bump "pkg": "^4.4.9" -> "pkg": "^5.3.0"
Use the latest release of pkg: https://github.com/vercel/pkg/releases/tag/5.3.0

This version bumps the dependency of pkg-fetch from 2.6.9 to 3.1.1
See: https://github.com/vercel/pkg/compare/4.4.9...5.3.0#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519R29

The previously used version 2.6.9 of pkg-fetch did not support amd64 and resulted in
```
> Error! 404 Not Found
  https://github.com/zeit/pkg-fetch/releases/download/v2.6/uploaded-v2.6-node-v14.4.0-macos-arm64
> Asset not found by direct link:
  {"tag":"v2.6","name":"uploaded-v2.6-node-v14.4.0-macos-arm64"}
> Not found in GitHub releases:
  {"tag":"v2.6","name":"uploaded-v2.6-node-v14.4.0-macos-arm64"}
```

The subsequent attempt at creating a packaged version locally then fails.

The new version of 3.1.1 has support for apple silicon
2021-06-29 12:28:08 +01:00
Martin McKeaveney 60425d9810 merging with relationship backend work 2021-06-29 12:05:26 +01:00
Andrew Kingston 2aa829b782 Allow color picker to have spectrum theme overridden 2021-06-29 08:20:34 +01:00
Andrew Kingston 76c42c4094 Enable hot reloading of server typescript and fix error when updating app and nmot providing a name 2021-06-29 08:20:17 +01:00
mike12345567 b35dd6eed0 Most of the work towards writing related rows back. 2021-06-28 18:19:34 +01:00
mike12345567 5a4398f690 Some work towards supporting many SQL relationships. 2021-06-28 17:42:39 +01:00
Andrew Kingston 2b7f3942d0 Add initial work on refactoring color picker to account for client app theme 2021-06-28 14:51:47 +01:00
mike12345567 e14cb54d8c Merge branch 'develop' of github.com:Budibase/budibase into feature/sql-relationships 2021-06-28 14:42:15 +01:00
mike12345567 43eaa35992 Merge branch 'develop' of github.com:Budibase/budibase into develop 2021-06-28 14:19:33 +01:00
mike12345567 b76d6a77ca Upgrading target to es6 for typescript compilation. 2021-06-28 14:19:21 +01:00
Martin McKeaveney c1abbc1493 definitions and tidy up 2021-06-28 13:04:52 +01:00
Andrew Kingston f2be9501d3 Add global app theme picker and use it in client preview 2021-06-28 12:55:11 +01:00
mike12345567 10cf55e273 Creating a many-to-many database scenario and seeding with data. 2021-06-28 12:36:05 +01:00
Andrew Kingston 6f0bbce083 Add gap to default screen in new apps 2021-06-28 12:00:01 +01:00
Andrew Kingston 91b701a746 Merge pull request #1834 from Budibase/design-panel-v2
Design panel V2 + big performance improvements + misc features
2021-06-28 11:11:00 +01:00
Andrew Kingston 39197b318b Improve styles in data source page to be more in line with the portal 2021-06-28 10:56:17 +01:00
Andrew Kingston cdd9bed7ad Prevent creating datasource without a type selected 2021-06-28 10:55:58 +01:00
Andrew Kingston 2333754862 Update autoscreens and default layouts to use new component props 2021-06-28 10:47:23 +01:00
mike12345567 2d162fda31 Linting. 2021-06-28 10:21:37 +01:00
Andrew Kingston 829c2bb8ee Fix border not being applied due to missing border-style rule 2021-06-28 10:15:14 +01:00
Andrew Kingston be37720dc5 Fix placement of 'reset fields' button for field groups 2021-06-28 10:09:31 +01:00
Andrew Kingston d65d4975c9 Fix tests 2021-06-28 10:00:22 +01:00
mike12345567 5389878801 Moving definitions to central location and adding a few more definitions. 2021-06-26 23:09:46 +01:00
Martin McKeaveney a4f75cde17 Merge branch 'feature/sql-relationships' of github.com:Budibase/budibase into feature/opinionated-relationships-ui 2021-06-25 19:11:15 +01:00
mike12345567 f23f61c89a Merge branch 'develop' of github.com:Budibase/budibase into feature/sql-relationships 2021-06-25 18:50:30 +01:00
mike12345567 b6223d880e Copying none js/ts files into the dist directory after building. 2021-06-25 18:46:50 +01:00
mike12345567 84ea655fd9 Linting. 2021-06-25 18:34:21 +01:00
mike12345567 856be36d9e Merge branch 'develop' of github.com:Budibase/budibase into feature/sql-relationships 2021-06-25 18:13:11 +01:00
Martin McKeaveney ba2bdd0e12 Merge branch 'develop' of github.com:Budibase/budibase into feature/opinionated-relationships-ui 2021-06-25 18:11:48 +01:00
Martin McKeaveney aa980e9b8a relationship configuration panel 2021-06-25 18:11:03 +01:00
mike12345567 547ca3c593 force delete dist directory when building. 2021-06-25 17:28:48 +01:00
Andrew Kingston 50f8931fbe Lint 2021-06-25 17:27:06 +01:00
mike12345567 1568702a6d Linting + formatting. 2021-06-25 17:21:36 +01:00
mike12345567 5462ca5930 Removing use of the arguments[0] as they don't mesh well with TS. 2021-06-25 17:14:23 +01:00
Andrew Kingston 954c83c418 Remove deprecated 'inline' style setting 2021-06-25 17:00:30 +01:00
mike12345567 b25033cab6 Fixing cypress test linkup to built files. 2021-06-25 16:37:01 +01:00
mike12345567 f0e7b9b25e Speeding up server tests and removing the ability for it to port collide. 2021-06-25 16:14:06 +01:00
Andrew Kingston 7b876b2b42 Add ability for buttons to link to external URLs 2021-06-25 16:07:25 +01:00
Andrew Kingston b6a62de0d3 Fix embed showing undefined, add size styles and add placeholder 2021-06-25 16:04:42 +01:00
Andrew Kingston d0d38387ad Fix placeholder styles, add typography settings to link 2021-06-25 15:56:22 +01:00
Andrew Kingston f3024c5644 Increase background image placeholder style 2021-06-25 15:39:41 +01:00
Andrew Kingston 748938b1f0 Add placeholder to background image, fix default styles and add size styles 2021-06-25 15:36:51 +01:00
mike12345567 fd45ac86ab Fixing issue with Redis which was causing CPU peaking if couldn't connect. 2021-06-25 15:32:59 +01:00
Andrew Kingston 86da3b7f28 Add gap prop by default to screens 2021-06-25 15:31:35 +01:00
Andrew Kingston 1599c8433d Add size styles and placeholder to image component 2021-06-25 15:29:24 +01:00
Andrew Kingston 79b3732ef4 Add relative z indices to layouts to allow absolutely positioned children in a layout without overlapping the nav 2021-06-25 15:09:13 +01:00
mike12345567 164ac0de11 Merge branch 'master' of github.com:Budibase/budibase into labday/backend-ts 2021-06-25 15:06:33 +01:00
Andrew Kingston 6d9a1b8382 Remove lodash functions and recursive context mutation in string templates to increase performance 2021-06-25 15:04:54 +01:00
Andrew Kingston be2ec9b427 Aggressively optimise client library to prevent handlebars enrichment where possible 2021-06-25 15:04:27 +01:00
mike12345567 96fd8ed947 Updating tests to use latest version of jest, which broke a lot of things, but was necessary to get proper ts-jest support. 2021-06-25 13:46:02 +01:00
Budibase Release Bot 4eedbe7890 v0.9.65 2021-06-25 11:32:56 +00:00
Ikko Ashimine e6800de5c4 Fix typo in Form.svelte
targetting -> targeting
2021-06-25 20:15:45 +09:00
Andrew Kingston 83a337e20e Add pretty labels to button props, ensure button width is always determined by content 2021-06-25 08:55:45 +01:00
mike12345567 aea08af49c Formatting. 2021-06-24 18:17:26 +01:00
mike12345567 ffc54c3720 First attempt and re-writing a portion of the server in typescript. 2021-06-24 18:16:48 +01:00
Budibase Release Bot 6f280e389a v0.9.64 2021-06-24 11:37:19 +00:00
mike12345567 e63499384c Merge branch 'master' of github.com:Budibase/budibase into develop 2021-06-24 12:28:15 +01:00
mike12345567 bc8e4790cc Merge branch 'develop' of github.com:Budibase/budibase into develop 2021-06-24 12:28:08 +01:00
Andrew Kingston d4f344aa14 Hide horizontal overflow at layout level 2021-06-24 12:15:22 +01:00
Andrew Kingston 77cd7ea338 Add wrap setting to containers and force repeaters to always wrap 2021-06-24 12:15:04 +01:00
Andrew Kingston 5fb09deb48 Be more explicit about hiding overflow at the top levels of an app 2021-06-24 12:14:19 +01:00
Andrew Kingston 26136f5114 Hide overflow when showing empty component placeholders 2021-06-24 12:13:55 +01:00
mike12345567 cd42f38e2a fixing hbs styling. 2021-06-24 11:52:08 +01:00
Andrew Kingston fb18635bf9 Merge branch 'develop' of github.com:Budibase/budibase into design-panel-v2 2021-06-24 11:44:49 +01:00
Andrew Kingston 0ac8a0ffeb Add some container settings to repeaters to allow control of layout of children, and enable settings bar 2021-06-24 11:44:33 +01:00
mike12345567 9a28b19ee0 Adding back app.hbs as it is still required. 2021-06-24 11:40:31 +01:00
mike12345567 a7ce3ada3f Fixing issues discovered with hbs escaping. 2021-06-24 11:37:26 +01:00
Andrew Kingston 4a23603c1a Add gap to container settings and remove some colours from color picker 2021-06-24 11:29:20 +01:00
Budibase Release Bot 01bd23f45e v0.9.63 2021-06-23 22:43:56 +00:00
Martin McKeaveney e04b5e7c44 Merge branch 'master' of github.com:Budibase/budibase 2021-06-23 23:36:06 +01:00
Martin McKeaveney 1a6b46e678 strip double quotes and use single in ID 2021-06-23 23:35:53 +01:00
Budibase Release Bot 8d740bd199 v0.9.62 2021-06-23 22:27:33 +00:00
Martin McKeaveney 852691f75d fix external data sources key parsing with double quote strings 2021-06-23 23:19:41 +01:00
Martin McKeaveney 6857dc08e7 string based keyProps not being parsed properly by handlebars 2021-06-23 23:15:16 +01:00
Martin McKeaveney 751f83bfb0 adding relationships file 2021-06-23 22:07:18 +01:00
Budibase Release Bot b63a901a47 v0.9.61 2021-06-23 19:53:30 +00:00
mike12345567 2db995c906 Fixing test case and removing console.log. 2021-06-23 20:18:21 +01:00
mike12345567 2a0cfc949d Fixing issue with automation webhook URL being undefined. 2021-06-23 20:11:05 +01:00
mike12345567 c4cac4a0b1 Fixing some issues discovered with POSTing JSON. 2021-06-23 19:28:33 +01:00
mike12345567 fd4403037d WIP - basic override of foreign keys. 2021-06-23 19:05:32 +01:00
Martin McKeaveney e6f3a04b4f started on opinionated relationships 2021-06-23 14:29:40 +01:00
Andrew Kingston f21afb165b Remove margin from heading and paragraph 2021-06-23 14:22:59 +01:00
Andrew Kingston 098131099d Add new typography settings, add new settings bar dropdowns, add settings bar to text components 2021-06-23 14:21:37 +01:00
Budibase Release Bot e25c6d4f3f v0.9.60 2021-06-23 12:53:57 +00:00
mike12345567 b3f3826aa6 Fixing an issue I found with postgres schema generator, it was applying all primary keys to all tables. 2021-06-23 12:44:54 +01:00
Andrew Kingston d7cc6836a9 Fix instance name on layouts 2021-06-23 12:26:46 +01:00
Budibase Release Bot e141a17e87 v0.9.59 2021-06-23 11:09:48 +00:00
Andrew Kingston 997efa62b3 Add wrapper to color picker and fix helper import 2021-06-23 11:47:07 +01:00
Budibase Release Bot ce2abff002 v0.9.58 2021-06-23 09:13:01 +00:00
Andrew Kingston 4b9a863c68 Add color picker component and tidy up style options 2021-06-23 09:54:31 +01: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
Martin McKeaveney 137aff049d adding scroll to data source select 2021-06-23 08:04:24 +01:00
Andrew Kingston dd4c7a186e Add new style definitions for containers 2021-06-23 07:55:33 +01:00
Budibase Release Bot ee825b3728 v0.9.55 2021-06-22 16:31:57 +00:00
Michael Drury f503de3025 Merge pull request #1799 from Budibase/fix/june-mike
Various release fixes
2021-06-22 17:24:09 +01:00
Budibase Release Bot 42d18b8d7f v0.9.54 2021-06-22 16:03:40 +00:00
mike12345567 559e91ec29 Allowing self endpoints to 403 and not reload page. 2021-06-22 16:54:25 +01:00
mike12345567 89c46873af Not recording cypress in CI. 2021-06-22 16:26:39 +01:00
mike12345567 2145c92fdb Merge branch 'develop' of github.com:Budibase/budibase into fix/june-mike 2021-06-22 15:48:08 +01:00
mike12345567 0141a5a64c Fix for #1794 - updating csv validators and parsers for date and numbers to allow attribute to not be present. 2021-06-22 14:43:57 +01:00
mike12345567 dee180dc7c Fixing inactivity issue in builder as well #1773. 2021-06-22 13:05:15 +01:00
mike12345567 868d31299a Adding a page reload when 403 occurs, if token has expired this will return to login page. 2021-06-22 12:39:52 +01:00
Martin McKeaveney 201cb2e383 fix button component props 2021-06-22 12:10:57 +01:00
mike12345567 c531a02725 Allowing formula fields to be display columns. 2021-06-22 11:49:35 +01:00
Michael Drury bdf2d3f529 Merge pull request #1784 from Budibase/fix/app-import-issue
Fixing app export/import issue
2021-06-22 09:57:11 +01:00
Andrew Kingston 9c453596ab Fix empty layout being created with top navigation 2021-06-22 09:37:42 +01:00
Andrew Kingston 2367a97f39 Add screen settings section, refactor more of component settings panel 2021-06-22 09:36:50 +01:00
Andrew Kingston da1197337e Merge branch 'develop' of github.com:Budibase/budibase into design-panel-v2 2021-06-22 09:14:27 +01:00
Andrew Kingston aee876a681 Add initial work on merging settings and design panels, improve code structure, improve styles 2021-06-22 09:14:17 +01:00
Martin McKeaveney 681d35d915 Merge pull request #1783 from Budibase/fix/martin-june-fixes
prevent portal link from navigating in builder preview
2021-06-21 22:55:55 +01:00
Michael Drury 8b4f1a4bac Update-deps and re-lint. 2021-06-21 22:44:40 +01:00
Martin McKeaveney 4730a74b0b lint 2021-06-21 22:43:15 +01:00
Michael Drury 82d17af808 Linting. 2021-06-21 22:42:57 +01:00
mike12345567 9f520ae8f3 Fixing issue with app import, supporting old search API. 2021-06-21 22:29:32 +01:00
Martin McKeaveney ef5b1c5a99 prevent portal link from navigating in builder preview 2021-06-21 19:47:40 +01:00