Commit Graph

13976 Commits

Author SHA1 Message Date
Adria Navarro 460b5fd7dd More tests 2024-12-18 16:45:08 +01:00
Adria Navarro 8da96ab271 Add initial view tests 2024-12-18 16:36:20 +01:00
Adria Navarro 14da90296b Regenerate table before each test 2024-12-18 16:23:53 +01:00
Adria Navarro e23753ac61 Add describe 2024-12-18 15:54:07 +01:00
Adria Navarro 96bddbb545 More relationship tests 2024-12-18 15:53:09 +01:00
Adria Navarro 875319e85c Relationship tests 2024-12-18 15:50:51 +01:00
Adria Navarro 27d1929388 Add basic sqlUtils test 2024-12-18 14:09:26 +01:00
Adria Navarro 3de079579c Merge branch 'chore/guard-display-column-in-the-api' into BUDI-8885/only-select-required-columns-from-sql-databases 2024-12-18 13:46:54 +01:00
Adria Navarro 3a36289306 Only throw on creation or primary display edition 2024-12-18 13:32:09 +01:00
Adria Navarro 59bdae57cc Fix test 2024-12-18 13:20:10 +01:00
Adria Navarro ad02581e1d Guard primary display 2024-12-18 13:18:46 +01:00
Adria Navarro b7beec6226 Add tests 2024-12-18 13:18:13 +01:00
Adria Navarro 7d8cfebc34
Merge branch 'master' into BUDI-8885/only-select-required-columns-from-sql-databases 2024-12-18 12:37:14 +01:00
Adria Navarro 825c517910
Merge branch 'master' into fix/views-with-hidden-relationships 2024-12-18 12:23:09 +01:00
Adria Navarro d061f44eda Fix external patches 2024-12-18 11:51:32 +01:00
Adria Navarro 84a67bb346 Add test capturing 2024-12-18 11:51:32 +01:00
Adria Navarro b81e43ed59 Fix tests 2024-12-18 10:55:32 +01:00
Adria Navarro b538125d1f Add failing test 2024-12-18 10:40:12 +01:00
Adria Navarro 15f2aaf950 Fix encodings 2024-12-18 08:14:19 +01:00
Adria Navarro b05b523a6e Fix issues with display names not being sql tables 2024-12-17 17:01:06 +01:00
Adria Navarro bcc9bba254 Fix test 2024-12-17 16:58:15 +01:00
mike12345567 78c2a5a51c Typing datasource and sorted integration stores 2024-12-17 15:23:24 +00:00
Adria Navarro 23531e1509 Fix sqs formula 2024-12-17 16:12:16 +01:00
Adria Navarro 8eb82d3b05 Fix mysql formula test 2024-12-17 16:12:16 +01:00
Adria Navarro 8765a28f04 Move responsability to sql utils 2024-12-17 16:12:16 +01:00
Adria Navarro 95f7eeacce Don't add breaking changes 2024-12-17 16:12:16 +01:00
Adria Navarro c398412e00 Fix pg money 2024-12-17 16:12:16 +01:00
Adria Navarro 51ba1f072b Add required fields on table search as well 2024-12-17 16:12:16 +01:00
Adria Navarro 499d3f2041 Fix sql calculations 2024-12-17 16:12:16 +01:00
Adria Navarro 7932ee7620 Fix sqs calculations 2024-12-17 16:12:16 +01:00
Adria Navarro fc75728a1e Add more tests 2024-12-17 16:12:16 +01:00
Adria Navarro 7cd412bfdc Add basic sql alias test 2024-12-17 16:12:16 +01:00
Adria Navarro 740069ea78 Use table for get before row 2024-12-17 16:12:16 +01:00
Adria Navarro df62845cf9 Fix encodings 2024-12-17 16:12:16 +01:00
Adria Navarro eb7fcd0219 Don't select * on relationships 2024-12-17 16:12:16 +01:00
Adria Navarro aa288966d8 Fix tests back 2024-12-17 16:12:16 +01:00
Adria Navarro fc22db35ac Add back cte 2024-12-17 16:12:16 +01:00
Adria Navarro 0ef4a154ef Prevent repeated fields on select 2024-12-17 16:12:16 +01:00
Adria Navarro d60cc7aaf4 Fix encoding 2024-12-17 16:12:16 +01:00
Adria Navarro 14b5a42647 Fix patch issues 2024-12-17 16:12:16 +01:00
Adria Navarro 2d771c96dd Fix wrong relationship select 2024-12-17 16:12:16 +01:00
Adria Navarro e6a27ad4d5 Ensure required fields are included 2024-12-17 16:12:16 +01:00
Adria Navarro f92fcea42a Include * when having formulas 2024-12-17 16:12:16 +01:00
Adria Navarro 80dcc51923 Fix sql alias tests 2024-12-17 16:12:16 +01:00
Adria Navarro bbb60afdc2 Relations, select only required fields 2024-12-17 16:12:16 +01:00
Adria Navarro 112b7c70e2 Fix sqs views 2024-12-17 16:12:16 +01:00
Adria Navarro 74e1bbc7c6 Require only visible fields on views 2024-12-17 16:12:16 +01:00
Adria Navarro 191b63270c Dry 2024-12-17 16:12:16 +01:00
Adria Navarro 0e0b6471d6 Generate proper select 2024-12-17 16:12:16 +01:00
mike12345567 77eb805936 Fixing an issue where plugins are imported as apps, which can crash the service - return a useful message to tell the user this is a plugin not an app export. 2024-12-17 13:13:07 +00:00
mike12345567 2e7f75e93c Make sure password is always requested when working with encrypted files - if the enc file has been copied the name may change format, we should handle if this happens. 2024-12-17 12:28:22 +00:00
Michael Drury 57eaac88b1
Merge branch 'master' into fix/automation-webhook-improvements 2024-12-17 11:08:51 +00:00
mike12345567 a35e504e8f PR comment. 2024-12-16 15:07:06 +00:00
Andrew Kingston cb88f1faa9
Merge branch 'master' of github.com:Budibase/budibase into frontend-core-ts-2 2024-12-16 14:40:06 +00:00
mike12345567 e11c3f87c4 Fixing issue with webhook test case - getting sync response back. 2024-12-13 18:15:08 +00:00
mike12345567 eb69bbd3cb Merge branch 'master' of github.com:Budibase/budibase into fix/automation-webhook-improvements 2024-12-13 17:55:32 +00:00
mike12345567 d20592e885 Updating query row API to correctly state successful if not returning an error. 2024-12-13 17:33:40 +00:00
mike12345567 b58aa807bd Another test change. 2024-12-13 17:22:35 +00:00
mike12345567 7cf20ef16c Fixing query row. 2024-12-13 17:11:35 +00:00
mike12345567 6699b202b4 Fixing some automation requirements. 2024-12-13 17:10:05 +00:00
mike12345567 77b9baa095 Updating types to remove any instances of ctx.status = 200 being set and then no body provided. 2024-12-13 16:48:47 +00:00
mike12345567 ba6b0fba6d Correcting issue with test case. 2024-12-13 16:00:40 +00:00
mike12345567 80bd561bba Some further work on automation webhook testing. 2024-12-13 13:59:29 +00:00
mike12345567 715399b755 Typing improvements for webhooks - fixing issue with parameter change - working on test case. 2024-12-13 13:34:32 +00:00
Andrew Kingston df8e7bf903
Merge branch 'master' into cheeks-fixes 2024-12-13 11:40:00 +00:00
Andrew Kingston cb8f05291a
Merge branch 'master' of github.com:Budibase/budibase into frontend-core-ts-2 2024-12-13 09:13:44 +00:00
mike12345567 544efaed6e Finishing off async code changes from pre-signing changes. 2024-12-12 18:25:49 +00:00
mike12345567 525e249d41 First pass at migrating to AWS SDK v3. 2024-12-12 18:14:53 +00:00
mike12345567 f857c36e09 PR comments. 2024-12-12 16:50:21 +00:00
Andrew Kingston ea444a9078
Merge branch 'master' of github.com:Budibase/budibase into frontend-core-ts-2 2024-12-12 16:42:23 +00:00
Michael Drury f62ffb38e2
Merge branch 'master' into fix/external-table-name-spaces 2024-12-12 16:40:41 +00:00
mike12345567 eca009920c Fixing some type issue found during the frontend-core updates. 2024-12-12 16:00:28 +00:00
mike12345567 7f62f32adc Adding test case for tables with spaces. 2024-12-12 15:55:39 +00:00
Andrew Kingston a706a767a7
Merge branch 'master' of github.com:Budibase/budibase into frontend-core-ts-2 2024-12-12 14:29:56 +00:00
Andrew Kingston 3be6800626
Merge branch 'master' into cheeks-fixes 2024-12-12 14:12:19 +00:00
mike12345567 635049ab0f Making sure table IDs input are correctly formatted for comparison. 2024-12-12 14:02:52 +00:00
mike12345567 96f149a96d PR comments. 2024-12-12 11:29:19 +00:00
Andrew Kingston dc10bbf4c7
Account for JS current user bindings as well as HBS 2024-12-12 08:32:57 +00:00
Andrew Kingston 62e47cc268
Don't sync changes between users for views that are filtered by current user 2024-12-11 15:51:11 +00:00
mike12345567 07c24c16a4 Updating CI and adding postgres legacy to test suite fully. Also fixing a schema export issue. 2024-12-10 18:00:49 +00:00
mike12345567 340d9c34ff Linting and CI update. 2024-12-10 17:30:54 +00:00
mike12345567 322dc2e5a6 Adding legacy postgres option. 2024-12-10 13:33:38 +00:00
mike12345567 4b75e3d1dc Updating how we list columns from a table - to avoid using to_regclass which is not available in Postgres 9.5. 2024-12-10 13:10:27 +00:00
Andrew Kingston 65f37e046e
Merge branch 'master' of github.com:Budibase/budibase into frontend-core-ts-2 2024-12-10 10:33:53 +00:00
Adria Navarro f6bbbd7b3f Merge branch 'master' into labday/monorepo-setup 2024-12-10 10:18:43 +01:00
Sam Rose 34684df87a
Fix formatting. 2024-12-09 20:59:13 +00:00
Sam Rose 7a98f03e82
Merge branch 'master' into eslint-strict-1 2024-12-09 17:43:25 +00:00
Sam Rose 93b086bb4e
Merge branch 'master' into eslint-recommended-1 2024-12-09 17:27:40 +00:00
Sam Rose 76b5190454
Merge master. 2024-12-09 17:18:38 +00:00
Martin McKeaveney 690f7f0aa5
Merge branch 'master' into 3.0-metrics 2024-12-09 15:50:48 +00:00
Martin McKeaveney 7d5ca8449f only fire for 2 grouped filters 2024-12-09 14:01:47 +00:00
Martin McKeaveney e5453cc766 only fire view updated events when 2 or more groups are applied 2024-12-09 13:45:11 +00:00
Sam Rose 84d9f6816c
Enable a variety of useful looking lints. 2024-12-09 12:52:21 +00:00
Martin McKeaveney b6fcdf301d PR comments 2024-12-09 11:59:04 +00:00
Adria Navarro 53c28b5436 Update worker and server es target 2024-12-09 12:48:52 +01:00
Adria Navarro 66cd757c27 Unify node types 2024-12-09 12:44:49 +01:00
Sam Rose 6865052ef0
Get us much closer to using the recommended set of lints. 2024-12-09 11:21:23 +00:00
Sam Rose 2ff23746ca
Merge branch 'master' of github.com:budibase/budibase into update-eslint 2024-12-09 10:57:06 +00:00
Sam Rose b98571302a
Fix build. 2024-12-09 10:56:57 +00:00
Andrew Kingston d0b3c9d961
Merge branch 'master' of github.com:Budibase/budibase into frontend-core-ts-2 2024-12-09 10:42:34 +00:00