Commit Graph

4654 Commits

Author SHA1 Message Date
Keviin Åberg Kultalahti 5deceb7928 remove backendUiStore 2021-03-23 13:42:03 +01:00
Keviin Åberg Kultalahti 9445b1efdc remove logs 2021-03-23 13:39:18 +01:00
Keviin Åberg Kultalahti 3b7e798859 remove console log 2021-03-23 13:35:31 +01:00
Keviin Åberg Kultalahti d37778d809 lint fix 2021-03-23 13:31:18 +01:00
Keviin Åberg Kultalahti 3e58ad9031 move rows to it's separate store 2021-03-23 13:27:45 +01:00
Keviin Åberg Kultalahti 9d3088c3f3 table route fix 2021-03-23 13:27:16 +01:00
Keviin Åberg Kultalahti d27e03c215 extract save function in tables store 2021-03-23 13:19:34 +01:00
Keviin Åberg Kultalahti 5c4a189223 extract out select and fetch methods in tables store 2021-03-23 13:06:04 +01:00
Keviin Åberg Kultalahti 5cbba0a2ee fix tables not showing up 2021-03-23 13:05:22 +01:00
Keviin Åberg Kultalahti b4ba2589a2 fix datasource select issue 2021-03-23 13:04:54 +01:00
Keviin Åberg Kultalahti 45a2e5cf46 fix databindings 2021-03-23 12:48:54 +01:00
Keviin Åberg Kultalahti 8a2ccbc1a9 wip: cleanup of components 2021-03-23 12:27:10 +01:00
Keviin Åberg Kultalahti c924e03519 remove unused stuff in backendUiStore 2021-03-23 12:19:10 +01:00
Keviin Åberg Kultalahti c77061f239 wip: converts components to use separate stores 2021-03-23 12:16:54 +01:00
Keviin Åberg Kultalahti 071522c43f split out views to separate store 2021-03-23 12:04:11 +01:00
Keviin Åberg Kultalahti 0afc55f4cb update tables select method 2021-03-23 12:04:01 +01:00
Martin McKeaveney 90228e3334 simplify try catch in manage script 2021-03-23 11:01:33 +00:00
Keviin Åberg Kultalahti a440e7631b move tables to separate store 2021-03-23 11:54:03 +01:00
Keviin Åberg Kultalahti 99423ee51b remove log 2021-03-23 10:57:34 +01:00
Keviin Åberg Kultalahti c441307611 fixes issues with queries not getting selected correctly 2021-03-23 10:56:53 +01:00
Martin McKeaveney 81452c3a7f better wording and tidy up of init script 2021-03-22 19:35:29 +00:00
Andrew Kingston 938efc5b67 Fix automatic generation of form field group schemas 2021-03-22 18:07:11 +00:00
mike12345567 36c20b2498 Updating some of the deployment/uploading mechanism purely to remove file system, all of this will go anyway but some of it was used to handle file uploads (attachments) to object store so needed to convert it a bit 2021-03-22 18:06:10 +00:00
Andrew Kingston 5d9692e338 Remove RowDetail component 2021-03-22 18:04:40 +00:00
Andrew Kingston 28e1688138 Don't add _id and _rev fields to form schemas 2021-03-22 17:59:54 +00:00
Andrew Kingston b9fe600a9b Fix data binding not generating bindable properties for components referencing a data provider ID wrapped for handlebars 2021-03-22 17:57:19 +00:00
Martin McKeaveney 51506a5f42 add docker-compose dep to package.json 2021-03-22 17:29:27 +00:00
mike12345567 78eb00b39d Merge branch 'single-stack-dev' of github.com:Budibase/budibase into feature/fs-removal 2021-03-22 17:20:07 +00:00
mike12345567 14586cd124 moving some test cases to not use file system and re-introducing the image processor. 2021-03-22 17:19:45 +00:00
Martin McKeaveney 1785c1a58b ignoring dev env 2021-03-22 17:17:31 +00:00
Martin McKeaveney cb4ed1cdb4 tidy up 2021-03-22 17:15:34 +00:00
Martin McKeaveney f3302770b3 single stack dev setup complete 2021-03-22 17:05:00 +00:00
mike12345567 19897de535 Removing FS from templates. 2021-03-22 16:39:57 +00:00
mike12345567 fca242b9ee Updating API keys and changing over system to allow use of builder endpoints when running in cloud. 2021-03-22 16:39:11 +00:00
Martin McKeaveney 306d29d870 redis, tidy ups 2021-03-22 16:18:29 +00:00
Martin McKeaveney 6742c3ca99 basic single stack dev setup 2021-03-22 15:43:26 +00:00
Keviin Åberg Kultalahti 526283d406 fixes and splits out database to it's separate store 2021-03-22 16:33:08 +01:00
Keviin Åberg Kultalahti cb3a4b549a moves queries part of backendstore to separate store 2021-03-22 14:47:21 +01:00
Keviin Åberg Kultalahti 17802795d0 moves integrations part of backendstore to separate store 2021-03-22 13:23:36 +01:00
Andrew Kingston 928b9ca9a3 Update row detail autoscreen to use new data provider and safe bindings 2021-03-22 12:11:29 +00:00
Andrew Kingston 8ca61404d9 Update data provider select to use safe binding options 2021-03-22 12:11:12 +00:00
Andrew Kingston e62a6b92b4 Update bindings to always ensure they are safely escaped 2021-03-22 12:10:43 +00:00
Keviin Åberg Kultalahti 58aefcec04 fixes permissions problem 2021-03-22 12:57:42 +01:00
Andrew Kingston c2e9e3d79f Update new row autoscreen to handle new SaveRow button action 2021-03-22 11:42:53 +00:00
Andrew Kingston 827c023d5a Update list autoscreen to use new data provider 2021-03-22 11:29:26 +00:00
Keviin Åberg Kultalahti 5b08b31fd6 moves the datasources store to it's separate store 2021-03-22 12:02:55 +01:00
Keviin Åberg Kultalahti 98607ca1bd moves roles in backendstore to a separate store 2021-03-22 10:55:23 +01:00
Keviin Åberg Kultalahti 2ddb2e3fbb removes unused users field in backend store 2021-03-22 10:14:17 +01:00
Keviin Åberg Kultalahti 4b3891f68a moves permissions to a separate store 2021-03-22 09:59:22 +01:00
mike12345567 c49637db47 Work in progress, have refactored the templating system to remove local templates, application and template system now work through minio with no file access. 2021-03-19 19:07:47 +00:00
Martin McKeaveney 1481f9825f Merge branch 'feature/fs-removal' of https://github.com/Budibase/budibase into single-stack-dev 2021-03-19 15:13:56 +00:00
mike12345567 b765502d74 Working on moving file system access around, starting by centralising it then working out what needs to be moved to object store and how. 2021-03-19 14:43:41 +00:00
Andrew Kingston 0b0efcd9ea Add explicity titles to DrawerBindableInputs in DeleteRow button action 2021-03-19 14:28:11 +00:00
Andrew Kingston 1283fe520e Fix massive widths on remaining button actions 2021-03-19 14:26:37 +00:00
Keviin Åberg Kultalahti 06689ee238 merge next 2021-03-19 15:10:12 +01:00
Andrew Kingston 705670757b Fix massive width in filter editor drawer 2021-03-19 14:05:42 +00:00
Andrew Kingston b4f9def495 Update SaveRow button action to take an explicit table ID, making it more much flexible. Fix massive width 2021-03-19 14:05:28 +00:00
Andrew Kingston 5a891054cb Update DeleteRow button action to take explicit props and fix massive width 2021-03-19 14:04:37 +00:00
Andrew Kingston 12ea52f3b1 Update schema generation to automatically include _id and _rev fields 2021-03-19 14:04:00 +00:00
Keviin Åberg Kultalahti edc2f438c2 remove log 2021-03-19 14:58:00 +01:00
Andrew Kingston 85377d24ce Update form setting datasource type 2021-03-19 13:09:22 +00:00
Keviin Åberg Kultalahti f4c30bd360 remove console.log 2021-03-19 13:58:05 +01:00
Keviin Åberg Kultalahti 1462d8dd55 improve database.select performance 2021-03-19 13:51:21 +01:00
mike12345567 c22aeb69d8 Setting up budi CLI for NPM as well. 2021-03-19 10:50:25 +00:00
mike12345567 a0b8d9c42a Updating to scoped name for package. 2021-03-19 10:37:02 +00:00
mike12345567 356878a6cb Removing use of env file, was causing issues, just parsing the env variables directly. 2021-03-19 10:29:43 +00:00
Keviin Åberg Kultalahti a3750a2c5b fix some navigation issues when removing tables/datasources 2021-03-19 11:03:44 +01:00
mike12345567 8549764db4 Adding a digital ocean startup init process which makes use of the user_data system. 2021-03-19 10:02:29 +00:00
Andrew Kingston c3401486cc Update all charts to work with new data provider 2021-03-18 18:45:11 +00:00
mike12345567 60ab217386 Formatting. 2021-03-18 18:27:00 +00:00
mike12345567 87918fd55c Updating the CLI to have a fast init method, this will make using it for DO much much easier. 2021-03-18 18:26:41 +00:00
Andrew Kingston 6d7cb8d6ba Update bar chart to work with new data provider 2021-03-18 17:34:51 +00:00
Michael Drury b12b6b39b5 Merge pull request #1285 from Budibase/dependabot/npm_and_yarn/packages/string-templates/marked-2.0.0
Bump marked from 1.2.8 to 2.0.0 in /packages/string-templates
2021-03-18 16:19:48 +00:00
Andrew Kingston 8b9f5692ab Update grid to support data providers 2021-03-18 15:53:59 +00:00
Andrew Kingston 1ccbe140b8 Provide schema from data providers 2021-03-18 15:53:25 +00:00
Keviin Åberg Kultalahti a769d5f477 reverts some of the merged files 2021-03-18 14:33:45 +01:00
Michael Drury 2326095dd4 Merge pull request #1296 from Budibase/tests/relationships
Server relationship tests
2021-03-18 13:13:39 +00:00
Keviin Åberg Kultalahti 1b859d0bb7 merge next 2021-03-18 14:05:12 +01:00
Kevin Åberg Kultalahti 654928d864 Merge pull request #1298 from Budibase/fix/route-preservation
Fix/route preservation
2021-03-18 14:01:31 +01:00
Keviin Åberg Kultalahti a9a895995b fix not being redirected to datasource index page once you delete a datasource 2021-03-18 10:56:18 +01:00
Keviin Åberg Kultalahti 62e6e21bc4 removes some logic and fixes table/integration select when switching tabs 2021-03-18 10:46:21 +01:00
Martin McKeaveney 26ae531842 Merge pull request #1295 from Budibase/integrations-tests
Integrations tests
2021-03-18 09:45:50 +00:00
Maurits Lourens 222aae3543 1292 - add help menu items related to budibase instead of electron 2021-03-18 09:08:39 +01:00
Keviin Åberg Kultalahti 0b36b98295 Merge branch 'next' into fix/route-preservation 2021-03-18 08:41:41 +01:00
Keviin Åberg Kultalahti 81cb6917eb bumps svelte version in client and standard-components packages 2021-03-17 14:27:51 +01:00
Keviin Åberg Kultalahti 7de36d4e04 lint fixes 2021-03-17 14:02:12 +01:00
Keviin Åberg Kultalahti 51bd52006b fixes for initial routing 2021-03-17 14:01:42 +01:00
Keviin Åberg Kultalahti bf90d9cf4c wip: routify 2021-03-17 12:40:24 +01:00
mike12345567 ce07f44e05 Adding db test directory to list of ignored from coverage. 2021-03-16 23:30:20 +00:00
mike12345567 d28737da34 Upping relationship coverage overall to 98% - looking over utilities which are barely ever used. 2021-03-16 23:25:18 +00:00
Martin McKeaveney cd1b35a77a more branch cov 2021-03-16 19:27:18 +00:00
Andrew Kingston 1368074f68 Update bindable properties to handle new data provider 2021-03-16 19:11:00 +00:00
Martin McKeaveney c0e9ee282a mysql tests 2021-03-16 19:01:51 +00:00
Martin McKeaveney 172db5f255 airtable tests 2021-03-16 18:43:56 +00:00
Andrew Kingston 5276cd7117 Fix edge case bug where the literal handlebars helper would not work with objects including a dash character 2021-03-16 18:16:56 +00:00
mike12345567 d6329e2409 Adding test cases which bring the link controller coverage to 100%. 2021-03-16 18:13:00 +00:00
Martin McKeaveney d2699a2755 REST integration tests 2021-03-16 14:51:14 +00:00
mike12345567 7c5771c32d Merge branch 'browser-compat' of github.com:Budibase/budibase into browser-compat 2021-03-16 14:12:26 +00:00
Martin McKeaveney a16c05ecb0 arangodb tests 2021-03-16 13:54:39 +00:00
Andrew Kingston 6e29423d4d Add data provider component and refactor component setting types 2021-03-16 13:54:34 +00:00
Andrew Kingston 21ad0d0022 Merge branch 'browser-compat' of github.com:Budibase/budibase into browser-compat 2021-03-16 13:52:05 +00:00
Andrew Kingston 9212a2f623 Revert deletion of S3 upload of attachments in cloud env 2021-03-16 13:51:50 +00:00
mike12345567 4a3a420dee Merge branch 'next' of github.com:Budibase/budibase into browser-compat 2021-03-16 13:50:31 +00:00
mike12345567 f114f68021 Fixing issue with applications not being created due to a lack of template file. 2021-03-16 13:43:46 +00:00
mike12345567 47cf63bb16 starting into relationship testing. 2021-03-16 13:24:44 +00:00
Martin McKeaveney 2150a47af4 elasticsearch tests 2021-03-16 11:46:13 +00:00
Andrew Kingston 05b6e825b4 Lint 2021-03-16 09:28:58 +00:00
Martin McKeaveney 0bc150fc7c v0.8.10 2021-03-15 21:26:50 +00:00
Martin McKeaveney f6bc83c4c7 Merge branch 'develop' of https://github.com/Budibase/budibase 2021-03-15 20:53:17 +00:00
mike12345567 d99b6b48a8 Removing unused test and directory. 2021-03-15 20:45:16 +00:00
mike12345567 ef5049ccc7 Merge branch 'master' of github.com:Budibase/budibase into tests/automation-tests 2021-03-15 20:44:54 +00:00
mike12345567 e3d90f231b Merge branch 'master' of github.com:Budibase/budibase 2021-03-15 20:43:41 +00:00
mike12345567 7524bfd256 Formatting. 2021-03-15 20:43:31 +00:00
mike12345567 60841d1b1f Removing unused code that was causing some issues with API key lookup and validation in self hosted setups. 2021-03-15 20:43:08 +00:00
Martin McKeaveney 3dd902666c fix duplicate column name issue 2021-03-15 20:38:55 +00:00
Martin McKeaveney d5ae0fa2a9 dynamoDB tests 2021-03-15 19:45:39 +00:00
Andrew Kingston 78c6f9ca3d Remove electron specific app import 2021-03-15 18:32:20 +00:00
mike12345567 d5ec1b3167 Removing un-used code and removing some files from coverage that aren't of consequence. 2021-03-15 17:14:56 +00:00
mike12345567 794372987e Adding more test cases for the controllers, tables and views weren't as well covered as required. 2021-03-15 16:36:38 +00:00
Martin McKeaveney e7b0564ca3 couchDB tests 2021-03-15 16:26:46 +00:00
Martin McKeaveney de68ba23dd postgres integration tests 2021-03-15 16:07:04 +00:00
Keviin Åberg Kultalahti 7056a5ada9 Merge branch 'develop' into fix/route-preservation 2021-03-15 15:30:51 +01:00
Keviin Åberg Kultalahti c0c41c5bc3 fixes small bug where user was not redirected to automation index page once last automation was deleted 2021-03-15 15:30:28 +01:00
Keviin Åberg Kultalahti 859653c62b cleanup 2021-03-15 15:27:29 +01:00
Keviin Åberg Kultalahti 230f871e83 adds working automation routing 2021-03-15 15:23:22 +01:00
mike12345567 3406138f34 Finishing off automation test cases, above 90% coverage for automations codebase. 2021-03-15 14:11:13 +00:00
Keviin Åberg Kultalahti 2900704a4c adds routing to the automation tab 2021-03-15 15:00:34 +01:00
dependabot[bot] dbe37ce02a Bump marked from 1.2.8 to 2.0.0 in /packages/string-templates
Bumps [marked](https://github.com/markedjs/marked) from 1.2.8 to 2.0.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v1.2.8...v2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-15 12:11:54 +00:00
Andrew Kingston 08ea461caa Remove electron specific attachment uploads inside the builder 2021-03-15 12:10:21 +00:00
Martin McKeaveney c4b828416a Merge pull request #1283 from mslourens/bugs/1240-new-user-creation
1240 - restore notification blocknotifications method, since it was c…
2021-03-15 12:08:00 +00:00
Martin McKeaveney fc0be494a8 Merge branch 'master' of https://github.com/Budibase/budibase into integrations-tests 2021-03-15 11:55:01 +00:00
Keviin Åberg Kultalahti 4e85caa7b0 wip: work on routing in automation tab 2021-03-15 12:53:44 +01:00
Keviin Åberg Kultalahti de56953d70 changing between Internal/External now selects the first table/source in each tab 2021-03-15 11:38:43 +01:00
Keviin Åberg Kultalahti 3b4353bd6a now possible to navigate directly to a query 2021-03-15 11:09:09 +01:00
Keviin Åberg Kultalahti 4f0aed0378 data switcher now shows correct tab 2021-03-15 10:26:59 +01:00
Keviin Åberg Kultalahti 13bcde9062 now possible to navigate directly to a datasource 2021-03-15 10:18:23 +01:00
Maurits Lourens 43f62720bb 1240 - restore notification blocknotifications method, since it was called in the datasource 2021-03-15 09:00:05 +01:00
Martin McKeaveney bd6389851a v0.8.9 2021-03-14 18:13:13 +00:00
Martin McKeaveney 44412f7556 adding correct path delimiter for windows 2021-03-14 18:10:38 +00:00
Martin McKeaveney 872d8641cb make path windows friendly 2021-03-14 17:57:28 +00:00
mike12345567 799168c6b8 Adding in all the automation step tests, beginning work on the general automation tests. 2021-03-12 15:32:16 +00:00
Martin McKeaveney 7b8c9b1686 v0.8.8 2021-03-12 14:20:18 +00:00
Keviin Åberg Kultalahti 829affccea adds index page to datasource route 2021-03-12 14:28:24 +01:00
Keviin Åberg Kultalahti 586d5fbe3c adds success notification when saving api keys 2021-03-12 13:29:54 +01:00
Keviin Åberg Kultalahti 98d88bef23 moves click handler for deployment info to pill rather than icon 2021-03-12 13:23:51 +01:00
Martin McKeaveney 435bc20077 v0.8.7 2021-03-12 11:45:42 +00:00
Martin McKeaveney bca06a2d82 removing dud package 2021-03-12 11:43:07 +00:00
Martin McKeaveney 1b53b7da58 v0.8.6 2021-03-12 09:33:12 +00:00
Martin McKeaveney c31e04eb73 airtable tests 2021-03-12 09:29:27 +00:00
mike12345567 710b17b627 Removing dynamo client from coverage. 2021-03-11 18:36:36 +00:00
mike12345567 189a673c9c Testing some of the automation actions (still a few to complete) and adding quick test case for the self host stuff. 2021-03-11 18:29:48 +00:00
Martin McKeaveney 646ed4a7dd Merge branch 'master' into develop 2021-03-11 16:31:22 +00:00
Martin McKeaveney 81da22505d Merge pull request #1264 from Budibase/fix/colorpicker
Colorpicker bugs
2021-03-11 16:30:34 +00:00
Andrew Kingston 8820edd1bc Add clear icon to screen search field 2021-03-11 15:53:31 +00:00
Martin McKeaveney 31c0905ade merge 2021-03-11 15:28:43 +00:00
mike12345567 d66db07ba3 Merge branch 'master' of github.com:Budibase/budibase into tests/upping-coverage 2021-03-11 14:51:13 +00:00
Martin McKeaveney 6c6271faf2 Merge pull request #1271 from Budibase/develop
Develop
2021-03-11 13:11:47 +00:00
mike12345567 2617127bd6 Fixing an issue with tmp directory filling up with different test apps. 2021-03-11 12:09:47 +00:00
mike12345567 8f82b069d2 Removing unused require. 2021-03-10 18:46:52 +00:00
mike12345567 68735f1b4f Formatting. 2021-03-10 17:56:16 +00:00
mike12345567 163d24a767 Updating row tests, reducing console logging during tests for speed and clarity, testing some misc endpoints and updating search functionality to use a starts with operator when working with strings on rows. 2021-03-10 17:55:42 +00:00
Martin McKeaveney f69e06870b Merge pull request #1266 from Budibase/middleware-tests
Middleware tests
2021-03-10 15:28:11 +00:00
mike12345567 a6bde49ad3 Updating application tests to run a lot deeper, which required updating some other tests to account for creation of empty screens and layouts. 2021-03-10 12:56:30 +00:00
mike12345567 a48f1c72f2 Adding auth tests. 2021-03-10 12:20:07 +00:00
mike12345567 28329d7f6b Fixing issue with datasource find endpoint, removing un-used code and updating data source test. 2021-03-10 11:56:52 +00:00
mike12345567 dd16c84ecd Upping automation coverage by adding webhook testing and increasing screen coverage. 2021-03-10 11:47:39 +00:00
Martin McKeaveney 4b5a1d6177 allowing airtable query to send down the number of records you want from your table 2021-03-10 10:39:58 +00:00
Andrew Kingston 768b03fc8a Don't close folders when selecting a new screen 2021-03-10 10:35:49 +00:00
Andrew Kingston c8466bc1cf Ignore click actions when a screen search string exists 2021-03-10 10:35:16 +00:00
Andrew Kingston ff5aba19f7 Fix crash when searching screens and selecting layouts 2021-03-09 19:09:41 +00:00
Andrew Kingston d68ee14ed3 Add placeholder to screen search 2021-03-09 19:06:37 +00:00
Andrew Kingston e909ff584a Make screens searchable and make routes collapsible 2021-03-09 19:06:25 +00:00
Martin McKeaveney ca5ca7add9 finish authenticated tests 2021-03-09 17:31:52 +00:00
mike12345567 929db83e99 Upping user test cases to cover all of controller. 2021-03-09 17:09:18 +00:00
Martin McKeaveney 4d39cf5405 authenticated tests 2021-03-09 17:04:24 +00:00
mike12345567 d9151cca0a Adding test cases for backup and integration. 2021-03-09 16:28:41 +00:00
mike12345567 33fa31aae9 Adding test cases for component, templates and hosting as well as updating some existing test cases. 2021-03-09 16:07:44 +00:00
Martin McKeaveney 5dcc4f23c6 usageQuota tests 2021-03-09 15:13:14 +00:00
Martin McKeaveney c755df9f91 resourceId tests 2021-03-09 12:39:32 +00:00
mike12345567 6231c25ed5 Updating query test to include mocked preview/execute and adding layout tests. 2021-03-09 11:56:32 +00:00
Martin McKeaveney c4b3a7c884 refactor selfhost middleware tests to use TestConfiguration 2021-03-09 11:33:16 +00:00
Andrew Kingston 2444041018 Fix incorrect port used for CI cypress tests 2021-03-09 11:32:37 +00:00
Martin McKeaveney 05efe05061 tests for authorized middleware 2021-03-09 11:27:12 +00:00
Keviin Åberg Kultalahti e507c006e6 change default color of colorpicker 2021-03-09 09:32:53 +01:00
mike12345567 2bf227ab58 Adding API key tests. 2021-03-08 18:18:53 +00:00
mike12345567 c5cb40c1cf Adding a query find and planning to tackle mocking out the preview and execute functionality. 2021-03-08 18:03:26 +00:00
Keviin Åberg Kultalahti 11801fa1fc fixes colorpicker bugs 2021-03-08 17:05:42 +01:00
mike12345567 0652133a30 Some fixes after testing webhooks as well as adding test cases for all webhook endpoints. 2021-03-08 15:57:19 +00:00
Martin McKeaveney 1b1ed8a823 self hosted middleware test 2021-03-08 15:46:12 +00:00
mike12345567 701a479b2a Updating routing test cases. 2021-03-08 14:49:19 +00:00
Andrew Kingston 9f838e098f Add cypress test for deleting a component 2021-03-08 11:57:56 +00:00
Andrew Kingston 043f6c9275 Add tests for handlebars helper and fix curly brackets used in binding test 2021-03-08 11:25:24 +00:00
mike12345567 bd2a901f60 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-03-08 10:42:57 +00:00
mike12345567 9609c59368 Fixing an issue discovered where the relationshipType currently specifies the wrong cardinality, for now just flipping the way it is specified in the front end as this will accurately describe what the backend is performing. 2021-03-05 15:19:33 +00:00
Andrew Kingston 9fb40759d6 Refactor cypress to use common app creation functionality and stop cypress deleting all apps 2021-03-05 14:36:38 +00:00
Martin McKeaveney 1a9290b395 middleware tests 2021-03-05 14:13:43 +00:00
Andrew Kingston 5ce959a164 Revert default cypress port 2021-03-05 14:06:44 +00:00
Andrew Kingston b9760c6dbc Add cypress tests for data bindings and component creation 2021-03-05 13:52:26 +00:00
Michael Drury 1f03851f0d Merge pull request #1252 from Budibase/feature/test-refactor
Server test refactor
2021-03-05 13:43:18 +00:00
mike12345567 a9304bbcbd linting. 2021-03-05 12:55:52 +00:00
mike12345567 0878d692c2 Reducing the boilerplate needed around setting up a test case. 2021-03-05 12:11:44 +00:00
mike12345567 110ae15fb3 Some more quick modifications to test re-factor before PR. 2021-03-05 11:24:15 +00:00
Martin McKeaveney 9495e08b58 remove variable 2021-03-04 17:55:58 +00:00
Martin McKeaveney 39e2d78317 refactor view tests 2021-03-04 17:55:24 +00:00
mike12345567 242341e74f Moving comment. 2021-03-04 17:12:44 +00:00
mike12345567 10d5da6aab Small amount more user refactoring, removing use of couchTestUtils. 2021-03-04 17:06:33 +00:00
Martin McKeaveney ed0ee4fe60 Merge branch 'feature/test-refactor' of https://github.com/Budibase/budibase into feature/test-refactor 2021-03-04 16:54:50 +00:00
Martin McKeaveney 19b613d6e5 refactor user test 2021-03-04 16:54:44 +00:00
mike12345567 01f9981f11 Refactoring table testcases. 2021-03-04 14:36:59 +00:00
mike12345567 bd00138bed Refactoring row test cases. 2021-03-04 13:07:33 +00:00
mike12345567 317d6633a2 Refactoring to remove the use of the supertest, making this part of the test config. 2021-03-04 12:32:31 +00:00
mike12345567 68a5580fb9 Refactoring query tests. 2021-03-04 10:57:41 +00:00
mike12345567 54d12bd9e7 Switching out how headers are handled, and updating the permissions test. 2021-03-04 10:40:27 +00:00
mike12345567 5d3b110985 Refactoring data source test cases. 2021-03-04 10:05:50 +00:00
mike12345567 798d29e743 Re-writing automation tests. 2021-03-03 18:41:49 +00:00
mike12345567 6d9b8a6678 Initial work on test refactoring, laying the utilities down which will be the basis of new testing framework, interacting directly with the controllers. 2021-03-03 17:52:41 +00:00
Martin McKeaveney 7f38415967 v0.8.5 2021-03-03 17:46:36 +00:00
Martin McKeaveney a9ab12b999 v0.8.4 2021-03-03 17:05:18 +00:00
Martin McKeaveney 69a9e3135f Merge branch 'master' into develop 2021-03-03 16:00:10 +00:00
Martin McKeaveney c68c902d2c Merge pull request #1242 from Budibase/083bugfixes
fix space table name grid bug
2021-03-03 15:59:30 +00:00
Martin McKeaveney 2fbf64581e tidy up 2021-03-03 14:42:34 +00:00
Martin McKeaveney 274339d945 fix space table name grid bug 2021-03-03 13:51:53 +00:00
Kevin Åberg Kultalahti ef84e2abcb Merge pull request #1232 from Budibase/feature/standard-components-transitions
Adds transition setting in the design panel on container component
2021-03-03 13:12:48 +01:00
Michael Drury 2beba28700 Merge pull request #1241 from Budibase/feature/test-coverage
Feature/test coverage
2021-03-03 11:32:07 +00:00
mike12345567 fdaf2f580c PR comment from Marty, adding a bit more vertical breathing room around checkboxes of relationship type. 2021-03-03 10:41:40 +00:00
Andrew Kingston f20e5e28fd Merge pull request #1234 from Budibase/lab-day-cheeks
Useful features and fixes from lab day
2021-03-03 02:16:57 -08:00
Martin McKeaveney d4bbb731fc codecov GH action 2021-03-02 18:22:35 +00:00
mike12345567 37211e4e9d Updating server package to always generate coverage report but don't display as text. 2021-03-02 17:42:32 +00:00
mike12345567 68bb5d5062 Updating package.json to include an option for coverage, had to re-write some stuff to make sure that views were not getting coverage statements inserted (breaking things). 2021-03-02 17:13:11 +00:00
Keviin Åberg Kultalahti a15e6b0e25 lint fix 2021-03-02 14:26:37 +01:00
Keviin Åberg Kultalahti 92ad28a160 fix notification store timers 2021-03-02 14:19:44 +01:00
Keviin Åberg Kultalahti 4575285d5f fixes to transitions and adds default fade to screens 2021-03-02 13:37:54 +01:00
mike12345567 d93cfa73fd Updating with a suggestion from Andrew kingston, adding row/rows to sentences about one->many relationships so that singular/plural english makes sense. 2021-03-02 11:10:26 +00:00
mike12345567 0766e2fc40 Merge branch 'master' of github.com:Budibase/budibase into feature/one-many-relationship-changes 2021-03-02 09:59:52 +00:00
mike12345567 0627a2f13d Removing console log. 2021-03-01 18:10:28 +00:00
mike12345567 c9203dffd0 Merge branch 'master' of github.com:Budibase/budibase into budi-day/cli 2021-03-01 18:04:46 +00:00
mike12345567 43348c94ee Fixing major issue discovered by Cheeks, the tense of language was not correct. 2021-03-01 18:04:30 +00:00
mike12345567 e75e96891f Formatting. 2021-03-01 18:03:33 +00:00
mike12345567 7b90566769 Updating the properties panel to show the component type rather than name (no point in repeating) and some final styling changes to the one to many update. 2021-03-01 17:48:52 +00:00
mike12345567 0c8026c5ce First version, still playing around with styling. 2021-03-01 17:06:08 +00:00
Keviin Åberg Kultalahti 44342a094c remove unused code in routes 2021-03-01 17:49:29 +01:00
Keviin Åberg Kultalahti ff7c59ef27 remove unused code in settings and start components 2021-03-01 17:45:32 +01:00
Keviin Åberg Kultalahti 51b0656ba9 remove unused code in integration components 2021-03-01 17:42:34 +01:00
Keviin Åberg Kultalahti bae1a11c32 remove unused code in PropertiesPanel 2021-03-01 17:41:10 +01:00
Keviin Åberg Kultalahti 2a93a1fb26 remove unused code in NavigationPanel 2021-03-01 17:37:17 +01:00
Keviin Åberg Kultalahti a08684cd14 removes unused code in automation and backend sections 2021-03-01 17:34:27 +01:00
Keviin Åberg Kultalahti c37aefc0cf lint fix 2021-03-01 17:09:23 +01:00
Keviin Åberg Kultalahti 1bd32752a7 remove slide and scale transitions 2021-03-01 17:03:13 +01:00
Keviin Åberg Kultalahti 97213ec99a fix not being able to remove transition 2021-03-01 16:58:01 +01:00
Keviin Åberg Kultalahti 839ca7f8ba removes unneeded styles and html in Screen component 2021-03-01 16:56:28 +01:00
Keviin Åberg Kultalahti ba7cc5c479 screens can now select a transition rather than only use fade 2021-03-01 16:53:37 +01:00
Keviin Åberg Kultalahti cda7c7f4c1 moves the transition setting to the design panel 2021-03-01 16:46:05 +01:00
Andrew Kingston 5b00041fee Remove obsolete code from log out button action component 2021-03-01 14:56:30 +00:00
Andrew Kingston 78865ddef4 Add password field component 2021-03-01 14:13:11 +00:00
Andrew Kingston a3e959daa8 Add position option to background image 2021-03-01 14:05:54 +00:00
Kevin Åberg Kultalahti 2038e991c5 Merge pull request #1211 from Budibase/feat/automation-drawer-conversion
Convert the Automate popover to the Drawer component
2021-03-01 14:48:04 +01:00
Keviin Åberg Kultalahti 776c8849cb use bindableProperties instead of bindings in AUtomationBindingPanel 2021-03-01 14:22:17 +01:00
Keviin Åberg Kultalahti e9604ba967 remove unneeded things 2021-03-01 14:04:07 +01:00
Keviin Åberg Kultalahti 6122711ee8 minor changes to options 2021-03-01 13:24:57 +01:00
Keviin Åberg Kultalahti 0ce7da93a7 adds transition utility to the client sdk 2021-03-01 12:59:27 +01:00
Kevin Åberg Kultalahti bf1b249468 Merge pull request #1213 from Budibase/labday/dnd-actions
Adds drag and drop to the actions drawer
2021-03-01 09:12:25 +01:00
mike12345567 2e7410bc71 Linting. 2021-02-27 10:45:01 +00:00
mike12345567 2b11f8adfa Very minor change due to issue #1204 - wasn't allowing unauthenticated requests through. 2021-02-27 10:15:05 +00:00
mike12345567 9b33bbdb3a Formatting. 2021-02-26 17:09:20 +00:00
mike12345567 3669e59bc3 Updating for consistent use of chalk and logs, as well as adding an option to update docker-compose and envoy files. 2021-02-26 17:08:28 +00:00
Keviin Åberg Kultalahti 6bce9fa820 revert Automate block that accidently made it in to this PR 2021-02-26 17:46:18 +01:00
Keviin Åberg Kultalahti 3ffa648bda adds drag-and-drop to the action drawer 2021-02-26 17:11:14 +01:00
mike12345567 b22684163c Updating with pkg to make the CLI run anywhere easily. 2021-02-26 15:09:25 +00:00
Keviin Åberg Kultalahti a7b9945010 remove BindableInput and switch to DrawerBindableInput 2021-02-26 15:24:36 +01:00
Keviin Åberg Kultalahti cc35ac6e36 remove genericpopover component 2021-02-26 15:23:41 +01:00
Keviin Åberg Kultalahti 3923af7c34 final touches to get drawer working correctly in automations 2021-02-26 15:12:44 +01:00
Andrew Kingston e7f4b9c241 Center background image component 2021-02-26 14:04:44 +00:00
Andrew Kingston d27dff0261 Make user data source refreshable in client apps 2021-02-26 14:04:31 +00:00
Andrew Kingston a67a8fb957 Add log out button action 2021-02-26 14:04:12 +00:00
Keviin Åberg Kultalahti 16629903c1 bindings now show up correctly in the drawer 2021-02-26 14:53:51 +01:00
mike12345567 a2ce1be37a Finishing up init with config building rather than downloading. 2021-02-26 13:48:11 +00:00
Keviin Åberg Kultalahti 10972fafe2 remove unused things 2021-02-26 14:39:44 +01:00
mike12345567 333d7279ac Fixing issue with init. 2021-02-26 13:33:31 +00:00
mike12345567 ffa2c3459a Update to add init functionality. 2021-02-26 13:30:24 +00:00
Keviin Åberg Kultalahti 51b517a4be merge existing work from old branch 2021-02-26 14:27:54 +01:00
Keviin Åberg Kultalahti cbaaa0b201 adds DnD support ot the actions drawer 2021-02-26 14:21:05 +01:00
mike12345567 a9964971eb All the groundwork laid now, just need to implement the functionality for hosting. 2021-02-26 11:46:48 +00:00
mike12345567 acba31d29d Fixing an issue discovered by test case. 2021-02-26 10:19:06 +00:00
mike12345567 7427eb82c1 Merge branch 'master' of github.com:Budibase/budibase into bug/perms-fix 2021-02-26 10:06:24 +00:00
mike12345567 229498332e Two character change, some API calls with sub resources and primary resources weren't working, should allow either the sub resource or the main resource to trigger allowance. 2021-02-26 10:06:02 +00:00
Andrew Kingston 5ea2ad9010 Fix permissions when fetching enriched rows 2021-02-26 10:03:26 +00:00
Andrew Kingston 0988f27f15 Add external setting for links 2021-02-26 09:58:24 +00:00
Andrew Kingston 624ad79c95 Add background image component 2021-02-26 09:58:11 +00:00
Andrew Kingston dd0fee3dc3 Pull enriched user when logging in to client app so that relationships are available as bindings 2021-02-26 09:57:36 +00:00
Andrew Kingston ac46cbdb14 Add button action for login 2021-02-26 09:57:06 +00:00
Andrew Kingston 1b5ac74150 Fix crash when schema doesnt exist for a datasource 2021-02-26 09:55:38 +00:00
Martin McKeaveney ed09509555 default to dark mode 2021-02-25 20:44:16 +00:00
Martin McKeaveney a0456e86bd v0.8.3 2021-02-25 17:18:36 +00:00
mike12345567 3524eecd9b Merge branch 'master' of github.com:Budibase/budibase into budi-day/cli 2021-02-25 17:17:40 +00:00
mike12345567 78286ae514 Minor update to fix an issue when updating a row that it would throw an error with 1->to->many relationships on existing relationships for that row, as well as cleaning up how relationshipType is put onto the linked table. 2021-02-25 17:07:32 +00:00
Martin McKeaveney 779deddc5a v0.8.2 2021-02-25 16:39:52 +00:00
Martin McKeaveney c73c77448c bugfixes 2021-02-25 16:21:41 +00:00
Martin McKeaveney bf7bc51566 fix user creation relationships bug 2021-02-25 15:24:54 +00:00
mike12345567 51ed23d0a7 Updating link controller to manage existing column comparison a bit better. 2021-02-25 15:21:08 +00:00
mike12345567 e6c9b18304 More work in progress. 2021-02-25 14:42:50 +00:00
Martin McKeaveney e72057499a v0.8.1 2021-02-25 13:50:33 +00:00
Martin McKeaveney 595dc55f39 fixing 1:N UI order 2021-02-25 13:34:12 +00:00
Martin McKeaveney b4996ccb4d v0.8.0 2021-02-25 12:49:03 +00:00
mike12345567 cd36739c23 Merge branch 'master' of github.com:Budibase/budibase into bug/relationship-display-id 2021-02-25 12:36:16 +00:00
Martin McKeaveney fbbeb19724 adding many to many constant 2021-02-25 12:23:47 +00:00
Martin McKeaveney 2d75bc750b relationship type constant 2021-02-25 12:21:24 +00:00
mike12345567 429811ec8b Wrapping throws in new errors. 2021-02-25 12:10:18 +00:00
mike12345567 a311002632 Found some issues with relationship columns being doubled up, this isn't validated client side, best to make sure it doesn't happen server-side (can really break your data structure if columns overwrite each other). 2021-02-25 12:06:13 +00:00
Martin McKeaveney 89350c91d1 refactor 2021-02-25 11:59:31 +00:00
Martin McKeaveney bcaed4f4e4 Server side data integrity for 1:N 2021-02-25 11:55:23 +00:00
Andrew Kingston 8d496a49b4 Update backend linked row selector to support new relationship object 2021-02-25 11:34:35 +00:00
Andrew Kingston c3a74c5006 Update picker to use null as default placeholder value 2021-02-25 11:34:11 +00:00
Andrew Kingston edf19c8869 Merge branch 'bug/relationship-display-id' of github.com:Budibase/budibase into bug/relationship-display-id 2021-02-25 11:27:36 +00:00
mike12345567 641fd42686 Fixing coercion of null to empty string for options fields. 2021-02-25 11:26:28 +00:00
Andrew Kingston fcdbbe2634 Merge branch 'bug/relationship-display-id' of github.com:Budibase/budibase into bug/relationship-display-id 2021-02-25 11:16:08 +00:00
mike12345567 468ee7ac0c Fixing an issue with option fields not being unselectable. 2021-02-25 11:09:00 +00:00
Andrew Kingston bd5bac4ef2 Add support for new relationship objects in client app bindings 2021-02-25 11:06:46 +00:00
Andrew Kingston aab74cce1a Add support for new relationship objects in client apps 2021-02-25 11:06:16 +00:00
Andrew Kingston bf384697d3 Add support for new relationship object in backend table 2021-02-25 11:05:46 +00:00
Martin McKeaveney 19fb11e69d 1-n-data-integrity 2021-02-25 11:05:15 +00:00
Andrew Kingston d18a7ff294 Merge branch 'master' into bug/relationship-display-id 2021-02-25 10:24:54 +00:00
mike12345567 91878ed2ce Having the server send out _id and primaryDisplay in an object for relationships, also accepting objects and coercing them on way in. 2021-02-25 09:41:04 +00:00
Andrew Kingston 8e0aaf0daa Remove front end validation on password when editing users 2021-02-25 09:11:56 +00:00
Martin McKeaveney ed6a77a55d mysql key length 2021-02-24 21:58:38 +00:00
Martin McKeaveney 18429c5e78 Merge branch 'master' of https://github.com/Budibase/budibase into develop 2021-02-24 21:57:50 +00:00
Martin McKeaveney c4214bd193 Merge pull request #1185 from Budibase/mysql-ssl
Mysql ssl
2021-02-24 20:33:35 +00:00
Martin McKeaveney 4223078a68 fix undefined 1:N dropdown selection 2021-02-24 19:05:17 +00:00
mike12345567 73636d8f78 Copying the table on way in so that after function call the input table can be copied to output table to decide whether to save. 2021-02-24 17:59:55 +00:00
Martin McKeaveney 73b6995a57 prevent null being appended to binding box 2021-02-24 17:56:14 +00:00
mike12345567 a854fb2638 Adding CLI package gitignore. 2021-02-24 17:35:02 +00:00
mike12345567 a239c5a4ec Removing node_modules from CLI. 2021-02-24 17:34:48 +00:00
mike12345567 e14094b1f1 Ground work for CLI. 2021-02-24 17:32:45 +00:00
mike12345567 a69cc49501 Updating group by functionality, so that relationships aren't an option. 2021-02-24 17:21:53 +00:00
mike12345567 d16015587f Fixing an issue where the table that a view was attached to was not being retrieved correctly, inhibiting the ability to enrich with relationships. 2021-02-24 16:55:06 +00:00
Martin McKeaveney a17a1fb07b SSL config for mysql, remove rickroll 2021-02-24 16:31:47 +00:00
mike12345567 9cd7c24a6a Formatting. 2021-02-24 15:34:52 +00:00
mike12345567 aed2e2c49a Fixing some CSS bugs in the automation bindings popover. 2021-02-24 15:34:31 +00:00
Martin McKeaveney ef069f9a1c merge 2021-02-24 14:46:26 +00:00
mike12345567 fdda55837f Formatting. 2021-02-24 14:03:10 +00:00
mike12345567 8f9ea1cd8a Minor change, making sure each link is definitely unique by combining each of its three unique properties into a uniqueness hash, was missing one of the components. 2021-02-24 13:55:48 +00:00
Martin McKeaveney 8ec09262a5 Merge pull request #1173 from Budibase/martin-bugfixes
Martin bugfixes
2021-02-24 13:14:55 +00:00
Martin McKeaveney 24945b860d show all query types in form component 2021-02-24 11:57:53 +00:00
Kevin Åberg Kultalahti b8cdc113a1 Merge pull request #1168 from Budibase/fix/budi-day-bug-list
Fix/dot notation grid fix
2021-02-24 12:54:29 +01:00
Michael Drury 2ac101630b Updating packages in builder and server, making build work in Windows. 2021-02-24 10:56:12 +00:00
mike12345567 90f9be36dd Using cross-env instead of pure environment variable specification to make it work on windows. 2021-02-24 10:13:16 +00:00
Keviin Åberg Kultalahti 532f29355e Revert "work on converting popover to drawer"
This reverts commit 082c238b57.
2021-02-24 10:33:54 +01:00
Martin McKeaveney 5a24ad3860 case insensitive regex for app names 2021-02-23 18:37:37 +00:00
mike12345567 704728cc3b removing use of optional chaining and just checking for status. 2021-02-23 17:13:46 +00:00
mike12345567 16228b8028 Fixing a minor issue, making sure only trying to add displayFieldColumn when the app has that column (older ones may not yet). 2021-02-23 17:08:35 +00:00
mike12345567 b9439affc0 Adding check to see if analytics is disabled completely (in dev). 2021-02-23 16:50:41 +00:00