Commit Graph

28253 Commits

Author SHA1 Message Date
Sam Rose b798930514
Merge branch 'update-pro-2' of github.com:budibase/budibase into update-pro-2 2024-08-28 16:28:55 +01:00
Sam Rose c1c6c4203e
Update packages/account-portal reference. 2024-08-28 16:28:44 +01:00
Sam Rose 7c5ae1546d
Merge branch 'master' into update-pro-2 2024-08-28 16:16:02 +01:00
Sam Rose 06592a0afc
Update packages/pro refernce to latest master. 2024-08-28 16:14:58 +01:00
Sam Rose 2bcc8cdf67
Update packages/pro refernce to latest master. 2024-08-28 16:14:43 +01: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 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
mike12345567 0c604b7310 Moving things around, making join logic more accessible. 2024-08-27 18:34:05 +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
mike12345567 b11ee56a38 Adding limit in for wide tables to be related correctly. 2024-08-23 18:54:46 +01:00
mike12345567 5d53e64360 Getting fields from all relationships loading correctly. 2024-08-23 18:45:13 +01:00
mike12345567 80f3e5954b Getting processing of SQS relationships working. 2024-08-23 18:30:29 +01:00
mike12345567 ab5f50d2b8 Implementing a JSON aggregate method of selecting relationships. 2024-08-23 18:00:52 +01: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
Andrew Kingston 919c4d95c5
Fix issue with side panel position 2024-08-14 15:24:48 +01:00
Andrew Kingston 952b9b4af1
Merge branch 'master' of github.com:Budibase/budibase into grid-layout-expansion 2024-08-14 13:01:18 +01:00
Andrew Kingston 33b68d6d54
Lint 2024-08-14 13:01:04 +01:00
Andrew Kingston fedb592b92
Fix issue where grid styles are not reapplied when component visibility changes 2024-08-14 12:56:45 +01:00
Andrew Kingston 84db937cba
Fix null refrence exception if definitions don't exist 2024-08-14 12:51:32 +01:00
Sam Rose eeba71b69b
Setup DEFAULT_VALUES feature flag. 2024-08-14 12:26:17 +01:00
Andrew Kingston fa12abf126
Merge branch 'master' into grid-layout-expansion 2024-08-14 11:29:11 +01:00
Andrew Kingston a755fe7630
Allow quick duplicating via ctrl/cmd + drag 2024-08-14 11:21:59 +01:00
Andrew Kingston b62371d1be
Allow moving grid components using the label 2024-08-14 10:59:06 +01:00
Andrew Kingston f99ae6b96e
Ensure modals are rendered in the correct DOM position 2024-08-14 10:26:44 +01:00
Andrew Kingston 83e7b2d3e2
Move side panel into correct DOM position 2024-08-14 10:16:01 +01:00
Andrew Kingston d36fef5c86
Fix indicators around modals and side panels when used inside grids 2024-08-14 10:09:59 +01:00
Andrew Kingston 6baf784f4a
Ensure images are contained when used inside grids 2024-08-14 09:59:02 +01:00
Andrew Kingston 7a9730b120
Fix ephemeral styles not clearing properly 2024-08-14 09:24:03 +01:00
Dean e2c491ef96 Backed out reactivity for Binding panel per discussion. Pending some UX discussion 2024-08-13 16:40:48 +01:00
Andrew Kingston b321eabb50
Merge branch 'master' into dean-fixes 2024-08-13 15:43:58 +01:00
Andrew Kingston a1e14fab18
Merge branch 'master' into grid-layout-expansion 2024-08-13 14:36:15 +01:00
Andrew Kingston 5d6d75d672
Merge branch 'cheeks-fixes' of github.com:Budibase/budibase into cheeks-fixes 2024-08-13 14:33:25 +01:00
Andrew Kingston 6db20a241b
PR feedback 2024-08-13 14:33:07 +01:00
Andrew Kingston 285f6bafe8
Merge branch 'master' into cheeks-fixes 2024-08-13 14:31:31 +01:00
Peter Clement 37f749019d
Add more automation tests (#14369)
* Add more automation tests

* remove comment

* update assertion

* unused type

* split out query creation

* remove map
2024-08-13 14:16:55 +01:00
deanhannigan 424124f5c8
Merge branch 'master' into cheeks-fixes 2024-08-13 12:35:28 +01:00
Dean 3d6acb5efd Removed erroneous param 2024-08-13 12:09:01 +01:00
Dean 8a31cc2ff7 Bug fixes for bindings panel and code editor 2024-08-13 11:07:00 +01:00
Andrew Kingston 0875d0c5e1
Only show empty rows in grid layouts when in the builder 2024-08-13 09:52:10 +01:00
Andrew Kingston 22f971cd3d
Merge branch 'grid-layout-expansion' of github.com:Budibase/budibase into grid-layout-expansion 2024-08-13 09:19:36 +01:00
Andrew Kingston 78953848bb
Fix variable name error in indicator sets 2024-08-13 09:19:16 +01:00
Andrew Kingston 17c8f8e5d9
Merge branch 'master' into grid-layout-expansion 2024-08-13 09:18:28 +01:00
Andrew Kingston 73cc871a5e
Avoid name clashing 2024-08-13 09:14:42 +01:00
Andrew Kingston ead4be7b88
Add padding at bottom of grid for screen level grids 2024-08-13 09:09:53 +01:00
Dean 8e301902a3 Merge remote-tracking branch 'origin/master' into dean-fixes 2024-08-13 09:06:02 +01:00
melohagan 151fff51c5
Make generated passwords longer (#14362)
* Make generated passwords longer

* Use crypto for generating passwords

* Remove comments

* Generate password with length 12
2024-08-12 20:37:59 +00:00
Andrew Kingston 96882e7eca
Improve performance of styleable util 2024-08-12 19:27:33 +01:00
Sam Rose b5465f1b63
Disable PostHog feature flags in prod. 2024-08-12 16:32:25 +01:00
Andrew Kingston d6f33b2191
Change how z-index is applied to the dragged element 2024-08-12 16:13:47 +01:00
Sam Rose b01c111567
Log PostHog payload. 2024-08-12 15:34:23 +01:00
Sam Rose 72a37ed1a7
Add some logging to see if I can figure out why PostHog flags aren't coming through. 2024-08-12 15:33:48 +01:00
Andrew Kingston 2f3a7018ae
More tidy up 2024-08-12 15:29:03 +01:00
Andrew Kingston 25ff092da2
Simplify some utils 2024-08-12 14:54:39 +01:00
Andrew Kingston d423d530e4
Rewrite settings bar updates to improve performance 2024-08-12 14:45:17 +01:00
Andrew Kingston 1f99ecc529
Fix missing reference 2024-08-12 14:03:31 +01:00
Andrew Kingston 47e4c668ec
Tidy up 2024-08-12 14:01:33 +01:00
Sam Rose 700356a1ef
Factor out default value check to shared-core. 2024-08-12 11:08:58 +01:00
Andrew Kingston 51db5ac9a9
Lint 2024-08-12 11:00:59 +01:00
Sam Rose 63789208b7
Merge branch 'master' of github.com:budibase/budibase into budi-8433-default-value-column-ui 2024-08-12 10:56:31 +01:00
Andrew Kingston 26936242b7
Merge branch 'master' of github.com:Budibase/budibase into grid-layout-expansion 2024-08-12 10:51:06 +01:00
Andrew Kingston aeb8a0f117
Allow grid containers to use their natural height as a min height 2024-08-12 10:48:38 +01:00
Andrew Kingston 9f951bab20
Revert indicator sets to use IntersectionObservers when multiple indicators are required 2024-08-12 10:24:14 +01:00
Sam Rose f4a4456679
Update packages/pro refernce to latest master. 2024-08-12 10:10:33 +01:00
Sam Rose c14f108d4d
Respond to PR comments. 2024-08-12 09:58:46 +01:00
Sam Rose 0eaf6b7d42
Make it possible to get flag values from the license. 2024-08-12 09:58:46 +01:00
Andrew Kingston 5b8846208b
Prevent pointer events on non-dragged grid children to reduce hit test load 2024-08-12 09:55:45 +01:00
Andrew Kingston d77e4381cc
Speed up memo stores 2024-08-12 09:55:12 +01:00
Sam Rose bcefa398a4
Merge master. 2024-08-12 09:43:49 +01:00
Dean 0289b9be91 Merge remote-tracking branch 'origin/master' into dean-fixes 2024-08-12 09:05:09 +01:00
Andrew Kingston 304c244943
Tidy up and remove old code and simplify some selectors 2024-08-10 20:08:49 +01:00
Andrew Kingston 533a597a0b
Performance improvements 2024-08-10 18:52:24 +01:00
Andrew Kingston 34448cfca2
Fix dragging on tablet preview 2024-08-10 14:40:32 +01:00
Andrew Kingston 781a749a07
Update grid layout action to provide explicit values for all variables and simplify inheritance logic 2024-08-10 14:16:41 +01:00
Andrew Kingston a6fd2ceb47
Improve responsiveness of settings bar 2024-08-10 10:42:54 +01:00
Andrew Kingston 933942ef26
Make indicators more responsive 2024-08-09 22:20:25 +01:00
Andrew Kingston f87035aa9b
Simplify some DOM queries 2024-08-09 21:22:48 +01:00
Andrew Kingston 863fafa1d0
Simply and improve performance of indicators 2024-08-09 21:21:59 +01:00
Andrew Kingston 376192e85a
Improve performance of grid DND handler 2024-08-09 20:18:30 +01:00
Andrew Kingston 8aa0407236
Hide resize indicators when they don't fit 2024-08-09 19:09:32 +01:00
Andrew Kingston aaa33acc1c
Rework grid layouts to automatically grow as required 2024-08-09 18:04:23 +01:00
mike12345567 28a10bf908 Another test fix (yay for this one) 2024-08-09 14:54:47 +01:00
mike12345567 3e1a0a60b4 Checking the correct operation - also typeguarding the check. 2024-08-09 14:35:13 +01:00
Sam Rose 1b556f29fe
Rebase on posthog-feature-flags 2024-08-09 14:00:16 +01:00
Sam Rose aaaf173295
Initial UI. 2024-08-09 13:59:00 +01:00
mike12345567 a9acc7f87b Adding expect function to allow undefined. 2024-08-09 13:39:47 +01:00
mike12345567 97919821ac Merge branch 'fix/invalid-table-schema-search' of github.com:Budibase/budibase into fix/invalid-table-schema-search 2024-08-09 13:36:46 +01:00
mike12345567 904f0dc9fd Adding jest-extended to allow use of oneOf expect, fixing for updated fetching. 2024-08-09 13:36:22 +01:00
Dean 849f5f21f9 Fix for environment bindings race condition. 2024-08-09 12:44:10 +01:00
Sam Rose 083b595d50
Fix formatting. 2024-08-09 11:58:57 +01:00
Sam Rose d716d4b4d0
Fix test failures and lint. 2024-08-09 11:45:55 +01:00
Sam Rose 7505d60888
Extract out processor and spy variables to reduce repetition. 2024-08-09 11:31:05 +01:00
Sam Rose 4887ca261e
Improve testing of feature flags by not polluting production flags with test ones. 2024-08-09 11:27:43 +01:00
Sam Rose 85cfd2023d
Merge branch 'master' into fix/invalid-table-schema-search 2024-08-09 10:46:12 +01:00
Sam Rose 3d590e879e
Rely on withEnv and setEnv functions in respective environment.ts files. 2024-08-09 10:30:27 +01:00
Andrew Kingston 2b32db4286
Merge branch 'master' into grid-layout-improved 2024-08-09 10:02:02 +01:00
Sam Rose 858bb77c00
Merge branch 'master' into posthog-feature-flags 2024-08-09 09:25:48 +01:00
Andrew Kingston 46beead098
Update the style of edge anchors 2024-08-09 09:14:53 +01:00
deanhannigan 3c563c382d
Merge branch 'master' into dean-fixes 2024-08-09 09:02:54 +01:00
Andrew Kingston 86061543dd
Slightly improve the look and behaviour of working with grid components 2024-08-09 08:52:03 +01:00
Andrew Kingston 8a022bb21e
Use single CSS variable for grid spacing to reduce duplication 2024-08-09 08:48:32 +01:00
mike12345567 efafb3e3c2 Getting composite keys working, fixing p2 issue and adding test case for it. 2024-08-08 18:55:41 +01:00
Sam Rose 079dcdcc6e
Merge branch 'master' into posthog-feature-flags 2024-08-08 17:59:57 +01:00
melohagan c86b1d7ca5
Auto login the user after password is set (#14344)
* login after creating super admin user

* Allow keyboard enter key in create account from invite

* Allow enter key to submit password reset

* Min length for password validation should be 12

* Default PASSWORD_MIN_LENGTH to 12

* fix unit tests

* Fix unit tests

* Add passwordMinLength to admin store
2024-08-08 17:45:04 +01:00
Sam Rose bc2ea99254
Merge branch 'master' into posthog-feature-flags 2024-08-08 17:25:28 +01:00
Dean c069fb0a9a Merge remote-tracking branch 'origin/master' into dean-fixes 2024-08-08 16:51:49 +01:00
Dean 1d8235a1cc PR feedback. Ensure fieldValue reacts to schema changes 2024-08-08 16:51:33 +01:00
Andrew Kingston cdc2092264
Only apply grid action when component is an immediate child of a grid container 2024-08-08 16:30:31 +01:00
Andrew Kingston 618b65e3fa
Use outline rather than pseudo elements for highlighting grid children 2024-08-08 16:23:55 +01:00
Andrew Kingston 5eebbd56f6
Reduce spacing between components in grids to 16px from 20px 2024-08-08 16:15:05 +01:00
Andrew Kingston 91120c673c
Merge branch 'master' of github.com:Budibase/budibase into grid-layout-improved 2024-08-08 16:07:23 +01:00
Andrew Kingston 1867df973b
Merge branch 'master' into cheeks-fixes 2024-08-08 15:23:43 +01:00
Andrew Kingston 013f13315c
Update how available actions on the screen are found so that they understand global bindings properly and respect local scope 2024-08-08 15:17:55 +01:00
Sam Rose cf488cbd20
Merge branch 'master' into budi-8550-s3-upload-signed-url-missing-aws-endpoint-when-not 2024-08-08 13:05:47 +01:00
Dean bd2664218c PR feedback. Switch single user init back to expect an array and take the result 2024-08-08 12:29:39 +01:00
Dean 5ccbec9668 Merge remote-tracking branch 'origin/master' into dean-fixes 2024-08-08 12:22:10 +01:00
Andrew Kingston 691d6b04bb
Allow native paste into table cells 2024-08-08 12:18:06 +01:00
Andrew Kingston fc21c80d64
Use setting default value in conditional UI drawer 2024-08-08 11:58:19 +01:00
andz-bb 5d5ccc84ce fix AWS datasource when endpoint is unspecified 2024-08-08 11:11:21 +01:00
melohagan 4c189e1e96
Add BpmStatusValue failed (#14334) 2024-08-08 08:48:17 +00:00
mike12345567 9733ba5f95 Allowing incorrectly setup column schemas to still function as part of search - requires further investigation as to how this happens, but search should still work. 2024-08-07 18:04:07 +01:00
Sam Rose 8803109496
Add DataDog tracing to feature flags. 2024-08-07 17:50:39 +01:00
Sam Rose eb6c0d7891
Merge branch 'master' of github.com:budibase/budibase into posthog-feature-flags 2024-08-07 17:34:29 +01:00
Sam Rose d7e07bb44a
Fix worker tests. 2024-08-07 17:33:47 +01:00
Sam Rose a9b4d0017f
add tests for posthog feature flags 2024-08-07 16:59:33 +01:00
Michael Drury 7b41e7cb39
Merge branch 'master' into test-oracle 2024-08-07 16:44:54 +01:00
Dean b5485fac0e Merge remote-tracking branch 'origin/master' into dean-fixes 2024-08-07 16:34:35 +01:00
Adria Navarro 80ff963082 Remove unnecessary coercion 2024-08-07 17:01:59 +02:00
Sam Rose edb3b685b5
Remove node-fetch mock from backend-core and replace with nock. 2024-08-07 15:26:04 +01:00
Adria Navarro dac3fa0675
Merge pull request #14335 from Budibase/BUDI-8508/conditions-on-views
Support filtering views
2024-08-07 15:09:05 +02:00
Adria Navarro 44a053ee08 Lint 2024-08-07 14:40:23 +02:00
Adria Navarro 32702f2e9d Don't validate for in-memory 2024-08-07 14:39:05 +02:00
Adria Navarro bc7ab264b0 Add validations 2024-08-07 14:32:59 +02:00
Adria Navarro 00c12b9686 Add tests 2024-08-07 14:32:42 +02:00
Adria Navarro 22d9b930fc Validate onEmptyFilter 2024-08-07 14:02:09 +02:00
Adria Navarro c6f7f0133d Disallow fuzzyOr and documentType 2024-08-07 13:57:54 +02:00
Adria Navarro 8d1c658c7c Add containsAny validator 2024-08-07 13:57:34 +02:00
Adria Navarro d6e1bcb382 Type search validators 2024-08-07 13:56:25 +02:00
Adria Navarro 0fa1cc6f15
Merge branch 'master' into BUDI-8508/sql-support-for-logical-operators 2024-08-07 13:36:55 +02:00
Adria Navarro 00cf4e48e3 Lint 2024-08-07 13:21:28 +02:00
Adria Navarro 28f11a5765 Don't add breaking changes 2024-08-07 13:15:30 +02:00
Adria Navarro 94b6737bdc Add extra tests 2024-08-07 12:40:03 +02:00
Adria Navarro 42b6b6e919 Fix 2024-08-07 12:37:37 +02:00