Commit Graph

4594 Commits

Author SHA1 Message Date
mike12345567 0b7502ba7e Updating some route middleware security. 2021-04-01 14:38:31 +01:00
mike12345567 14d7ac5238 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 14:12:30 +01:00
mike12345567 95efc26839 Some refactoring of utilities and constants, as well as documenting work carried out here. 2021-04-01 14:11:58 +01:00
Andrew Kingston 4ff5a2b073 Use server-provided client lib URL in iframe preview 2021-04-01 14:10:49 +01:00
Andrew Kingston 90df8a21c1 Fix syntax error in BBUI package.json 2021-04-01 13:53:21 +01:00
Andrew Kingston 673fcad230 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 73afd3c676 Fix BBUI rollup 2021-04-01 13:52:06 +01:00
Andrew Kingston 1c8de5d52d Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 13:51:48 +01:00
Andrew Kingston 9aea8e34f4 Merge branch 'spectrum-bbui' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 13:44:18 +01:00
Andrew Kingston 3ab4c7f4bc Improve cross-package bundling 2021-04-01 13:44:14 +01:00
Keviin Åberg Kultalahti 9277a40b37 adds sorting to cypress views test 2021-04-01 14:28:38 +02:00
Keviin Åberg Kultalahti 84bb7245fc adds some more waits to the cypress views tests 2021-04-01 14:10:58 +02:00
Keviin Åberg Kultalahti a7934ecfd0 bump wait times in cypress views test 2021-04-01 13:56:27 +02:00
mike12345567 de694ff338 Updating how the client library is served in development. 2021-04-01 12:48:38 +01:00
Keviin Åberg Kultalahti 22f6cd2840 Merge branch 'next' into feat/store-tests 2021-04-01 13:33:05 +02:00
Keviin Åberg Kultalahti f5a52c013d update yarn.lock file 2021-04-01 13:13:59 +02:00
mike12345567 2252498cd6 Updating dev server rendered svelte app client link. 2021-04-01 12:08:47 +01:00
mike12345567 1c44808336 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 66cd1c6c04 lint fixes 2021-04-01 12:55:09 +02:00
Andrew Kingston 55208b1358 Update URLs for fetching component libraries to be under api route 2021-04-01 11:49:57 +01:00
Keviin Åberg Kultalahti dd5959eb0c re-arrange tables store saveField method 2021-04-01 12:45:06 +02:00
Keviin Åberg Kultalahti 3c2f182b03 removes unneeded wait in view cypress test 2021-04-01 11:59:56 +02:00
Andrew Kingston 60a045b4c3 Update builder to hit port 1000 2021-04-01 10:59:15 +01:00
Keviin Åberg Kultalahti 50da4159e1 fixes views store 2021-04-01 11:53:22 +02:00
Andrew Kingston b725c04b32 Fix merge conflict 2021-04-01 10:33:51 +01:00
Andrew Kingston b3b7c54901 Update to support new stores 2021-04-01 10:29:47 +01:00
Keviin Åberg Kultalahti 3a8e753eae increase wait times in cypress tests 2021-04-01 11:08:58 +02:00
Andrew Kingston 86667bfa0f Update URLs to use builder instead of _builder 2021-04-01 10:06:22 +01:00
Keviin Åberg Kultalahti ccf051ea43 add back packages that were accidently removed 2021-04-01 10:48:11 +02:00
Andrew Kingston 32e7a7950b Merge branch 'feat/store-tests' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 09:42:56 +01:00
Keviin Åberg Kultalahti c1f9704dc1 adds string-templates to trasnformIgnorePatterns 2021-04-01 10:40:49 +02:00
Keviin Åberg Kultalahti 83efcaf12f version bumps 2021-04-01 10:12:36 +02:00
Andrew Kingston 8619db57b4 Merge branch 'feat/store-tests' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 09:12:16 +01:00
Keviin Åberg Kultalahti e57fc278c2 adds back babel-jest 2021-04-01 09:26:36 +02:00
Keviin Åberg Kultalahti 82485607df lint fix 2021-04-01 08:40:30 +02:00
Andrew Kingston 17c06cfb84 Import image assets as needed to allow proper bundling 2021-03-31 19:58:30 +01:00
Andrew Kingston 183e33ae82 Update gitignore in server 2021-03-31 19:58:08 +01:00
Andrew Kingston 1019e22688 Ignore builder files inside server 2021-03-31 19:57:48 +01:00
Andrew Kingston ee33a151b0 Support serving vite-bundled builder from server 2021-03-31 19:55:55 +01:00
Andrew Kingston a774f400f8 Export package.json from string-templates repo 2021-03-31 19:55:35 +01:00
Andrew Kingston 194eb13440 Remove hardcoded builder assets in server 2021-03-31 19:55:21 +01:00
Andrew Kingston 80f819255d 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 db0e234858 Adjust iframe builder preview to prevent requirement of rollup-plugin-html 2021-03-31 19:12:56 +01:00
Andrew Kingston 03eafad505 Prune builder dependencies 2021-03-31 19:12:28 +01:00
Andrew Kingston 369a0d6c7a Update string-templates to use a better node polyfill rollup plugin 2021-03-31 19:07:09 +01:00
Andrew Kingston a2bd824a1d Fix issue with polyfilling node globals 2021-03-31 18:49:53 +01:00
Martin McKeaveney 15533466fe Merge pull request #1341 from Budibase/cli-analytics
Cli analytics
2021-03-31 16:27:56 +01:00
Andrew Kingston 44ad38fdf8 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 7cc7feea07 fix templates not being passed correct param 2021-03-31 14:23:58 +02:00
Keviin Åberg Kultalahti 12fbd6245c fix merge regression 2021-03-31 13:48:30 +02:00
Andrew Kingston 0c3f2450f2 Merge branch 'datasource-refactor' of github.com:Budibase/budibase into spectrum-bbui 2021-03-31 11:11:01 +01:00
Andrew Kingston 64cd1aca32 Add BBUI package to monorepo 2021-03-31 10:59:07 +01:00
Keviin Åberg Kultalahti c5bdb590f9 merge next 2021-03-31 11:26:44 +02:00
Keviin Åberg Kultalahti 17dea3124d wip: views store tests 2021-03-30 18:10:58 +02:00
Keviin Åberg Kultalahti 9bdfe8336d adds tables store tests 2021-03-30 15:37:53 +02:00
Martin McKeaveney 7bc7fc7e7d lint 2021-03-30 11:50:49 +01:00
Martin McKeaveney a4486fff4c adding distinct CLI id to hosting 2021-03-30 11:04:13 +01:00
Martin McKeaveney 1c10c42c9d tidy up 2021-03-30 10:51:37 +01:00
Martin McKeaveney e2b26ffa9c adding abstraction for config manager 2021-03-30 10:50:42 +01:00
Keviin Åberg Kultalahti 71dc4938da adds an init method to the tables store 2021-03-30 11:32:01 +02:00
Keviin Åberg Kultalahti d22d5c7c28 fix last roles store test 2021-03-30 10:49:42 +02:00
Andrew Kingston e15986a6a5 Remove unecessary escape in regex 2021-03-29 18:21:57 +01:00
Martin McKeaveney 412f727347 analytics client 2021-03-29 17:40:17 +01:00
mike12345567 ae8dd1ec78 Removing use of the , replacing to ctx.appId to make it clear appId not part of the auth. 2021-03-29 17:32:05 +01:00
mike12345567 9423128369 Updating worker package with the various parts of server that needed moved over. 2021-03-29 17:31:41 +01:00
Keviin Åberg Kultalahti dd21ee2386 wip: roles store test 2021-03-29 18:23:53 +02:00
Keviin Åberg Kultalahti 292a891883 update query store 2021-03-29 17:52:38 +02:00
Keviin Åberg Kultalahti e1034ae5ac fix last query test 2021-03-29 17:50:12 +02:00
Keviin Åberg Kultalahti 003c1c75d4 fixes queries and datasource tests 2021-03-29 17:45:18 +02:00
Andrew Kingston c486a311b1 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 38d1dfed1b Remove deprecated dataProvider setting from manifest 2021-03-29 16:22:43 +01:00
Andrew Kingston fc9fcaa868 Add correct height placeholder for tables to avoid jarring page resizing when loading data 2021-03-29 16:05:32 +01:00
Andrew Kingston 83a021a45d Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-03-29 15:40:35 +01:00
Andrew Kingston 181ba065ec Reorder table settings to put column selection last 2021-03-29 15:36:26 +01:00
Andrew Kingston 694dab654d Fix form picker component styling 2021-03-29 15:34:18 +01:00
Andrew Kingston b46cef4fcd Disable table checkbox 2021-03-29 15:29:13 +01:00
Keviin Åberg Kultalahti d86467ecd7 fix datasource test 2021-03-29 16:23:58 +02:00
mike12345567 76f330fc36 Replacing deprecated symbols. 2021-03-29 15:06:00 +01:00
mike12345567 3f21a6ba6f Starting worker instance as part of the stack, some changes to how environment handled for worker. 2021-03-29 15:00:40 +01:00
Keviin Åberg Kultalahti d0aca74e4a wip: queries store tests 2021-03-29 14:57:01 +02:00
Keviin Åberg Kultalahti 58546754b8 adds test for permissions store 2021-03-29 13:16:41 +02:00
Keviin Åberg Kultalahti f8475bfdc2 finishes datasources stores 2021-03-29 12:54:41 +02:00
Keviin Åberg Kultalahti a1f242a628 adds fetch and delete tests to datasources store 2021-03-29 12:03:34 +02:00
Martin McKeaveney 449fd12b0e Merge pull request #1301 from mslourens/1292-improvement-electron-menu
1292 - add help menu items related to budibase instead of electron
2021-03-26 14:57:44 +00:00
mike12345567 12ed9f9d02 Quick change after reviewing. 2021-03-26 14:46:29 +00:00
Keviin Åberg Kultalahti 6711801f97 add some temporary testing files 2021-03-26 15:43:55 +01:00
mike12345567 273855ed8c Some minor updates to make search test cases pass. 2021-03-26 14:11:24 +00:00
mike12345567 41d16442c7 Minor change to make sure next button only displayed when relevant. 2021-03-26 13:49:03 +00:00
mike12345567 97f8d34947 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 33b7545e56 bump jest 2021-03-26 09:51:28 +01:00
Keviin Åberg Kultalahti 44e3f29a0b moves backend stores to "stores" in the root src directory 2021-03-26 09:50:37 +01:00
mike12345567 b97071bf82 Rewriting search to use the new couchdb 3.0 search functionality. 2021-03-25 23:42:50 +00:00
mike12345567 942214a54a Merge branch 'feature/fs-removal' of github.com:Budibase/budibase into lab-day/lucene 2021-03-25 21:56:18 +00:00
mike12345567 415b48856f 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 c51cf423e3 Creating CouchDB 3.0 indexes. 2021-03-25 19:12:17 +00:00
mike12345567 24c523faad Initialising CouchDB link to lucene and app design DBs for it. 2021-03-25 18:04:44 +00:00
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
Martin McKeaveney 637d115534 v0.8.12 2021-03-25 10:40:08 +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
Martin McKeaveney c74205e4c8 v0.8.11 2021-03-24 18:48:26 +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
Maurits Lourens 51a5aea4ce fix build by running yarn format 2021-03-23 20:32:22 +01: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