Commit Graph

28081 Commits

Author SHA1 Message Date
Adria Navarro 9b67481661 Add extra tests 2024-08-28 13:16:42 +02:00
Adria Navarro 458ef9e754 Trim on output 2024-08-28 13:16:22 +02:00
Adria Navarro c7c48d6f8f
Merge branch 'master' into BUDI-8562/refactor-view-usage 2024-08-28 12:50:13 +02:00
Adria Navarro 1650cfba29 Fix test 2024-08-28 12:48:33 +02:00
Adria Navarro defbe20a3d Undo wrong delete 2024-08-28 12:47:34 +02:00
Adria Navarro 9459dd1820 getSourceId returns table & view data 2024-08-28 12:41:42 +02:00
Adria Navarro 6d8b0881a1 Rename 2024-08-28 12:17:25 +02:00
Adria Navarro 90af43ed87 Fix test 2024-08-28 12:11:28 +02:00
Adria Navarro bd1018ba2b Fix broken sqs tests 2024-08-28 12:10:10 +02:00
Adria Navarro 20f8fef15c Test sqs 2024-08-28 12:09:44 +02:00
Sam Rose 20afeeb4b7
Update packages/pro refernce to latest master. 2024-08-28 10:59:25 +01:00
Adria Navarro 5a8bb2972b Change types 2024-08-28 11:36:57 +02:00
Sam Rose 9f0ef9f43e
Update packages/pro refernce to latest master. 2024-08-28 10:25:47 +01:00
Adria Navarro 935aa521ff Cleanup 2024-08-27 17:02:19 +02:00
Adria Navarro 1594fcc8c4 Test with flags 2024-08-27 16:56:47 +02:00
Sam Rose 707da3864b
Fix migration test. 2024-08-27 15:46:16 +01:00
Sam Rose 8c890af814
Fix view tests. 2024-08-27 15:29:37 +01:00
Adria Navarro c531084921 Lint 2024-08-27 16:27:50 +02:00
Sam Rose be0a14489b
Debugging view test failures. 2024-08-27 15:22:53 +01:00
Adria Navarro 8a2bc639ea Flag checks on frontend 2024-08-27 16:21:32 +02:00
Adria Navarro 5f40737e9c Use enums 2024-08-27 16:15:25 +02:00
Adria Navarro d4b0ef7d47 Feature flagging backend 2024-08-27 15:42:01 +02:00
Sam Rose 43560b3269
Fix environment test. 2024-08-27 14:40:15 +01:00
Sam Rose 265000f7e1
Merge master. 2024-08-27 14:37:19 +01:00
Adria Navarro 8929b4a336 Fix jest issues 2024-08-27 15:07:38 +02:00
Adria Navarro 99bd057160 Add comment 2024-08-27 15:07:38 +02:00
Adria Navarro 266ae96a80 Don't run for mssql and oracle 2024-08-27 15:07:38 +02:00
Adria Navarro 3186179f0e Fix test 2024-08-27 15:07:38 +02:00
Adria Navarro 85aa6361b2 Fix broken sqs tests 2024-08-27 15:07:38 +02:00
Adria Navarro ccf734486f Test sqs 2024-08-27 15:07:38 +02:00
Adria Navarro 02fdbae7ac More tests 2024-08-27 15:07:38 +02:00
Adria Navarro a28114a01c Extra tests 2024-08-27 15:07:38 +02:00
Adria Navarro 329fefc7dd Prepare reusing 2024-08-27 15:07:38 +02:00
Adria Navarro a3bbbb32be Add test 2024-08-27 15:07:38 +02:00
Adria Navarro c77ec0d17a Exclude formulas 2024-08-27 15:07:38 +02:00
Adria Navarro daa152183c Use isvisible for populating schemas instead of readonly 2024-08-27 15:07:38 +02:00
Adria Navarro c397dadd76 Add "flag" 2024-08-27 15:07:38 +02:00
Adria Navarro b3cd06944f Enrich based on schema 2024-08-27 15:07:37 +02:00
Adria Navarro a7399cc3e9 Fix test 2024-08-27 15:07:09 +02:00
Adria Navarro 84bab434bf Don't include primary display columns by default 2024-08-27 15:07:09 +02:00
Adria Navarro ca0ea3faf8 Don't show primary display 2024-08-27 15:07:09 +02:00
Adria Navarro 76ae3a1331 Display relationship header 2024-08-27 15:07:09 +02:00
Adria Navarro 1bf0f933f0 Split between addSchemaMutation and addSubSchemaMutation 2024-08-27 15:07:08 +02:00
Adria Navarro 6301b9de4c Tidy 2024-08-27 15:07:08 +02:00
Adria Navarro a63d193a3c Fix flashes 2024-08-27 15:07:08 +02:00
Adria Navarro cdead18402 Get isDisplay and field type from table 2024-08-27 15:07:08 +02:00
Adria Navarro 2ee356692e Don't show chevron for hidden fields 2024-08-27 15:07:08 +02:00
Adria Navarro 6c70d09fc2 Mutate properly 2024-08-27 15:07:08 +02:00
Adria Navarro 82c0f6f076 Use data from the backend 2024-08-27 15:07:08 +02:00
Adria Navarro 81d89cf4ef Handle onclose 2024-08-27 15:07:08 +02:00
Adria Navarro 11ffff377b Don't show hidden fields 2024-08-27 15:07:08 +02:00
Adria Navarro 643210f3aa Update/fetch nested settings 2024-08-27 15:07:07 +02:00
Adria Navarro 97a44a8162 Persist nested mutation 2024-08-27 15:07:07 +02:00
Adria Navarro 9d139e0ff4 Tooltips 2024-08-27 15:07:07 +02:00
Adria Navarro 6413d89cf1 Tooltips & disableds 2024-08-27 15:07:07 +02:00
Adria Navarro 31c1fa8b7a Allow setting visibilities via parameter 2024-08-27 15:07:07 +02:00
Adria Navarro 8f9995d04c Order and display name 2024-08-27 15:07:07 +02:00
Adria Navarro 10d2001cc3 Clean 2024-08-27 15:07:07 +02:00
Adria Navarro c745b99a39 Don't show relationships and formulas 2024-08-27 15:07:07 +02:00
Adria Navarro d72b5849da Display panels 2024-08-27 15:07:07 +02:00
Adria Navarro 890de94fa0 Allow passing columns 2024-08-27 15:07:06 +02:00
Adria Navarro b92adecb53 Display chevron 2024-08-27 15:07:06 +02:00
Adria Navarro 6b48bbf648 Clean empty message 2024-08-27 15:07:06 +02:00
Adria Navarro 1391f5d049 Trim wrong fields 2024-08-27 15:07:05 +02:00
Adria Navarro 5715f7e9c1 Fix promises 2024-08-27 15:07:05 +02:00
Adria Navarro 55d4e2dffe Enrich view schemas 2024-08-27 15:07:05 +02:00
Adria Navarro 906abbb12a Don't return primarydisplay and type 2024-08-27 15:07:05 +02:00
Adria Navarro c2e643cebb Fix enrichments 2024-08-27 15:07:05 +02:00
Adria Navarro 0e468b04de Fix build 2024-08-27 15:07:04 +02:00
Adria Navarro de61754312 Enrich relationship from backend 2024-08-27 15:07:04 +02:00
Adria Navarro e8f33e5fd8 Reuse 2024-08-27 15:07:04 +02:00
Adria Navarro 3405484977 Fix required ts 2024-08-27 15:07:04 +02:00
Adria Navarro 64679565bc Lint 2024-08-27 15:07:04 +02:00
Adria Navarro 1504cead0c Persist view related schemas 2024-08-27 15:07:04 +02:00
Dean 3c2cb3dda1 Simplify the approach to leave change behaviour as it is and leave persistence to the close behaviour 2024-08-23 12:24:22 +01:00
Dean b9c685b83b Changed the CodeEditorModal to trigger a change when closing. This will accommodate any state updates to the editor 2024-08-23 10:15:46 +01:00
Dean f44d09b344 Switched the CodeEditor update event from change to blur. 2024-08-23 09:27:46 +01:00
Daniel Olabemiwo da6ac6c1cb fix #14408 - Delete Screen modal shows behind builder 2024-08-23 02:38:16 +01:00
Andrew Kingston 1e4fb27d7c
Ensure autoscreens use a specific component order to look better on older client versions 2024-08-21 16:39:54 +01:00
Adria Navarro 2322925c62
Merge branch 'master' into fix/conditions-on-views 2024-08-21 14:38:24 +02:00
Adria Navarro dc5a7dbc62 Fixes 2024-08-21 14:25:48 +02:00
Adria Navarro bbe2763e54
Merge branch 'master' into fix/logical-operator-filter-cleanup 2024-08-21 13:45:50 +02:00
Adria Navarro 40e7ab1371 Fix build 2024-08-21 13:45:26 +02:00
Adria Navarro 7c06f1a407 Run tests for lucene as well 2024-08-21 13:40:17 +02:00
Adria Navarro 8c3f1c39c8 Fix test expect 2024-08-21 13:33:02 +02:00
Adria Navarro 9f05804c67 Add extra tests 2024-08-21 13:01:48 +02:00
Adria Navarro e536ec5093 Fix conditions 2024-08-21 13:01:42 +02:00
Adria Navarro ff9d934f87 Allow filtering via allOr 2024-08-21 13:01:35 +02:00
Adria Navarro c5476ce3b3 Test both allOr and allAnd 2024-08-21 13:00:54 +02:00
mike12345567 e6c5a7ecd7 PR comments. 2024-08-21 11:05:48 +01:00
Andrew Kingston 4be3f0a320
Fix issue where we were saving the entire datasource definition into every datasource setting 2024-08-21 09:55:30 +01:00
Andrew Kingston fa5a2ae198
Fix param 2024-08-20 15:29:39 +01:00
Andrew Kingston aba38c02b9
Fix memos 2024-08-20 15:28:12 +01:00
Andrew Kingston d96cd60618
Merge branch 'master' into grid-layout-expansion 2024-08-20 15:07:47 +01:00
Andrew Kingston 2d45f192f6
Lint 2024-08-20 15:07:23 +01:00
Andrew Kingston 7e5f43dd6d
Update table autoscreens to use grid layout 2024-08-20 14:58:07 +01:00
mike12345567 ff855a677a PR comments. 2024-08-20 13:27:20 +01:00
mike12345567 e941491d8c Don't check row value - always use the column or not. 2024-08-20 13:24:41 +01:00
mike12345567 8847a5b146 Disabling for old/in-memory search. 2024-08-20 13:19:58 +01:00
mike12345567 aab120b9ca Bringing back test cases. 2024-08-20 13:18:40 +01:00
mike12345567 f2beedbee6 Adding a test case for primary display columns, ignore when it has been set to a relationship, instead use another column which is valid in the table. 2024-08-20 13:14:24 +01:00
mike12345567 0d389bd8d7 Quick set of fixes, test cases assumed that multi-depth relationships were allowed, fixing this. 2024-08-20 12:31:46 +01:00
mike12345567 5435028e7d Fix for cyclic relationships, getQueryableFields allowed relationships from other tables, which can't work. 2024-08-20 12:13:37 +01:00
Andrew Kingston 9385bc878b
Bump submodules which are somehow out of date and failing CI 2024-08-20 10:34:29 +01:00
Andrew Kingston 346f55691b
Merge branch 'master' of github.com:Budibase/budibase into grid-layout-expansion 2024-08-20 10:26:39 +01:00
mike12345567 bbcb77c738 Fixing an issue where searching on a relationship column which is in a broken state would break in SQS (previously this was allowed and would return empty relationships). 2024-08-20 07:38:23 +01:00
Martin McKeaveney a21e8123c6
Merge branch 'master' into poc-authenticated-iframe 2024-08-19 18:19:03 +01:00
Martin McKeaveney 89051da102 use postMessage instead of window object 2024-08-19 18:01:56 +01:00
mike12345567 90da9f89c6 Merge branch 'master' of github.com:Budibase/budibase into fix/logical-operator-filter-cleanup 2024-08-19 16:49:49 +01:00
mike12345567 a5533bb033 Fixing test cases. 2024-08-19 16:49:40 +01:00
mike12345567 f4d5eb31de Fixing test case. 2024-08-19 16:20:33 +01:00
Adria Navarro 07fe8c6c1f Many to many tests 2024-08-19 15:59:59 +02:00
Adria Navarro 27c618d263 Extra tests 2024-08-19 15:59:59 +02:00
Adria Navarro bbf7142bd7 Handle relationships properly 2024-08-19 15:59:59 +02:00
Adria Navarro d8462ba961 Fix tests 2024-08-19 15:59:59 +02:00
Adria Navarro b744ec3c35 Add extra tests 2024-08-19 15:59:59 +02:00
Adria Navarro f0a89764f2 Add basic test 2024-08-19 15:59:59 +02:00
Adria Navarro eb2d71e980 Move getQueryableFields to utils 2024-08-19 15:59:59 +02:00
Adria Navarro 084a481821 Typo 2024-08-19 15:59:59 +02:00
Adria Navarro 09938ae442 Don't change key order on trimming 2024-08-19 15:59:59 +02:00
Adria Navarro f53500450a Fix wrong test 2024-08-19 15:59:59 +02:00
Adria Navarro da87c0233b Don't trim usertable 2024-08-19 15:59:59 +02:00
Adria Navarro ce8730f176 Clean code 2024-08-19 15:59:59 +02:00
Adria Navarro 385c5f6e99 Trim unwanted columns in outputProcessing 2024-08-19 15:59:58 +02:00
Adria Navarro 1a88d9f89b Don't clean relationship query 2024-08-19 15:59:58 +02:00
Adria Navarro 08b0b6af19 Fix search relationships 2024-08-19 15:59:58 +02:00
Adria Navarro 59a164f4df Test relationships 2024-08-19 15:59:58 +02:00
Adria Navarro ee5c4e8ed8 Don't trim prefixed keys 2024-08-19 15:59:58 +02:00
Adria Navarro b1d78f129b Remove jest only 2024-08-19 15:59:58 +02:00
Adria Navarro ac62fc0e29 Fix jest asserts 2024-08-19 15:59:58 +02:00
Adria Navarro 0bdb6396ed Remove unneeded test 2024-08-19 15:59:58 +02:00
Adria Navarro 48486cdaa4 Implement query 2024-08-19 15:59:58 +02:00
Adria Navarro 5b13e53a3b Fix tests 2024-08-19 15:59:58 +02:00
Adria Navarro 6fe628f804 Fix tests 2024-08-19 15:59:58 +02:00
Adria Navarro 42070dcd39 Add tests 2024-08-19 15:59:58 +02:00
Adria Navarro 728b4d363d Add removeInvalidFilters utils 2024-08-19 15:59:58 +02:00
Adria Navarro 0212f584d2 Add imports 2024-08-19 15:59:57 +02:00
Adria Navarro 331e8eb7be Add view tests 2024-08-19 15:59:18 +02:00
Adria Navarro 3acc9bde45 Extra tests 2024-08-19 15:59:18 +02:00
Adria Navarro 723dfee8c8 Add field mapping tests 2024-08-19 15:59:18 +02:00
Adria Navarro 120d5d953d Fetch only table fields and validate 2024-08-19 15:59:18 +02:00
Adria Navarro 3dcf17d438 Fix initial visibility 2024-08-19 13:00:23 +02:00
Adria Navarro 3685c6dbe5 Split columns setting button/content 2024-08-19 12:59:39 +02:00
Gerard Burns 205a50156b
[BUDI-8460] Add New Step to Table Screen Template (#14203)
* [BUDI-8460] Add New Step to Table Screen Template Flow

* fix tests

* PR Feedback

---------

Co-authored-by: Andrew Kingston <andrew@kingston.dev>
2024-08-19 10:44:09 +00:00
Martin McKeaveney 8ee64c00fe merge 2024-08-19 11:24:45 +01:00
mike12345567 a1fae4d799 Making sure filters are always added to end, this is important for OR situations. 2024-08-15 18:52:17 +01:00
mike12345567 48672244f4 Fixing up column renaming everywhere that it is needed, making sure works for external as well. 2024-08-15 18:46:28 +01:00
mike12345567 aa1eaa1d3d A few fixes for logical operators, there was a lot of cleanup that was not occurring as it is supposed to be recursive, this wasn't happening. 2024-08-15 18:35:30 +01:00
Michael Drury 483bb585c3
Merge branch 'master' into fix/feature-flag-checks 2024-08-15 17:11:38 +01:00
mike12345567 4995056ba0 Updating tests. 2024-08-15 17:09:15 +01:00
Peter Clement 0e229c9b2e
Update automation test builder to support branching (#14387)
* add branch step definition

* update automation test builder to support branching

* rename Automation test builder

* example test

* pr comments
2024-08-15 16:07:42 +00:00
mike12345567 21cc83daf4 PR comment. 2024-08-15 16:58:17 +01:00
mike12345567 15fb54e841 Updating latest pro. 2024-08-15 16:53:00 +01:00
mike12345567 5c63439c8d Fixing an issue where old feature flags would cause issues, all feature flags are expected to be known, this allows unknown feature flags to just be ignored. 2024-08-15 16:51:29 +01:00
Sam Rose 278ae65eac
Fix broken import. 2024-08-15 16:28:54 +01:00
Sam Rose 008ef58bf8
Merge branch 'master' of github.com:Budibase/budibase into feature-flag-sqs 2024-08-15 16:27:57 +01:00
Sam Rose 061b61dd64
Fix pro test failures. 2024-08-15 16:27:40 +01:00
Sam Rose c12a96b4d8
Fix backend-core tests. 2024-08-15 16:21:12 +01:00
Sam Rose 71000ea967
Fix lint. 2024-08-15 16:11:06 +01:00
Michael Drury 57362ad5d0
Merge branch 'master' into fix/disallow-backend-core-barrel-file 2024-08-15 16:06:38 +01:00
Sam Rose 00ba926850
Update pro reference. 2024-08-15 16:01:52 +01:00
Sam Rose 87ccfce7f1
Update submodules. 2024-08-15 15:53:18 +01:00
mike12345567 26871a7deb Disallowing access to the backend-core barrel file as it can cause problems, it should only ever be imported externally via @budibase/backend-core. 2024-08-15 15:48:39 +01:00
Sam Rose 987304494f
Update pro reference. 2024-08-15 15:46:12 +01:00
Sam Rose 06a7801d8c
Remove global audit logs SQS flag. 2024-08-15 15:37:51 +01:00
Sam Rose dc28b7e133
Don't error if you can't get the current tenant ID. 2024-08-15 15:21:58 +01:00
Sam Rose 354e5dd34c
More specifically import feature flags. 2024-08-15 15:17:37 +01:00
Sam Rose f548fb1299
Update pro reference. 2024-08-15 15:06:13 +01:00
Sam Rose ea032a0e7e
Fix lint. 2024-08-15 14:59:31 +01:00
Sam Rose 4e24035812
Update account-portal reference. 2024-08-15 14:58:12 +01:00
Sam Rose 86717b536b
Use new feature flag API for SQS. 2024-08-15 14:58:11 +01:00
Sam Rose e1268b7ec8
Merge branch 'master' of github.com:Budibase/budibase into feature-flag-cleanup 2024-08-15 14:57:04 +01:00
Sam Rose c6e7674e2c
Update account-portal reference. 2024-08-15 14:39:16 +01:00
mike12345567 e32409da15 Fixing an issue with app import - old attachments which have an invalid state can cause the app to fail to import. 2024-08-15 14:25:36 +01:00
Andrew Kingston 48775b8397
Replace erroneous falsey comparisons with nullish comparisons 2024-08-15 11:44:31 +01:00
Andrew Kingston 916a7983d8
Fix potential undefined reference 2024-08-15 11:38:11 +01:00
Andrew Kingston 0252b02406
Update containers to use grid layout by default and ensure autoscreens use new layout prop 2024-08-15 11:36:02 +01:00
Andrew Kingston 39f7c28308
Revert max width nav to have reasonable padding 2024-08-15 11:25:57 +01:00
Andrew Kingston 991aff132f
Don't strip grid CSS variables from styles, allowing block ejection to reference them 2024-08-15 11:21:09 +01:00
Sam Rose d6308de1ab
Update account-portal reference. 2024-08-15 11:09:53 +01:00
mike12345567 bbc33d37e6 PR comments. 2024-08-15 11:04:57 +01:00
Sam Rose d27ecb9572
Update pro reference. 2024-08-15 11:01:46 +01:00
Sam Rose 4a1fd6481f
Remove old, unused feature flags. 2024-08-15 10:53:43 +01:00
mike12345567 3ed2fbbcb4 Merge branch 'master' of github.com:Budibase/budibase into fix/helper-overlap-formulas 2024-08-15 10:49:53 +01:00
Andrew Kingston a022e02643
Update blank screens to use grid layout by default 2024-08-15 10:44:42 +01:00
Andrew Kingston 7ae21460f8
Update row explorer block to stretch by default, enabling a height setting of 100% to work 2024-08-15 10:40:54 +01:00
Andrew Kingston b575109fdc
Fix possibility of updating wrong component styles when dragging in grids if you are too fast or have a slow server 2024-08-15 10:04:47 +01:00
Andrew Kingston 6783f9b4ee
Reset grid position metadata when copying and pasting between screens 2024-08-15 09:54:47 +01:00
Andrew Kingston 0fc602dfc2
Lint 2024-08-15 09:38:56 +01:00
Andrew Kingston 5f6ccd82dd
Merge branch 'grid-layout-expansion' of github.com:Budibase/budibase into grid-layout-expansion 2024-08-15 09:36:08 +01:00
Andrew Kingston fdefd6da07
Merge branch 'master' into grid-layout-expansion 2024-08-15 09:34:12 +01:00
Andrew Kingston cab82d2a73
Update markdown viewer to vertically align to the top by default 2024-08-15 09:33:49 +01:00
Peter Clement f15847a40f
More automation typing in preparation for branching (#14378)
* More typing for automations

* undo test updates

* remove casting of loop step and add more types

* remove unused type

* pro

* Update types and fix ts issues

* add branching types

* remove any cast

---------

Co-authored-by: Adria Navarro <adria@budibase.com>
2024-08-14 21:39:39 +01:00
mike12345567 87999db659 Adding test cases. 2024-08-14 18:12:33 +01:00
mike12345567 50d6e83eb0 Merge branch 'master' of github.com:Budibase/budibase into fix/helper-overlap-formulas 2024-08-14 17:43:06 +01:00
Michael Drury 165eff2e5a First pass - no tests yet, had to make some changes to how pre-processing works, as well as updating the string based on context, if there is any overlap between the helpers and context it will prefix the overlap with ./ - this means to look in context. 2024-08-14 17:21:40 +01:00
Andrew Kingston 86628903cc
Remove console log 2024-08-14 16:58:01 +01:00
Andrew Kingston 2afe040332
Update scrolling to selected component so that it works when adding components 2024-08-14 16:36:19 +01:00
Sam Rose 011859397d
Expose a nicer API for getting/setting feature flags on the current context. 2024-08-14 15:56:12 +01:00
Sam Rose 08a56ef480
Cache feature flags per-request, set default values flag to false by default. 2024-08-14 15:41:26 +01:00