Commit Graph

4295 Commits

Author SHA1 Message Date
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
mike12345567 af3d84a1d9 Some more quick modifications to test re-factor before PR. 2021-03-05 11:24:15 +00:00
Martin McKeaveney 78c550ff30 remove variable 2021-03-04 17:55:58 +00:00
Martin McKeaveney e2a6bb935e refactor view tests 2021-03-04 17:55:24 +00:00
mike12345567 0be5eb0b98 Moving comment. 2021-03-04 17:12:44 +00:00
mike12345567 06e95e11ea Small amount more user refactoring, removing use of couchTestUtils. 2021-03-04 17:06:33 +00:00
Martin McKeaveney 41043ee6ff Merge branch 'feature/test-refactor' of https://github.com/Budibase/budibase into feature/test-refactor 2021-03-04 16:54:50 +00:00
Martin McKeaveney 50f1535f2c refactor user test 2021-03-04 16:54:44 +00:00
mike12345567 2a962b1c03 Refactoring table testcases. 2021-03-04 14:36:59 +00:00
mike12345567 eacf3387de Refactoring row test cases. 2021-03-04 13:07:33 +00:00
mike12345567 678423300d Refactoring to remove the use of the supertest, making this part of the test config. 2021-03-04 12:32:31 +00:00
mike12345567 26c63c7d9b Refactoring query tests. 2021-03-04 10:57:41 +00:00
mike12345567 f7cdced688 Switching out how headers are handled, and updating the permissions test. 2021-03-04 10:40:27 +00:00
mike12345567 f10ac0a178 Refactoring data source test cases. 2021-03-04 10:05:50 +00:00
mike12345567 79818122fd Re-writing automation tests. 2021-03-03 18:41:49 +00:00
mike12345567 f55c5dec00 Initial work on test refactoring, laying the utilities down which will be the basis of new testing framework, interacting directly with the controllers. 2021-03-03 17:52:41 +00:00
Martin McKeaveney 72f0aebb2b v0.8.5 2021-03-03 17:46:36 +00:00
Martin McKeaveney 768a9d59da v0.8.4 2021-03-03 17:05:18 +00:00
Martin McKeaveney c8ad39fb49
Merge branch 'master' into develop 2021-03-03 16:00:10 +00:00
Martin McKeaveney af6ccebb17
Merge pull request #1242 from Budibase/083bugfixes
fix space table name grid bug
2021-03-03 15:59:30 +00:00
Martin McKeaveney f1927a0d79 tidy up 2021-03-03 14:42:34 +00:00
Martin McKeaveney 8dd49a4d09 fix space table name grid bug 2021-03-03 13:51:53 +00:00
Kevin Åberg Kultalahti 13787d9d3b
Merge pull request #1232 from Budibase/feature/standard-components-transitions
Adds transition setting in the design panel on container component
2021-03-03 13:12:48 +01:00
Michael Drury 5e64b5d9d4
Merge pull request #1241 from Budibase/feature/test-coverage
Feature/test coverage
2021-03-03 11:32:07 +00:00
mike12345567 519d7b32dc PR comment from Marty, adding a bit more vertical breathing room around checkboxes of relationship type. 2021-03-03 10:41:40 +00:00
Andrew Kingston 08da1d7468
Merge pull request #1234 from Budibase/lab-day-cheeks
Useful features and fixes from lab day
2021-03-03 02:16:57 -08:00
Martin McKeaveney ea3d4bd221 codecov GH action 2021-03-02 18:22:35 +00:00
mike12345567 ad4f01a60d Updating server package to always generate coverage report but don't display as text. 2021-03-02 17:42:32 +00:00
mike12345567 2467ae2a2e Updating package.json to include an option for coverage, had to re-write some stuff to make sure that views were not getting coverage statements inserted (breaking things). 2021-03-02 17:13:11 +00:00
Keviin Åberg Kultalahti d99ff6653d lint fix 2021-03-02 14:26:37 +01:00
Keviin Åberg Kultalahti aeed22b711 fix notification store timers 2021-03-02 14:19:44 +01:00
Keviin Åberg Kultalahti c6292c070c fixes to transitions and adds default fade to screens 2021-03-02 13:37:54 +01:00
mike12345567 2975ed39e0 Updating with a suggestion from Andrew kingston, adding row/rows to sentences about one->many relationships so that singular/plural english makes sense. 2021-03-02 11:10:26 +00:00
mike12345567 a353d22068 Merge branch 'master' of github.com:Budibase/budibase into feature/one-many-relationship-changes 2021-03-02 09:59:52 +00:00
mike12345567 b9493db3a9 Removing console log. 2021-03-01 18:10:28 +00:00
mike12345567 e0c5b445b7 Merge branch 'master' of github.com:Budibase/budibase into budi-day/cli 2021-03-01 18:04:46 +00:00
mike12345567 e1ecbe27f4 Fixing major issue discovered by Cheeks, the tense of language was not correct. 2021-03-01 18:04:30 +00:00
mike12345567 93759fa77c Formatting. 2021-03-01 18:03:33 +00:00
mike12345567 4cd6fef492 Updating the properties panel to show the component type rather than name (no point in repeating) and some final styling changes to the one to many update. 2021-03-01 17:48:52 +00:00
mike12345567 a21ca8fb62 First version, still playing around with styling. 2021-03-01 17:06:08 +00:00
Keviin Åberg Kultalahti ff2b0fb5df remove unused code in routes 2021-03-01 17:49:29 +01:00
Keviin Åberg Kultalahti e9b2e8406f remove unused code in settings and start components 2021-03-01 17:45:32 +01:00
Keviin Åberg Kultalahti cca3583465 remove unused code in integration components 2021-03-01 17:42:34 +01:00
Keviin Åberg Kultalahti 0c91c36ed8 remove unused code in PropertiesPanel 2021-03-01 17:41:10 +01:00
Keviin Åberg Kultalahti 49d37b9ced remove unused code in NavigationPanel 2021-03-01 17:37:17 +01:00
Keviin Åberg Kultalahti 7ef07b61ee removes unused code in automation and backend sections 2021-03-01 17:34:27 +01:00
Keviin Åberg Kultalahti 43e37e2ed6 lint fix 2021-03-01 17:09:23 +01:00
Keviin Åberg Kultalahti 58f0c45085 remove slide and scale transitions 2021-03-01 17:03:13 +01:00
Keviin Åberg Kultalahti b36d4c8a76 fix not being able to remove transition 2021-03-01 16:58:01 +01:00
Keviin Åberg Kultalahti 473c5726b3 removes unneeded styles and html in Screen component 2021-03-01 16:56:28 +01:00
Keviin Åberg Kultalahti f711b7c075 screens can now select a transition rather than only use fade 2021-03-01 16:53:37 +01:00
Keviin Åberg Kultalahti d386de0282 moves the transition setting to the design panel 2021-03-01 16:46:05 +01:00
Andrew Kingston 9382a0a567 Remove obsolete code from log out button action component 2021-03-01 14:56:30 +00:00
Andrew Kingston 736259f371 Add password field component 2021-03-01 14:13:11 +00:00
Andrew Kingston 37c0efad8d Add position option to background image 2021-03-01 14:05:54 +00:00
Kevin Åberg Kultalahti 752437907d
Merge pull request #1211 from Budibase/feat/automation-drawer-conversion
Convert the Automate popover to the Drawer component
2021-03-01 14:48:04 +01:00
Keviin Åberg Kultalahti 8dbf8249da use bindableProperties instead of bindings in AUtomationBindingPanel 2021-03-01 14:22:17 +01:00
Keviin Åberg Kultalahti a8520aae54 remove unneeded things 2021-03-01 14:04:07 +01:00
Keviin Åberg Kultalahti e4a2904735 minor changes to options 2021-03-01 13:24:57 +01:00
Keviin Åberg Kultalahti 856e80fce2 adds transition utility to the client sdk 2021-03-01 12:59:27 +01:00
Kevin Åberg Kultalahti abba6727ca
Merge pull request #1213 from Budibase/labday/dnd-actions
Adds drag and drop to the actions drawer
2021-03-01 09:12:25 +01:00
mike12345567 554b5a27c6 Linting. 2021-02-27 10:45:01 +00:00
mike12345567 0c3e287fa8 Very minor change due to issue #1204 - wasn't allowing unauthenticated requests through. 2021-02-27 10:15:05 +00:00
mike12345567 735a17c363 Formatting. 2021-02-26 17:09:20 +00:00
mike12345567 47d75ebc2e Updating for consistent use of chalk and logs, as well as adding an option to update docker-compose and envoy files. 2021-02-26 17:08:28 +00:00
Keviin Åberg Kultalahti 99d81fa367 revert Automate block that accidently made it in to this PR 2021-02-26 17:46:18 +01:00
Keviin Åberg Kultalahti 5d26724e54 adds drag-and-drop to the action drawer 2021-02-26 17:11:14 +01:00
mike12345567 7b528db449 Updating with pkg to make the CLI run anywhere easily. 2021-02-26 15:09:25 +00:00
Keviin Åberg Kultalahti 9f9858fd59 remove BindableInput and switch to DrawerBindableInput 2021-02-26 15:24:36 +01:00
Keviin Åberg Kultalahti 811a15df3e remove genericpopover component 2021-02-26 15:23:41 +01:00
Keviin Åberg Kultalahti b1248d99ba final touches to get drawer working correctly in automations 2021-02-26 15:12:44 +01:00
Andrew Kingston 753c76d2f7 Center background image component 2021-02-26 14:04:44 +00:00
Andrew Kingston 0a99075cd4 Make user data source refreshable in client apps 2021-02-26 14:04:31 +00:00
Andrew Kingston c70201553e Add log out button action 2021-02-26 14:04:12 +00:00
Keviin Åberg Kultalahti 2f764bad9b bindings now show up correctly in the drawer 2021-02-26 14:53:51 +01:00
mike12345567 3747b41452 Finishing up init with config building rather than downloading. 2021-02-26 13:48:11 +00:00
Keviin Åberg Kultalahti f0ffd5f695 remove unused things 2021-02-26 14:39:44 +01:00
mike12345567 e0f4d05512 Fixing issue with init. 2021-02-26 13:33:31 +00:00
mike12345567 accdba6373 Update to add init functionality. 2021-02-26 13:30:24 +00:00
Keviin Åberg Kultalahti afd92407ff merge existing work from old branch 2021-02-26 14:27:54 +01:00
Keviin Åberg Kultalahti 188f2b74d7 adds DnD support ot the actions drawer 2021-02-26 14:21:05 +01:00
mike12345567 eb16ec3296 All the groundwork laid now, just need to implement the functionality for hosting. 2021-02-26 11:46:48 +00:00
mike12345567 491eb00ea1 Fixing an issue discovered by test case. 2021-02-26 10:19:06 +00:00
mike12345567 a778d97118 Merge branch 'master' of github.com:Budibase/budibase into bug/perms-fix 2021-02-26 10:06:24 +00:00
mike12345567 74dfeb7c7b Two character change, some API calls with sub resources and primary resources weren't working, should allow either the sub resource or the main resource to trigger allowance. 2021-02-26 10:06:02 +00:00
Andrew Kingston 00eb595fd0 Fix permissions when fetching enriched rows 2021-02-26 10:03:26 +00:00
Andrew Kingston d856bcd35a Add external setting for links 2021-02-26 09:58:24 +00:00
Andrew Kingston 80f86720ac Add background image component 2021-02-26 09:58:11 +00:00
Andrew Kingston c12917091f Pull enriched user when logging in to client app so that relationships are available as bindings 2021-02-26 09:57:36 +00:00
Andrew Kingston 61056fc2f0 Add button action for login 2021-02-26 09:57:06 +00:00
Andrew Kingston 091054df5d Fix crash when schema doesnt exist for a datasource 2021-02-26 09:55:38 +00:00
Martin McKeaveney 9c8c3bd5fe default to dark mode 2021-02-25 20:44:16 +00:00
Martin McKeaveney 88fa3d18ea v0.8.3 2021-02-25 17:18:36 +00:00
mike12345567 7249654615 Merge branch 'master' of github.com:Budibase/budibase into budi-day/cli 2021-02-25 17:17:40 +00:00
mike12345567 20b44c9dbd Minor update to fix an issue when updating a row that it would throw an error with 1->to->many relationships on existing relationships for that row, as well as cleaning up how relationshipType is put onto the linked table. 2021-02-25 17:07:32 +00:00
Martin McKeaveney da6a90a042 v0.8.2 2021-02-25 16:39:52 +00:00
Martin McKeaveney 0cfbe2357b bugfixes 2021-02-25 16:21:41 +00:00
Martin McKeaveney 6a0c80da58 fix user creation relationships bug 2021-02-25 15:24:54 +00:00
mike12345567 9a49252ae7 Updating link controller to manage existing column comparison a bit better. 2021-02-25 15:21:08 +00:00
mike12345567 66523884e2 More work in progress. 2021-02-25 14:42:50 +00:00
Martin McKeaveney 63fefd08a9 v0.8.1 2021-02-25 13:50:33 +00:00
Martin McKeaveney dbb0252ab5 fixing 1:N UI order 2021-02-25 13:34:12 +00:00
Martin McKeaveney ae6a6ad779 v0.8.0 2021-02-25 12:49:03 +00:00
mike12345567 5733255cc8 Merge branch 'master' of github.com:Budibase/budibase into bug/relationship-display-id 2021-02-25 12:36:16 +00:00
Martin McKeaveney 07bf31ca77 adding many to many constant 2021-02-25 12:23:47 +00:00
Martin McKeaveney b179418767 relationship type constant 2021-02-25 12:21:24 +00:00
mike12345567 66b488dc46 Wrapping throws in new errors. 2021-02-25 12:10:18 +00:00
mike12345567 8612782610 Found some issues with relationship columns being doubled up, this isn't validated client side, best to make sure it doesn't happen server-side (can really break your data structure if columns overwrite each other). 2021-02-25 12:06:13 +00:00
Martin McKeaveney 62c5069528 refactor 2021-02-25 11:59:31 +00:00