Commit Graph

3129 Commits

Author SHA1 Message Date
mike12345567 82fd691ec7 Adding bindings to rest API, adding in spaceship placeholder, updating the look of some other components, cleaning up some whitespace. 2021-12-08 17:58:30 +00:00
Martin McKeaveney 58f0f337b3 Merge pull request #3719 from Budibase/fix/incoming-webhooks
Fix/incoming webhooks
2021-12-08 17:14:18 +00:00
Andrew Kingston 2da952af24 Fix bug where state variables were not always extracted, improve performance when determining bindable state values and add initial work on generating button context bindings 2021-12-08 15:31:06 +00:00
Rory Powell 720b828bee Render table of auth configs and linting 2021-12-08 15:27:58 +00:00
Andrew Kingston 7beaa80759 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-08 13:08:28 +00:00
Andrew Kingston a10ca1e045 Update manifest 'dependsOn' logic to correctly handle boolean values 2021-12-08 13:06:36 +00:00
Andrew Kingston 46cf642abd Add new tag component to client apps 2021-12-08 13:06:15 +00:00
Rory Powell 8df37dae85 Merge branch 'develop' into feature/rest-redesign 2021-12-08 12:36:12 +00:00
Rory Powell 379b8cecc0 Merge branch 'master' into develop 2021-12-08 12:07:06 +00:00
Rory Powell ad52b06a75 Merge pull request #3644 from Budibase/rest-import
Rest import
2021-12-08 11:54:38 +00:00
Martin McKeaveney 1b8a3c9813 updating cypress test to cover automation creation 2021-12-08 11:32:28 +00:00
Rory Powell 83a28eb4bb Merge pull request #3702 from Budibase/duplicate-query
Duplicate queries
2021-12-08 11:32:28 +00:00
Andrew Kingston 31e669dc12 Merge pull request #3666 from Budibase/fix/conditional-layout-links
Fix conditional layout links
2021-12-08 11:30:21 +00:00
Martin McKeaveney acfe5ac0d7 Merge branch 'ak-fixes' of github.com:Budibase/budibase into fix/incoming-webhooks 2021-12-08 11:16:22 +00:00
Rory Powell 6b7f94a358 Merge branch 'develop' into rest-import 2021-12-08 11:08:32 +00:00
Rory Powell 4f642a03a4 Refactor store actions to allow self reference 2021-12-08 11:01:12 +00:00
Andrew Kingston 90011b53cc Use full runtime bindings in automation settings and enable JS bindings for backend log action 2021-12-08 10:59:26 +00:00
Martin McKeaveney f40fe2e4ed account for integer type from JSON schema 2021-12-08 10:14:30 +00:00
Andrew Kingston 96e2ada5bd Lint 2021-12-08 09:42:19 +00:00
Andrew Kingston cc212d456a Fix query params directly mutating the stored app definition 2021-12-08 09:31:39 +00:00
Andrew Kingston b1cc72c54a Add support for accessing unlimited levels of nested JSON arrays 2021-12-07 21:19:14 +00:00
mike12345567 ce075c97ff Adding access controls to rest query ui. 2021-12-07 18:50:29 +00:00
mike12345567 c0512fa242 Adding query save, fixing routing to handle existing rest queries, adding in full saving of enabled headers functionality, fixing various issues discovered while testing. 2021-12-07 18:24:10 +00:00
Andrew Kingston 7146b994ff Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-07 15:11:32 +00:00
Andrew Kingston d36daaf9b9 Add button action for duplicating a row 2021-12-07 13:59:12 +00:00
Rory Powell 52ea1fe1da Duplicate queries 2021-12-07 12:26:00 +00:00
Andrew Kingston 20ee863780 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 adae966769 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
mike12345567 5936fe0f5f Adding all response capabilities. 2021-12-06 17:39:51 +00:00
Andrew Kingston d10d332b9f 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
Peter Clement 8f9bce04bc initial home screen redesign layout 2021-12-06 11:55:23 +00:00
Andrew Kingston cd5d370e7b 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
mike12345567 e064237981 Adding in last components of UI that were missing. 2021-12-03 18:39:05 +00:00
Peter Clement 610fc04145 some css fixes for autoscreen ui work 2021-12-03 14:27:38 +00:00
mike12345567 7c7b7584fa Merge branch 'develop' of github.com:Budibase/budibase into feature/rest-redesign 2021-12-03 12:45:32 +00:00
Andrew Kingston 39d5c81b72 Ensure links are an array in the wrapper component for a cleaner fix 2021-12-03 11:45:04 +00:00
Andrew Kingston e695396bb8 Ensure links prop is always an array when configuring layout links 2021-12-03 11:38:49 +00:00
Rory Powell 55aa337f62 Add import to existing DS and add cookie support to curl import 2021-12-03 11:14:22 +00:00
Andrew Kingston 1e38628a4b Add new form field component for JSON fields, JSON validation and update autoscreen generation 2021-12-03 09:20:45 +00:00
Rory Powell 107e4378e7 Merge branch 'develop' into rest-import 2021-12-02 16:57:53 +00:00
Rory Powell 9d5866e747 Fix datasource selection after import and add maxmimum files support to dropzone 2021-12-02 16:51:13 +00:00
Rory Powell 224516787d Merge + Linting 2021-12-02 14:54:47 +00:00
mike12345567 41d34861c3 Merge branch 'develop' of github.com:Budibase/budibase into feature/rest-redesign 2021-12-02 14:35:17 +00:00
Rory Powell 5e6c967d64 Update supported file tags 2021-12-02 14:24:10 +00:00
Andrew Kingston 9a7cb71371 Fix custom query params not appearing 2021-12-02 12:28:12 +00:00
mike12345567 a0c3b0b8ce Updating key value store to allow adding an activity toggle. 2021-12-02 11:53:51 +00:00
mike12345567 4de2d55112 Adding query string output to the URL. 2021-12-02 11:32:21 +00:00
mike12345567 4e9d60b446 First major part of the REST query resdesign. 2021-12-01 17:55:57 +00:00
mike12345567 bfd8007dfa Updating key value in queries to be a bit more clear. 2021-12-01 13:31:40 +00:00
mike12345567 4a0ce14f04 Adding the ability to set a display name for any datasource/query parameter. 2021-12-01 13:11:35 +00:00
mike12345567 f77fe0c75c Updating integration config screen. 2021-12-01 13:09:16 +00:00
Andrew Kingston e2ff1d8d54 Merge branch 'fix/block-context' of github.com:Budibase/budibase into feature/json-backend 2021-12-01 11:40:09 +00:00
Andrew Kingston c54489d7ee Fix button actions directly mutating the real component definition 2021-12-01 10:33:17 +00:00
Andrew Kingston e6741ce341 Ensuire the save row action determines the correct runtime bindings and only uses valid context types 2021-12-01 10:32:55 +00:00
mike12345567 6a7d899935 Adding some extra padding to action buttons to line them up better, changing over everything in datasources to tables (where possible). 2021-11-30 19:05:36 +00:00
mike12345567 cd7ef481bd Some UI tweaks. 2021-11-30 18:11:29 +00:00
mike12345567 76ce9a3017 Disabling save button when no changes made. 2021-11-30 17:56:15 +00:00
mike12345567 3e5f9b9505 Updating REST creation, removing the modal step, updating the config page to move things around as per designs. 2021-11-30 16:21:16 +00:00
Andrew Kingston 2c91b89f02 Prevent data providers from using arbitrary context-providing components as sources 2021-11-30 14:32:18 +00:00
mike12345567 39bb1f3e2c Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-11-30 11:32:50 +00:00
Andrew Kingston 0341b596e6 Merge pull request #3576 from Budibase/ak-fixes
Misc bug fixes
2021-11-30 10:05:01 +00:00
mike12345567 193014fc83 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
Rory Powell c421499a46 cURL import working 2021-11-29 17:21:30 +00:00
mike12345567 05e2baa0d3 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 e77ef4cf76 Merge pull request #3581 from Budibase/feature/auto-screen-ui
Autoscreen fixes
2021-11-29 13:49:59 +00:00
Peter Clement d716f38759 autoscreen fixes 2021-11-29 11:53:46 +00:00
Rory Powell c53f5e3d2b Update backend to be extensible for different import sources 2021-11-29 10:37:31 +00:00
Andrew Kingston 71e4764b17 Fix issue with navigation links editor mutating real component structure 2021-11-29 08:58:49 +00:00
Andrew Kingston 8b4bd84ab5 Preserve bindings when duplicating components 2021-11-29 08:30:52 +00:00
mike12345567 5ff8716080 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 1ae4c6ac3a Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-11-26 15:46:45 +00:00
Michael Drury cba41d8e9d 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
mike12345567 5e9f3969c9 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 c7bf4770a5 Merge pull request #3543 from Budibase/martin/misc-tasks
Martin/misc tasks
2021-11-26 11:58:40 +01:00
Rory Powell 41fa958c78 File upload working 2021-11-26 09:51:56 +00:00
Peter Clement 0b9cc02023 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 fec8689069 change colour of autoscreen selection 2021-11-25 21:57:27 +00:00
mike12345567 82a0bfa5f5 Fixing issue discovered by Cypress. 2021-11-25 17:56:50 +00:00
Rory Powell 71ba024974 WIP: Rest API import 2021-11-25 17:14:07 +00:00
mike12345567 b68cd07431 Fixing issue with data import error not invalidating modals. 2021-11-25 16:41:19 +00:00
Michael Drury a02ec65661 Merge pull request #3541 from Budibase/fix/sql-issues
Fixing various SQL issues
2021-11-25 12:42:38 +00:00
mike12345567 0f0770af32 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-11-25 12:21:58 +00:00
Martin McKeaveney 90934c547f allow type editing on custom query datasource schemas 2021-11-25 12:20:20 +01:00
Peter Clement 4ede32c408 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 591d0bb7d8 re-add analytics 2021-11-25 09:41:40 +00:00
Martin McKeaveney 5695827f86 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 f9fea88541 refactor screen templates to include table name 2021-11-24 19:10:10 +00:00
mike12345567 bf44c15b74 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
mike12345567 116bccfd73 Fix for issue #3327 - may not solve issue with mariaDB but works for MySQL. 2021-11-24 17:03:34 +00:00
mike12345567 4e92f2a3f0 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-11-24 15:53:53 +00:00
mike12345567 4f8650a5be Removing console log. 2021-11-24 15:30:47 +00:00
mike12345567 f959ea0add Adding more error tracking around column creation, to reduce confusion/users not understanding required settings. 2021-11-24 14:55:14 +00:00
Peter Clement 4d18fa2360 Merge pull request #3520 from Budibase/feature/auto-screen-ui
Autoscreen ux changes
2021-11-24 13:48:51 +00:00
Michael Drury 03753530cd Merge pull request #3491 from Budibase/fix/3485
Quick change for SQL existing relationships - allow picking both keys
2021-11-24 13:33:54 +00:00
mike12345567 de71e83411 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-11-24 13:27:58 +00:00
mike12345567 e3e8b538f5 Review comments. 2021-11-24 13:15:44 +00:00
Peter Clement dd3d6aa630 unneeded log 2021-11-24 11:53:56 +00:00
Andrew Kingston aff6c66fcd Merge pull request #3508 from Budibase/js-formula-fields
JS for formula fields + binding panel refactor
2021-11-24 09:10:46 +00:00
Andrew Kingston 5e7feb08da Remove unused import 2021-11-24 08:53:14 +00:00
Andrew Kingston 81ad2b7cb2 Fix relationship paths not using correct readable and runtime bindings in server binding panel 2021-11-24 08:44:12 +00:00
Andrew Kingston 567d188e29 Merge pull request #3476 from Budibase/multi-filter-component
Dynamic filter component
2021-11-24 08:39:28 +00:00
Peter Clement 35f4121d44 some autoscreen ux fixes 2021-11-23 20:14:28 +00:00
Peter Clement 9c5fc58d43 Merge pull request #3441 from Budibase/fix/pc-generic-fixes
Save automation test data
2021-11-23 20:07:19 +00:00
mike12345567 f1b715e844 Fixing warning. 2021-11-23 18:38:05 +00:00
mike12345567 f5e8c6f559 Adding some basic UI around the key/value data type. 2021-11-23 18:20:12 +00:00
Andrew Kingston 46bb498122 Ensure CodeMirror hints are rendered on top of modals 2021-11-23 16:57:51 +00:00
Andrew Kingston 19d74d3fb6 Set inputs to readonly when displaying the javascript function helper label to prevent accidentally setting explicit text 2021-11-23 16:41:09 +00:00
Peter Clement 646c20117d Merge pull request #3503 from Budibase/feature/auto-screen-ui
fix bg color of screen wizard modal
2021-11-23 15:16:27 +00:00
Peter Clement a0fd1993dc remove log 2021-11-23 15:02:10 +00:00
Peter Clement c89e807e31 issue with datasource plus autogen 2021-11-23 15:00:21 +00:00
Peter Clement cc40a68423 fix bg color of screen wizard modal 2021-11-23 14:45:50 +00:00
Andrew Kingston 4145f6eccc Refactor client and server binding panels into single generic panel. Enable JS for formula fields 2021-11-23 14:05:20 +00:00
Peter Clement b2fbe308be show datasource plus popover conditionally 2021-11-23 13:54:05 +00:00
Peter Clement b6d02dace9 Merge pull request #3488 from Budibase/feature/auto-screen-ui
Remove nav selection modal from screens UI (for now)
2021-11-23 13:48:14 +00:00
mike12345567 8be84e5602 Quick fix for #3485 - default the key to the primary key but allow another field to be selected. 2021-11-23 12:10:40 +00:00
Peter Clement 1da1331b3a Merge remote-tracking branch 'origin/develop' into fix/pc-generic-fixes 2021-11-23 10:24:27 +00:00
Peter Clement abe7cdfcf7 removing log 2021-11-23 09:43:21 +00:00
Peter Clement a68247ffcb fixng some auto screen bugs 2021-11-23 09:39:40 +00:00
Rory Powell 1a0c66beb6 Merge branch 'develop' into oracle-datasource 2021-11-23 09:27:55 +00:00
Peter Clement 33f1264cbb remove nav selection modal 2021-11-23 09:01:12 +00:00
mike12345567 0335b1cee3 Fixing issue from review, values weren't wiped when delete modals closed, also adding a fix for threading to disable it in development as node-ts was causing memory leaks on low memory systems (doesn't apply to production built version). 2021-11-22 17:42:41 +00:00
mike12345567 ea0000df51 Updating UI to have a table/column deletion check which makes sure the user understands what they are doing, also disabling external table deletion. 2021-11-22 15:26:24 +00:00
Andrew Kingston 0fcc7619d0 Reorganise component structure 2021-11-22 14:48:04 +00:00
Rory Powell 154a5cab26 Merge branch 'develop' into oracle-datasource 2021-11-22 11:07:11 +00:00
Rory Powell f94a0eadbe Merge branch 'develop' into oracle-datasource 2021-11-22 10:47:48 +00:00
Andrew Kingston 8f9dba0db3 Merge branch 'develop' of github.com:Budibase/budibase into multi-filter-component 2021-11-22 10:44:52 +00:00
Andrew Kingston 6c0a1e99da Merge pull request #3403 from Budibase/cheeks-lab-day
Inline text editing + perf. enhancements + preview enhancements
2021-11-22 10:44:38 +00:00
Peter Clement 7bbf5500c6 Merge pull request #3334 from Budibase/feature/auto-screen-ui
Feature/auto screen UI
2021-11-22 10:15:44 +00:00
Peter Clement cc019feab1 Revert "remove delete button for datasource plus"
This reverts commit fbe1b02e93.
2021-11-22 10:09:27 +00:00
Peter Clement fbe1b02e93 remove delete button for datasource plus 2021-11-22 10:07:30 +00:00
Andrew Kingston 8f981704d6 Merge branch 'cheeks-lab-day' of github.com:Budibase/budibase into multi-filter-component 2021-11-18 15:58:04 +00:00
Andrew Kingston 4ebb4d6b25 Merge branch 'develop' of github.com:Budibase/budibase into cheeks-lab-day 2021-11-18 15:53:57 +00:00
Andrew Kingston f77f7c1e5f Add dynamic filter component 2021-11-18 15:36:16 +00:00
Peter Clement 0b8c074b81 disable ability to rename external datasource 2021-11-18 15:14:23 +00:00
mike12345567 1d9b4be249 Fixing issue with exporting CSV/JSON, also saving as right file type. 2021-11-18 14:57:17 +00:00
Peter Clement d16ea91082 remove uneeded add action button 2021-11-18 14:29:31 +00:00
Peter Clement b902e017dd fix bug with test results 2021-11-18 11:41:51 +00:00
Michael Drury 1003c0d55e Updating filter modal to manage invalid schemas when view created. 2021-11-17 22:11:26 +00:00
Peter Clement f237cd891e fix animation issue with automation blocks 2021-11-17 14:28:14 +00:00
Peter Clement 5311c8ee7e save inputted test data 2021-11-17 13:49:34 +00:00
Michael Drury a726d158b8 Merge pull request #3338 from Budibase/feature/query-rbac-timeouts
Query RBAC, query and automation threading/timeouts
2021-11-17 11:39:09 +00:00
Peter Clement 776e4e2d20 more refactoring of screen wizard 2021-11-17 10:24:14 +00:00
Andrew Kingston 9b988b60b0 Replace old usage of 'editable' manifest setting with 'static' 2021-11-16 18:33:14 +00:00
Andrew Kingston f14e6d8e22 Remove unused client event for iframe-loaded 2021-11-16 13:15:31 +00:00
Peter Clement f3cddaaf08 refactor wizard into its own file 2021-11-16 12:18:13 +00:00
Andrew Kingston 0bac3765b3 Remove deprecated keydown event being sent by client library 2021-11-16 11:45:28 +00:00
Andrew Kingston 2adbaea026 Merge develop into editable text lab day 2021-11-16 11:14:46 +00:00
Andrew Kingston 4c84f713b9 Merge pull request #3355 from Budibase/repeater-array
Data block + array fields as data sources
2021-11-16 11:03:30 +00:00
Andrew Kingston 7a1b22ef5f Rename data block to repeater block 2021-11-15 18:07:51 +00:00
Andrew Kingston cc4702909c Remove unused prop 2021-11-15 18:02:24 +00:00