Commit Graph

2916 Commits

Author SHA1 Message Date
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
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
Martin McKeaveney bd6389851a v0.8.9 2021-03-14 18:13:13 +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 1b53b7da58 v0.8.6 2021-03-12 09:33:12 +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
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 68735f1b4f Formatting. 2021-03-10 17:56:16 +00:00
mike12345567 dd16c84ecd Upping automation coverage by adding webhook testing and increasing screen coverage. 2021-03-10 11:47:39 +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
Andrew Kingston 2444041018 Fix incorrect port used for CI cypress tests 2021-03-09 11:32:37 +00:00
Keviin Åberg Kultalahti e507c006e6 change default color of colorpicker 2021-03-09 09:32:53 +01:00
Keviin Åberg Kultalahti 11801fa1fc fixes colorpicker bugs 2021-03-08 17:05:42 +01: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 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
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
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