1
0
Fork 0
mirror of synced 2024-08-12 08:31:27 +12:00
Commit graph

4462 commits

Author SHA1 Message Date
Peter Clement
c5f80af0ed Merge pull request #3913 from Budibase/bug/pc-fixes
Bug fixes for #3399 and #3489
2022-01-04 11:44:57 +00:00
Andrew Kingston
4cd8886e1a Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2022-01-04 09:48:44 +00:00
Martin McKeaveney
a09fabc54b merge with master 2021-12-30 23:10:46 +00:00
Rory Powell
5890f5d4dc Add bold and code cell renderers 2021-12-21 14:08:09 -05:00
Rory Powell
e96467a7cd Further fix for dynamic variable deletion across different queries 2021-12-21 11:26:45 -05: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
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
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
85aa2c27b5 Fixing issues with query dynamic variables being able to overwrite/appearing in other queries. 2021-12-17 17:16:06 +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
51d5885ec0 Add pagination tab to query UI 2021-12-17 11:37:50 +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
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
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
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
Andrew Kingston
5b6bd31f80 Merge pull request #3795 from Budibase/home-screen-mobile
Home screen UI tweaks
2021-12-15 16:48:56 +00:00
mike12345567
85858ff6b1 Merge branch 'develop' of github.com:Budibase/budibase into feature/query-variables 2021-12-15 16:35:30 +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
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
136fe11354 Merge branch 'develop' of github.com:Budibase/budibase into feature/rest-bodies 2021-12-15 12:15:19 +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
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
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