Commit Graph

8974 Commits

Author SHA1 Message Date
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
Rory Powell ee5c8ea449 Move query to common definitions and add openapi-types to dev dependencies 2021-12-08 11:30:09 +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
Rory Powell a237d31424 Tidy 2021-12-08 10:52:08 +00:00
Budibase Staging Release Bot e199207daf v1.0.8-alpha.1 2021-12-08 10:29:51 +00:00
Martin McKeaveney f40fe2e4ed account for integer type from JSON schema 2021-12-08 10:14:30 +00:00
Andrew Kingston b8b66b0c07 Remove unnecessary optional chaining 2021-12-08 09:47:43 +00:00
Andrew Kingston a90cfc3e73 Coerce picker option labels to string to fix bug when using autocomplete with numeric labels 2021-12-08 09:45:50 +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 6b20d5cf46 Allow internal links to be opened in a new tab 2021-12-08 09:03:56 +00:00
Andrew Kingston 49551ceb54 Fix incorrect icon used for repeater layout in settings bar 2021-12-08 08:36:01 +00:00
Andrew Kingston cb1f870831 Key links by URL as the svelte-spa-router link svelte action does not update correctly 2021-12-08 08:35:19 +00:00
Rory Powell 9cbe03fd66 Add backend for query / datasource auth 2021-12-07 22:33:26 +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 4bbbd75a4e Fix datasource invalidations not propagating through peek modals 2021-12-07 15:11:13 +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
Andrew Kingston b1c2308b8b Remove infuriating behaviour of drawer closing on escape keypress 2021-12-07 13:58:34 +00:00
Andrew Kingston 3a7772643e Fix issue with icon for repeater alignment in settings bar 2021-12-07 13:58:01 +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
mike12345567 99e2cd52e8 Adding stats, code, timings and size of request. 2021-12-06 18:23:18 +00:00
Andrew Kingston 135fc61159 Coerce picker option labels to strings to fix bug when using autocomplete on numeric label types 2021-12-06 18:22:19 +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
Andrew Kingston 28557a3f96 Remove the pre-execution validation in string templates to double performance and prevent JS binding issues when mutating context 2021-12-06 17:58:43 +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
Budibase Staging Release Bot 5d4fb2e7c7 v1.0.8-alpha.0 2021-12-03 13:36:10 +00:00
mike12345567 039daf16d6 Merge branch 'develop' of github.com:Budibase/budibase into feature/rest-redesign 2021-12-03 13:27:54 +00:00
mike12345567 282a32bf0b Merge branch 'master' of github.com:Budibase/budibase into develop 2021-12-03 13:26:55 +00:00
Budibase Release Bot 2c081c6557 v1.0.7 2021-12-03 13:24:14 +00:00
Michael Drury 730c336c22 Merge pull request #3648 from Budibase/fix/3641
CSV export/import fix
2021-12-03 13:17:08 +00:00
mike12345567 7c7b7584fa Merge branch 'develop' of github.com:Budibase/budibase into feature/rest-redesign 2021-12-03 12:45:32 +00:00
mike12345567 de72792576 Setting auth cookie to not expire. 2021-12-03 12:39:20 +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
Budibase Release Bot aecc29b4d7 v1.0.6 2021-12-03 11:22:44 +00:00
Budibase Staging Release Bot e6680c5c52 v1.0.6-alpha.1 2021-12-03 11:20:24 +00:00
mike12345567 d9afc58401 Extending logout TTL from a day to a week. 2021-12-03 11:17:48 +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
Rory Powell 6118b7ba36 Fix oracle password config 2021-12-03 10:52:03 +00:00
Rory Powell 36218ccea9 Fix oracle password config 2021-12-03 10:48:47 +00:00
mike12345567 a7e779639d Refactor. 2021-12-03 10:31:09 +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
mike12345567 a6de5a4fa1 Exporting date and auto id field, but not importing autocolumns when table is created. 2021-12-02 16:17:10 +00:00
mike12345567 6b13d2ceaa Removing auto columns from export - the new table will provide these if required. 2021-12-02 16:04:44 +00:00
Rory Powell cadd3cf259 Fix merge import 2021-12-02 15:20:03 +00:00
Budibase Staging Release Bot 4cc03de7e7 v1.0.6-alpha.0 2021-12-02 15:08:26 +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 9128043b68 Merge branch 'master' into merge-master 2021-12-02 14:27:52 +00:00
Rory Powell 5e6c967d64 Update supported file tags 2021-12-02 14:24:10 +00:00
Budibase Staging Release Bot 0fce0c076b v1.0.5-alpha.1 2021-12-02 13:47:17 +00:00
Martin McKeaveney b8a516aa3b Merge pull request #3628 from Budibase/do-automation
Completely automate digitalocean release with hashicorp packer
2021-12-02 14:39:57 +01:00
Budibase Release Bot 782faca131 v1.0.5 2021-12-02 13:31:45 +00:00
Andrew Kingston f2a2f5ac70 Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-12-02 13:29:24 +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
Rory Powell a5b86afa60 OAPI2 (swagger) complete + tests 2021-12-02 11:55:13 +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
Martin McKeaveney e003f28e27 completely automate digitalocean release with hashicorp packer 2021-12-01 21:33:38 +01:00
mike12345567 4e9d60b446 First major part of the REST query resdesign. 2021-12-01 17:55:57 +00:00
Budibase Staging Release Bot 60a07193d2 v1.0.5-alpha.0 2021-12-01 14:28:00 +00:00
Budibase Release Bot 6c5a5dc192 v1.0.4 2021-12-01 13:49:09 +00:00
Rory Powell fd1b762410 start swagger tests 2021-12-01 13:40:40 +00:00
Rory Powell 32ea1da281 Merge pull request #3618 from Budibase/fix/block-context
Fixes for button actions, block contexts and nester data provider settings
2021-12-01 13:39:37 +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
Rory Powell 72ad470c0f Curl tests finished 2021-12-01 11:58:53 +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
Budibase Release Bot 7824fe3163 v1.0.3 2021-12-01 10:57:38 +00:00
Rory Powell 6f254d3a3b Tests WIP 2021-12-01 10:51:21 +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
Rory Powell 731cc4229b Add fix for user metadata sync when deleting 2021-12-01 09:54:23 +00:00
Rory Powell 3923fd6831 Add type hierarchy for importers 2021-12-01 09:48:52 +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
Budibase Release Bot f50014da79 v1.0.2 2021-11-30 15:59:32 +00:00
Budibase Release Bot c9ae9e56ca v1.0.1 2021-11-30 15:44:46 +00:00
Martin McKeaveney 29787c70ef v1.0.0 2021-11-30 16:34:33 +01:00
Andrew Kingston 2c91b89f02 Prevent data providers from using arbitrary context-providing components as sources 2021-11-30 14:32:18 +00:00
Andrew Kingston ba9d06df34 Merge branch 'feature/json-backend' of github.com:Budibase/budibase into feature/json-backend 2021-11-30 13:41:58 +00:00
Budibase Release Bot 4b0704736b v0.9.190 2021-11-30 13:36:54 +00:00
mike12345567 39bb1f3e2c Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-11-30 11:32:50 +00:00
Budibase Staging Release Bot 40aa9656e1 v0.9.190-alpha.12 2021-11-30 10:14:02 +00:00
Andrew Kingston 0341b596e6 Merge pull request #3576 from Budibase/ak-fixes
Misc bug fixes
2021-11-30 10:05:01 +00:00
Andrew Kingston eca8423c6b Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-11-30 08:48:40 +00:00
Andrew Kingston d2ce037297 Expose static repeater context for row index 2021-11-30 08:47:21 +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
mike12345567 003b6424a2 Fixing issue with updating row validation to allow empty objects. 2021-11-29 17:54:09 +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
Budibase Staging Release Bot f8b4c4fa6c v0.9.190-alpha.11 2021-11-29 13:58:47 +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 c81ca0502a Fix layout navigation not scrolling when required 2021-11-29 09:05:46 +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
Budibase Staging Release Bot d33eeec665 v0.9.190-alpha.10 2021-11-26 19:01:35 +00:00
Rory Powell 301938eaa0 Merge pull request #3555 from Budibase/oracle/returning
Improve returning logic for oracle
2021-11-26 18:54:19 +00:00
Budibase Staging Release Bot 7ef5ae8823 v0.9.190-alpha.9 2021-11-26 17:52:27 +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 d06ab10c1d Fixing issue found with enriching rows in SQL - the system was assuming the array of entries contained a row ID that needed to be broken down. 2021-11-26 17:08:56 +00:00
Rory Powell f75928a9c9 Deletion support for returning rows 2021-11-26 16:50:15 +00:00
mike12345567 1ae4c6ac3a Merge branch 'develop' of github.com:Budibase/budibase into feature/json-backend 2021-11-26 15:46:45 +00:00
Budibase Staging Release Bot 531985c8da v0.9.190-alpha.8 2021-11-26 15:29:05 +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
Rory Powell 115fc08aa4 Improve returning logic for oracle 2021-11-26 15:02:03 +00:00
Budibase Staging Release Bot 15381e44eb v0.9.190-alpha.7 2021-11-26 14:35:06 +00:00
Martin McKeaveney 4b79045dac adding check on backend 2021-11-26 15:27:37 +01: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
mike12345567 4697b21ef1 Updating docs for tables, adding a swagger generation tool and a README describing how to use it. 2021-11-26 14:13:53 +00:00
Budibase Staging Release Bot 78de471948 v0.9.190-alpha.6 2021-11-26 11:36:30 +00:00
Andrew Kingston 11142335ff Merge pull request #3542 from Budibase/ak-fixes
Query schema fixes + card fixes
2021-11-26 11:27:28 +00:00
Budibase Staging Release Bot 688d461fcc v0.9.190-alpha.5 2021-11-26 11:08:02 +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
Martin McKeaveney eec02321f5 fix cypress tests 2021-11-26 11:42:37 +01:00
Rory Powell 41fa958c78 File upload working 2021-11-26 09:51:56 +00:00
Budibase Staging Release Bot 186ef7a922 v0.9.190-alpha.4 2021-11-25 22:21:36 +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
Peter Clement 2945b15ee3 update cypress to account for no default screen 2021-11-25 21:48:07 +00:00
mike12345567 a99bf1bba3 Updating scripts to allow opening in the browser when generated. 2021-11-25 18:13:14 +00:00
Budibase Staging Release Bot aa010163a7 v0.9.190-alpha.3 2021-11-25 18:04:35 +00:00
mike12345567 82a0bfa5f5 Fixing issue discovered by Cypress. 2021-11-25 17:56:50 +00:00
mike12345567 5b2e6bddf8 Updating docs. 2021-11-25 17:44:47 +00:00
Rory Powell 71ba024974 WIP: Rest API import 2021-11-25 17:14:07 +00:00
Budibase Staging Release Bot 7e97d2ba95 v0.9.190-alpha.2 2021-11-25 16:50:21 +00:00
mike12345567 b68cd07431 Fixing issue with data import error not invalidating modals. 2021-11-25 16:41:19 +00:00
mike12345567 88f31bcf34 Basic work for generating. 2021-11-25 16:13:19 +00:00
Peter Clement d42df03f25 fix appPackage unit tests 2021-11-25 15:29:35 +00:00
Peter Clement 0c60a56a3a remove initial screen creation 2021-11-25 14:45:36 +00:00
Andrew Kingston 0b239a5bec Add test to ensure query schema is correctly cleared for prod app IDs 2021-11-25 13:00:43 +00:00
Budibase Staging Release Bot 7d024f285d v0.9.190-alpha.1 2021-11-25 12:49:05 +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
Budibase Staging Release Bot daaf22f648 v0.9.190-alpha.0 2021-11-25 12:30:15 +00:00
mike12345567 0f0770af32 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-11-25 12:21:58 +00:00
Martin McKeaveney 3040613b53 removing script dir 2021-11-25 13:08:39 +01:00
Martin McKeaveney 5313e27797 auto name template based apps 2021-11-25 13:00:21 +01:00
Andrew Kingston 3abaded20a Update tests 2021-11-25 11:52:02 +00:00
Andrew Kingston aea0a9082b Lint 2021-11-25 11:42:46 +00:00
Andrew Kingston 63fac77ad1 Ensure horizontal cards in the card block don't exceed the width of the screen 2021-11-25 11:35:19 +00:00
Andrew Kingston 38219f0ea3 Fix issue with determining when to hide sensitive fields from query definitions and never delete the query schema 2021-11-25 11:21:54 +00:00
Martin McKeaveney 90934c547f allow type editing on custom query datasource schemas 2021-11-25 12:20:20 +01:00
Budibase Staging Release Bot b90a845efc v0.9.185-alpha.22 2021-11-25 10:33:01 +00: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
mike12345567 f6ecd423ce Fixing some issues discovered with many to many relationships in SQL, as well as problems uncovered by #3531. 2021-11-24 20:55:03 +00:00
Peter Clement f8f191570d refactor screen templates to include table name 2021-11-24 19:26:07 +00: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
Budibase Staging Release Bot e4e29ce1b2 v0.9.185-alpha.21 2021-11-24 16:00:00 +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 9336ae5826 Updating test case to mock response value. 2021-11-24 15:10:52 +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
Budibase Staging Release Bot c021a6e49c v0.9.185-alpha.20 2021-11-24 13:56:19 +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
Budibase Staging Release Bot 1497e2d489 v0.9.185-alpha.19 2021-11-24 09:17:53 +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
Budibase Staging Release Bot f7377c71da v0.9.185-alpha.18 2021-11-24 08:48:23 +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
Andrew Kingston fa9fc496f6 Remove text setting from dynamic filter component 2021-11-24 08:20:23 +00:00
Budibase Staging Release Bot f2365738d6 v0.9.185-alpha.17 2021-11-23 20:15: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 8d44e9aa20 Update dynamic filter component styles and remove lots of settings 2021-11-23 17:40:49 +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
Andrew Kingston 24a700f391 Add readonly prop to combobox 2021-11-23 16:40:31 +00:00
Budibase Staging Release Bot 5ba6f4bd54 v0.9.185-alpha.16 2021-11-23 15:23:55 +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
Budibase Staging Release Bot 8547ea2f2c v0.9.185-alpha.15 2021-11-23 13:57:12 +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
Rory Powell 7135599295 Add returning 2021-11-23 13:27:38 +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
Budibase Release Bot d227e192ae v0.9.189 2021-11-22 18:14:41 +00:00
Budibase Staging Release Bot f158ee8f57 v0.9.185-alpha.14 2021-11-22 18:04:40 +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
Martin McKeaveney d5a5f4d227 adding version metadata to docker build 2021-11-22 18:25:57 +01:00
Andrew Kingston 6b2e235c35 Fix cypress tests 2021-11-22 16:29:03 +00:00
Andrew Kingston d9b7426d29 Update cypress tests to account for component restructuring 2021-11-22 15:26:41 +00:00
Rory Powell 4acfc668ef Update locks, ignore oracle imports on m1 2021-11-22 15:26:31 +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
Rory Powell b1ac42875b Fix dependency issues on m1 2021-11-22 14:49:39 +00:00
Andrew Kingston 4ef99cd603 Add button variant, size and quiet settings to dynamic filter. Allow dyanmic filter button text to be edited inline 2021-11-22 14:48:34 +00:00
Andrew Kingston 0fcc7619d0 Reorganise component structure 2021-11-22 14:48:04 +00:00
Andrew Kingston f12ab5aebd Removing log statement 2021-11-22 14:09:54 +00:00
Andrew Kingston ab7959a32c Fix issue with not correctly removing dynamic filters when clearing all filters 2021-11-22 13:42:09 +00:00
Andrew Kingston aa46f15ff6 Update default button text of dynamic filter component 2021-11-22 13:34:28 +00:00
Rory Powell ac7137c4a0 Use global sql type map, update base integration type defs 2021-11-22 11:38:17 +00:00
Budibase Staging Release Bot 2f9941f40c v0.9.185-alpha.13 2021-11-22 11:13:33 +00:00
Rory Powell 154a5cab26 Merge branch 'develop' into oracle-datasource 2021-11-22 11:07:11 +00:00
Michael Drury ddcc94c772 Merge pull request #3444 from Budibase/fix/sql-invalid-cols
Disallow _id, _rev and tableId fields for SQL tables
2021-11-22 11:03:59 +00:00
Budibase Staging Release Bot 01e7cccb65 v0.9.185-alpha.12 2021-11-22 10:53:34 +00:00
Rory Powell d58b90cac1 Merge branch 'oracle-datasource' into oracle-datatasource-plus 2021-11-22 10:50:34 +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
mike12345567 9be833d5e1 Updating inline alert component to handle newlines as different elements, putting out error with new lines. 2021-11-22 10:37:58 +00:00
Budibase Staging Release Bot fe5c3d78f4 v0.9.185-alpha.11 2021-11-22 10:26:21 +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
Peter Clement 8581c06721 fix broken automation test 2021-11-22 09:43:57 +00:00
Andrew Kingston 9057b8e521 Update logic for determining whether to show empty state or not 2021-11-18 20:38:55 +00:00
Andrew Kingston bfe562c9ea Update editable components to trim whitespace when editing inline 2021-11-18 20:32:57 +00:00
Andrew Kingston a9a50545c9 Be more explicit about the boolean nature of component settings in the manifest and add back in a render key to fix toggling contenteditable attribute on dom elements 2021-11-18 20:32:42 +00:00
Andrew Kingston a1b2f9d57d Enable dynamic filter component to update data provider queries 2021-11-18 20:32:00 +00:00
Andrew Kingston 327ee5726d Ensure important builder store variables do not get unassigned when setting the builder store state 2021-11-18 20:31:25 +00:00
Andrew Kingston b7b424b7f8 Add modal container to top level of client apps 2021-11-18 20:31:00 +00:00
Andrew Kingston 33e5e198b7 Refactor how extending data provider queries works to support multiple extensions per key 2021-11-18 18:41:37 +00:00
mike12345567 38c7f3ab90 Fix for #2420 - don't allow columns which are considered invalid/not allowed. 2021-11-18 18:33:35 +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 e35fe3685f Fix default form step context not being a svelte store 2021-11-18 15:57:29 +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 34a00df86b Add settings to dynamic filter to control button text and allowed filter fields 2021-11-18 15:43:51 +00:00
Andrew Kingston f77f7c1e5f Add dynamic filter component 2021-11-18 15:36:16 +00:00
Michael Drury 773bc06f7f Merge pull request #3440 from Budibase/fix/export-sql
Fixing some issues with exporting CSV/JSON
2021-11-18 15:26:23 +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
Andrew Kingston cd5aaf69cb Remove log statement 2021-11-18 14:47:59 +00:00
Andrew Kingston 8e58cde6ec Fix bug with duplication of fields when re-registering existing fields 2021-11-18 14:43:02 +00:00
Andrew Kingston 9f30599ec1 Make form step number dynamic 2021-11-18 14:42:49 +00:00
Peter Clement d16ea91082 remove uneeded add action button 2021-11-18 14:29:31 +00:00
Andrew Kingston 347a0d1d0f Fix crash when component definition is not found 2021-11-18 14:24:10 +00:00
Andrew Kingston 5f5ca5fdf7 Allow dynamic re-registration of form field components 2021-11-18 14:18:06 +00:00
Rory Powell b0df7fb28f Boolean support and linting 2021-11-18 13:35:22 +00:00
Rory Powell 345490fed3 Tests 2021-11-18 12:05:30 +00:00
Peter Clement b902e017dd fix bug with test results 2021-11-18 11:41:51 +00:00
Budibase Staging Release Bot a1ff7e7262 v0.9.185-alpha.10 2021-11-18 11:15:57 +00:00
Michael Drury 7783443441 Merge pull request #3433 from Budibase/dependabot/npm_and_yarn/packages/auth/stringstream-0.0.6
Bump stringstream from 0.0.5 to 0.0.6 in /packages/auth
2021-11-18 11:08:46 +00:00
Michael Drury 007d6e8e92 Merge pull request #3434 from Budibase/dependabot/npm_and_yarn/packages/worker/sshpk-1.16.1
Bump sshpk from 1.13.0 to 1.16.1 in /packages/worker
2021-11-18 11:08:36 +00:00
Michael Drury d2e07590c4 Merge pull request #3435 from Budibase/dependabot/npm_and_yarn/packages/server/sshpk-1.16.1
Bump sshpk from 1.13.0 to 1.16.1 in /packages/server
2021-11-18 11:08:27 +00:00
mike12345567 8a1a2c5305 Upgrading to Node 14 across the board as recent packages don't support 12 anymore. 2021-11-18 10:59:35 +00:00
dependabot[bot] 2e09b5e855 Bump sshpk from 1.13.0 to 1.16.1 in /packages/server
Bumps [sshpk](https://github.com/joyent/node-sshpk) from 1.13.0 to 1.16.1.
- [Release notes](https://github.com/joyent/node-sshpk/releases)
- [Commits](https://github.com/joyent/node-sshpk/compare/v1.13.0...v1.16.1)

---
updated-dependencies:
- dependency-name: sshpk
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-18 10:52:11 +00:00
dependabot[bot] 2632698842 Bump sshpk from 1.13.0 to 1.16.1 in /packages/worker
Bumps [sshpk](https://github.com/joyent/node-sshpk) from 1.13.0 to 1.16.1.
- [Release notes](https://github.com/joyent/node-sshpk/releases)
- [Commits](https://github.com/joyent/node-sshpk/compare/v1.13.0...v1.16.1)

---
updated-dependencies:
- dependency-name: sshpk
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-18 10:52:08 +00:00
dependabot[bot] 6e8db66b57 Bump stringstream from 0.0.5 to 0.0.6 in /packages/auth
Bumps [stringstream](https://github.com/mhart/StringStream) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/mhart/StringStream/releases)
- [Commits](https://github.com/mhart/StringStream/compare/v0.0.5...v0.0.6)

---
updated-dependencies:
- dependency-name: stringstream
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-18 10:52:02 +00:00
Rory Powell 5d8c90c5f2 Detect auto columns 2021-11-18 10:49:53 +00:00
Budibase Release Bot 85425520ac v0.9.188 2021-11-18 07:09:32 +00:00
Michael Drury 1003c0d55e Updating filter modal to manage invalid schemas when view created. 2021-11-17 22:11:26 +00:00
Michael Drury 0623dc2981 Fixing issue discovered by test case. 2021-11-17 21:33:35 +00:00
mike12345567 1ba0584c64 Reverting bbui lock, making sure it isn't upgrading again, fixing vite to the best version we can use. 2021-11-17 19:12:54 +00:00
mike12345567 fa6875190e Downgrading typescript to match eslint required version. 2021-11-17 18:07:56 +00:00
mike12345567 7802bb1e45 Adding audit script and commiting all of the audits that it made, updating all yarn locks. 2021-11-17 18:04:16 +00:00
Rory Powell c810bacaf9 Datatypes working 2021-11-17 16:41:00 +00:00
mike12345567 047318fdf7 Updating bullboard to use the new koa version (supported). 2021-11-17 16:30:06 +00:00
mike12345567 bb8fe8e941 Adding a mechanism for disabling cron jobs when an app is unpublished. 2021-11-17 16:28:52 +00:00
Rory Powell 0cedd1d57b First pass end-to-end working 2021-11-17 14:34:16 +00:00
Peter Clement f237cd891e fix animation issue with automation blocks 2021-11-17 14:28:14 +00:00
Mike Shanks 3db48e3b45 License cleanup 2021-11-17 14:21:16 +00:00
Peter Clement 5311c8ee7e save inputted test data 2021-11-17 13:49:34 +00:00
Budibase Staging Release Bot 9d74aa2a44 v0.9.185-alpha.9 2021-11-17 11:47:25 +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
Budibase Staging Release Bot 623cd0c0b0 v0.9.185-alpha.8 2021-11-17 11:28:58 +00:00
Peter Clement 776e4e2d20 more refactoring of screen wizard 2021-11-17 10:24:14 +00:00
dependabot[bot] 38c353f94d Bump aws-sdk from 2.811.0 to 2.814.0 in /packages/worker
Bumps [aws-sdk](https://github.com/aws/aws-sdk-js) from 2.811.0 to 2.814.0.
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.811.0...v2.814.0)

---
updated-dependencies:
- dependency-name: aws-sdk
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-16 22:39:40 +00:00
Budibase Staging Release Bot 33fef40292 v0.9.185-alpha.7 2021-11-16 21:20:35 +00:00
mike12345567 7170c00a4f Fix for cypress test issues, when metadata is updated rapidly it could get into a bad state - this should resolve it. 2021-11-16 20:56:24 +00:00
mike12345567 e75a9d3d1d Quick update, just to cover both queue add functions. 2021-11-16 19:02:55 +00:00
mike12345567 11debac115 Updating to manage completed events piling up, this will periodically clear out all events - repeats cannot be removed with the removeOnCompleted job option. 2021-11-16 18:58:24 +00:00
Andrew Kingston 9b988b60b0 Replace old usage of 'editable' manifest setting with 'static' 2021-11-16 18:33:14 +00:00
Andrew Kingston 9bd01987af Fix issue with data provider query not updating 2021-11-16 17:55:24 +00:00
Andrew Kingston 9420ee2b5e Remove log statements 2021-11-16 17:52:14 +00:00
Andrew Kingston 76579e5968 Refactor some app components to remove dependency on static props 2021-11-16 17:52:00 +00:00
Andrew Kingston 427bb01e51 Update table to handle dynamic data provider prop 2021-11-16 17:51:05 +00:00
Andrew Kingston a2b9fb3434 Update forms to handle a dynamic schema prop 2021-11-16 17:42:27 +00:00
mike12345567 aaff5260d3 Adding a script to be able to debug backend like cypress runs, without needing to build everytime - fixing an issue that appears to only occur occasionally in the cypress environment. 2021-11-16 17:40:31 +00:00
Andrew Kingston f61d89436b Optimise core memoization of client component props to improve performance significantly 2021-11-16 16:29:31 +00:00
Andrew Kingston 6ca6eb0d4b Refactor how client app actions programmatically mutate data provider queries to allow for correctly handling removal of query extensions 2021-11-16 16:28:48 +00:00
mike12345567 5a50129186 Merge branch 'develop' of github.com:Budibase/budibase into fix/app-cache-invalid 2021-11-16 15:48:56 +00:00
mike12345567 a7cf64ce9e Fixing issue discovered by cypress test. 2021-11-16 15:23:02 +00:00
Budibase Staging Release Bot c42acf9bb7 v0.9.185-alpha.6 2021-11-16 14:37:51 +00:00
mike12345567 720fa12b21 Quick update to the app caching to improve performance even further, cache when an app doesn't have metadata/is invalid, meaning we don't need to poll the database everytime to see if the metadata doc exists. 2021-11-16 14:15:13 +00:00
Budibase Staging Release Bot 8529510e04 v0.9.185-alpha.5 2021-11-16 13:54:16 +00:00
Rory Powell 4235aba7a2 Merge pull request #3354 from Budibase/rory/fixes-platform-url
Fixes for google sso, cloud email url and cloud logo updates
2021-11-16 13:46:06 +00:00
Andrew Kingston 9728c6c947 Prevent unecessary updates to component settings to improve performance 2021-11-16 13:38:47 +00:00
Andrew Kingston b1f5782984 Precent unecessary client app builder store updates to improve performance 2021-11-16 13:35:20 +00:00
Andrew Kingston 5021f3df47 Ensure button is focused when starting to edit text 2021-11-16 13:22:31 +00:00
Andrew Kingston ce75b8c9a7 Disable drag and drop for components in the selected path when edit mode is enabled to fix firefox issue with text selection when draggable attribute is set 2021-11-16 13:17:34 +00:00
Andrew Kingston f14e6d8e22 Remove unused client event for iframe-loaded 2021-11-16 13:15:31 +00:00
Andrew Kingston 4e4e07d1f2 Fix race condition crash on initial builder data page load 2021-11-16 13:12:05 +00:00
Peter Clement f3cddaaf08 refactor wizard into its own file 2021-11-16 12:18:13 +00:00
Budibase Staging Release Bot 9650cee4d4 v0.9.185-alpha.4 2021-11-16 11:48:38 +00:00
Andrew Kingston 96fdcb6d93 Remove focus style on contenteditable components in chrome 2021-11-16 11:47:03 +00:00
Andrew Kingston 07e455257c Prevent dragging of a component while being edited 2021-11-16 11:46:46 +00:00
Andrew Kingston 0bac3765b3 Remove deprecated keydown event being sent by client library 2021-11-16 11:45:28 +00:00
Michael Drury 1bfe8527e6 Merge pull request #3392 from Budibase/fix/app-list-perf
Caching app metadata to improve application fetch performance
2021-11-16 11:37:54 +00:00
Andrew Kingston 2adbaea026 Merge develop into editable text lab day 2021-11-16 11:14:46 +00:00
Budibase Staging Release Bot 3d2447db34 v0.9.185-alpha.3 2021-11-16 11:12:03 +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 bb02491f41 Reset app name in deletion confirmation modal when closing modal 2021-11-16 10:52:43 +00:00
mike12345567 289c1325f8 Adding specific error cases to all app ID checking functions - three cases, is dev/prod, isn't and no app/ID provided. 2021-11-16 10:30:37 +00:00
Michael Drury 5470b77fb3 Fixing issue presented by test, passing Couch instance around for when it is being used in memory. 2021-11-15 19:34:08 +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
Budibase Staging Release Bot 3ffa27969d v0.9.185-alpha.2 2021-11-15 17:47:27 +00:00
mike12345567 f13257bebe Updating the getAllApps function to use a cached version of the app metadata, rather than retrieving it individually everytime. Also invalidating the results everytime they are updated (at least in the important locations). 2021-11-15 17:40:45 +00:00
Budibase Release Bot e48fc8de3d v0.9.187 2021-11-15 17:04:12 +00:00