Commit Graph

27839 Commits

Author SHA1 Message Date
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
Adria Navarro 8191552352 Bypass view 2024-08-07 12:36:51 +02:00
Sam Rose b5423d71a0
Add detailed tracing to searches. 2024-08-07 11:16:18 +01:00
Adria Navarro 77c8aa3f64
Merge branch 'master' into BUDI-8508/sql-support-for-logical-operators 2024-08-07 11:41:31 +02:00
deanhannigan c830cde105
Merge branch 'master' into dean-fixes 2024-08-07 10:20:17 +01:00
deanhannigan c7c1c257dd
Merge branch 'master' into dean-fixes 2024-08-07 09:58:09 +01:00
Adria Navarro c5f504d724 Use helper 2024-08-07 10:54:19 +02:00
Adria Navarro 24463bd387 Add helper 2024-08-07 10:51:40 +02:00
Sam Rose b51fc38f57
Merge branch 'master' of github.com:budibase/budibase into budi-8483-consolidate-feature-flags-into-a-single-endpoint 2024-08-07 09:20:28 +01:00
Adria Navarro ab54218692
Merge branch 'master' into BUDI-8508/sql-support-for-logical-operators 2024-08-06 19:24:08 +02:00
Adria Navarro 0667449463 Types 2024-08-06 18:25:35 +02:00
Adria Navarro 5caf20635a Implement in memory filter 2024-08-06 18:15:50 +02:00
Adria Navarro 3b40db5db0 Run tests for in-memory 2024-08-06 18:15:50 +02:00
Adria Navarro 2074ebd0f7
Merge branch 'master' into BUDI-8508/sql-support-for-logical-operators 2024-08-06 18:14:57 +02:00