Commit Graph

12642 Commits

Author SHA1 Message Date
Adria Navarro 868d193015 Add triggerRowActionAuthorised 2024-08-30 10:30:27 +02:00
Adria Navarro f193df41f1 Expose get row action 2024-08-30 10:30:27 +02:00
Adria Navarro 6a43597dd3 Update paths 2024-08-30 10:30:27 +02:00
Adria Navarro 5ed66e9d40 Lint 2024-08-30 10:30:27 +02:00
Adria Navarro 95d863b4a8 Clean 2024-08-30 10:30:27 +02:00
Adria Navarro 6d1838d907 Create row action trigger test 2024-08-30 10:30:27 +02:00
Adria Navarro e93934111f Allow running api prod tests 2024-08-30 10:30:27 +02:00
Adria Navarro 610621823c Publish 2024-08-30 10:30:27 +02:00
Adria Navarro 568f5719c6 Test utils 2024-08-30 10:30:27 +02:00
Adria Navarro 922b746029 Crud endpoints only for builder 2024-08-30 10:30:27 +02:00
Adria Navarro 98347b45ce Extra tests 2024-08-30 10:30:27 +02:00
Adria Navarro b461025639 Check views 2024-08-30 10:30:27 +02:00
Adria Navarro 0ece6a4d2d Fix unauthorised tests 2024-08-30 10:30:27 +02:00
Adria Navarro 3ac1343b08 set/unsetViewPermission tests 2024-08-30 10:30:27 +02:00
Adria Navarro d1c6edc437 Return types 2024-08-30 10:30:27 +02:00
Adria Navarro ec2e5a0263 Add test utils 2024-08-30 10:30:27 +02:00
Adria Navarro 6d3006e80e Dry code 2024-08-30 10:30:27 +02:00
Adria Navarro 2aa71ab419 Set/unset 2024-08-30 10:30:27 +02:00
Adria Navarro 5f3dcda73a Refactor 2024-08-30 10:30:27 +02:00
Adria Navarro de3eae2d47 Fix types 2024-08-30 10:30:27 +02:00
Sam Rose 2a2dbfb745
Respond to last PR comment. 2024-08-29 17:59:17 +01:00
Sam Rose d134c21a45
Fix build. 2024-08-29 17:45:47 +01:00
Sam Rose edfedec930
Fix lint. 2024-08-29 15:50:46 +01:00
Sam Rose bced81d241
Fix tests. 2024-08-29 15:45:19 +01:00
Adria Navarro 40021ff602 Fix view schemas 2024-08-29 13:56:42 +02:00
Adria Navarro 637464e8b0 Fix 2024-08-29 13:22:50 +02:00
Adria Navarro f2b8185905 Fix types 2024-08-29 13:20:35 +02:00
Adria Navarro 79ed5cd5a6 Fix 2024-08-29 13:16:27 +02:00
Adria Navarro fc1be3c9f8 Lint 2024-08-29 13:16:27 +02:00
Adria Navarro 033ac46259 Lint 2024-08-29 13:16:27 +02:00
Adria Navarro 351ed643ce Extra tests 2024-08-29 13:16:27 +02:00
Adria Navarro 275d358df9 Test updated 2024-08-29 13:16:27 +02:00
Adria Navarro d75f1debda Update 2024-08-29 13:16:27 +02:00
Adria Navarro 6b259676b2 Enrich on get row from view 2024-08-29 13:16:27 +02:00
Adria Navarro e443b00a69 Fix test 2024-08-29 13:16:27 +02:00
Adria Navarro b784479c8f Add feature flags back 2024-08-29 13:16:27 +02:00
Adria Navarro adc2e983b5 Move responsability 2024-08-29 13:16:27 +02:00
Adria Navarro 383aad7265 Honor fields on views 2024-08-29 13:16:27 +02:00
Adria Navarro 1bc1db9b29 Support outputSquash fields on searchs 2024-08-29 13:16:27 +02:00
Adria Navarro 73ec0bbf09 Renames 2024-08-29 13:16:27 +02:00
Adria Navarro de29d31c35 Enrich configuration only for views 2024-08-29 13:16:27 +02:00
Adria Navarro 4826a5fbbf Clean ts 2024-08-29 13:15:03 +02:00
Sam Rose 92957ede23
Merge master. 2024-08-29 12:12:29 +01:00
Adria Navarro 658d4b01b0 Merge branch 'master' into feat/pick-relationship-fields 2024-08-29 13:12:27 +02:00
Adria Navarro 6028ddec84 Move cast 2024-08-29 12:34:17 +02:00
Adria Navarro bb1232277f Merge branch 'master' into feat/pick-relationship-fields 2024-08-28 16:35:50 +02:00
Adria Navarro 92c3f4dba6
Merge branch 'master' into BUDI-8562/fix-trimming-views 2024-08-28 16:22:34 +02:00
Adria Navarro 54406fd6b5 Rename fetchView to fetchLegacyView 2024-08-28 14:56:40 +02:00
Adria Navarro d71b18be00 Fix tests 2024-08-28 14:44:08 +02:00
Adria Navarro f2d9be985d Lint 2024-08-28 14:36:19 +02:00
Adria Navarro 19e97dee50 Unify tests 2024-08-28 14:32:59 +02:00
Adria Navarro e1add8dd6a Fix retrieve 2024-08-28 14:32:59 +02:00
Adria Navarro 0dba593bdb Add extra test (failing) 2024-08-28 14:32:59 +02:00
Adria Navarro d404d60c32 Add extra tests 2024-08-28 14:32:59 +02:00
Adria Navarro 4bd27bac61 Add basic test 2024-08-28 13:36:40 +02:00
Adria Navarro 3af35e6683 Add describe 2024-08-28 13:28:45 +02:00
Adria Navarro 8a9e868527 Move test to right describe 2024-08-28 13:26:23 +02:00
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 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
Adria Navarro 5a8bb2972b Change types 2024-08-28 11:36:57 +02: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
Sam Rose be0a14489b
Debugging view test failures. 2024-08-27 15:22:53 +01: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 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 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 1504cead0c Persist view related schemas 2024-08-27 15:07:04 +02:00
Adria Navarro 2322925c62
Merge branch 'master' into fix/conditions-on-views 2024-08-21 14:38:24 +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 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
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
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
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
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