Commit Graph

4492 Commits

Author SHA1 Message Date
mike12345567 b70ff24dac Some further work to make sure all use of the budibaseAppsDir is removed in important places. 2021-03-25 18:03:58 +00:00
Andrew Kingston dd54bc9771 Add onclick handler to icons 2021-03-25 16:18:19 +00:00
Andrew Kingston f17e2478e2 Fix crash generating bindable properties for an empty data provider ID 2021-03-25 16:17:56 +00:00
mike12345567 f7d14a8110 Quick change to make sure the client lib always served correctly in test. 2021-03-25 16:08:09 +00:00
mike12345567 8d23152562 Attempting to solve component library issue permanently in test. 2021-03-25 15:19:41 +00:00
Andrew Kingston 3c67e4806e Enable table to know when invalid column names have been passed 2021-03-25 14:48:28 +00:00
mike12345567 d5154a1ed9 Some cleanup fixes for tests that makes sure temp directory isn't getting out of control. 2021-03-25 14:46:32 +00:00
Andrew Kingston f84302ed89 Add virtual rendering to table to increase performance and remove grid component 2021-03-25 14:40:29 +00:00
mike12345567 6919057320 Fixing cypress test issues. 2021-03-25 13:32:05 +00:00
mike12345567 ed01d2463e Updating system for hosting error that blocked creating apps when server not configured correctly. 2021-03-25 12:53:43 +00:00
mike12345567 8a577b81f6 Fixing an issue with a test case, was going down dev path. 2021-03-25 11:41:41 +00:00
Andrew Kingston 4b4288d982 Change table truncation text to be agnostic of plural case 2021-03-25 09:47:52 +00:00
Andrew Kingston 3c7aa63f51 Add smart trunctation to all table cell types 2021-03-25 09:45:23 +00:00
Andrew Kingston 950b022798 Add table cell max width and support text truncation 2021-03-25 09:37:14 +00:00
Andrew Kingston 2f52f31ae4 Add quiet table setting and improve table borders 2021-03-25 09:10:21 +00:00
Andrew Kingston 27c3be9d7e Fix table scrollbars affecting height calculation 2021-03-25 08:15:13 +00:00
Andrew Kingston 48c3b3a58d Ensure schema provided by DataProvider has name properties for all fields 2021-03-25 08:14:53 +00:00
Andrew Kingston b6a202f54f Allow table to take children 2021-03-25 08:02:41 +00:00
Martin McKeaveney 5a23cc2cc2 cypress tests passing 2021-03-24 21:15:14 +00:00
Martin McKeaveney 4d141d8ba8 merge 2021-03-24 20:44:52 +00:00
Andrew Kingston 47ee98f839 Remove tab selection state from tables 2021-03-24 19:20:59 +00:00
Andrew Kingston b9c8214476 Improve table column sorting to put auto cols last 2021-03-24 19:13:38 +00:00
Andrew Kingston 19c659fa16 Add setting for table row count and improve height calculation 2021-03-24 19:06:02 +00:00
Andrew Kingston c619b8f39e Make table responsive and vertically and horizontally scrollable 2021-03-24 18:46:12 +00:00
Andrew Kingston cb6a3481f0 Increase table attachment preview heights 2021-03-24 18:45:55 +00:00
mike12345567 e58d689ca0 Formatting. 2021-03-24 18:31:53 +00:00
mike12345567 c91f21f8e2 Fixing an issue with attachments. 2021-03-24 18:31:13 +00:00
mike12345567 d66af9f151 Getting rid of the CLOUD environment variable, this makes no sense anymore, now there is isDev() and isProd() which will work out the current state of the cluster. 2021-03-24 18:21:23 +00:00
Andrew Kingston ae6a762812 Add attachment handling to tables 2021-03-24 16:29:28 +00:00
Andrew Kingston e9bfdabcdd Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-03-24 15:52:05 +00:00
Andrew Kingston 6bc622a857 Add initial version of new spectrum table component 2021-03-24 15:51:57 +00:00
Martin McKeaveney 11f13950e9 make cypress use leveldb 2021-03-24 15:36:13 +00:00
mike12345567 ff993db223 Adding a self host clause around minio aws config. 2021-03-24 12:55:29 +00:00
mike12345567 9c0a4ab4fb Some changes after testing, needed to update object store client creation. 2021-03-24 12:54:59 +00:00
mike12345567 9708957646 Changing some code coverage settings. 2021-03-23 18:07:46 +00:00
mike12345567 7a47f96210 Removing test case that didn't make sense anymore. 2021-03-23 18:06:36 +00:00
mike12345567 1a878c3e08 Fixing some test cases that were affected by file system refactor. 2021-03-23 18:04:53 +00:00
mike12345567 34918013cb Main work of file system refactor now complete, ready to test more fully - most test cases passing, need to look through them more thoroughly and make sure everything still makes sense. 2021-03-23 17:54:02 +00:00
mike12345567 00344b3b39 Some changes to how environment is loaded to make the init process by default flesh out some good settings. 2021-03-23 15:37:11 +00:00
Andrew Kingston 14a4545874 Update cypress tests 2021-03-23 13:31:56 +00:00
Keviin Åberg Kultalahti a40a13af93 remove backendUiStore imports 2021-03-23 14:01:28 +01:00
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
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
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