Commit Graph

6642 Commits

Author SHA1 Message Date
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
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
Andrew Kingston 1b094b43ef Fix font family issue with date pickers 2021-07-05 10:24:44 +01:00
Andrew Kingston a3d1b959fc Update list and detail autoscreens to be theme aware and use new designs 2021-07-05 10:20:20 +01:00
Andrew Kingston af8f616624 Remove built-in padding from forms to be consistent with every other component 2021-07-05 10:19:59 +01:00
Andrew Kingston 0422b3cdf3 Add quiet prop to button 2021-07-05 10:19:27 +01:00
Andrew Kingston c9259aee36 Add quiet prop to buttons and size styles to form 2021-07-05 10:19:07 +01:00
mike12345567 f3f2af1c1d Linting. 2021-07-05 09:38:01 +01:00
Andrew Kingston 4c9279bd91 Update colors of selection and hover indicators in client apps 2021-07-05 09:37:06 +01:00
mike12345567 1314edeef1 Allowing user firstname and lastname to be updated through user portal. 2021-07-05 09:29:16 +01:00
Andrew Kingston 07ed0b1217 Merge branch 'develop' of github.com:Budibase/budibase into spectrum-apps 2021-07-05 09:03:24 +01:00
mike12345567 7caf185e01 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-03 11:28:38 +01:00
mike12345567 2e18abd342 Linting. 2021-07-03 11:16:29 +01:00
mike12345567 e170d9d146 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 579bce8a6a Fixing little UI bugs. 2021-07-03 10:26:37 +01:00
mike12345567 3dc877f315 Linting. 2021-07-02 18:44:01 +01:00
mike12345567 ec889320bc 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 922e209c72 Updating server test cases. 2021-07-02 14:49:47 +01:00
mike12345567 499c28d883 Linting. 2021-07-02 14:36:24 +01:00
mike12345567 56d83864ea Removing console logs and simplifying the relationship name. 2021-07-02 14:35:05 +01:00
mike12345567 f2beac85b7 Implementing UI to support the backend put in place. 2021-07-02 14:33:05 +01:00
Martin McKeaveney 3070f2593f bidirectional relationships, many to one 2021-07-01 22:23:47 +01:00
Martin McKeaveney 569af97664 preventing relationship overrides 2021-07-01 21:24:23 +01:00
Martin McKeaveney 33950a77b4 Merge branch 'feature/sql-relationships' of github.com:Budibase/budibase into feature/opinionated-relationships-ui 2021-07-01 20:09:27 +01:00
mike12345567 052c1936ce Linting. 2021-07-01 19:23:29 +01:00
mike12345567 3cfbced94d Re-writing external layer in typescript. 2021-07-01 19:20:41 +01:00
Martin McKeaveney 63be9750ae simplify relationship configuration UI 2021-07-01 18:24:43 +01:00
mike12345567 5e819faa58 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 41471f809a TS debug command for server 2021-07-01 17:36:41 +01:00
mike12345567 e82e175b9c Linting. 2021-07-01 14:25:23 +01:00
Martin McKeaveney d801f49ac4 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 53f6a095b7 relationships E2E 2021-07-01 14:14:48 +01:00
mike12345567 a13b5111bb First version of enrichment. 2021-07-01 14:10:44 +01:00
mike12345567 959c9f1e76 Merge branch 'master' of github.com:Budibase/budibase into feature/sql-relationships 2021-07-01 12:29:38 +01:00
Budibase Release Bot 5f4199a3fb v0.9.69 2021-07-01 10:51:59 +00:00
Michael Drury 12761cfe80
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 1385a08395 v0.9.68 2021-07-01 10:41:50 +00:00
mike12345567 aef512a108 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 835e258b56
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 49e3dce3a7 Only override color style on links if a color setting exists 2021-07-01 00:48:40 +01:00
Andrew Kingston 37eca6af91 Only override color style on paragraphs if a color setting exists 2021-07-01 00:48:05 +01:00
Andrew Kingston ab2331a291 Only override existing color style if a color setting exists for Headings 2021-07-01 00:47:38 +01:00
Andrew Kingston 9c954609fd 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 632fb636f2 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 a36ddac591 Update colours of selection indicators 2021-06-30 21:23:55 +01:00
Andrew Kingston 9aeb23b8be Reduce box shadow on layout nav wrapper 2021-06-30 20:40:27 +01:00
Andrew Kingston 602255c1fc Fetch and use app theme in real client apps 2021-06-30 20:35:02 +01:00
Andrew Kingston b4a1ae575d Update list autoscreen to be theme aware and use new component props 2021-06-30 20:14:41 +01:00
Andrew Kingston b7f50b8f8f Use spectrum heading in standard components 2021-06-30 20:09:26 +01:00
Andrew Kingston 963f6fa3fd Fix link styles 2021-06-30 19:57:39 +01:00
Andrew Kingston e0e6ef29a2 Add custom scrollbars to client apps 2021-06-30 19:57:31 +01:00
Andrew Kingston d7ea2fddea Set light as default app theme 2021-06-30 19:41:09 +01:00
Andrew Kingston 61a1a4a481 Use app name as default layout title 2021-06-30 19:40:59 +01:00
Andrew Kingston 3a615306a6 Add error handling to builder preview and loading indicator 2021-06-30 19:37:03 +01:00
Martin McKeaveney 57eacbf33e Merge branch 'feature/sql-relationships' of github.com:Budibase/budibase into feature/opinionated-relationships-ui 2021-06-30 18:53:33 +01:00
mike12345567 2b71f28664 Linting. 2021-06-30 18:33:55 +01:00
mike12345567 1fd4144189 First attempt at solving the enrichment call, as well as various fixes. 2021-06-30 18:31:16 +01:00
Andrew Kingston 40e31907da Make charts respect spectrum variables 2021-06-30 16:45:06 +01:00
Andrew Kingston f7f7180437 Add spectrum card component 2021-06-30 16:33:35 +01:00
Andrew Kingston 1547c17f7f Merge and add initial work on cards 2021-06-30 16:33:19 +01:00
Martin McKeaveney d928a93465 Merge branch 'feature/sql-relationships' of github.com:Budibase/budibase into feature/opinionated-relationships-ui 2021-06-30 15:06:42 +01:00
mike12345567 a6549a26b8 Linting. 2021-06-30 14:54:53 +01:00
mike12345567 d17a399ee6 Getting writing of one and many rows working. 2021-06-30 14:46:44 +01:00
Andrew Kingston 1b8e6d029f Fix bug where stale data is shown in custom css drawer when changing components 2021-06-30 09:38:14 +01:00
Andrew Kingston 0f3b447896 Fix bug which causes an 'undefined' layout to appear if the save call 409s 2021-06-30 09:35:31 +01:00
Andrew Kingston 24172d111c Remove a lot of hacks around screenslots and allow naming them 2021-06-30 09:05:03 +01:00
Andrew Kingston 1cf0d3b0cf Fix text casing on some button settings 2021-06-30 08:46:53 +01:00
Andrew Kingston d2910ae5c8 Make icon component slightly more presentable 2021-06-30 08:46:18 +01:00
Andrew Kingston 83474a5c7e Update text component placeholders 2021-06-30 08:46:02 +01:00
Andrew Kingston b4a8a9c160 Add better theme compatibility to color picker and client app components 2021-06-30 08:30:57 +01:00
Martin McKeaveney 6e36e5d06a listing relationships in UI 2021-06-29 19:57:26 +01:00
mike12345567 fd4dc4b45e 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 2258f43bc1 v0.9.67 2021-06-29 16:46:33 +00:00
mike12345567 13100a69ba Implementing all return possibilities, now to implement creation. 2021-06-29 17:42:46 +01:00
Andrew Kingston 9a6a0fded7 Use the real current user even inside builder preview 2021-06-29 17:41:02 +01:00
Martin McKeaveney e9572b86d9 pin eslint parser to fix build 2021-06-29 17:15:13 +01:00
Martin McKeaveney eff4aebdfc adding prop to create/edit relationships 2021-06-29 15:30:32 +01: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
Rory Powell a468922366 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 47d879c7c2 merging with relationship backend work 2021-06-29 12:05:26 +01:00
Andrew Kingston 0db0417691 Allow color picker to have spectrum theme overridden 2021-06-29 08:20:34 +01:00
Andrew Kingston abc392496e 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 8e0ba1eb45 Most of the work towards writing related rows back. 2021-06-28 18:19:34 +01:00
mike12345567 5dd53f67ac Some work towards supporting many SQL relationships. 2021-06-28 17:42:39 +01:00
Andrew Kingston dfbd1eaae1 Add initial work on refactoring color picker to account for client app theme 2021-06-28 14:51:47 +01:00
mike12345567 af71bf478a Merge branch 'develop' of github.com:Budibase/budibase into feature/sql-relationships 2021-06-28 14:42:15 +01:00
mike12345567 900d0f5ac0 Merge branch 'develop' of github.com:Budibase/budibase into develop 2021-06-28 14:19:33 +01:00
mike12345567 7525ccc821 Upgrading target to es6 for typescript compilation. 2021-06-28 14:19:21 +01:00
Martin McKeaveney e183a9e607 definitions and tidy up 2021-06-28 13:04:52 +01:00
Andrew Kingston d28c48ccad Add global app theme picker and use it in client preview 2021-06-28 12:55:11 +01:00
mike12345567 4a7e2ffa4f Creating a many-to-many database scenario and seeding with data. 2021-06-28 12:36:05 +01:00
Andrew Kingston aeb56250ff Add gap to default screen in new apps 2021-06-28 12:00:01 +01:00
Andrew Kingston fc4aa07495
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 fd9d1c61cc Improve styles in data source page to be more in line with the portal 2021-06-28 10:56:17 +01:00
Andrew Kingston 91fcb1755a Prevent creating datasource without a type selected 2021-06-28 10:55:58 +01:00
Andrew Kingston ce40b7165a Update autoscreens and default layouts to use new component props 2021-06-28 10:47:23 +01:00
mike12345567 e4392a4e82 Linting. 2021-06-28 10:21:37 +01:00
Andrew Kingston f467f9809c Fix border not being applied due to missing border-style rule 2021-06-28 10:15:14 +01:00
Andrew Kingston 9c1cf98fce Fix placement of 'reset fields' button for field groups 2021-06-28 10:09:31 +01:00
Andrew Kingston 545c710ce5 Fix tests 2021-06-28 10:00:22 +01:00
mike12345567 e56926dd7f Moving definitions to central location and adding a few more definitions. 2021-06-26 23:09:46 +01:00
Martin McKeaveney 5cc3f6fbfb Merge branch 'feature/sql-relationships' of github.com:Budibase/budibase into feature/opinionated-relationships-ui 2021-06-25 19:11:15 +01:00
mike12345567 fc1fffc5a7 Merge branch 'develop' of github.com:Budibase/budibase into feature/sql-relationships 2021-06-25 18:50:30 +01:00
mike12345567 834c89217c Copying none js/ts files into the dist directory after building. 2021-06-25 18:46:50 +01:00
mike12345567 43c9e0a9b6 Linting. 2021-06-25 18:34:21 +01:00
mike12345567 8bf22438fc Merge branch 'develop' of github.com:Budibase/budibase into feature/sql-relationships 2021-06-25 18:13:11 +01:00
Martin McKeaveney 15033495af Merge branch 'develop' of github.com:Budibase/budibase into feature/opinionated-relationships-ui 2021-06-25 18:11:48 +01:00
Martin McKeaveney 81a4328544 relationship configuration panel 2021-06-25 18:11:03 +01:00
mike12345567 f151948f60 force delete dist directory when building. 2021-06-25 17:28:48 +01:00
Andrew Kingston b2c843adb4 Lint 2021-06-25 17:27:06 +01:00
mike12345567 477adfdbd7 Linting + formatting. 2021-06-25 17:21:36 +01:00
mike12345567 191646b7ee Removing use of the arguments[0] as they don't mesh well with TS. 2021-06-25 17:14:23 +01:00
Andrew Kingston 3a78b26230 Remove deprecated 'inline' style setting 2021-06-25 17:00:30 +01:00
mike12345567 655c6ec381 Fixing cypress test linkup to built files. 2021-06-25 16:37:01 +01:00
mike12345567 d90f77fa42 Speeding up server tests and removing the ability for it to port collide. 2021-06-25 16:14:06 +01:00
Andrew Kingston ed2ff97df1 Add ability for buttons to link to external URLs 2021-06-25 16:07:25 +01:00
Andrew Kingston 930b0b774f Fix embed showing undefined, add size styles and add placeholder 2021-06-25 16:04:42 +01:00
Andrew Kingston c02a7ef311 Fix placeholder styles, add typography settings to link 2021-06-25 15:56:22 +01:00
Andrew Kingston 89ca482003 Increase background image placeholder style 2021-06-25 15:39:41 +01:00
Andrew Kingston 0361f2248b Add placeholder to background image, fix default styles and add size styles 2021-06-25 15:36:51 +01:00
mike12345567 c17bfa34f5 Fixing issue with Redis which was causing CPU peaking if couldn't connect. 2021-06-25 15:32:59 +01:00
Andrew Kingston 28e337858a Add gap prop by default to screens 2021-06-25 15:31:35 +01:00
Andrew Kingston 1711331261 Add size styles and placeholder to image component 2021-06-25 15:29:24 +01:00
Andrew Kingston e5b2a21c82 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 e7d23b7c70 Merge branch 'master' of github.com:Budibase/budibase into labday/backend-ts 2021-06-25 15:06:33 +01:00
Andrew Kingston 9815a3ff8c Remove lodash functions and recursive context mutation in string templates to increase performance 2021-06-25 15:04:54 +01:00
Andrew Kingston 171b4c9f9f Aggressively optimise client library to prevent handlebars enrichment where possible 2021-06-25 15:04:27 +01:00
mike12345567 19da122425 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 e0459572af v0.9.65 2021-06-25 11:32:56 +00:00
Ikko Ashimine 1e1ddae2c2
Fix typo in Form.svelte
targetting -> targeting
2021-06-25 20:15:45 +09:00
Andrew Kingston 937479986d Add pretty labels to button props, ensure button width is always determined by content 2021-06-25 08:55:45 +01:00
mike12345567 6cae9cbdb8 Formatting. 2021-06-24 18:17:26 +01:00
mike12345567 374081d720 First attempt and re-writing a portion of the server in typescript. 2021-06-24 18:16:48 +01:00
Budibase Release Bot 8998e8cba4 v0.9.64 2021-06-24 11:37:19 +00:00
mike12345567 6d75a7acf3 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-06-24 12:28:15 +01:00
mike12345567 d890eab577 Merge branch 'develop' of github.com:Budibase/budibase into develop 2021-06-24 12:28:08 +01:00
Andrew Kingston 5f83ee6813 Hide horizontal overflow at layout level 2021-06-24 12:15:22 +01:00
Andrew Kingston 13f9b8b532 Add wrap setting to containers and force repeaters to always wrap 2021-06-24 12:15:04 +01:00
Andrew Kingston aecebc96a7 Be more explicit about hiding overflow at the top levels of an app 2021-06-24 12:14:19 +01:00
Andrew Kingston af2097e3eb Hide overflow when showing empty component placeholders 2021-06-24 12:13:55 +01:00
mike12345567 2b50f061f5 fixing hbs styling. 2021-06-24 11:52:08 +01:00
Andrew Kingston 14fa37deac Merge branch 'develop' of github.com:Budibase/budibase into design-panel-v2 2021-06-24 11:44:49 +01:00
Andrew Kingston b7aa28f981 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 1263b64298 Adding back app.hbs as it is still required. 2021-06-24 11:40:31 +01:00
mike12345567 1df459a5bf Fixing issues discovered with hbs escaping. 2021-06-24 11:37:26 +01:00
Andrew Kingston 3074b3894f Add gap to container settings and remove some colours from color picker 2021-06-24 11:29:20 +01:00
Budibase Release Bot 91f2d5a075 v0.9.63 2021-06-23 22:43:56 +00:00
Martin McKeaveney 9fa0a2d250 Merge branch 'master' of github.com:Budibase/budibase 2021-06-23 23:36:06 +01:00
Martin McKeaveney 0de6038551 strip double quotes and use single in ID 2021-06-23 23:35:53 +01:00
Budibase Release Bot 53a2707086 v0.9.62 2021-06-23 22:27:33 +00:00
Martin McKeaveney 85121db2c5 fix external data sources key parsing with double quote strings 2021-06-23 23:19:41 +01:00
Martin McKeaveney f6549b0c7f string based keyProps not being parsed properly by handlebars 2021-06-23 23:15:16 +01:00
Martin McKeaveney 9c3869cfbf adding relationships file 2021-06-23 22:07:18 +01:00
Budibase Release Bot 4af9574178 v0.9.61 2021-06-23 19:53:30 +00:00
mike12345567 bfc4a7cc7b Fixing test case and removing console.log. 2021-06-23 20:18:21 +01:00
mike12345567 6e0f18de87 Fixing issue with automation webhook URL being undefined. 2021-06-23 20:11:05 +01:00
mike12345567 1dbc56adf4 Fixing some issues discovered with POSTing JSON. 2021-06-23 19:28:33 +01:00
mike12345567 8a84d5cd6f WIP - basic override of foreign keys. 2021-06-23 19:05:32 +01:00
Martin McKeaveney 46c14fafc5 started on opinionated relationships 2021-06-23 14:29:40 +01:00
Andrew Kingston 35c9b4ff2f Remove margin from heading and paragraph 2021-06-23 14:22:59 +01:00
Andrew Kingston d0ba754a02 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 6d822ee4c2 v0.9.60 2021-06-23 12:53:57 +00:00
mike12345567 efe1866dbe 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 2dd5645aab Fix instance name on layouts 2021-06-23 12:26:46 +01:00
Budibase Release Bot 157208ea76 v0.9.59 2021-06-23 11:09:48 +00:00
Andrew Kingston 31f1940f49 Add wrapper to color picker and fix helper import 2021-06-23 11:47:07 +01:00
Budibase Release Bot 9fbb9d8d72 v0.9.58 2021-06-23 09:13:01 +00:00
Andrew Kingston 361d27cb08 Add color picker component and tidy up style options 2021-06-23 09:54:31 +01:00
Budibase Release Bot 6fe48237e5 v0.9.57 2021-06-23 08:45:22 +00:00
Budibase Release Bot 5253b00dc9 v0.9.56 2021-06-23 07:33:05 +00:00
Martin McKeaveney 9df56e9977 adding scroll to data source select 2021-06-23 08:04:24 +01:00
Andrew Kingston 817dc7b3cf Add new style definitions for containers 2021-06-23 07:55:33 +01:00
Budibase Release Bot 63e52c1f1b v0.9.55 2021-06-22 16:31:57 +00:00
Michael Drury 17ec2ca68a
Merge pull request #1799 from Budibase/fix/june-mike
Various release fixes
2021-06-22 17:24:09 +01:00
Budibase Release Bot 042eb0765a v0.9.54 2021-06-22 16:03:40 +00:00
mike12345567 7c38150fbb Allowing self endpoints to 403 and not reload page. 2021-06-22 16:54:25 +01:00
mike12345567 ecb2ab95af Not recording cypress in CI. 2021-06-22 16:26:39 +01:00
mike12345567 c837ee8fb8 Merge branch 'develop' of github.com:Budibase/budibase into fix/june-mike 2021-06-22 15:48:08 +01:00
mike12345567 5be329ea58 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 db186a1c91 Fixing inactivity issue in builder as well #1773. 2021-06-22 13:05:15 +01:00
mike12345567 21a2632da7 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 a45b3d7bf0 fix button component props 2021-06-22 12:10:57 +01:00
mike12345567 373c57580a Allowing formula fields to be display columns. 2021-06-22 11:49:35 +01:00
Michael Drury 2481477a7d
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 0b40c39bdf Fix empty layout being created with top navigation 2021-06-22 09:37:42 +01:00
Andrew Kingston ab56301ace Add screen settings section, refactor more of component settings panel 2021-06-22 09:36:50 +01:00
Andrew Kingston eff444f5ac Merge branch 'develop' of github.com:Budibase/budibase into design-panel-v2 2021-06-22 09:14:27 +01:00
Andrew Kingston 729dc3d8eb Add initial work on merging settings and design panels, improve code structure, improve styles 2021-06-22 09:14:17 +01:00
Martin McKeaveney 09c49c4230
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 8b447479a9 Update-deps and re-lint. 2021-06-21 22:44:40 +01:00
Martin McKeaveney 1a83a8916b lint 2021-06-21 22:43:15 +01:00
Michael Drury a2d98bfe23 Linting. 2021-06-21 22:42:57 +01:00
mike12345567 951ff78775 Fixing issue with app import, supporting old search API. 2021-06-21 22:29:32 +01:00
Martin McKeaveney 539250899c prevent portal link from navigating in builder preview 2021-06-21 19:47:40 +01:00
Michael Drury 16df6d7065
Merge pull request #1781 from Budibase/fix/mike-fixes
Fixes and making login/forgot/reset password pages respect logo and company name
2021-06-21 19:43:05 +01:00
mike12345567 57d2f349ae Linting. 2021-06-21 18:40:36 +01:00
mike12345567 44c6b77c55 Fixing issues discovered by cypress tests. 2021-06-21 18:37:14 +01:00
mike12345567 14d4ee13f0 Linting. 2021-06-21 18:02:09 +01:00
mike12345567 f244b7b075 Implementing feature #1700 and making it possible to remove logo. 2021-06-21 18:01:25 +01:00
mike12345567 fc9e48e8e7 Fixing authentication with API key issue. 2021-06-21 17:13:06 +01:00
Martin McKeaveney 8dabb3bd11 Merge branch 'develop' of github.com:Budibase/budibase into develop 2021-06-21 16:45:01 +01:00
Martin McKeaveney 2f4e85c64e consolidate build 2021-06-21 16:44:54 +01:00
Martin McKeaveney 1a2a6855ca
Merge pull request #1732 from Budibase/feature/opinionated-sql
Feature/opinionated sql
2021-06-21 16:28:29 +01:00
Martin McKeaveney 68801fd2fd Merge branch 'develop' of github.com:Budibase/budibase into develop 2021-06-21 16:27:27 +01:00
Martin McKeaveney f4c74b0ee2 add develop tag and update docker push script 2021-06-21 16:25:12 +01:00
Martin McKeaveney c61d499fc6 remove internal API key for cypress setup 2021-06-21 16:15:19 +01:00
mike12345567 d4df026318 Linting and adding internal_api_key to cypress. 2021-06-21 14:06:06 +01:00
Martin McKeaveney 20ca81e13c finally fixing cypress tests 2021-06-21 13:55:34 +01:00
mike12345567 68c8769686 Fixing issue stopping view test from creating tables. 2021-06-21 13:41:58 +01:00
mike12345567 0248098964 Merge branch 'develop' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-21 13:05:39 +01:00
mike12345567 cdebf6c10c Formatting. 2021-06-21 13:05:19 +01:00
mike12345567 239c328fe1 Fixing issues discovered by cypress tests. 2021-06-21 13:04:41 +01:00
Andrew Kingston 9a41e8921c
Merge pull request #1774 from Budibase/confirmable-actions
Confirmable actions
2021-06-21 12:56:47 +01:00
Martin McKeaveney 7fdd3c6634 adding docker staging tag to CI build to avoid polluting latest 2021-06-21 11:35:39 +01:00
Martin McKeaveney 3d89604680 merge 2021-06-21 11:19:22 +01:00
Martin McKeaveney 2686d4fbff merge 2021-06-21 11:16:44 +01:00
Martin McKeaveney f85fad5a4d Merge branch 'master' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-21 11:14:27 +01:00
Martin McKeaveney 4cf10ba42e refetch rows when row created 2021-06-21 11:10:46 +01:00
Andrew Kingston 2c31627e5a Update autoscreens to require confirmation when deleting rows 2021-06-21 10:52:55 +01:00
Andrew Kingston b7991ea894 Use action name as confirmation modal title 2021-06-21 10:46:55 +01:00
Andrew Kingston 4352611fc7 Fix typo 2021-06-21 10:11:18 +01:00
Andrew Kingston e5e3333158 Add confirmation params for some actions 2021-06-21 09:58:24 +01:00
Andrew Kingston 656a6bcea5 Update modal to support different events for hiding and cancelling, and support entry transitions for fixed modals 2021-06-21 09:57:17 +01:00
Andrew Kingston 312674bfa7 Add support for confirmable action handling by client library 2021-06-21 09:56:46 +01:00
Budibase Release Bot 91a6d5e985 v0.9.53 2021-06-20 16:45:30 +00:00
Budibase Release Bot 07a6eab254 v0.9.52 2021-06-20 10:15:48 +00:00
mike12345567 13222e2083 Linting. 2021-06-20 10:55:12 +01:00
mike12345567 60de9ccb28 Fixing issue with 1:N relationships and multiple fields, issue #1753. 2021-06-20 10:53:55 +01:00
Martin McKeaveney 6982c0f717 lint 2021-06-18 22:18:23 +01:00
mike12345567 1badf70f46 Linting. 2021-06-18 18:34:58 +01:00
mike12345567 94daa3d4b5 Adding a server logging script for testing and updating automation script functionality so that you can use 'return trigger.row.firstName' and it'll function as expected. 2021-06-18 18:07:51 +01:00
mike12345567 bdc7012c7a Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-18 18:06:44 +01:00
mike12345567 3f1b95218e Fixing some issues I found with testing automations against external tables. 2021-06-18 18:05:31 +01:00
Martin McKeaveney 5044b1bbc2 Merge branch 'feature/opinionated-sql' of github.com:Budibase/budibase into feature/opinionated-sql 2021-06-18 17:57:09 +01:00
Martin McKeaveney 44dda78ea4 fix condition in layout 2021-06-18 17:57:01 +01:00
mike12345567 3475273f80 Removing the ability to delete a table. 2021-06-18 17:07:46 +01:00
mike12345567 9b8ad3972e Adding script for creating basic postgres setup. 2021-06-18 15:03:22 +01:00
Andrew Kingston 6eb82071b7 Allow sections to be nested inside containers 2021-06-18 14:03:55 +01:00
mike12345567 77de3e55d7 Linting. 2021-06-18 13:33:44 +01:00
mike12345567 ed81e695c9 Quick updates to make sure mySQL works with automations. 2021-06-18 13:24:29 +01:00
mike12345567 987b66fd59 Formatting and fixing an issue with mysql not being able to return a row that it has created, updated or deleted. 2021-06-18 13:14:45 +01:00