Commit Graph

2950 Commits

Author SHA1 Message Date
Andrew Kingston 37fe8c2ab6 Only hydrate state from URL once in design section to avoid cycles 2021-04-07 15:10:03 +01:00
Andrew Kingston f631f67979 Fix building loading settings modal before app package call finishes 2021-04-07 15:09:35 +01:00
Andrew Kingston 359e628156 Fix cypress tests not deleting old apps 2021-04-07 15:08:59 +01:00
Andrew Kingston 0ac0f2f742 Format tests 2021-04-07 13:46:26 +01:00
Andrew Kingston f9a54d08f5 Fix route error when creating a view 2021-04-07 13:43:11 +01:00
Andrew Kingston 77228a3998 Fix missing import of automationStore 2021-04-07 11:33:14 +01:00
Andrew Kingston 1b8f2067e4 Add back in Grid to backend UI 2021-04-07 09:03:47 +01:00
Keviin Åberg Kultalahti 6c419de390 fix ag-grid not working 2021-04-06 16:48:01 +02:00
Andrew Kingston 120c22fdb4 Update BBUI to use vite and remove old svench config 2021-04-01 21:05:18 +01:00
Andrew Kingston bc821feeff Fix routing error when initially loading Data page 2021-04-01 19:49:51 +01:00
Andrew Kingston fb70cbb117 Remove placeholder from iframe template 2021-04-01 19:43:44 +01:00
Andrew Kingston 8e2a50aa0d Merge branch 'next' of github.com:Budibase/budibase into spectrum-bbui 2021-04-01 19:10:07 +01:00
Andrew Kingston 4f3900ecbd Update locks 2021-04-01 19:07:06 +01:00
Andrew Kingston a1a22df08e Add missing file from update 2021-04-01 18:01:36 +01:00
Andrew Kingston 7c76a26467 Update to support new backend table structure 2021-04-01 18:00:46 +01:00
Andrew Kingston 6c5129f8db Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-04-01 17:58:10 +01:00
Andrew Kingston e61ee068a2 Add builder yarn.lock 2021-04-01 17:06:48 +01:00
Andrew Kingston 4ff5a2b073 Use server-provided client lib URL in iframe preview 2021-04-01 14:10:49 +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 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
Keviin Åberg Kultalahti f5a52c013d update yarn.lock file 2021-04-01 13:13:59 +02: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 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 a2bd824a1d Fix issue with polyfilling node globals 2021-03-31 18:49:53 +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
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
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
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 83a021a45d Merge branch 'next' of github.com:Budibase/budibase into datasource-refactor 2021-03-29 15:40:35 +01:00
Keviin Åberg Kultalahti d86467ecd7 fix datasource test 2021-03-29 16:23:58 +02: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
Keviin Åberg Kultalahti 6711801f97 add some temporary testing files 2021-03-26 15:43:55 +01: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
Andrew Kingston f17e2478e2 Fix crash generating bindable properties for an empty data provider ID 2021-03-25 16:17:56 +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
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 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 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
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
Andrew Kingston 938efc5b67 Fix automatic generation of form field group schemas 2021-03-22 18:07:11 +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
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
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
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
Keviin Åberg Kultalahti a3750a2c5b fix some navigation issues when removing tables/datasources 2021-03-19 11:03:44 +01:00
mike12345567 60ab217386 Formatting. 2021-03-18 18:27:00 +00:00
Andrew Kingston 6d7cb8d6ba Update bar chart to work with new data provider 2021-03-18 17:34:51 +00:00
Keviin Åberg Kultalahti a769d5f477 reverts some of the merged files 2021-03-18 14:33:45 +01:00
Keviin Åberg Kultalahti 1b859d0bb7 merge next 2021-03-18 14:05:12 +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
Keviin Åberg Kultalahti 0b36b98295 Merge branch 'next' into fix/route-preservation 2021-03-18 08:41:41 +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
Andrew Kingston 1368074f68 Update bindable properties to handle new data provider 2021-03-16 19:11:00 +00:00
Andrew Kingston 6e29423d4d Add data provider component and refactor component setting types 2021-03-16 13:54:34 +00:00
mike12345567 4a3a420dee Merge branch 'next' of github.com:Budibase/budibase into browser-compat 2021-03-16 13:50:31 +00:00
Andrew Kingston 05b6e825b4 Lint 2021-03-16 09:28:58 +00:00
Martin McKeaveney 3dd902666c fix duplicate column name issue 2021-03-15 20:38:55 +00:00
Andrew Kingston 78c6f9ca3d Remove electron specific app import 2021-03-15 18:32:20 +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
Keviin Åberg Kultalahti 2900704a4c adds routing to the automation tab 2021-03-15 15:00:34 +01:00
Andrew Kingston 08ea461caa Remove electron specific attachment uploads inside the builder 2021-03-15 12:10:21 +00:00
Keviin Åberg Kultalahti 4e85caa7b0 wip: work on routing in automation tab 2021-03-15 12:53:44 +01:00