1
0
Fork 0
mirror of synced 2024-08-05 05:11:43 +12:00
Commit graph

4803 commits

Author SHA1 Message Date
Andrew Kingston
41fb64aa04 Properly dedupe svelte to allow context sharing 2021-04-01 19:41:54 +01:00
Andrew Kingston
a858dd72c2 Ignore some client lib warnings 2021-04-01 19:25:56 +01:00
Andrew Kingston
52a93f9dd7 Add missing alt tag to dropzone image 2021-04-01 19:21:12 +01:00
Andrew Kingston
e3cee769f4 Remove old code from container 2021-04-01 19:19:14 +01:00
Andrew Kingston
65fe57ee23 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 19:10:07 +01:00
Andrew Kingston
eff0313e4e Update locks 2021-04-01 19:07:06 +01:00
Andrew Kingston
810400d760 Add missing file from update 2021-04-01 18:01:36 +01:00
Andrew Kingston
230e9ed988 Update to support new backend table structure 2021-04-01 18:00:46 +01:00
Andrew Kingston
66ef52bf73 Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-04-01 17:58:10 +01:00
Andrew Kingston
9f276cb183 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 17:07:56 +01:00
Andrew Kingston
249f58c3b4 Add standard components yarn.lock 2021-04-01 17:07:43 +01:00
mike12345567
be41ff0064 Adding back server lock file. 2021-04-01 17:07:31 +01:00
Andrew Kingston
43b13a9cba Add builder yarn.lock 2021-04-01 17:06:48 +01:00
mike12345567
e9e01f00cc Fixing issue with node modules path. 2021-04-01 16:36:27 +01:00
mike12345567
07c4d519f6 Fixing an issue with server still expecting tmp directory to be created externally and updating component library to not cache with require in dev. 2021-04-01 16:28:51 +01:00
mike12345567
b25cd7a23f Fixing node modules path. 2021-04-01 16:22:44 +01:00
mike12345567
fa269eb043 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 16:20:06 +01:00
mike12345567
e2c5051467 Updating standard components to make use of the development version in node_modules. 2021-04-01 16:19:31 +01:00
Andrew Kingston
a77ed6d545 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 16:09:37 +01:00
Andrew Kingston
8241dbcd58 Fix string-templates and client buindling for ESM 2021-04-01 16:09:16 +01:00
mike12345567
73e97e50f4 Updating some route middleware security. 2021-04-01 14:38:31 +01:00
mike12345567
e2bae54b97 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 14:12:30 +01:00
mike12345567
3672188f4e Some refactoring of utilities and constants, as well as documenting work carried out here. 2021-04-01 14:11:58 +01:00
Andrew Kingston
dab183cc8a Use server-provided client lib URL in iframe preview 2021-04-01 14:10:49 +01:00
Andrew Kingston
5ebb31e472 Fix syntax error in BBUI package.json 2021-04-01 13:53:21 +01:00
Andrew Kingston
1726bd0b79 Remove dev script from BBUI as it is bundled from other packages in the dev stack now 2021-04-01 13:52:52 +01:00
Andrew Kingston
557a26c18c Fix BBUI rollup 2021-04-01 13:52:06 +01:00
Andrew Kingston
ecf15f9207 Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 13:51:48 +01:00
Andrew Kingston
808a30fa07 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 13:44:18 +01:00
Andrew Kingston
db2a710168 Improve cross-package bundling 2021-04-01 13:44:14 +01:00
Keviin Åberg Kultalahti
d62c4bef95 adds sorting to cypress views test 2021-04-01 14:28:38 +02:00
Keviin Åberg Kultalahti
9c0186debb adds some more waits to the cypress views tests 2021-04-01 14:10:58 +02:00
Keviin Åberg Kultalahti
f67a64e74b bump wait times in cypress views test 2021-04-01 13:56:27 +02:00
mike12345567
8ea12c30a6 Updating how the client library is served in development. 2021-04-01 12:48:38 +01:00
Keviin Åberg Kultalahti
28666a7a81 Merge branch 'next' into feat/store-tests 2021-04-01 13:33:05 +02:00
Keviin Åberg Kultalahti
4f8c89f5dc update yarn.lock file 2021-04-01 13:13:59 +02:00
mike12345567
d2bdb439ef Updating dev server rendered svelte app client link. 2021-04-01 12:08:47 +01:00
mike12345567
bdb751a8ff Adding a nuke stack option at top of repo and then setting up proxy for dev experience through envoy. 2021-04-01 12:02:31 +01:00
Keviin Åberg Kultalahti
1c29edb830 lint fixes 2021-04-01 12:55:09 +02:00
Andrew Kingston
6a4c981b60 Update URLs for fetching component libraries to be under api route 2021-04-01 11:49:57 +01:00
Keviin Åberg Kultalahti
2e13c5f10e re-arrange tables store saveField method 2021-04-01 12:45:06 +02:00
Keviin Åberg Kultalahti
7c6fc51e80 removes unneeded wait in view cypress test 2021-04-01 11:59:56 +02:00
Andrew Kingston
f2a898147f Update builder to hit port 1000 2021-04-01 10:59:15 +01:00
Keviin Åberg Kultalahti
92fde68965 fixes views store 2021-04-01 11:53:22 +02:00
Andrew Kingston
677c3e0e86 Fix merge conflict 2021-04-01 10:33:51 +01:00
Andrew Kingston
46745a757a Update to support new stores 2021-04-01 10:29:47 +01:00
Keviin Åberg Kultalahti
adab566c9d increase wait times in cypress tests 2021-04-01 11:08:58 +02:00
Andrew Kingston
23641a5d56 Update URLs to use builder instead of _builder 2021-04-01 10:06:22 +01:00
Keviin Åberg Kultalahti
7d436fea70 add back packages that were accidently removed 2021-04-01 10:48:11 +02:00
Andrew Kingston
d945d76e59 Merge branch 'feat/store-tests' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 09:42:56 +01:00
Keviin Åberg Kultalahti
9d6fc5ecbe adds string-templates to trasnformIgnorePatterns 2021-04-01 10:40:49 +02:00
Keviin Åberg Kultalahti
0a38b963e8 version bumps 2021-04-01 10:12:36 +02:00
Andrew Kingston
d4cc872b5c Merge branch 'feat/store-tests' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 09:12:16 +01:00
Keviin Åberg Kultalahti
d803aa0bd7 adds back babel-jest 2021-04-01 09:26:36 +02:00
Keviin Åberg Kultalahti
214243fc22 lint fix 2021-04-01 08:40:30 +02:00
Andrew Kingston
72590acc18 Import image assets as needed to allow proper bundling 2021-03-31 19:58:30 +01:00
Andrew Kingston
2fb3a30e57 Update gitignore in server 2021-03-31 19:58:08 +01:00
Andrew Kingston
e7b65719d5 Ignore builder files inside server 2021-03-31 19:57:48 +01:00
Andrew Kingston
96e8dfc68f Support serving vite-bundled builder from server 2021-03-31 19:55:55 +01:00
Andrew Kingston
7d0641746b Export package.json from string-templates repo 2021-03-31 19:55:35 +01:00
Andrew Kingston
cc2d59f564 Remove hardcoded builder assets in server 2021-03-31 19:55:21 +01:00
Andrew Kingston
6785fd9b5a Prefix builder URLs with 'builder' in both routify and vite to lay groundwork for server proxying 2021-03-31 19:27:52 +01:00
Andrew Kingston
ecd55f6c27 Adjust iframe builder preview to prevent requirement of rollup-plugin-html 2021-03-31 19:12:56 +01:00
Andrew Kingston
cf6c15170b Prune builder dependencies 2021-03-31 19:12:28 +01:00
Andrew Kingston
6dae8a83ec Update string-templates to use a better node polyfill rollup plugin 2021-03-31 19:07:09 +01:00
Andrew Kingston
aa450c08b4 Fix issue with polyfilling node globals 2021-03-31 18:49:53 +01:00
Martin McKeaveney
7720b13676
Merge pull request #1341 from Budibase/cli-analytics
Cli analytics
2021-03-31 16:27:56 +01:00
Andrew Kingston
583faba9da Add BBUI to monorepo and use vite for builder, client lib and standard components 2021-03-31 16:14:56 +01:00
Keviin Åberg Kultalahti
958cae212d fix templates not being passed correct param 2021-03-31 14:23:58 +02:00
Keviin Åberg Kultalahti
dc0f04c43a fix merge regression 2021-03-31 13:48:30 +02:00
Andrew Kingston
3ec4d67852 Merge branch 'datasource-refactor' of github.com:Budibase/budibase into spectrum-bbui 2021-03-31 11:11:01 +01:00
Andrew Kingston
02b8b68bc7 Add BBUI package to monorepo 2021-03-31 10:59:07 +01:00
Keviin Åberg Kultalahti
c729b8654b merge next 2021-03-31 11:26:44 +02:00
Keviin Åberg Kultalahti
1f7bd5d387 wip: views store tests 2021-03-30 18:10:58 +02:00
Keviin Åberg Kultalahti
53bff4a4d9 adds tables store tests 2021-03-30 15:37:53 +02:00
Martin McKeaveney
5f2a18c2b2 lint 2021-03-30 11:50:49 +01:00
Martin McKeaveney
578c63c9df adding distinct CLI id to hosting 2021-03-30 11:04:13 +01:00
Martin McKeaveney
d0b5986266 tidy up 2021-03-30 10:51:37 +01:00
Martin McKeaveney
b5c32f8488 adding abstraction for config manager 2021-03-30 10:50:42 +01:00
Keviin Åberg Kultalahti
7bb01a152c adds an init method to the tables store 2021-03-30 11:32:01 +02:00
Keviin Åberg Kultalahti
e83cebde03 fix last roles store test 2021-03-30 10:49:42 +02:00
Andrew Kingston
95c363727d Remove unecessary escape in regex 2021-03-29 18:21:57 +01:00
Martin McKeaveney
865a9673ba analytics client 2021-03-29 17:40:17 +01:00
Keviin Åberg Kultalahti
32e493921b wip: roles store test 2021-03-29 18:23:53 +02:00
Keviin Åberg Kultalahti
996e4bf9b1 update query store 2021-03-29 17:52:38 +02:00
Keviin Åberg Kultalahti
5b5f2c835d fix last query test 2021-03-29 17:50:12 +02:00
Keviin Åberg Kultalahti
d1b7620215 fixes queries and datasource tests 2021-03-29 17:45:18 +02:00
Andrew Kingston
d26c20df31 Update search component to work with new data bindings. Simplify manifest context entries for data bindings 2021-03-29 16:37:17 +01:00
Andrew Kingston
88ae09a553 Remove deprecated dataProvider setting from manifest 2021-03-29 16:22:43 +01:00
Andrew Kingston
8457e1743c Add correct height placeholder for tables to avoid jarring page resizing when loading data 2021-03-29 16:05:32 +01:00
Andrew Kingston
9012df0b90 Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-03-29 15:40:35 +01:00
Andrew Kingston
6b6debf6f9 Reorder table settings to put column selection last 2021-03-29 15:36:26 +01:00
Andrew Kingston
0c4687c502 Fix form picker component styling 2021-03-29 15:34:18 +01:00
Andrew Kingston
9b3a6a9c4d Disable table checkbox 2021-03-29 15:29:13 +01:00
Keviin Åberg Kultalahti
b90e37ba64 fix datasource test 2021-03-29 16:23:58 +02:00
Keviin Åberg Kultalahti
22937117fd wip: queries store tests 2021-03-29 14:57:01 +02:00
Keviin Åberg Kultalahti
ab0ce42245 adds test for permissions store 2021-03-29 13:16:41 +02:00
Keviin Åberg Kultalahti
29a032d908 finishes datasources stores 2021-03-29 12:54:41 +02:00
Keviin Åberg Kultalahti
7e56446395 adds fetch and delete tests to datasources store 2021-03-29 12:03:34 +02:00
mike12345567
357cd8cfbd Quick change after reviewing. 2021-03-26 14:46:29 +00:00
Keviin Åberg Kultalahti
ed2d541a77 add some temporary testing files 2021-03-26 15:43:55 +01:00
mike12345567
3916b9a29a Some minor updates to make search test cases pass. 2021-03-26 14:11:24 +00:00
mike12345567
d9808b2fd7 Minor change to make sure next button only displayed when relevant. 2021-03-26 13:49:03 +00:00
mike12345567
659874c9ee Some final changes to search system so that the new indexing system is used instead of mango to achieve exactly the same result. 2021-03-26 13:46:20 +00:00
Keviin Åberg Kultalahti
0586d62878 bump jest 2021-03-26 09:51:28 +01:00
Keviin Åberg Kultalahti
a14d991e81 moves backend stores to "stores" in the root src directory 2021-03-26 09:50:37 +01:00
mike12345567
a5fd8d0e33 Rewriting search to use the new couchdb 3.0 search functionality. 2021-03-25 23:42:50 +00:00
mike12345567
8ae0e6bf15 Merge branch 'feature/fs-removal' of github.com:Budibase/budibase into lab-day/lucene 2021-03-25 21:56:18 +00:00
mike12345567
d459de1ae1 Fixing an issue with bucket creation, sometimes many calls will be made at once for checking bucket exists, just manage this by storing the state of promise. 2021-03-25 19:22:08 +00:00
mike12345567
03ef141297 Creating CouchDB 3.0 indexes. 2021-03-25 19:12:17 +00:00
mike12345567
dfa2881f1c Initialising CouchDB link to lucene and app design DBs for it. 2021-03-25 18:04:44 +00:00
mike12345567
321d3cbd5d 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
9fddf13be5 Add onclick handler to icons 2021-03-25 16:18:19 +00:00
Andrew Kingston
a242d19f28 Fix crash generating bindable properties for an empty data provider ID 2021-03-25 16:17:56 +00:00
mike12345567
f16fe2d8d2 Quick change to make sure the client lib always served correctly in test. 2021-03-25 16:08:09 +00:00
mike12345567
e9ceff42d5 Attempting to solve component library issue permanently in test. 2021-03-25 15:19:41 +00:00
Andrew Kingston
6442177f72 Enable table to know when invalid column names have been passed 2021-03-25 14:48:28 +00:00
mike12345567
1cf0027c6e 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
892bbcd07a Add virtual rendering to table to increase performance and remove grid component 2021-03-25 14:40:29 +00:00
mike12345567
7c2ef4d43f Fixing cypress test issues. 2021-03-25 13:32:05 +00:00
mike12345567
3bef238d55 Updating system for hosting error that blocked creating apps when server not configured correctly. 2021-03-25 12:53:43 +00:00
mike12345567
1de09689b5 Fixing an issue with a test case, was going down dev path. 2021-03-25 11:41:41 +00:00
Andrew Kingston
16ce2d4a07 Change table truncation text to be agnostic of plural case 2021-03-25 09:47:52 +00:00
Andrew Kingston
604d02cb4e Add smart trunctation to all table cell types 2021-03-25 09:45:23 +00:00
Andrew Kingston
c95baec83f Add table cell max width and support text truncation 2021-03-25 09:37:14 +00:00
Andrew Kingston
e815996b8f Add quiet table setting and improve table borders 2021-03-25 09:10:21 +00:00
Andrew Kingston
85ebf41e74 Fix table scrollbars affecting height calculation 2021-03-25 08:15:13 +00:00
Andrew Kingston
0a50c7bf86 Ensure schema provided by DataProvider has name properties for all fields 2021-03-25 08:14:53 +00:00
Andrew Kingston
7c79e52360 Allow table to take children 2021-03-25 08:02:41 +00:00
Martin McKeaveney
bf7031467d cypress tests passing 2021-03-24 21:15:14 +00:00
Martin McKeaveney
f4c7455936 merge 2021-03-24 20:44:52 +00:00
Andrew Kingston
9dc337dfec Remove tab selection state from tables 2021-03-24 19:20:59 +00:00
Andrew Kingston
63fb0b5b5d Improve table column sorting to put auto cols last 2021-03-24 19:13:38 +00:00
Andrew Kingston
124ff6b089 Add setting for table row count and improve height calculation 2021-03-24 19:06:02 +00:00
Andrew Kingston
bc562ffd6b Make table responsive and vertically and horizontally scrollable 2021-03-24 18:46:12 +00:00
Andrew Kingston
22fb849ad2 Increase table attachment preview heights 2021-03-24 18:45:55 +00:00
mike12345567
7e232502d8 Formatting. 2021-03-24 18:31:53 +00:00
mike12345567
775ae3171f Fixing an issue with attachments. 2021-03-24 18:31:13 +00:00
mike12345567
73cf53d149 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
c70b69577a Add attachment handling to tables 2021-03-24 16:29:28 +00:00
Andrew Kingston
2cfc30ad2f Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-03-24 15:52:05 +00:00
Andrew Kingston
6457751367 Add initial version of new spectrum table component 2021-03-24 15:51:57 +00:00
Martin McKeaveney
679da60b1c make cypress use leveldb 2021-03-24 15:36:13 +00:00
mike12345567
e9ed014bac Adding a self host clause around minio aws config. 2021-03-24 12:55:29 +00:00
mike12345567
e61a365d24 Some changes after testing, needed to update object store client creation. 2021-03-24 12:54:59 +00:00
mike12345567
f842607dbb Changing some code coverage settings. 2021-03-23 18:07:46 +00:00
mike12345567
e9ee49cce1 Removing test case that didn't make sense anymore. 2021-03-23 18:06:36 +00:00
mike12345567
e715423544 Fixing some test cases that were affected by file system refactor. 2021-03-23 18:04:53 +00:00
mike12345567
19b5b41953 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
d7497aa989 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
543b5bb3fd Update cypress tests 2021-03-23 13:31:56 +00:00
Keviin Åberg Kultalahti
3b6d0a4035 remove backendUiStore imports 2021-03-23 14:01:28 +01:00
Keviin Åberg Kultalahti
3cd67b0237 remove backendUiStore 2021-03-23 13:42:03 +01:00
Keviin Åberg Kultalahti
182292c9a3 remove logs 2021-03-23 13:39:18 +01:00
Keviin Åberg Kultalahti
087731600e remove console log 2021-03-23 13:35:31 +01:00
Keviin Åberg Kultalahti
976d8b3b54 lint fix 2021-03-23 13:31:18 +01:00
Keviin Åberg Kultalahti
8f0324bd53 move rows to it's separate store 2021-03-23 13:27:45 +01:00
Keviin Åberg Kultalahti
977da343f8 table route fix 2021-03-23 13:27:16 +01:00
Keviin Åberg Kultalahti
5ed5da2cee extract save function in tables store 2021-03-23 13:19:34 +01:00
Keviin Åberg Kultalahti
6afd886755 extract out select and fetch methods in tables store 2021-03-23 13:06:04 +01:00
Keviin Åberg Kultalahti
4eb0a505bd fix tables not showing up 2021-03-23 13:05:22 +01:00
Keviin Åberg Kultalahti
b8f6eb2afb fix datasource select issue 2021-03-23 13:04:54 +01:00
Keviin Åberg Kultalahti
5d30950421 fix databindings 2021-03-23 12:48:54 +01:00
Keviin Åberg Kultalahti
e758fff34a wip: cleanup of components 2021-03-23 12:27:10 +01:00
Keviin Åberg Kultalahti
4244185b53 remove unused stuff in backendUiStore 2021-03-23 12:19:10 +01:00
Keviin Åberg Kultalahti
b4f5522a5e wip: converts components to use separate stores 2021-03-23 12:16:54 +01:00
Keviin Åberg Kultalahti
ac335e4301 split out views to separate store 2021-03-23 12:04:11 +01:00
Keviin Åberg Kultalahti
2d1683c785 update tables select method 2021-03-23 12:04:01 +01:00
Martin McKeaveney
afaa706e07 simplify try catch in manage script 2021-03-23 11:01:33 +00:00
Keviin Åberg Kultalahti
54b99d6d4b move tables to separate store 2021-03-23 11:54:03 +01:00
Keviin Åberg Kultalahti
ba61442531 remove log 2021-03-23 10:57:34 +01:00
Keviin Åberg Kultalahti
c28bfff0ec fixes issues with queries not getting selected correctly 2021-03-23 10:56:53 +01:00
Martin McKeaveney
555e6386a7 better wording and tidy up of init script 2021-03-22 19:35:29 +00:00
Andrew Kingston
b24760f613 Fix automatic generation of form field group schemas 2021-03-22 18:07:11 +00:00
mike12345567
091782389a 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
d7c4fab4a5 Remove RowDetail component 2021-03-22 18:04:40 +00:00
Andrew Kingston
e16a28fcd2 Don't add _id and _rev fields to form schemas 2021-03-22 17:59:54 +00:00
Andrew Kingston
2d6bc0c998 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
71103bd601 add docker-compose dep to package.json 2021-03-22 17:29:27 +00:00
mike12345567
35e3999b05 Merge branch 'single-stack-dev' of github.com:Budibase/budibase into feature/fs-removal 2021-03-22 17:20:07 +00:00
mike12345567
0f05568412 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
b5bbfa3d93 ignoring dev env 2021-03-22 17:17:31 +00:00
Martin McKeaveney
50b0759642 tidy up 2021-03-22 17:15:34 +00:00
Martin McKeaveney
9e28ddf3c1 single stack dev setup complete 2021-03-22 17:05:00 +00:00
mike12345567
94fa07bd18 Removing FS from templates. 2021-03-22 16:39:57 +00:00
mike12345567
bf2adb0458 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
f7f385937c redis, tidy ups 2021-03-22 16:18:29 +00:00
Martin McKeaveney
2852a739a4 basic single stack dev setup 2021-03-22 15:43:26 +00:00
Keviin Åberg Kultalahti
948ba63a69 fixes and splits out database to it's separate store 2021-03-22 16:33:08 +01:00
Keviin Åberg Kultalahti
5a4ea4ebf2 moves queries part of backendstore to separate store 2021-03-22 14:47:21 +01:00
Keviin Åberg Kultalahti
25b45ba42c moves integrations part of backendstore to separate store 2021-03-22 13:23:36 +01:00
Andrew Kingston
a3d57b3f82 Update row detail autoscreen to use new data provider and safe bindings 2021-03-22 12:11:29 +00:00
Andrew Kingston
d88c91c11a Update data provider select to use safe binding options 2021-03-22 12:11:12 +00:00
Andrew Kingston
2d713bed81 Update bindings to always ensure they are safely escaped 2021-03-22 12:10:43 +00:00
Keviin Åberg Kultalahti
cc302e0909 fixes permissions problem 2021-03-22 12:57:42 +01:00
Andrew Kingston
135cee8689 Update new row autoscreen to handle new SaveRow button action 2021-03-22 11:42:53 +00:00
Andrew Kingston
96e59e6149 Update list autoscreen to use new data provider 2021-03-22 11:29:26 +00:00
Keviin Åberg Kultalahti
a85b9f5895 moves the datasources store to it's separate store 2021-03-22 12:02:55 +01:00
Keviin Åberg Kultalahti
1d64f2149a moves roles in backendstore to a separate store 2021-03-22 10:55:23 +01:00
Keviin Åberg Kultalahti
80065582eb removes unused users field in backend store 2021-03-22 10:14:17 +01:00
Keviin Åberg Kultalahti
2767c21a90 moves permissions to a separate store 2021-03-22 09:59:22 +01:00
mike12345567
95ee615006 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
f0ff1031ea Merge branch 'feature/fs-removal' of https://github.com/Budibase/budibase into single-stack-dev 2021-03-19 15:13:56 +00:00
mike12345567
8821eba634 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
521a282aef Add explicity titles to DrawerBindableInputs in DeleteRow button action 2021-03-19 14:28:11 +00:00
Andrew Kingston
2a6e05efff Fix massive widths on remaining button actions 2021-03-19 14:26:37 +00:00
Keviin Åberg Kultalahti
aaf1f6a532 merge next 2021-03-19 15:10:12 +01:00
Andrew Kingston
1521a22c39 Fix massive width in filter editor drawer 2021-03-19 14:05:42 +00:00
Andrew Kingston
ea68885581 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
fecf35dc46 Update DeleteRow button action to take explicit props and fix massive width 2021-03-19 14:04:37 +00:00
Andrew Kingston
b9c43052f6 Update schema generation to automatically include _id and _rev fields 2021-03-19 14:04:00 +00:00
Keviin Åberg Kultalahti
c0aa583de1 remove log 2021-03-19 14:58:00 +01:00
Andrew Kingston
aef82e29a6 Update form setting datasource type 2021-03-19 13:09:22 +00:00
Keviin Åberg Kultalahti
270d0272b0 remove console.log 2021-03-19 13:58:05 +01:00
Keviin Åberg Kultalahti
16e401737d improve database.select performance 2021-03-19 13:51:21 +01:00
mike12345567
f2840d1bc7 Setting up budi CLI for NPM as well. 2021-03-19 10:50:25 +00:00
mike12345567
b8c265fbc8 Updating to scoped name for package. 2021-03-19 10:37:02 +00:00
mike12345567
2b33811496 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
eb27c9d9dc fix some navigation issues when removing tables/datasources 2021-03-19 11:03:44 +01:00
mike12345567
c2302929bd 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
951491006b Update all charts to work with new data provider 2021-03-18 18:45:11 +00:00
mike12345567
810b3c34b7 Formatting. 2021-03-18 18:27:00 +00:00
mike12345567
7634ed6869 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
87fd743f75 Update bar chart to work with new data provider 2021-03-18 17:34:51 +00:00
Michael Drury
1bb2b45d67
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
73bff491e8 Update grid to support data providers 2021-03-18 15:53:59 +00:00
Andrew Kingston
dc1f420163 Provide schema from data providers 2021-03-18 15:53:25 +00:00
Keviin Åberg Kultalahti
cc363fa463 reverts some of the merged files 2021-03-18 14:33:45 +01:00
Michael Drury
9f8d212489
Merge pull request #1296 from Budibase/tests/relationships
Server relationship tests
2021-03-18 13:13:39 +00:00
Keviin Åberg Kultalahti
fcd7d577d0 merge next 2021-03-18 14:05:12 +01:00
Kevin Åberg Kultalahti
06ede4466e
Merge pull request #1298 from Budibase/fix/route-preservation
Fix/route preservation
2021-03-18 14:01:31 +01:00
Keviin Åberg Kultalahti
9d77f084a1 fix not being redirected to datasource index page once you delete a datasource 2021-03-18 10:56:18 +01:00
Keviin Åberg Kultalahti
fdc1e44896 removes some logic and fixes table/integration select when switching tabs 2021-03-18 10:46:21 +01:00
Martin McKeaveney
6555e790a5
Merge pull request #1295 from Budibase/integrations-tests
Integrations tests
2021-03-18 09:45:50 +00:00
Keviin Åberg Kultalahti
6a1ce67e60 Merge branch 'next' into fix/route-preservation 2021-03-18 08:41:41 +01:00
Keviin Åberg Kultalahti
28f2f7ca59 bumps svelte version in client and standard-components packages 2021-03-17 14:27:51 +01:00
Keviin Åberg Kultalahti
788e29e6df lint fixes 2021-03-17 14:02:12 +01:00
Keviin Åberg Kultalahti
a845660b2d fixes for initial routing 2021-03-17 14:01:42 +01:00
Keviin Åberg Kultalahti
4503a7d1f8 wip: routify 2021-03-17 12:40:24 +01:00
mike12345567
de4a413b98 Adding db test directory to list of ignored from coverage. 2021-03-16 23:30:20 +00:00
mike12345567
b1e443f581 Upping relationship coverage overall to 98% - looking over utilities which are barely ever used. 2021-03-16 23:25:18 +00:00
Martin McKeaveney
b7a230065b more branch cov 2021-03-16 19:27:18 +00:00
Andrew Kingston
788817d249 Update bindable properties to handle new data provider 2021-03-16 19:11:00 +00:00
Martin McKeaveney
6698641182 mysql tests 2021-03-16 19:01:51 +00:00
Martin McKeaveney
d37283adda airtable tests 2021-03-16 18:43:56 +00:00
Andrew Kingston
d1be0a58b4 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
d6b23b3a79 Adding test cases which bring the link controller coverage to 100%. 2021-03-16 18:13:00 +00:00
Martin McKeaveney
4ab88daf28 REST integration tests 2021-03-16 14:51:14 +00:00
mike12345567
ff7b381668 Merge branch 'browser-compat' of github.com:Budibase/budibase into browser-compat 2021-03-16 14:12:26 +00:00
Martin McKeaveney
2da1d27ba6 arangodb tests 2021-03-16 13:54:39 +00:00
Andrew Kingston
a51f5c73c4 Add data provider component and refactor component setting types 2021-03-16 13:54:34 +00:00
Andrew Kingston
b9e3b04247 Merge branch 'browser-compat' of github.com:Budibase/budibase into browser-compat 2021-03-16 13:52:05 +00:00
Andrew Kingston
c0cf70720a Revert deletion of S3 upload of attachments in cloud env 2021-03-16 13:51:50 +00:00
mike12345567
298eb7f444 Merge branch 'next' of github.com:Budibase/budibase into browser-compat 2021-03-16 13:50:31 +00:00
mike12345567
bc18959f87 Fixing issue with applications not being created due to a lack of template file. 2021-03-16 13:43:46 +00:00
mike12345567
fbbb3d12a1 starting into relationship testing. 2021-03-16 13:24:44 +00:00
Martin McKeaveney
8fa3685852 elasticsearch tests 2021-03-16 11:46:13 +00:00
Andrew Kingston
5da828a11c Lint 2021-03-16 09:28:58 +00:00
mike12345567
8b6e429055 Removing unused test and directory. 2021-03-15 20:45:16 +00:00
mike12345567
2f608b3320 Merge branch 'master' of github.com:Budibase/budibase into tests/automation-tests 2021-03-15 20:44:54 +00:00
mike12345567
f40a54b366 Merge branch 'master' of github.com:Budibase/budibase 2021-03-15 20:43:41 +00:00
mike12345567
bec6ff0881 Formatting. 2021-03-15 20:43:31 +00:00
mike12345567
8b9271e5b7 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
b4f4b7dde0 fix duplicate column name issue 2021-03-15 20:38:55 +00:00
Martin McKeaveney
6ba84b420c dynamoDB tests 2021-03-15 19:45:39 +00:00
Andrew Kingston
cee0decfcc Remove electron specific app import 2021-03-15 18:32:20 +00:00
mike12345567
3b0988074c Removing un-used code and removing some files from coverage that aren't of consequence. 2021-03-15 17:14:56 +00:00
mike12345567
e8c000dd51 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
813ea1ede8 couchDB tests 2021-03-15 16:26:46 +00:00
Martin McKeaveney
53278c2648 postgres integration tests 2021-03-15 16:07:04 +00:00
Keviin Åberg Kultalahti
8d1834ae76 Merge branch 'develop' into fix/route-preservation 2021-03-15 15:30:51 +01:00
Keviin Åberg Kultalahti
c9e8fcb839 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
c04a848853 cleanup 2021-03-15 15:27:29 +01:00
Keviin Åberg Kultalahti
2bafdfb6c2 adds working automation routing 2021-03-15 15:23:22 +01:00
mike12345567
ece948e4ef Finishing off automation test cases, above 90% coverage for automations codebase. 2021-03-15 14:11:13 +00:00
Keviin Åberg Kultalahti
de4f77fcb5 adds routing to the automation tab 2021-03-15 15:00:34 +01:00
dependabot[bot]
73d7446a26
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
973cbb5a75 Remove electron specific attachment uploads inside the builder 2021-03-15 12:10:21 +00:00
Martin McKeaveney
ab7df90d5c
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
a974da6b0d Merge branch 'master' of https://github.com/Budibase/budibase into integrations-tests 2021-03-15 11:55:01 +00:00
Keviin Åberg Kultalahti
ce59aab7f8 wip: work on routing in automation tab 2021-03-15 12:53:44 +01:00
Keviin Åberg Kultalahti
4e003a1066 changing between Internal/External now selects the first table/source in each tab 2021-03-15 11:38:43 +01:00
Keviin Åberg Kultalahti
e4817983a4 now possible to navigate directly to a query 2021-03-15 11:09:09 +01:00
Keviin Åberg Kultalahti
4b30384549 data switcher now shows correct tab 2021-03-15 10:26:59 +01:00
Keviin Åberg Kultalahti
6c3d4b47f5 now possible to navigate directly to a datasource 2021-03-15 10:18:23 +01:00
Maurits Lourens
8296eccd68 1240 - restore notification blocknotifications method, since it was called in the datasource 2021-03-15 09:00:05 +01:00
Martin McKeaveney
0f37bc44a7 v0.8.9 2021-03-14 18:13:13 +00:00
Martin McKeaveney
7da92451d6 adding correct path delimiter for windows 2021-03-14 18:10:38 +00:00
Martin McKeaveney
8f6538f33a make path windows friendly 2021-03-14 17:57:28 +00:00
mike12345567
b63599d024 Adding in all the automation step tests, beginning work on the general automation tests. 2021-03-12 15:32:16 +00:00
Martin McKeaveney
6afcda7599 v0.8.8 2021-03-12 14:20:18 +00:00
Keviin Åberg Kultalahti
ec46fdcbf5 adds index page to datasource route 2021-03-12 14:28:24 +01:00
Keviin Åberg Kultalahti
3cfd4cc590 adds success notification when saving api keys 2021-03-12 13:29:54 +01:00
Keviin Åberg Kultalahti
2cd7567f9d moves click handler for deployment info to pill rather than icon 2021-03-12 13:23:51 +01:00
Martin McKeaveney
1b95326b20 v0.8.7 2021-03-12 11:45:42 +00:00
Martin McKeaveney
d402e73f80 removing dud package 2021-03-12 11:43:07 +00:00
Martin McKeaveney
b51ac37b6f v0.8.6 2021-03-12 09:33:12 +00:00
Martin McKeaveney
ff5477f301 airtable tests 2021-03-12 09:29:27 +00:00
mike12345567
9ef4deef38 Removing dynamo client from coverage. 2021-03-11 18:36:36 +00:00
mike12345567
571ac3cf06 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
f576e2fdfe
Merge branch 'master' into develop 2021-03-11 16:31:22 +00:00
Martin McKeaveney
58a7cf5e76
Merge pull request #1264 from Budibase/fix/colorpicker
Colorpicker bugs
2021-03-11 16:30:34 +00:00
Andrew Kingston
f209a1e91b Add clear icon to screen search field 2021-03-11 15:53:31 +00:00
Martin McKeaveney
37ed93c121 merge 2021-03-11 15:28:43 +00:00
mike12345567
e2495122c7 Merge branch 'master' of github.com:Budibase/budibase into tests/upping-coverage 2021-03-11 14:51:13 +00:00
Martin McKeaveney
a12caebf86
Merge pull request #1271 from Budibase/develop
Develop
2021-03-11 13:11:47 +00:00
mike12345567
40b9743c3c Fixing an issue with tmp directory filling up with different test apps. 2021-03-11 12:09:47 +00:00
mike12345567
5d340d4559 Removing unused require. 2021-03-10 18:46:52 +00:00
mike12345567
3947044014 Formatting. 2021-03-10 17:56:16 +00:00
mike12345567
d9217b1148 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
39f5bdc184
Merge pull request #1266 from Budibase/middleware-tests
Middleware tests
2021-03-10 15:28:11 +00:00
mike12345567
e78f73a76d 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
08d15f9d03 Adding auth tests. 2021-03-10 12:20:07 +00:00
mike12345567
2b7f445787 Fixing issue with datasource find endpoint, removing un-used code and updating data source test. 2021-03-10 11:56:52 +00:00
mike12345567
63f081930f Upping automation coverage by adding webhook testing and increasing screen coverage. 2021-03-10 11:47:39 +00:00
Martin McKeaveney
bc7cc089b8 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
141d3be174 Don't close folders when selecting a new screen 2021-03-10 10:35:49 +00:00
Andrew Kingston
c09d74f61e Ignore click actions when a screen search string exists 2021-03-10 10:35:16 +00:00
Andrew Kingston
dd831d56d2 Fix crash when searching screens and selecting layouts 2021-03-09 19:09:41 +00:00
Andrew Kingston
5195e42bc5 Add placeholder to screen search 2021-03-09 19:06:37 +00:00
Andrew Kingston
dfee775717 Make screens searchable and make routes collapsible 2021-03-09 19:06:25 +00:00
Martin McKeaveney
6263300a68 finish authenticated tests 2021-03-09 17:31:52 +00:00
mike12345567
3f88ed391f Upping user test cases to cover all of controller. 2021-03-09 17:09:18 +00:00
Martin McKeaveney
67c4a5ef6c authenticated tests 2021-03-09 17:04:24 +00:00
mike12345567
61110be9d0 Adding test cases for backup and integration. 2021-03-09 16:28:41 +00:00
mike12345567
daaf352b89 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
38e27b9003 usageQuota tests 2021-03-09 15:13:14 +00:00
Martin McKeaveney
108f4861e3 resourceId tests 2021-03-09 12:39:32 +00:00
mike12345567
0c51bb7275 Updating query test to include mocked preview/execute and adding layout tests. 2021-03-09 11:56:32 +00:00
Martin McKeaveney
c073b8639d refactor selfhost middleware tests to use TestConfiguration 2021-03-09 11:33:16 +00:00
Andrew Kingston
de3fd34c60 Fix incorrect port used for CI cypress tests 2021-03-09 11:32:37 +00:00
Martin McKeaveney
758e964977 tests for authorized middleware 2021-03-09 11:27:12 +00:00
Keviin Åberg Kultalahti
bb4681f2b6 change default color of colorpicker 2021-03-09 09:32:53 +01:00
mike12345567
f1abb9194f Adding API key tests. 2021-03-08 18:18:53 +00:00
mike12345567
8a0a0dabdb 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
293ca3e54f fixes colorpicker bugs 2021-03-08 17:05:42 +01:00
mike12345567
039de61de3 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
c429caf6a4 self hosted middleware test 2021-03-08 15:46:12 +00:00
mike12345567
a3257d37e6 Updating routing test cases. 2021-03-08 14:49:19 +00:00
Andrew Kingston
40beae659a Add cypress test for deleting a component 2021-03-08 11:57:56 +00:00
Andrew Kingston
d9a5c08a87 Add tests for handlebars helper and fix curly brackets used in binding test 2021-03-08 11:25:24 +00:00
mike12345567
94135aa714 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-03-08 10:42:57 +00:00
mike12345567
3f9d5ac6e3 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
dc3dadcc44 Refactor cypress to use common app creation functionality and stop cypress deleting all apps 2021-03-05 14:36:38 +00:00
Martin McKeaveney
dc586a1185 middleware tests 2021-03-05 14:13:43 +00:00
Andrew Kingston
4c5a608fe6 Revert default cypress port 2021-03-05 14:06:44 +00:00
Andrew Kingston
c03e361710 Add cypress tests for data bindings and component creation 2021-03-05 13:52:26 +00:00
Michael Drury
6a6c6338b2
Merge pull request #1252 from Budibase/feature/test-refactor
Server test refactor
2021-03-05 13:43:18 +00:00
mike12345567
28a644958f linting. 2021-03-05 12:55:52 +00:00
mike12345567
67f47df718 Reducing the boilerplate needed around setting up a test case. 2021-03-05 12:11:44 +00:00