Commit Graph

27647 Commits

Author SHA1 Message Date
Sam Rose a4b66e00e4
Fix bigints. 2024-07-29 14:32:28 +01:00
Peter Clement d29d37b39c
Fix issue with stepId being undefined when importing app (#14265)
Co-authored-by: Adria Navarro <adria@budibase.com>
2024-07-29 14:09:55 +01:00
melohagan 60f7c03e17
Fix/verify sso bug (#14253)
* Delete associated SSO user

* Update reset password screen

* Partial type removed

* lint

* Split getFirstPlatformUser from getPlatformUsers

* lint

* Use correct method

* Code review comments

* lint
2024-07-29 13:25:46 +01:00
Gerard Burns cf31c7ba3f
Form Screen Templates Generate Relevant Row Ids, Permission Roles are Automatically Generated (#14192)
* url params

* wip

* wip

* wip

* wip

* permissions now

* change table/screen deletion

* form screen refactor

* refactor grid templates

* wip

* wip permissions

* wip

* wip

* lint

* lint

* wip

* before lint

* lint

* wip

* rename some stuff

* Dean PR Feedback

* remove unneeded awaits
2024-07-29 11:59:24 +00:00
Sam Rose 50d1972127
wip 2024-07-29 09:57:24 +01:00
mike12345567 27d4226c6e Shorten column name. 2024-07-26 17:06:04 +01:00
mike12345567 1beae2c040 Fix bug (thanks tests) 2024-07-26 16:57:07 +01:00
mike12345567 9fb1c6b988 When searching by row ID with external DBs/SQS we can get into a situation where the limit of 1 which is applied by the frontend can cause problems, with many to many relationships we need to retrieve multiple rows (all of the joined related rows). This was raised by poirazis, it exhibits itself in one part of the platform, when attempting to a row by ID in a form block that has multiple many to many relationships. The frontend needs to be able to send a limit of 1 incase it is using a form block but hasn't gotten a row ID (this can happen in preview/the builder) and it just wants to populate with a row for display. 2024-07-26 16:23:46 +01:00
Adria Navarro 8421a75328
Merge branch 'master' into BUDI-8441/row-action-run-api 2024-07-26 15:16:21 +02:00
Adria Navarro f2cd589aae
Merge branch 'master' into chore/renames 2024-07-26 14:42:08 +02:00
Adria Navarro f9bfe51c81 Rename external 2024-07-26 14:37:47 +02:00
Adria Navarro ee74a84339 Remove duplicates 2024-07-26 14:36:41 +02:00
Adria Navarro 3a095c5071 Renames 2024-07-26 14:35:36 +02:00
Adria Navarro 4cf3706904 Renamings 2024-07-26 14:29:20 +02:00
Adria Navarro d7e2f0fc0e Fix build 2024-07-26 13:42:33 +02:00
Adria Navarro a05ec1498f Allow importing internal tables 2024-07-26 13:27:51 +02:00
Adria Navarro 5102724f89 Fix conflicting imports in jest 2024-07-25 17:22:09 +02:00
Adria Navarro afdf6a8fa5 Change imports 2024-07-25 16:46:37 +02:00
Adria Navarro 92a26d4272 Undo async import 2024-07-25 16:43:53 +02:00
Adria Navarro 7ffe8d4b4a Fix barrelfile issue 2024-07-25 16:40:49 +02:00
Adria Navarro 0ee0901961 Remove comment 2024-07-25 16:16:18 +02:00
Adria Navarro 173a9cb75a Clean outputs 2024-07-25 16:15:23 +02:00
Adria Navarro b12641e467
Merge branch 'master' into BUDI-8441/row-action-run-api 2024-07-25 16:09:23 +02:00
Adria Navarro db9bc1f373 Fix types 2024-07-25 16:08:51 +02:00
Adria Navarro beaabdd64a Allow row actions running for dev apps 2024-07-25 15:54:38 +02:00
Adria Navarro 297ff58b67 Pass proper params 2024-07-25 15:37:50 +02:00
Adria Navarro 62eaa11ebb Add trigger 2024-07-25 15:37:49 +02:00
Adria Navarro 22f86be34d
Merge branch 'master' into feat/row-actions 2024-07-25 15:26:50 +02:00
Michael Drury db0ab81f62
Merge branch 'master' into bulk-remove-utility 2024-07-25 12:00:44 +01:00
Andrew Kingston 7e11b57e87
Merge branch 'master' into remove-selected-rows-datasource 2024-07-25 11:17:20 +01:00
Andrew Kingston fa8e380659
Merge branch 'master' into fix/lucene-isempty-filter 2024-07-25 11:07:21 +01:00
mike12345567 5a0b64e047 Merge branch 'bulk-remove-utility' of github.com:Budibase/budibase into bulk-remove-utility 2024-07-25 10:26:16 +01:00
mike12345567 4e0a84f7f8 PR comment. 2024-07-25 10:26:02 +01:00
Michael Drury 3c9a4595a5
Merge branch 'master' into bulk-remove-utility 2024-07-25 10:25:45 +01:00
Adria Navarro aafe7a2831
Merge branch 'master' into feat/row-actions 2024-07-25 11:13:18 +02:00
Adria Navarro dad27a3399
Merge pull request #14238 from Budibase/BUDI-8441/expose-rowaction-definition
Expose row action definition
2024-07-25 11:12:53 +02:00
Sam Rose 20bad903cc
Merge branch 'master' of github.com:budibase/budibase into test-oracle 2024-07-25 09:38:41 +01:00
Peter Clement 5ab81543e3
Fix issue with trigger filters not saving (#14231)
* Fix issue with trigger filters not saving

* use enum instead of nasty string

---------

Co-authored-by: Michael Drury <me@michaeldrury.co.uk>
2024-07-25 09:30:38 +01:00
melohagan 8b11ad9503
Merge branch 'master' into bulk-remove-utility 2024-07-25 08:47:20 +01:00
Adria Navarro 4743cc3ae5 Free plan banner only for free users 2024-07-25 08:38:11 +02:00
Adria Navarro f7a460a1ea Implement run 2024-07-25 08:38:11 +02:00
Adria Navarro 890d573cac Add validators 2024-07-25 08:37:41 +02:00
Adria Navarro 37e237a3a4 Add output properties 2024-07-25 08:37:41 +02:00
Adria Navarro 15a8907811 Interface 2024-07-25 08:36:31 +02:00
Adria Navarro 7bad3ad39c Start implementing row action trigger 2024-07-25 08:36:31 +02:00
Adria Navarro cf4f463da4 Fix barrel file issues 2024-07-25 08:35:01 +02:00
Adria Navarro 8e7c1baabf
Merge branch 'master' into feat/row-actions 2024-07-25 08:21:21 +02:00
mike12345567 7c6c12f325 Adding a small utility to DB layer for bulk removing documents, this is a problem that Mel ran into, the fact it doesn't default to throwing errors, I've updated a few cases and added functionality for it to maintain compatiability with the old way of doing things (errors silenced). 2024-07-24 18:13:27 +01:00
mike12345567 6796caff22 Merge branch 'fix/lock-ci-image-sha' of github.com:Budibase/budibase into fix/lock-ci-image-sha 2024-07-24 17:33:57 +01:00
mike12345567 ea7dffa3d7 PR comment. 2024-07-24 17:33:39 +01:00
Michael Drury b66449c90a
Merge branch 'master' into fix/lock-ci-image-sha 2024-07-24 16:59:42 +01:00
mike12345567 b68697002a Anoter fix. 2024-07-24 16:48:35 +01:00
mike12345567 2e2a61366f Another attempt to fix. 2024-07-24 16:42:31 +01:00
mike12345567 e9d3c48ff4 Fixing images to use a locked SHA, this means that we shouldn't have issues with CI breaking due to using images which are receiving updates (we've experienced two CI breakages due to MariaDB and MS-SQL updates). 2024-07-24 16:31:13 +01:00
Adria Navarro 68018a85fb Type 2024-07-24 17:23:18 +02:00
Adria Navarro 2e47410979 Reuse trigger 2024-07-24 17:11:03 +02:00
Sam Rose 46cd06bacf
Merge branch 'master' of github.com:budibase/budibase into budi-8483-consolidate-feature-flags-into-a-single-endpoint 2024-07-24 16:10:45 +01:00
Adria Navarro b568c9e592
Merge branch 'master' into feat/row-actions 2024-07-24 16:52:54 +02:00
Sam Rose 26fe887eea
Merge branch 'master' into fix/buffer-in-backend-js 2024-07-24 15:45:20 +01:00
Sam Rose c0cff4b834
Remove spurious import. 2024-07-24 15:17:03 +01:00
Michael Drury a3181d77b5
Merge branch 'master' into fix/buffer-in-backend-js 2024-07-24 15:13:37 +01:00
Sam Rose ac8b759262
Merge branch 'master' of github.com:budibase/budibase into print-line-debugging-baby-hell-yeah 2024-07-24 15:12:34 +01:00
Sam Rose dfa2437f46
console.log the crap out of startup 2024-07-24 15:12:23 +01:00
Adria Navarro e161c998ca
Merge branch 'master' into feat/row-actions 2024-07-24 15:48:38 +02:00
Michael Drury 204ce8f2b7
Merge branch 'master' into fix/buffer-in-backend-js 2024-07-24 14:42:58 +01:00
Adria Navarro 664f0241a9
Merge branch 'master' into BUDI-8441/find-row-to-sdk 2024-07-24 15:35:44 +02:00
Andrew Kingston 32dd47804f
Fix issue with nulls in lucene isEmpty filter 2024-07-24 14:29:02 +01:00
Adria Navarro 89b5770155 Change image 2024-07-24 15:22:37 +02:00
Adria Navarro 82c8be5f55 Fix mssql testcontaint wait strategy 2024-07-24 14:52:40 +02:00
Andrew Kingston 1e70e3e443
Don't show datasource options for array bindings that lack table IDs 2024-07-24 09:04:05 +01:00
Adria Navarro 2d9da6b7d9
Merge branch 'master' into feat/row-actions 2024-07-24 09:51:47 +02:00
Adria Navarro 549b5beb9c
Merge branch 'master' into BUDI-8441/find-row-to-sdk 2024-07-24 08:51:25 +02:00
mike12345567 5e1dbd974b Adding a polyfill bundle for Buffer which can be used in the isolated-vm. 2024-07-23 19:02:39 +01:00
Michael Drury 1432c8911f
Merge branch 'master' into fix/14201 2024-07-23 17:27:45 +01:00
Dean 18777b6fb2 Removed explicit bindings prop from draggable list as it was overriding bindings added via the listTypeProps. Updated grid config to use listTypeProps instead 2024-07-23 14:55:38 +01:00
Sam Rose c7c2cb48e8
wip 2024-07-23 14:41:34 +01:00
Adria Navarro a6af27785f
Merge branch 'master' into BUDI-8441/find-row-to-sdk 2024-07-23 15:30:36 +02:00
Adria Navarro 8a8633b43b Fix throwing 404 2024-07-23 15:27:35 +02:00
Adria Navarro 4169842018 Fix get 2024-07-23 15:22:26 +02:00
Adria Navarro 75609b2a9b Move row.find to sdk 2024-07-23 15:16:15 +02:00
Adria Navarro 66a2b29ca2 Clean unnecessary ctx 2024-07-23 15:06:00 +02:00
Adria Navarro 89173be9f4 Remove controller dependency 2024-07-23 15:03:44 +02:00
Adria Navarro 8a12523bcc Add find by usermetadata test 2024-07-23 14:58:21 +02:00
Martin McKeaveney 799643b227
Merge pull request #14182 from Budibase/budi-8455-on-screen-load-open-side-panel-issue-side-panel-will-open
Add logic to prevent panel and modals from closing when screen load actions are available
2024-07-23 13:37:33 +01:00
Martin McKeaveney add8691090
Merge branch 'master' into fix-oracle-parse 2024-07-23 11:55:19 +01:00
Sam Rose b9742fcf8e
Merge branch 'master' of github.com:budibase/budibase into budi-8483-consolidate-feature-flags-into-a-single-endpoint 2024-07-23 11:52:48 +01:00
Adria Navarro fa4629dfb8 Merge branch 'master' into feat/row-actions 2024-07-23 12:47:56 +02:00
Martin McKeaveney 36f20a2c71 Merge branch 'fix-oracle-parse' of github.com:Budibase/budibase into fix-oracle-parse 2024-07-23 11:42:57 +01:00
Martin McKeaveney a180ffa1a1 update test names 2024-07-23 11:42:21 +01:00
Martin McKeaveney c9b66cd002
Merge branch 'master' into fix-oracle-parse 2024-07-23 11:41:11 +01:00
Martin McKeaveney d50c937c68 use oracle coalesce 2024-07-23 11:39:50 +01:00
Adria Navarro a03094db33 Use 422 instead of 400 trying to delete row action automations 2024-07-23 12:21:52 +02:00
Martin McKeaveney 8fbb978cca fix tests 2024-07-23 11:20:14 +01:00
Adria Navarro af0b69e8b6 Reuse 2024-07-23 12:09:53 +02:00
Adria Navarro b4767cea7c Add checks to shared-core 2024-07-23 12:07:05 +02:00
Adria Navarro 35bbccec67 Return 400 instead of 403 2024-07-23 11:59:14 +02:00
Adria Navarro bbf7e078fb
Merge branch 'master' into BUDI-8430/trim-unexpected-data 2024-07-23 11:11:05 +02:00
melohagan 41cb8ee0e9
any type for createMockContext (#14211) 2024-07-23 08:49:49 +00:00
Adria Navarro 8678db18e2 Add tests 2024-07-23 10:46:11 +02:00
Martin McKeaveney a30caa399b Merge branch 'fix-oracle-parse' of github.com:Budibase/budibase into fix-oracle-parse 2024-07-23 09:45:15 +01:00
Martin McKeaveney 68640c8e6d fix tests 2024-07-23 09:44:58 +01:00
Adria Navarro d9029da533 Don't allow deleting row action automations 2024-07-23 10:28:57 +02:00
Adria Navarro d601400871 Don't allow edit or delete actions for row actions 2024-07-23 10:21:09 +02:00
Adria Navarro 9428172482 Prevent duplicate 2024-07-23 10:16:02 +02:00
Adria Navarro 1081d415fa Refetch builder data 2024-07-23 10:15:25 +02:00
Adria Navarro 703e2c1873 Prevent renaming row actions 2024-07-23 10:15:25 +02:00
Adria Navarro d01bd54fd1 Use name (not display name) on saving 2024-07-23 10:15:25 +02:00
Adria Navarro 123a88c086
Merge branch 'master' into fix-oracle-parse 2024-07-23 10:13:25 +02:00
Adria Navarro e29611f2eb Add comment 2024-07-23 10:10:00 +02:00
Adria Navarro cc77cea269 Fix tests 2024-07-23 10:06:43 +02:00
Adria Navarro 3d57a64bab Remove unnecessary spreads 2024-07-23 10:06:43 +02:00
Adria Navarro 5c41b372f3 Fix types 2024-07-23 10:06:43 +02:00
Adria Navarro 2839bd5ece Trim data 2024-07-23 10:06:21 +02:00
Adria Navarro b7fc1cddb7 Merge branch 'master' into feat/row-actions 2024-07-23 10:03:41 +02:00
Martin McKeaveney 12b5fc2a2b add test for notequal 2024-07-22 21:28:44 +01:00
Martin McKeaveney 9035674f00 adding for not equals query 2024-07-22 21:27:59 +01:00
Martin McKeaveney 537c92b371 tidy 2024-07-22 21:23:27 +01:00
Martin McKeaveney 165d5b7325 removing oracle install scripts 2024-07-22 21:17:35 +01:00
Martin McKeaveney 88ea3fdc07 unit tests and logic added to prevent coalesce being used by oracle 2024-07-22 21:00:20 +01:00
mike12345567 dd19beed01 Merge branch 'fix/14201' of github.com:Budibase/budibase into fix/14201 2024-07-22 18:22:20 +01:00
mike12345567 e34257a018 One more fix. 2024-07-22 18:22:04 +01:00
Michael Drury b00848d7c9
Merge branch 'master' into fix/14201 2024-07-22 18:12:32 +01:00
mike12345567 b611b0da33 Fixing JS generation ordering. 2024-07-22 18:12:12 +01:00
Sam Rose adf59e5208
Merge branch 'master' of github.com:budibase/budibase into budi-8483-consolidate-feature-flags-into-a-single-endpoint 2024-07-22 17:48:37 +01:00
Sam Rose f3c73fe4a8
Support primitives in feature flags, make flag types flow, remove some obsolete feature flag systems. 2024-07-22 17:43:53 +01:00
mike12345567 3ed1c43915 PR comments. 2024-07-22 16:47:37 +01:00
mike12345567 d55aa3f8fb Merge branch 'master' of github.com:Budibase/budibase into fix/dupe-columns-sqs 2024-07-22 16:47:05 +01:00
mike12345567 c857bacafa Fix for #14201, adds the test helper into the manifest correctly. 2024-07-22 16:26:59 +01:00
Martin McKeaveney c0260b85ff remove all conditional oracle installs 2024-07-22 15:59:40 +01:00
Adria Navarro 6b58549fd9 Fix issues with circular references and barrel files 2024-07-22 16:34:14 +02:00
mike12345567 3247e13a32 Test case. 2024-07-22 15:17:42 +01:00
mike12345567 4f05f33b08 Fixing the issue, making sure if error occurs to re-evaluate. 2024-07-22 15:17:34 +01:00
Andrew Kingston 3650041856
Merge branch 'master' into conditional-table-colours 2024-07-22 14:30:54 +01:00
Adria Navarro 9bd22bbcdf Fix after merge 2024-07-22 14:45:58 +02:00
Adria Navarro 286883da14 Types 2024-07-22 14:39:26 +02:00
Adria Navarro cec24fb40d Use URLSearchParams 2024-07-22 14:34:58 +02:00
Adria Navarro d6e268d475 Fix tests 2024-07-22 14:31:59 +02:00
Adria Navarro 3fa7858712 Fix references 2024-07-22 14:31:59 +02:00
Adria Navarro 7574b27b4b Fix tests 2024-07-22 14:31:59 +02:00
Adria Navarro 3bb3376a82 Format on frontend 2024-07-22 14:31:59 +02:00
Adria Navarro a6f51caa46 Display rowaction 2024-07-22 14:31:59 +02:00
Adria Navarro 3c9c988d8c Populate table name 2024-07-22 14:31:59 +02:00
Adria Navarro b7a969280f Display data 2024-07-22 14:31:42 +02:00
Adria Navarro 6221b9320e Enrich 2024-07-22 14:31:00 +02:00
Adria Navarro 1b2182a690 Run without required 2024-07-22 14:30:38 +02:00
Adria Navarro e0d3855945 Display row action trigger info 2024-07-22 14:30:38 +02:00
Adria Navarro b9443906dc Fix 2024-07-22 14:23:18 +02:00
Adria Navarro 6c67aaf3a0 Undo 2024-07-22 14:23:18 +02:00
Adria Navarro 08a6ac3919 Add extra tests 2024-07-22 14:23:18 +02:00
Adria Navarro f91ec1de21 Guard readonly and test 2024-07-22 14:23:17 +02:00
Adria Navarro a799bc1c71 Change 2024-07-22 14:23:17 +02:00
Adria Navarro b75c8b32e3 Field readonly 2024-07-22 14:23:17 +02:00
Adria Navarro 1843233168 Undefined context checks 2024-07-22 14:23:17 +02:00
Adria Navarro 67619364b9 Use expectAutomationId() 2024-07-22 14:23:17 +02:00
Adria Navarro 491266c7ba Add more tests 2024-07-22 14:23:17 +02:00
Adria Navarro 292c87350a Check automation creation 2024-07-22 14:23:17 +02:00
Adria Navarro eaa38c5c2d Return automationid from row action api 2024-07-22 14:23:17 +02:00
Adria Navarro 4a8f15995c Type sdk couchdb fields 2024-07-22 14:23:17 +02:00
Adria Navarro 2970bfc48a Fix update and tests 2024-07-22 14:23:16 +02:00
Adria Navarro faf1d678fa Create automation 2024-07-22 14:23:16 +02:00
Adria Navarro 6571d61b86 Persist automation id in row action 2024-07-22 14:23:16 +02:00
Andrew Kingston bf058e5771
Merge branch 'conditional-table-colours' of github.com:Budibase/budibase into conditional-table-colours 2024-07-22 12:46:57 +01:00
Dean 36e0ae76b8 Merge remote-tracking branch 'origin/master' into fix/formula-type-picker 2024-07-22 12:37:54 +01:00
Dean 75217efee4 Fix to switch internal source check from table.sql to table.sourceType === DB_TYPE_INTERNAL. After the SQS changes table.sql becomes true for internal types 2024-07-22 12:37:40 +01:00
Andrew Kingston dbe321155f
Use multiselect for options fields in conditions using the 'in' operator 2024-07-22 11:55:03 +01:00
Andrew Kingston 30579527ff
Merge branch 'master' into conditional-table-colours 2024-07-22 11:37:38 +01:00
Andrew Kingston 98d55db959
Update tests 2024-07-22 11:30:06 +01:00
Andrew Kingston 296cea14a5
Merge branch 'master' into fix/error-handling-relationship-updates 2024-07-22 11:26:14 +01:00
Andrew Kingston a14a737921
Merge branch 'master' of github.com:Budibase/budibase into conditional-table-colours 2024-07-22 11:02:02 +01:00
Andrew Kingston 27e4b4e3b4
Merge branch 'master' into dean-fixes 2024-07-22 10:17:50 +01:00
Andrew Kingston 6fd265776d
Add bespoke component for selecting users in table conditions 2024-07-22 09:58:59 +01:00
Gerard Burns f1a56b3831
Fix Automations Breaking When Their Datasource is Deleted (#14195) 2024-07-22 08:56:04 +00:00
Andrew Kingston e4cd71feab
Add options picker for multiselect columns 2024-07-22 09:38:43 +01:00
Andrew Kingston 26a552ac5c
Add options picker for values when configuring conditions on options columns 2024-07-22 09:35:36 +01:00
Gerard Burns 9d8e470aa6
Fix Screen History Issue (#14207) 2024-07-22 09:33:27 +01:00
Gerard Burns 7548b48f9e
Allow Opening Certain Context Menus With Right Click (#14169)
* Allow Opening NavItem Context Menus With Right Click

* dean pr feedback

* PR Feedback 1

* Fix pasting into a component issue

* Remove animation

* Move ContextMenu Into Routify Router Scope
2024-07-22 09:27:44 +01:00
Andrew Kingston d774e30a0a
Improve table condition editor handling of value types and missing values 2024-07-22 09:21:46 +01:00
Andrew Kingston 27789a59d1
Hide table conditions for invalid column types 2024-07-22 09:13:13 +01:00
Andrew Kingston 34cd0e1d81
Improve type coercion in table conditions 2024-07-22 08:52:42 +01:00
Andrew Kingston 10b0e46e4d
Use row condition colour for gutter cell 2024-07-22 08:07:48 +01:00
Andrew Kingston 8abf97e8bb
Merge branch 'table-improvements-2' of github.com:Budibase/budibase into conditional-table-colours 2024-07-22 08:01:36 +01:00
Andrew Kingston c2c799e473
Merge branch 'master' into table-improvements-2 2024-07-22 08:00:36 +01:00
Andrew Kingston 0e9a89b49b
Add the onEmptyFilter flag to table conditions to ensure we don't match empty values 2024-07-19 16:34:46 +01:00
Andrew Kingston 2ecedcea7c
Stringify non strings when pasting into text cells 2024-07-19 16:34:20 +01:00
Sam Rose 41bc9b87c3
Fix tests. 2024-07-19 15:46:48 +01:00
Sam Rose 1704d0e69f
Respond to PR comments. 2024-07-19 15:10:02 +01:00
Sam Rose 3c18cf7c34
Fix tests. 2024-07-19 15:08:48 +01:00
Sam Rose ca31add039
Don't allow a column to be both required and have a default value. 2024-07-19 15:08:48 +01:00
Sam Rose c64d76eb84
Respond to PR comments. 2024-07-19 15:07:58 +01:00
Sam Rose 8a49953449
Merge branch 'master' of github.com:budibase/budibase into budi-8434-default-value-row-processing 2024-07-19 15:03:19 +01:00
Adria Navarro bb4fd4c14c Fix possible undefined reference 2024-07-18 17:19:34 +02:00
Adria Navarro 19d614b329 Remove save button on add action step 2024-07-18 17:17:27 +02:00
Dean 4da3155374 Minor change to the error messaging 2024-07-18 15:23:10 +01:00
Adria Navarro b2ea1d17c2
Merge branch 'master' into support-spaces-as-last-char-in-column-sqs 2024-07-18 15:50:56 +02:00
Gerard Burns 3b0e2ba0e5
Fix Bug Preventing Deleting Multiple Apps in a Row (#14196) 2024-07-18 14:40:00 +01:00
Dean 7c03a39b9f PR feedback. Remove unnecessary caching 2024-07-18 14:17:51 +01:00
Dean 2f8a6b9b6b Merge remote-tracking branch 'origin/master' into fix/error-handling-relationship-updates 2024-07-18 14:09:53 +01:00
Dean 31df2bbb5f Merge remote-tracking branch 'origin/master' into dean-fixes 2024-07-18 14:06:16 +01:00
Dean d216ba57f4 Minor fix to ensure that only dsplus sources can filter by _id 2024-07-18 14:05:57 +01:00
Sam Rose 669692e722
Make switch exhaustive. 2024-07-18 11:41:37 +01:00
Sam Rose 481bf9a8b8
Fix generic-sql.spec.ts 2024-07-18 11:40:44 +01:00
Sam Rose df765c1dc7
Merge branch 'master' of github.com:budibase/budibase into support-spaces-as-last-char-in-column-sqs 2024-07-18 11:12:25 +01:00
Sam Rose 5bbdcc1298
Remove unused function. 2024-07-18 11:08:42 +01:00
Sam Rose 0b2a5162a4
Fix the problem, and the tests. 2024-07-18 11:00:10 +01:00
Peter Clement 7fd55fe27d
Automation trigger filtering (#14123)
* backend for triggering automation based on filters

* frontend for handling triggering automations on filter / old row

* lint and bug fix

* fix issue with test header

* make test data optional

* improve safety on trigger gate

* add support for running trigger with filter if no change happened but filter matches

* update var naming to actually make sense

* tests

* fix lint

* improve gating for shouldTrigger check

* remove unecessary cast

* unecessary tableId check

* frontend text updates

* resolving comments

* pro

* Update packages/types/src/documents/app/automation.ts

Co-authored-by: Sam Rose <hello@samwho.dev>

* link out to docs for trigger filtering

* fix pro

* more pr comments

* use getAppId

---------

Co-authored-by: Sam Rose <hello@samwho.dev>
2024-07-18 10:38:15 +01:00
Dean 94c7f50f6e Merge remote-tracking branch 'origin/master' into dean-fixes 2024-07-18 10:11:02 +01:00
Dean 6b1d16420e Improves error handling around grid relationship cell when handling invalid requests 2024-07-18 09:49:35 +01:00
Adria Navarro f57d8a6147 Fix jest circular references 2024-07-17 17:46:48 +02:00
Sam Rose aea9cda8f5
wip 2024-07-17 15:45:35 +01:00
Adria Navarro 88aa0fc9cf Fix types 2024-07-17 16:40:19 +02:00
Adria Navarro 812afdb85e Fix tests (breaking because of mutating objects...) 2024-07-17 16:28:46 +02:00
Andrew Kingston 2473b82ba5
Revert to using solid border colours 2024-07-17 15:06:06 +01:00
Andrew Kingston 94fec5b62b
Update how grid blocks handle visible columns to ensure conditions work on hidden columns 2024-07-17 12:45:31 +01:00
Adria Navarro 166d8fac5e Use relative paths 2024-07-17 13:43:25 +02:00
Andrew Kingston 7faa6188c4
Improve support for formula columns when using table conditional colouring 2024-07-17 12:33:05 +01:00
Adria Navarro 53d6219b79 Extract find and fetch 2024-07-17 13:32:45 +02:00
Adria Navarro dc47037dbb Move update and remove 2024-07-17 13:26:40 +02:00
Adria Navarro 373aeac00f Move automation creation to sdk 2024-07-17 13:10:19 +02:00
Adria Navarro 13c6ad9924 More tests 2024-07-17 12:30:31 +02:00
Adria Navarro 371a3ad8ec Ensure unique on updates 2024-07-17 12:26:36 +02:00
Adria Navarro 8297a58270 Ensure unique names 2024-07-17 12:18:09 +02:00
Adria Navarro c51d2cd431 Trims names 2024-07-17 12:16:14 +02:00
Adria Navarro 7fb13b757b Use .string instead of .work 2024-07-17 11:52:29 +02:00
Andrew Kingston 1fd4b983e5
Update comments 2024-07-17 10:39:56 +01:00
Adria Navarro b1cfdc4f25 Clean code 2024-07-17 11:15:55 +02:00
Adria Navarro 9a7470a943
Merge branch 'master' into BUDI-8428/row-action-crud 2024-07-17 11:08:23 +02:00
Andrew Kingston 62d43bc183
Merge branch 'table-improvements-2' of github.com:Budibase/budibase into conditional-table-colours 2024-07-17 08:06:03 +01:00
Andrew Kingston 4575dd300f
Update table border colour to work better with coloured cells 2024-07-16 16:47:11 +01:00
Andrew Kingston 479e3247df
Remove logs 2024-07-16 14:11:29 +01:00
Andrew Kingston 2338783f22
Fix error when another user updates a row not inside our grid 2024-07-16 14:10:19 +01:00
Andrew Kingston d6a10e2dab
Add row metadata to button column 2024-07-16 14:03:12 +01:00
Andrew Kingston ee984b6a19
Update table conditions to apply both row and cell conditions via same configuration 2024-07-16 14:01:50 +01:00
Conor Webb c2fda977bd
Merge branch 'master' into budi-8455-on-screen-load-open-side-panel-issue-side-panel-will-open 2024-07-16 13:07:49 +01:00
Conor Webb e2343073f0 Remove unused variable 2024-07-16 13:05:41 +01:00
Conor Webb 6eeffb43ef Add logic to prevent sidepanel and modals from closing when onload actions are active. 2024-07-16 12:59:43 +01:00
deanhannigan 17026d888e
Merge branch 'master' into table-improvements-2 2024-07-16 09:04:39 +01:00
Sam Rose 372153bc97
Accommodate time values in datetime coercion. 2024-07-15 17:27:03 +01:00
Sam Rose dc913385f6
Merge branch 'master' of github.com:budibase/budibase into budi-8434-default-value-row-processing 2024-07-15 16:48:36 +01:00
Sam Rose 9542c497de
Create a test for required column with default value. 2024-07-15 16:46:20 +01:00
Sam Rose e39a5b0d7e
Add test for creating a row through views. 2024-07-15 16:44:43 +01:00
Sam Rose 18acaccfcb
Current User binding and tests. 2024-07-15 16:26:15 +01:00
Sam Rose 17575177fe
Merge branch 'master' into less-greater-than-equal-tests 2024-07-15 14:53:59 +01:00
Conor Webb ab679ac85d
Add the option to use bindable inputs in your confirmations (#14138)
Co-authored-by: deanhannigan <deanhannigan@gmail.com>
2024-07-15 13:01:08 +00:00
Andrew Kingston c1f7bbcf9f
Merge branch 'master' of github.com:Budibase/budibase into conditional-table-colours 2024-07-15 13:58:39 +01:00
deanhannigan bc40d20206
Merge branch 'master' into fix/app-title-alignment 2024-07-15 12:21:01 +01:00
Sam Rose ee0c4187c8
Better error handling of invalid default values. 2024-07-15 12:09:01 +01:00
Andrew Kingston 1a434e82db
Merge branch 'master' into table-improvements-2 2024-07-15 12:08:52 +01:00
Dean 0a50ab284f Title text alignment was not being saved to the app metadata. 2024-07-15 11:12:26 +01:00
Sam Rose 297e9003ca
Support bindings in default values. 2024-07-15 11:10:30 +01:00
Sam Rose 12911db06e
Process primitive default values. 2024-07-15 10:43:58 +01:00
Sam Rose 43de204ca2
Default values failing test. 2024-07-15 09:58:31 +01:00
deanhannigan 8acfcc5c2d
Merge branch 'master' into dean-fixes 2024-07-15 09:17:56 +01:00
mike12345567 19ff925dec Adding test cases for less than/greater than or equal to, there was no test cases confirming these definitely work. Also aligning the test cases with how the frontend performs these tests today. 2024-07-12 18:09:29 +01:00
mike12345567 745a05fe8d Updating how the 'merging' is handled, don't include the in-memory representation if it exists on disk in Couch, prefer that. 2024-07-12 13:54:55 +01:00
mike12345567 79c292538c There is a risk with default tables that the schema may exist in the DB as well as existing in memory - in this case we should merge the schemas to make sure that all possible attributes from the in memory representation, and the on disk version (which may have been updated by the user) have been captured in the SQLite schema. 2024-07-12 13:51:06 +01:00
Adria Navarro 1c69cfaeda Fix initialisation 2024-07-12 12:32:36 +02:00
Adria Navarro f06d0a5cd6 Clean 2024-07-12 12:17:37 +02:00
Adria Navarro 50c8449f4b Add extra test 2024-07-12 12:17:37 +02:00
Adria Navarro 99b4aae7de
Merge branch 'master' into BUDI-8428/row-action-crud 2024-07-12 11:53:12 +02:00
Adria Navarro 0e8d216e22 Unify newid 2024-07-12 11:36:18 +02:00
Adria Navarro b44397d027 Dont return couch fields 2024-07-12 11:29:00 +02:00
Adria Navarro c0a0e860fa
Merge branch 'master' into return-unauthorized-instead-of-forbidden 2024-07-12 11:07:11 +02:00
Sam Rose 4c4e7c12de
Fix a very rare flake in row.spec.ts. 2024-07-12 09:39:38 +01:00
Adria Navarro 1f2dab71eb
Merge branch 'master' into return-unauthorized-instead-of-forbidden 2024-07-12 01:34:17 +02:00
mike12345567 9129e47dd9 PR comment 2. 2024-07-11 17:09:41 +01:00
mike12345567 5b1850d28f PR comments. 2024-07-11 16:41:12 +01:00
Dean b9aec43397 Merge remote-tracking branch 'origin/master' into dean-fixes 2024-07-11 16:40:39 +01:00
Dean ae4279bc58 Remove Attachment and Signature from filters. Add _id support for DynamicFilter. Removed _rev from filters 2024-07-11 16:39:49 +01:00
mike12345567 1e189450c0 Switching to regex. 2024-07-11 16:38:30 +01:00
mike12345567 6db0379504 Resync if it is found that a table or column is missing, this was previously done for specific cases but have expanded to cover all, but only retry once (not get into an infinite loop). 2024-07-11 16:35:57 +01:00
Adria Navarro 2035713b9c Implement delete 2024-07-11 17:33:40 +02:00
Adria Navarro ba2d6fd73b Renames 2024-07-11 17:16:14 +02:00
Adria Navarro 9ff3d8cf77 Add extra tests 2024-07-11 17:14:14 +02:00
Adria Navarro d03a0ebb68 Implement update 2024-07-11 17:08:57 +02:00
Sam Rose c374b26e39
Merge branch 'master' into fix-mysql-flake 2024-07-11 15:59:57 +01:00
Adria Navarro 1be14f5a05
Merge branch 'master' into return-unauthorized-instead-of-forbidden 2024-07-11 16:59:34 +02:00
Adria Navarro 17fc605e4f Persist as object instead of array 2024-07-11 16:57:32 +02:00
Sam Rose db9e0e7d38
Fix fun flake in MySQL / MariaDB. 2024-07-11 15:54:52 +01:00
Sam Rose e70e7eeb1d
Merge branch 'master' into fix-flake 2024-07-11 15:08:59 +01:00
Adria Navarro de04a6f76d Change id 2024-07-11 15:34:48 +02:00
Adria Navarro 3bcbb57baa Add id to each individual action 2024-07-11 15:32:25 +02:00
Adria Navarro 65d7656097 Unify newid 2024-07-11 15:27:48 +02:00
Adria Navarro 97e6f84641
Merge branch 'master' into BUDI-8449/when-return-all-table-rows-is-selected-the-is-in-filter 2024-07-11 15:13:27 +02:00
Adria Navarro 2ff11d1a12 Fix NoEmptyFilterStrings 2024-07-11 15:04:11 +02:00
Sam Rose d530909c3b
Fix a flake in the redis.spec.ts file. 2024-07-11 13:58:28 +01:00
Adria Navarro e3705f1e87
Merge branch 'master' into BUDI-8449/when-return-all-table-rows-is-selected-the-is-in-filter 2024-07-11 14:40:40 +02:00
Adria Navarro 9fb9c08aab Merge duplicated code 2024-07-11 14:36:51 +02:00
mike12345567 8d308b591a Enabled SQS in self-host/development (single tenancy) as long as the SQS_ENABLED flag has been set, tenants don't need to be specified as there are no tenants. 2024-07-11 13:33:56 +01:00
Adria Navarro 55c72c7150 Add tests 2024-07-11 14:12:43 +02:00
mike12345567 73881e9895 Only default the CouchDB SQL URL if we are in dev, otherwise attempt to work out what it is based on the main CouchDB URL (as this should work in all default production environments). 2024-07-11 11:11:28 +01:00
Adria Navarro 2d8361d6fd Always return when table exists 2024-07-11 11:06:36 +02:00
Adria Navarro c565e35b53 Implement find 2024-07-11 10:59:11 +02:00
Adria Navarro fac9c35bce Simplify tests 2024-07-11 10:46:29 +02:00
Dean 8e0f422ffe PR feedback 2024-07-11 09:34:11 +01:00
Adria Navarro 645abea2cd Add extra tests 2024-07-11 10:19:11 +02:00
Adria Navarro 0831b7cf3f Add extra tests 2024-07-11 10:13:28 +02:00
deanhannigan de76c61db2
Merge branch 'master' into feature/automation-grouping 2024-07-11 09:06:32 +01:00
Adria Navarro 7dbfcc398e Implement create 2024-07-11 10:04:25 +02:00
deanhannigan aa0e77beda
Merge branch 'master' into fix/automations-ux 2024-07-11 09:02:38 +01:00
Sam Rose 56c6742a0e
Create a way to enable SQS for all tenants. 2024-07-10 15:22:18 +01:00
Adria Navarro 063eeeb6df Fix 2024-07-10 15:49:13 +02:00
Adria Navarro fe31f88cc8 Add validation 2024-07-10 15:48:16 +02:00
Adria Navarro bf161d9d93 More types 2024-07-10 15:41:55 +02:00
Adria Navarro c1eafe5b28 Fix 2024-07-10 14:05:21 +02:00
Adria Navarro 0c2024bf6a Basic get 2024-07-10 13:56:41 +02:00
Adria Navarro de2938799b Initial test 2024-07-10 13:47:34 +02:00
Adria Navarro 38718968b0 Basic implementation 2024-07-10 13:47:34 +02:00
Adria Navarro dfda2f0f54 Register router 2024-07-10 13:47:34 +02:00
Adria Navarro 107bd08e21 Endpoint scaffolding 2024-07-10 13:47:34 +02:00
Adria Navarro 3f5161aaf7 Fix tests 2024-07-10 13:36:07 +02:00
Adria Navarro 8b40e80750 Return 401 instead of 403 2024-07-10 13:26:02 +02:00
Michael Drury 55f6610f0d
Merge branch 'master' into fix/correcting-multi-relationships 2024-07-10 12:01:06 +01:00
Sam Rose 551d413900
Merge branch 'master' into sqs-per-tenant 2024-07-10 11:39:31 +01:00
Sam Rose 5069d3f953
Rename db to dbCore in more places. 2024-07-10 11:37:37 +01:00
Sam Rose 76d22dfffd
Respond to PR comments. 2024-07-10 11:32:34 +01:00
mike12345567 d6ad6a4686 Missing internal check. 2024-07-10 11:21:41 +01:00
Sam Rose 79b4d260f1
Fix more fucky wucky typey wipey stuff. 2024-07-10 11:17:59 +01:00
Sam Rose 5356cfdce5
Fix uses of SearchFilterOperator. 2024-07-10 11:08:11 +01:00
Sam Rose 093579a341
Respond to PR feedback. 2024-07-10 11:05:16 +01:00
mike12345567 4ab3aef020 PR comments. 2024-07-10 11:05:06 +01:00
Sam Rose 114edc8954
Respond to PR feedback. 2024-07-10 10:50:05 +01:00
Sam Rose b48ea718d3
Merge branch 'master' of github.com:budibase/budibase into budi-8445-is-in-filter-broken 2024-07-10 09:14:34 +01:00
Sam Rose b9c32b7068
Fix tests? 2024-07-10 09:14:15 +01:00
deanhannigan 3a1b374f32
Merge branch 'master' into feature/automation-grouping 2024-07-10 09:04:27 +01:00
deanhannigan 7e7447e180
Merge branch 'master' into fix/automations-ux 2024-07-10 09:04:16 +01:00
mike12345567 9e8a855d14 Adding test case for separating columns to rows in same table. 2024-07-09 19:09:01 +01:00
Sam Rose 2fa14ab35f
Merge branch 'master' into sqs-per-tenant 2024-07-09 17:30:33 +01:00
mike12345567 4cb23759a3 Removing tables and their related table definitions. 2024-07-09 16:33:10 +01:00
mike12345567 6e699a163d Cleaning up how junction fields are added to query. 2024-07-09 16:32:35 +01:00
mike12345567 396de67aea Merge branch 'master' of github.com:Budibase/budibase into fix/correcting-multi-relationships 2024-07-09 15:46:15 +01:00
Adria Navarro db71eab692
Merge branch 'master' into budi-7065-csv-export-fails-for-table-with-composite-primary-key 2024-07-09 16:32:30 +02:00
Adria Navarro 900a2e8a81
Merge branch 'master' into budi-7065-csv-export-fails-for-table-with-composite-primary-key 2024-07-09 15:22:44 +02:00
Adria Navarro eae559d249 Fix scim sync issues 2024-07-09 15:14:37 +02:00
Adria Navarro a7b6004c1c Fix more typings 2024-07-09 15:09:54 +02:00
Adria Navarro 288d48c60d Fix build 2024-07-09 15:04:41 +02:00
mike12345567 cd19202042 Fix external relationships. 2024-07-09 13:39:49 +01:00
mike12345567 8c15dcbf61 Merge branch 'master' of github.com:Budibase/budibase into fix/correcting-multi-relationships 2024-07-09 13:38:07 +01:00
Adria Navarro 38f7b88735 Type filters 2024-07-09 14:01:44 +02:00
Sam Rose 102bd28980
Fix lint. 2024-07-09 11:52:20 +01:00
Sam Rose 4c6f7f25c2
Fix bug in oneOf search. 2024-07-09 11:45:01 +01:00
mike12345567 63bd83457e Always allow creating views - don't limit it causing confusion. 2024-07-09 11:26:54 +01:00
Adria Navarro 9c6347f7fd Move constants to types 2024-07-09 12:24:59 +02:00
Adria Navarro 60dc6f2138
Merge branch 'master' into budi-7065-csv-export-fails-for-table-with-composite-primary-key 2024-07-09 11:32:08 +02:00
Conor Webb d1f0454831
Switch the notification messages around as it was stating it was enable/disabled at the wrong times. (#14124) 2024-07-09 08:55:19 +00:00
Adria Navarro 5cba1058d4
Merge branch 'master' into budi-7065-csv-export-fails-for-table-with-composite-primary-key 2024-07-09 10:54:18 +02:00
Adria Navarro 62f5790a81 Remove unnecessary cast 2024-07-09 10:49:57 +02:00
Gerard Burns e23cfd3e4d
wire up outside click handler (#14125) 2024-07-09 09:44:41 +01:00
Adria Navarro 58bd346885 Fix 2024-07-09 10:43:53 +02:00
Adria Navarro 5387717183 Fix 2024-07-09 10:43:53 +02:00
Adria Navarro 0f1c8eb788 Disable mssql test 2024-07-09 10:43:53 +02:00