Commit Graph

8972 Commits

Author SHA1 Message Date
Rory Powell e96467a7cd Further fix for dynamic variable deletion across different queries 2021-12-21 11:26:45 -05:00
Rory Powell ded3c2247b Update curl import to support encoded characters in request body 2021-12-21 09:39:34 -05:00
mike12345567 ff69aad969 Fixing conflict. 2021-12-21 12:33:12 +00:00
mike12345567 0841e2b50d Allowing switching between body types without losing state in REST UI. 2021-12-21 12:25:37 +00:00
Rory Powell 4b2ce2a280 Default rest body type to json when there is an existing body 2021-12-20 11:46:01 -05:00
Rory Powell 5dc6917fb2 Fix dynamic variable deletion and move utils 2021-12-20 10:50:58 -05:00
Budibase Staging Release Bot 961d9ea4aa v1.0.27-alpha.0 2021-12-20 09:21:52 +00:00
Martin McKeaveney f32176590a adding swagger parser dep 2021-12-20 09:12:27 +00:00
Martin McKeaveney b1769f47dc Merge branch 'master' of github.com:Budibase/budibase into develop 2021-12-20 08:53:18 +00:00
Andrew Kingston 1e85ca1d33 Remove pagination from top level query structure validation 2021-12-17 19:01:07 +00:00
Andrew Kingston 8cee08ca03 Return top level pagination info from query execution 2021-12-17 19:00:23 +00:00
Andrew Kingston 0cfd28fe27 Add pagination info to rest query fields definition 2021-12-17 18:59:24 +00:00
Andrew Kingston c1feb935cd Merge branch 'feature/query-variables' of github.com:Budibase/budibase into rest-pagination 2021-12-17 18:56:16 +00:00
Andrew Kingston 6539f90b51 Update query fetch to support new pagination structure 2021-12-17 18:53:57 +00:00
Andrew Kingston 2043fd3402 Fix issue with determining view schema 2021-12-17 18:48:44 +00:00
Andrew Kingston 441cc2fccf Update client lib data fetch models to support generic pagination 2021-12-17 18:39:48 +00:00
Andrew Kingston 882067056c Update query pagination to be stored in fields 2021-12-17 18:39:22 +00:00
mike12345567 ab77c081bd Some minor UI tweaks. 2021-12-17 18:21:36 +00:00
mike12345567 0afc34af69 Removing faked error. 2021-12-17 17:57:40 +00:00
mike12345567 52eef17da0 Adding query invalidation, when a query fails that has dynamic variables it will invalidate the cache value for all dynamic variable values. 2021-12-17 17:56:28 +00:00
mike12345567 85aa2c27b5 Fixing issues with query dynamic variables being able to overwrite/appearing in other queries. 2021-12-17 17:16:06 +00:00
Budibase Release Bot 50ae72b1f0 v1.0.26 2021-12-17 14:52:40 +00:00
mike12345567 d61cb6c037 Some fixes after testing dynamic variables in rest a bit more. 2021-12-17 14:08:48 +00:00
Andrew Kingston af00ed88ae Merge branch 'feature/query-variables' of github.com:Budibase/budibase into rest-pagination 2021-12-17 13:12:28 +00:00
Andrew Kingston f7759f6791 Allow saving pagination data in queries 2021-12-17 11:38:02 +00:00
Andrew Kingston 51d5885ec0 Add pagination tab to query UI 2021-12-17 11:37:50 +00:00
Andrew Kingston d6120de81b Update data fetch models to use constructor to determine feature flags 2021-12-17 10:49:12 +00:00
Andrew Kingston 78a3f807a3 Lint 2021-12-17 10:43:27 +00:00
Andrew Kingston 4e5df0efa4 Merge branch 'develop' of github.com:Budibase/budibase into rest-pagination 2021-12-17 10:37:43 +00:00
Andrew Kingston f90c6ec44d Remove old reference implementation of data provider component 2021-12-17 10:37:26 +00:00
Andrew Kingston 5c26f07d26 Add back in query extension capability to new data provider 2021-12-17 10:37:06 +00:00
Andrew Kingston c6792f9903 Update client side lucene searching to treat string startsWith matches as case-insensitive 2021-12-17 10:00:46 +00:00
Andrew Kingston 66d9dc9b1e Add client-side searching, sorting and limiting for incompatible datasources to new DataFetch model 2021-12-17 09:52:12 +00:00
Andrew Kingston 3a8e217bb7 Delay rendering blocks until the schema has been attempted to be loaded 2021-12-17 09:18:43 +00:00
Andrew Kingston 58e0daeb8c Remove initial render of components with undefined props by passing in initial props without triggering svelte invalidation 2021-12-17 09:18:07 +00:00
Andrew Kingston 86065084c1 Update core component handling to use svelte function to manually control props in order to avoid triggering additional reactive statements and improve performance 2021-12-17 08:22:40 +00:00
Andrew Kingston 63ec10d73f Add new core implementations for fetching data and schema from datasources 2021-12-17 08:22:04 +00:00
Michael Drury c2a7c53b87 Adding in dynamic variable processing - finding which variables need to be used and then calling them from within the query thread. 2021-12-16 22:43:14 +00:00
Michael Drury f03f3c8864 Fixing some issues discovered with saving queries and dynamic variables, also displaying dynamic variables in a reactive way. 2021-12-16 19:33:47 +00:00
Budibase Release Bot ef4410229e v1.0.25 2021-12-16 18:32:05 +00:00
mike12345567 4960ad760e Adding start to redis caching. 2021-12-16 16:58:15 +00:00
mike12345567 02855fa37b Merge branch 'develop' of github.com:Budibase/budibase into feature/query-variables 2021-12-16 14:57:21 +00:00
Andrew Kingston af8d55ef32 Use fixed width for REST query verbs 2021-12-16 11:56:14 +00:00
mike12345567 fab94f5a3a Fixing lint issues. 2021-12-16 11:44:17 +00:00
mike12345567 a9437302b7 Fixing issue with switching between datasources and making sure old client apps can still use the deprecated API. 2021-12-16 11:41:28 +00:00
Budibase Release Bot e7ab6f72f7 v1.0.24 2021-12-16 11:04:27 +00:00
Martin McKeaveney ca456949c7 merge 2021-12-16 11:59:59 +01:00
Budibase Release Bot 5b1da51acb v1.0.23 2021-12-16 10:18:24 +00:00
Andrew Kingston 49e813cc6c Revert hiding body tab for GETs since already implemented in another pending PR 2021-12-16 10:11:49 +00:00
Andrew Kingston f4add0a180 Hide 'Body' tab for REST API datasources when using a GET query 2021-12-16 10:03:59 +00:00
mike12345567 858ef084ad Finishing up front-end, getting variable creation and management up and working from within the query schema/header menus. 2021-12-15 19:20:19 +00:00
Budibase Staging Release Bot 1a5ee47e9e v1.0.23-alpha.1 2021-12-15 16:56:03 +00:00
Andrew Kingston 5b6bd31f80 Merge pull request #3795 from Budibase/home-screen-mobile
Home screen UI tweaks
2021-12-15 16:48:56 +00:00
Budibase Staging Release Bot dbb8a4c341 v1.0.23-alpha.0 2021-12-15 16:41:32 +00:00
mike12345567 85858ff6b1 Merge branch 'develop' of github.com:Budibase/budibase into feature/query-variables 2021-12-15 16:35:30 +00:00
Peter Clement 3327c4dc6f fix issue with 0 evaluating to false in query builder 2021-12-15 16:32:04 +00:00
mike12345567 65f4b91e8b Merge branch 'master' of github.com:Budibase/budibase into develop 2021-12-15 16:25:32 +00:00
Andrew Kingston 12d41b95dd Lint 2021-12-15 16:21:12 +00:00
Andrew Kingston 36839d7fdc Revert open button size to small in app list 2021-12-15 16:09:40 +00:00
Andrew Kingston 6f9386ddde Restore original logic around export apps button 2021-12-15 15:56:36 +00:00
Andrew Kingston 69a8376d17 Update home screen UI to work better on mobile and make spacing more consistent 2021-12-15 15:54:33 +00:00
Andrew Kingston f3460ccb7d Merge pull request #3791 from Budibase/proxy-state-modals
Screen modal fixes for state and datasource invalidation
2021-12-15 15:43:09 +00:00
Michael Drury a9a7fb0cf4 Merge pull request #3793 from Budibase/fix/pouch-automation-error
Fix automation TypeError: Pouch is not a constructor
2021-12-15 15:30:56 +00:00
Rory Powell 3833b5fb75 Copy changes 2021-12-15 14:37:03 +00:00
Peter Clement 8d57ae93b3 fixing issue 3489 where default role wasn't saving correctly 2021-12-15 14:32:26 +00:00
Andrew Kingston d06cc93757 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-15 13:36:10 +00:00
mike12345567 1f97ae259e Adding unit tests for REST bodies and response parsing. 2021-12-15 13:09:03 +00:00
mike12345567 e9acb690a8 Don't run change if not threading. 2021-12-15 12:26:29 +00:00
mike12345567 5c00960ac0 Fixing issue detected by test case. 2021-12-15 12:23:00 +00:00
mike12345567 136fe11354 Merge branch 'develop' of github.com:Budibase/budibase into feature/rest-bodies 2021-12-15 12:15:19 +00:00
mike12345567 d1127f3220 Fixing an issue with automations throwing a Pouch error due to the auth library database not being setup. 2021-12-15 11:25:52 +00:00
Peter Clement 841feac5fa Merge pull request #3737 from Budibase/feature/home-screen-redesign
Home Screen Redesign
2021-12-15 09:47:03 +00:00
Andrew Kingston 1c23dc3a3c Fix using wrong local storage key when persisting state in client apps 2021-12-15 09:00:14 +00:00
Andrew Kingston 26d89f75d5 Pass current state to peek modals when opening them via query param 2021-12-15 08:55:22 +00:00
mike12345567 12b11ed3d9 Merge branch 'develop' of github.com:Budibase/budibase into feature/rest-bodies 2021-12-14 18:03:49 +00:00
mike12345567 da7153dd64 Removing outgoing webhook functionality from automations and adding XML response/sending, as well as form data/encoded data. 2021-12-14 17:59:02 +00:00
Rory Powell f499320b47 Link datasource dynamic variables table to query 2021-12-14 17:05:17 +00:00
Rory Powell fc719eda27 Add menu to response heades 2021-12-14 16:58:17 +00:00
Rory Powell d2622a6c4f Read / Write finished 2021-12-14 16:46:31 +00:00
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
Andrew Kingston d58b1ae7f0 Fix datasource invalidation proxying from peek modals not working 2021-12-14 14:04:37 +00:00
Andrew Kingston 98cd12db5f Proxy state updates back from peek modals 2021-12-14 14:04:10 +00:00
Budibase Staging Release Bot 5ac6b72dc7 v1.0.19-alpha.3 2021-12-14 12:33:48 +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
Budibase Staging Release Bot 461ccb13d7 v1.0.19-alpha.2 2021-12-14 11:41:07 +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
Budibase Release Bot 1ab1e7517d v1.0.22 2021-12-13 18:46:25 +00:00
mike12345567 64fa8055ce Linting and adding JSON header. 2021-12-13 18:20:02 +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
Budibase Release Bot ecd3198940 v1.0.21 2021-12-13 18:08:22 +00:00
Budibase Release Bot c8bcf17d21 v1.0.20 2021-12-13 17:46:32 +00:00
Budibase Staging Release Bot e7b9b02b9e v1.0.19-alpha.1 2021-12-13 17:45:48 +00:00
Michael Drury e78df4e1a8 Merge pull request #3741 from Budibase/feature/rest-redesign
Rest UI Redesign
2021-12-13 17:31:03 +00:00
Budibase Staging Release Bot 2aea488c50 v1.0.19-alpha.0 2021-12-13 17:17:46 +00:00
Martin McKeaveney a5a522798b re-add missing dependency 2021-12-13 18:09:17 +01:00
Budibase Release Bot cfa941b11f v1.0.19 2021-12-13 16:43:28 +00:00
Martin McKeaveney e1fcf40084 Merge branch 'master' into develop 2021-12-13 17:38:13 +01:00
Budibase Release Bot c77b29d047 v1.0.18 2021-12-13 16:00:58 +00:00
Martin McKeaveney 9223149036 Merge branch 'master' of github.com:Budibase/budibase 2021-12-13 16:53:39 +01:00
Martin McKeaveney 2751f9d4c4 adding and updating helm repos 2021-12-13 16:52:35 +01:00
mike12345567 94041176d4 Fixing issue of disabled headers not being set for unmigrated queries. 2021-12-13 15:18:44 +00:00
mike12345567 b11e4bd2df Moving Typescript definitions around a bit. 2021-12-13 13:50:15 +00:00
Budibase Release Bot ac6686cf9f v1.0.17 2021-12-13 12:57:18 +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
Budibase Release Bot b81b880eca v1.0.16 2021-12-13 11:55:27 +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 42fb4949ab Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-13 09:45:56 +00:00
Andrew Kingston 7ecf681010 Lint 2021-12-13 09:45:50 +00:00
Andrew Kingston d7720e2643 Expose whole form value as a data binding 2021-12-13 09:34:27 +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
Budibase Staging Release Bot 2565d5476f v1.0.15-alpha.1 2021-12-10 16:56:34 +00:00
Budibase Release Bot 9f45829bfa v1.0.15 2021-12-10 16:55:00 +00:00
mike12345567 0d42cef407 Merge branch 'develop' of github.com:Budibase/budibase into develop 2021-12-10 16:46:29 +00:00
mike12345567 f136bcbc8c Adding slash incase couch URL doesn't contain. 2021-12-10 16:46:00 +00:00
mike12345567 a0bb13e5c0 Adding slash incase couch URL doesn't contain. 2021-12-10 16:44:58 +00:00
Budibase Staging Release Bot 1a2bcc02f1 v1.0.15-alpha.0 2021-12-10 16:29:45 +00:00
mike12345567 ec313a300a Merge branch 'master' of github.com:Budibase/budibase into develop 2021-12-10 16:19:24 +00:00
Budibase Release Bot e1a527a4bb v1.0.14 2021-12-10 15:45:07 +00:00
Andrew Kingston 2decf236a4 Update deepSet helper to create parent keys of a deep path if one does not exist 2021-12-10 15:27:04 +00:00
Andrew Kingston c072044d21 Rename Key/Value field to JSON field 2021-12-10 15:26:43 +00:00
mike12345567 7567c778c8 Removing repeated line. 2021-12-10 15:18:57 +00:00
mike12345567 ce3d7df39d Allowing start end key syntax to be used outside of tenancy if we need to. 2021-12-10 15:17:18 +00:00
Andrew Kingston 9353aec940 Ensure JSON schema generated in client apps is identical to builder generated schema 2021-12-10 15:11:01 +00:00
mike12345567 312db6182d Reducing the load on DB caused by CouchDB all_db when working with a large number of couch databases. 2021-12-10 15:10:45 +00:00
Andrew Kingston dc7d22e5cb Add support for binding forms to deep json fields 2021-12-10 14:18:01 +00:00
Budibase Staging Release Bot 8d1e0e5dfb v1.0.13-alpha.1 2021-12-10 11:14:30 +00:00
Budibase Release Bot dc92cbeac0 v1.0.13 2021-12-10 11:12:06 +00:00
Andrew Kingston 891538eaa4 Hide JSON array from filter editor 2021-12-10 10:52:51 +00:00
Budibase Staging Release Bot b688e50272 v1.0.13-alpha.0 2021-12-10 10:39:20 +00:00
Rory Powell eeb6614823 Merge branch 'master' into merge-master 2021-12-10 10:14:43 +00:00
Andrew Kingston 9708539631 Fix blocks not filtering properly on number fields 2021-12-09 19:36:53 +00:00
Budibase Release Bot 97816ab99f v1.0.12 2021-12-09 19:15:19 +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