Commit Graph

4421 Commits

Author SHA1 Message Date
Peter Clement d099865c3d add templates store 2021-12-14 15:58:19 +00:00
Peter Clement 8bbcc3f0df update handling of app updates 2021-12-14 15:30:20 +00:00
Rory Powell 3e9baf4e14 Merge branch 'develop' into feature/query-variables 2021-12-14 12:31:31 +00:00
Rory Powell 42279e67e8 Variables UI WIP 2021-12-14 12:30:26 +00:00
Rory Powell b3d8c0b017 Merge branch 'develop' into feature/query-auth 2021-12-14 11:58:44 +00:00
Rory Powell 06359efd94 Move datasource init to onMount 2021-12-14 11:57:28 +00:00
Rory Powell f609200896 Remove unnecessary assignment to datasource 2021-12-14 11:42:41 +00:00
Rory Powell 7337ae6f67 Flip datasource and baseDatsource to not update store directly 2021-12-14 11:34:12 +00:00
mike12345567 8d5a035bc9 Merge branch 'develop' of github.com:Budibase/budibase into feature/rest-bodies 2021-12-14 11:33:33 +00:00
mike12345567 3c114d87c7 Fixing issue with creating new rest query. 2021-12-14 11:30:50 +00:00
mike12345567 3c67a2205e Fixing code mirror mode reactivity. 2021-12-14 10:45:38 +00:00
Rory Powell 26abf39b76 Fix merge issue and clear unsaved datasource changes on query load 2021-12-14 10:44:14 +00:00
Rory Powell 17ba5d7c88 Merge branch 'develop' into feature/query-auth 2021-12-14 09:52:16 +00:00
Peter Clement ed6b16cb98 remove log 2021-12-14 09:49:39 +00:00
mike12345567 17f083e586 Stopping get requests from having bodies (Node fetch doesn't allow this) and allow text body type. 2021-12-13 18:17:20 +00:00
mike12345567 94041176d4 Fixing issue of disabled headers not being set for unmigrated queries. 2021-12-13 15:18:44 +00:00
mike12345567 1948c867cc Fixing some issues around deleting datasources/queries and managing the full URL for migrating queries. 2021-12-13 12:41:47 +00:00
Andrew Kingston f5dba692e5 Update UI of JSON schema editor 2021-12-13 12:25:01 +00:00
mike12345567 a7743c8481 Fixing bug in tabs where double clicks cause tab switching, new headers enabled by default, disabled headers rather than enabled, get requests can have bodies. 2021-12-13 11:24:13 +00:00
Andrew Kingston ab1e5abd5e Refactor button definitions, rename button action components and add button manifest 2021-12-13 10:55:45 +00:00
mike12345567 740ffae8c8 Merge branch 'develop' of github.com:Budibase/budibase into feature/rest-redesign 2021-12-13 10:14:28 +00:00
Andrew Kingston 7ecf681010 Lint 2021-12-13 09:45:50 +00:00
Rory Powell 077c9ef434 Integrate query with datasource auth 2021-12-11 23:34:30 +00:00
Rory Powell 9fa4fe6c76 Merge branch 'feature/rest-redesign' into feature/query-auth 2021-12-11 21:43:03 +00:00
Rory Powell 9a0af5ba0a Add _id field 2021-12-11 10:40:57 +00:00
Rory Powell 77d17e143d Auth config forms 2021-12-11 09:59:09 +00:00
Andrew Kingston c072044d21 Rename Key/Value field to JSON field 2021-12-10 15:26:43 +00:00
Andrew Kingston dc7d22e5cb Add support for binding forms to deep json fields 2021-12-10 14:18:01 +00:00
Andrew Kingston 891538eaa4 Hide JSON array from filter editor 2021-12-10 10:52:51 +00:00
mike12345567 f5b1e255d5 Making it so that schema always shows up for future work towards global variables and making it so that tabs selected can be bound to. 2021-12-09 18:41:07 +00:00
Andrew Kingston eeecc762d2 Add button context to execute query action 2021-12-09 16:48:19 +00:00
Andrew Kingston 372d32b8b3 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-09 16:32:25 +00:00
Andrew Kingston dd5d0ffc7b Add output context to duplicate row action 2021-12-09 16:29:22 +00:00
mike12345567 56d673e55c Fixing some colors. 2021-12-09 14:22:43 +00:00
mike12345567 81c1644a78 Adding link into learn more banner. 2021-12-09 13:44:54 +00:00
mike12345567 da3df17699 Fixing issue with table expanding too far with large response datasets. 2021-12-09 13:23:06 +00:00
mike12345567 4cd28fa7c4 Adding http verbs instead of icons for REST requests. 2021-12-09 13:08:16 +00:00
mike12345567 ad1007ffdc Adding in the ability to retrieve and view the headers from a rest response. 2021-12-09 12:30:05 +00:00
Peter Clement fa8fb5577e fix home screen automation commands 2021-12-09 11:52:47 +00:00
Rory Powell 431a22aaf0 Modal integration 2021-12-09 11:39:44 +00:00
Andrew Kingston d9278dbc24 Dynamically enrich button actions at runtime and provide additional ephemeral button action output context 2021-12-09 11:25:32 +00:00
Peter Clement feacfb922f re-add status lights for app row 2021-12-09 10:10:16 +00:00
mike12345567 e1ae7c603d Adding placeholder and making sure query urls have a protocol. 2021-12-09 10:02:47 +00:00
Peter Clement 6798594be3 remove log 2021-12-09 09:24:40 +00:00
Peter Clement f03a2ac0cc increase size of icon display 2021-12-09 09:21:38 +00:00
Andrew Kingston 59ac6682ae Generate button context bindings for all button actions 2021-12-09 08:36:50 +00:00
mike12345567 bbb5501d41 Adding in enabled headers, making way for different body types. 2021-12-08 19:11:19 +00:00
Peter Clement 43a69e22b9 refactor how modal is handled 2021-12-08 18:52:06 +00:00
Peter Clement 14213006e0 add option to change icon / colour 2021-12-08 18:51:24 +00:00
mike12345567 8077ba8d37 Adding a bit of padding to bottom of rest interface in case scrolling occurs. 2021-12-08 18:06:11 +00:00
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
Andrew Kingston 00179c8a33 Fix lucene filtering crashing when being provided an invalid binding string as the document array 2021-12-07 13:58:59 +00:00
Rory Powell 52ea1fe1da Duplicate queries 2021-12-07 12:26:00 +00:00
Andrew Kingston d1b5716252 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 ca0abba428 Add data bindings for top level properties within JSON fields 2021-12-06 19:55:21 +00:00
mike12345567 b31cd5b6f7 Adding in raw functionality. 2021-12-06 18:35:44 +00:00
Andrew Kingston a5b4087f64 Enable support for handling shallow non-object arrays in JSON fields 2021-12-06 18:12:27 +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 7b20aa31d1 Flatten JSON schema in apps to allow filtering and display of nested values 2021-12-06 12:37:50 +00:00
Andrew Kingston 8dd916afb9 Add more comments to clarify data binding behaviour 2021-12-06 12:14:06 +00:00
Andrew Kingston 7a0ee7aea6 Remove log statements 2021-12-06 12:04:55 +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
mike12345567 740abf8445 Adding radio group of body types. 2021-12-02 17:53:14 +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
Andrew Kingston e71dd8fb77 Reset client features when selecting a new app 2021-12-02 12:27:59 +00:00
mike12345567 a0c3b0b8ce Updating key value store to allow adding an activity toggle. 2021-12-02 11:53:51 +00:00
mike12345567 57169bc910 Changing reactivity a bit to make it a bit more understandable. 2021-12-02 11:38:42 +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
Martin McKeaveney a33204e4cf adding check for initinfo 2021-11-26 15:26:51 +01: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 5313e27797 auto name template based apps 2021-11-25 13:00:21 +01: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
Peter Clement 3e6d858d3a fix automation 2021-11-25 09:30:10 +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