Commit Graph

4218 Commits

Author SHA1 Message Date
Andrew Kingston ba2588d44e Add support for accessing unlimited levels of nested JSON arrays 2021-12-07 21:19:14 +00:00
Andrew Kingston a0f3863f69 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-07 15:11:32 +00:00
Andrew Kingston 20f3f41327 Add button action for duplicating a row 2021-12-07 13:59:12 +00:00
Andrew Kingston 91016c6dc9 Fix lucene filtering crashing when being provided an invalid binding string as the document array 2021-12-07 13:58:59 +00:00
Andrew Kingston 122f8dba3a Fix data bindings from JSON fields not correctly squashing nested structures beyond the first level 2021-12-06 19:56:05 +00:00
Andrew Kingston 999d8f3d55 Add data bindings for top level properties within JSON fields 2021-12-06 19:55:21 +00:00
Andrew Kingston 39e1e84512 Enable support for handling shallow non-object arrays in JSON fields 2021-12-06 18:12:27 +00:00
Andrew Kingston 09dc17ca6a Add console error to builder when iframe preview receives invalid JSON to aid in debugging some cases of endless loading apps 2021-12-06 18:00:19 +00:00
Andrew Kingston 0a3dede736 Remove legacy performance hack of remove _revs from component definitions as this was sometimes leading to invalid JSON, preventing the app from loading 2021-12-06 17:59:23 +00:00
Andrew Kingston 1bb6fb37e5 Flatten JSON schema in apps to allow filtering and display of nested values 2021-12-06 12:37:50 +00:00
Andrew Kingston 2a814abd53 Add more comments to clarify data binding behaviour 2021-12-06 12:14:06 +00:00
Andrew Kingston bd00ab28b4 Remove log statements 2021-12-06 12:04:55 +00:00
Andrew Kingston b0732846d0 Update client side lucene searching to work with nested JSON fields and fix bug with flattening nested JSON schema 2021-12-06 12:04:22 +00:00
Andrew Kingston f898b8c94d Allow using JSON field arrays as a data provider source and add data bindings for nested JSON fields 2021-12-06 11:41:17 +00:00
Andrew Kingston b362068d47 Add new form field component for JSON fields, JSON validation and update autoscreen generation 2021-12-03 09:20:45 +00:00
Andrew Kingston 3542b12411 Fix custom query params not appearing 2021-12-02 12:28:12 +00:00
Andrew Kingston b3b56a7d15 Reset client features when selecting a new app 2021-12-02 12:27:59 +00:00
Andrew Kingston 51cedd537f Merge branch 'fix/block-context' of github.com:Budibase/budibase into feature/json-backend 2021-12-01 11:40:09 +00:00
Andrew Kingston afda32046e Fix button actions directly mutating the real component definition 2021-12-01 10:33:17 +00:00
Andrew Kingston a3af1ece09 Ensuire the save row action determines the correct runtime bindings and only uses valid context types 2021-12-01 10:32:55 +00:00
Andrew Kingston 52b7e41e5f Prevent data providers from using arbitrary context-providing components as sources 2021-11-30 14:32:18 +00:00
mike12345567 5e0a6d6c91 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-11-30 11:32:50 +00:00
Andrew Kingston 51b31946ec
Merge pull request #3576 from Budibase/ak-fixes
Misc bug fixes
2021-11-30 10:05:01 +00:00
mike12345567 1cee1b78e6 Adding validation around invalid JSON inputs and allowing input via a code mirror editor in data UI. 2021-11-29 18:16:44 +00:00
mike12345567 de0b23dd9f Moving generation to builder because it reduces API calls and has no reason to be carried out server-side, handling array/object schema generation correctly. 2021-11-29 17:11:08 +00:00
Peter Clement df307ad579
Merge pull request #3581 from Budibase/feature/auto-screen-ui
Autoscreen fixes
2021-11-29 13:49:59 +00:00
Peter Clement 8ff8b41b4e autoscreen fixes 2021-11-29 11:53:46 +00:00
Andrew Kingston 785ff45240 Fix issue with navigation links editor mutating real component structure 2021-11-29 08:58:49 +00:00
Andrew Kingston 0da0002bc5 Preserve bindings when duplicating components 2021-11-29 08:30:52 +00:00
mike12345567 ed28bf664d Adding server functionality to determine schema for JSON data type, some basic UI around an editor for getting JSON to determine schema from and the key/value mechanism for flat structures. 2021-11-26 17:39:18 +00:00
mike12345567 0be0cc9a55 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-11-26 15:46:45 +00:00
Michael Drury e8c0684f3c
Merge pull request #3554 from Budibase/labday/docs
API Docs, generation, tables and rows and Swagger definitions
2021-11-26 15:20:23 +00:00
Martin McKeaveney e5270a66fc adding check for initinfo 2021-11-26 15:26:51 +01:00
mike12345567 4d73903019 Fixing a few issues that became obvious when I was looking at examples of what gets sent to the API for table saving. 2021-11-26 14:14:53 +00:00
Martin McKeaveney 00f493b003
Merge pull request #3543 from Budibase/martin/misc-tasks
Martin/misc tasks
2021-11-26 11:58:40 +01:00
Peter Clement 5c3e05c2d4
Merge pull request #3544 from Budibase/feature/auto-screen-ui
Remove initial screen defintion so user can see the new screen creation button
2021-11-25 22:13:07 +00:00
Peter Clement 9aa44dddfe change colour of autoscreen selection 2021-11-25 21:57:27 +00:00
mike12345567 f53259af6e Fixing issue discovered by Cypress. 2021-11-25 17:56:50 +00:00
mike12345567 b9b79f0af6 Fixing issue with data import error not invalidating modals. 2021-11-25 16:41:19 +00:00
Michael Drury c1756aff75
Merge pull request #3541 from Budibase/fix/sql-issues
Fixing various SQL issues
2021-11-25 12:42:38 +00:00
mike12345567 831ef53319 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-11-25 12:21:58 +00:00
Martin McKeaveney cf062034f6 auto name template based apps 2021-11-25 13:00:21 +01:00
Martin McKeaveney e7e41a1743 allow type editing on custom query datasource schemas 2021-11-25 12:20:20 +01:00
Peter Clement 3d94d1df88
Merge pull request #3533 from Budibase/feature/auto-screen-ui
Fix issue where auto screen UI was duplicating selections
2021-11-25 10:23:50 +00:00
Peter Clement ee9b1a7c18 re-add analytics 2021-11-25 09:41:40 +00:00
Peter Clement f271bef3cb fix automation 2021-11-25 09:30:10 +00:00
Martin McKeaveney 5abb36b1ed auto app creation from template E2E, added warning to automations that they can't run in dev 2021-11-25 10:29:09 +01:00
Peter Clement 9e0ab7373d refactor screen templates to include table name 2021-11-24 19:26:07 +00:00
Peter Clement 7e65edfc5a refactor screen templates to include table name 2021-11-24 19:10:10 +00:00
mike12345567 1f6644fc07 Fixing issue with datasource deletion not navigating if was on data source plus table and fixing #3523 where relationships would cause sorting to breaking postgres/oracle. 2021-11-24 18:20:52 +00:00