Commit Graph

22633 Commits

Author SHA1 Message Date
Adria Navarro 3d22276c2b Update submodule ref 2023-12-22 13:47:39 +01:00
Adria Navarro 258ac0c8da Update submodule ref 2023-12-22 12:45:30 +01:00
Sam Rose df73cbd001
Fix lint warning. 2023-12-21 11:13:39 +00:00
Sam Rose 3c0901f530
Remove all custom tracing to see if it's the cause of the memory leak. 2023-12-21 11:06:05 +00:00
Sam Rose 1f3a75e892
Downgrade back to dd-trace 3.13.2 2023-12-20 17:20:30 +00:00
jvcalderon 3c2ab7d2ec Merge branch 'master' into fix/handle-manual-prices 2023-12-20 13:28:49 +01:00
jvcalderon 1c1e305f03 Upgrade account portal submodule 2023-12-20 13:27:23 +01:00
melohagan 6adb5cfe79
Do not throw error on 204 no content (#12643) 2023-12-20 11:02:59 +00:00
Sam Rose f6d12a2767
Merge branch 'master' into trace-automations 2023-12-20 10:13:28 +00:00
Sam Rose be29bd9b02
Update account-portal submodule to latest master. 2023-12-20 10:01:57 +00:00
Sam Rose c4fd5342cf
Merge branch 'master' into trace-automations 2023-12-20 09:57:24 +00:00
Sam Rose 9b750ed160
Merge branch 'master' into trace-automations 2023-12-20 09:43:55 +00:00
jvcalderon 07203466bd Upgrade account portal submodule 2023-12-20 09:59:51 +01:00
Sam Rose 2e58f2cdde
Add traces to track running arbitrary JS. 2023-12-19 18:20:13 +00:00
Sam Rose 197962c2dd
Merge branch 'master' into tweak-db-instrumentation 2023-12-19 17:47:44 +00:00
Sam Rose f61346a0c5
Cache the helpers list for executing JS. 2023-12-19 17:46:15 +00:00
Sam Rose 2a0be7c8cd
Give db operation spans better names. 2023-12-19 17:18:40 +00:00
Sam Rose e4512c8004
Merge branch 'master' into trace-automations 2023-12-19 17:14:17 +00:00
Sam Rose c85b8f6a96
Baggage items don't work how I expected. Use tags again. 2023-12-19 17:13:15 +00:00
Sam Rose 056214c984
Use camelCase for tags. 2023-12-19 16:26:09 +00:00
Sam Rose 0b683876f8
Set app_id, user_id, and tenant_id as baggage items on spans. 2023-12-19 16:25:45 +00:00
Sam Rose fef3107c0e
Fix automation tests. 2023-12-19 16:17:34 +00:00
Sam Rose 406410d916
Add DataDog tracing to automations. 2023-12-19 15:57:56 +00:00
Sam Rose 3265c480c2
Merge branch 'master' into limit-js-execution-per-request 2023-12-19 14:16:50 +00:00
Sam Rose 269c382524
Revert "Set `--enable-source-maps` when running Node." 2023-12-19 13:50:35 +00:00
Sam Rose c2f9a01ef8
Merge branch 'master' into limit-js-execution-per-request 2023-12-19 13:41:29 +00:00
Sam Rose 4739fd94c2
Merge branch 'master' into limit-js-execution-per-request 2023-12-19 11:57:21 +00:00
Sam Rose ffb2173409
Merge branch 'master' into enable-source-maps 2023-12-19 11:55:47 +00:00
Sam Rose ea0cda56e7
Merge branch 'master' into enable-source-maps 2023-12-19 11:53:11 +00:00
Sam Rose 96f64b4344
Manually inject DataDog trace context to log messages. 2023-12-19 11:47:41 +00:00
Adria Navarro dbc45da7f5
Merge branch 'master' into limit-js-execution-per-request 2023-12-19 12:44:37 +01:00
Sam Rose d8aac1f489
Merge branch 'master' into enable-source-maps 2023-12-19 11:26:54 +00:00
Sam Rose 5b3ec0b94d
Merge branch 'master' into instrument-couch 2023-12-19 11:26:13 +00:00
melohagan 3f11597251
Support both presence constraint variants (#12617) 2023-12-19 11:02:39 +00:00
Sam Rose 5da9bfee14
Set --enable-source-maps for the worker package. 2023-12-19 10:39:25 +00:00
Sam Rose 1c6036cb09
Set --enable-source-maps when running Node in nodemon. 2023-12-19 10:38:06 +00:00
Sam Rose eb38012e3d
Set --enable-source-maps when running Node in docker. 2023-12-19 10:36:40 +00:00
melohagan 3697ff3efc
Support Barcode, BigInt and User column types in automations (#12610)
* Support barcode and bigint in automations

* Support users in LinkedRowSelector

* Fix clear relationships if empty

* Make sure clearRelationships is initialised to false

* Revert yarn lock

* Refactor

* Refactor
2023-12-19 10:26:28 +00:00
Sam Rose 93da29611d
Fix type error. 2023-12-19 10:11:51 +00:00
Sam Rose 4093f311c9
Respond to PR feedback. 2023-12-19 09:47:12 +00:00
Sam Rose 3d522ce3d1
Update packages/server/src/api/routes/tests/row.spec.ts
Co-authored-by: Adria Navarro <adria@budibase.com>
2023-12-19 09:40:57 +00:00
mike12345567 987e280bc9 Merge branch 'instrument-couch' of github.com:Budibase/budibase into instrument-couch 2023-12-18 18:33:20 +00:00
mike12345567 d681d5298b Type fixes. 2023-12-18 18:33:04 +00:00
Sam Rose 78d039c949
Update backend-core to dd-trace 4.20.0 2023-12-18 17:43:50 +00:00
Sam Rose b532e4434e
Merge branch 'master' of github.com:budibase/budibase into instrument-couch 2023-12-18 17:43:07 +00:00
Sam Rose c25963bc6f
Make tests faster and more robust. 2023-12-18 17:05:50 +00:00
Sam Rose 1c34147357
Add tests for per-request execution timeout. 2023-12-18 17:01:56 +00:00
Sam Rose bd324f3225
Implement per-request JS execution limiting. 2023-12-18 15:29:56 +00:00
Michael Drury b405814661
Merge branch 'master' into feature/uuid-helper 2023-12-18 12:32:30 +00:00
mike12345567 9ec68129d0 Updating account portal to latest deployed. 2023-12-18 12:01:22 +00:00
mike12345567 f6841308d2 Merge branch 'feature/uuid-helper' of github.com:Budibase/budibase into feature/uuid-helper 2023-12-18 11:46:21 +00:00
mike12345567 c374ac6973 Removing test statement. 2023-12-18 11:45:47 +00:00
Michael Drury dceb623732
Merge branch 'master' into feature/uuid-helper 2023-12-18 11:06:48 +00:00
Sam Rose f503b29e1a
Merge branch 'master' into update-dd-trace 2023-12-18 10:59:50 +00:00
Sam Rose d848b0559d
Merge branch 'master' into optimise-get-link-documents 2023-12-18 09:31:12 +00:00
Sam Rose 223aeaf337
Update dd-trace to 4.20.0. 2023-12-18 09:30:15 +00:00
Sam Rose c5fa0806c8
Optimise getLinkDocuments 2023-12-18 09:20:44 +00:00
Adria Navarro 7063622477 Update account-portal ref 2023-12-18 09:43:41 +01:00
jvcalderon 0d56cb8cff Upgrade account portal submodule 2023-12-18 09:37:18 +01:00
jvcalderon e46140cb3a - Avoid BUSINESS plan usage in string literals.
- Change PREMIUM_PLUS by PREMIUM
- Change ENTERPRISE_BASIC by ENTERPRISE
2023-12-18 09:36:11 +01:00
José Vte. Calderón 2586407189
Merge branch 'master' into fix/rm-plan-business 2023-12-18 09:04:46 +01:00
Sam Rose b963e7081e
Fix test. 2023-12-15 16:50:36 +00:00
Sam Rose 92a230667f
Tell a user if their JS failed due to a timeout. 2023-12-15 16:27:20 +00:00
jvcalderon f27e5e96f2 Upgrade submodule 2023-12-15 16:23:30 +01:00
jvcalderon 369048f7e2 Merge branch 'master' into fix/rm-plan-business 2023-12-15 15:35:19 +01:00
jvcalderon 92f59115a0 Upgrade submodule 2023-12-15 15:34:21 +01:00
Adria Navarro 0ef42ae347
Merge branch 'master' into instrument-couch 2023-12-15 14:17:37 +01:00
Sam Rose cf32725319
Merge branch 'master' into set-up-dd-version-and-code-tracking 2023-12-15 13:15:57 +00:00
Sam Rose c4f124c78a
Update utils.ts
Co-authored-by: Adria Navarro <adria@budibase.com>
2023-12-15 12:22:37 +00:00
jvcalderon fb9a777318 Update account-portal submodule 2023-12-15 12:53:27 +01:00
jvcalderon daf669b0e3 Upgrade account portal submodule -> plan list fix 2023-12-15 12:44:42 +01:00
Sam Rose 1717fb7930
Instrument CouchDB client with DD APM traces. 2023-12-15 11:30:02 +00:00
Sam Rose 7a11c5be92
Tweak newly added spans to track formula processing. 2023-12-15 11:10:23 +00:00
Sam Rose b1541817d4
Merge branch 'master' into set-up-dd-version-and-code-tracking 2023-12-15 10:12:27 +00:00
Sam Rose 56a240bc18
Set up DD version and code tracking. 2023-12-15 09:53:48 +00:00
Sam Rose 9e2bea52db
Merge branch 'master' into instrument-formula-processing 2023-12-15 09:23:45 +00:00
jvcalderon b3c786b0f8 Merge branch 'master' into feature/rm-ff-code-per-user-per-creator 2023-12-15 08:38:28 +01:00
jvcalderon aa5ea53af2 Update account portal submodule 2023-12-15 08:36:30 +01:00
Sam Rose a6f03b02f2
Use the right casing for DataDog 2023-12-14 17:27:22 +00:00
Sam Rose 5b880f1d9b
Also instrument appId 2023-12-14 17:26:48 +00:00
Sam Rose 899b6707e7
add the column into the processStringSync span 2023-12-14 17:10:09 +00:00
Sam Rose 0d3ea23301
Instrument formula processing in DataDog. 2023-12-14 16:52:47 +00:00
Sam Rose 7ec2c3860b
Optimise the performance of Writethrough.put. 2023-12-14 16:20:31 +00:00
jvcalderon 34545e1e86 Update account portal submodule 2023-12-14 16:35:37 +01:00
jvcalderon c5be681492 Update account-portal submodule 2023-12-14 16:31:06 +01:00
jvcalderon 2cea0bb5e5 Update account portal submodule 2023-12-14 16:05:06 +01:00
Sam Rose dc0d630f4a
Merge branch 'master' into optimise-get-unique-by-prod 2023-12-14 11:18:29 +00:00
Sam Rose 0597c0efc6
Respond to PR feedback. 2023-12-14 11:08:55 +00:00
Sam Rose 598ab03fd0
Optimise getUniqueByProp 2023-12-14 10:40:22 +00:00
Adria Navarro a0dd71f990 Renames 2023-12-14 10:31:04 +01:00
Adria Navarro 251663f38c Renames 2023-12-14 10:10:16 +01:00
Adria Navarro 165d86c246 Create updating page 2023-12-14 10:10:16 +01:00
Adria Navarro 46f8f4da58 Fix parsing appid from path with ? 2023-12-14 10:09:23 +01:00
Adria Navarro 50da799216 Add onMigrationDetected function 2023-12-14 10:07:46 +01:00
Adria Navarro 005dd27663 Use header consts from shared-core 2023-12-14 10:07:46 +01:00
Adria Navarro f3e046ba98 Move header constants to shared-core 2023-12-14 10:07:46 +01:00
Adria Navarro 144fbdf946 Add tests 2023-12-14 10:07:46 +01:00
Adria Navarro 2a92263df5 Add tests 2023-12-14 10:07:46 +01:00
Adria Navarro 9396c2fd6a Split tests 2023-12-14 10:07:46 +01:00
Adria Navarro 34d3edc2db Add header 2023-12-14 10:07:45 +01:00
Adria Navarro 05b5692520 Add app migration test 2023-12-14 10:07:45 +01:00
José Vte. Calderón ed3ad7dea9
Merge branch 'master' into feature/rm-ff-code-per-user-per-creator 2023-12-14 09:08:35 +01:00
mike12345567 213dca323c Fixing an issue with helper popover display. 2023-12-13 18:33:06 +00:00
mike12345567 6173497afa Adding a UUID helper to simplify things, question comes up fairly regularly. 2023-12-13 17:56:16 +00:00
Michael Drury b9593d1933
Merge branch 'master' into fix/try-once-logging 2023-12-13 15:57:21 +00:00
mike12345567 27b8cc7476 Updating pro. 2023-12-13 15:51:23 +00:00
mike12345567 c8128325c6 Improving type handling. 2023-12-13 15:39:04 +00:00
mike12345567 48d70c45b9 Updating pro. 2023-12-13 15:35:44 +00:00
mike12345567 c4af5214ef Improving types around the writethrough cache, exposing the proper typing from the database and removing a log statement which is useless, errors are correctly propogated if they matter (and handled above this level with proper context) or in the 99% scenario it is not a real error (such as try once locks already being held) and a log is just spammy. 2023-12-13 15:08:23 +00:00
Sam Rose a00085c421
Merge branch 'master' into ops-228-split-out-automations-from-main-app-infrastructure 2023-12-13 14:45:56 +00:00
Sam Rose 51c3289968
Fix lint error. 2023-12-13 12:30:11 +00:00
Adria Navarro 116b1ce909 Ensure .env is created properly 2023-12-13 13:14:13 +01:00
Sam Rose 4934b4a428
Fix broken test. 2023-12-13 11:58:56 +00:00
Sam Rose 810f369f88
Merge branch 'master' of github.com:budibase/budibase into ops-228-split-out-automations-from-main-app-infrastructure 2023-12-13 11:45:40 +00:00
mike12345567 d9df2d34c8 Adding Koa API back in when automation feature only enabled, so that health check can still be provided, but rest of API is disabled. 2023-12-13 11:23:46 +00:00
Sam Rose dbaa2699ca
Fix broken imports. 2023-12-13 11:10:58 +00:00
Sam Rose 6098a2d9e8
Split out automation processing from the apps pods. 2023-12-13 10:47:16 +00:00
Sam Rose 2d8080332b
Merge branch 'master' of github.com:budibase/budibase into budi-7664-sqs-self-host-ui-for-detecting-lack-of-sqs-support 2023-12-12 16:43:24 +00:00
jvcalderon 54ab1e16fe Upgrade account-portal submodule 2023-12-12 17:40:27 +01:00
mike12345567 f6acfc2795 Making sure relationships are valid before displaying them. 2023-12-12 15:11:04 +00:00
mike12345567 a3a6ee5656 PR comments. 2023-12-12 15:02:40 +00:00
mike12345567 b2b51a03f8 merge branch 'master' of github.com:Budibase/budibase into fix/budi-7827 2023-12-12 15:00:27 +00:00
Sam Rose 0a7af05f01
Unmock node-fetch again. 2023-12-12 14:46:08 +00:00
Sam Rose 614a659032
Merge branch 'master' of github.com:budibase/budibase into budi-7664-sqs-self-host-ui-for-detecting-lack-of-sqs-support 2023-12-12 14:44:08 +00:00
Sam Rose b4f0423ca3
Respond to Adri's feedback. 2023-12-12 14:43:53 +00:00
Michael Drury 2a864d077f
Merge branch 'master' into split-with-env 2023-12-12 12:34:42 +00:00
Andrew Kingston 4f564c793e
Merge branch 'master' into fix/global-users-search-numeric-prefixing 2023-12-12 11:23:22 +00:00
Andrew Kingston f7b7f3efde Error when searching global users using more than one filter per field 2023-12-12 11:15:29 +00:00
Adria Navarro db2d1a42df
Merge branch 'master' into chore/remove-develop-references 2023-12-12 11:59:43 +01:00
Adria Navarro 5511a21445 Update account-portal submodule ref 2023-12-12 11:59:19 +01:00
melohagan 9d56039d03
Revert TTL on signed urls (#12556) 2023-12-12 10:52:14 +00:00
Andrew Kingston 635bf9acf2 Merge branch 'fix/global-users-search-numeric-prefixing' of github.com:Budibase/budibase into fix/global-users-search-numeric-prefixing 2023-12-12 10:28:53 +00:00
Andrew Kingston 66f219d778 Lint and change status code to 400 when searching on invalid fields 2023-12-12 10:26:48 +00:00
Sam Rose 3a7c30c7f3
Seeing if CI is happy if I remove the unmock call. 2023-12-11 17:54:02 +00:00
Sam Rose f249dadcc7
Merge branch 'master' of github.com:budibase/budibase into budi-7664-sqs-self-host-ui-for-detecting-lack-of-sqs-support 2023-12-11 17:46:27 +00:00
Sam Rose c50e8fd05b
Split withEnv, so the core env isn't touched in it. 2023-12-11 17:43:56 +00:00
Sam Rose 779bd8f230
Remove core env overriding in worker TestConfiguration. Should be split out in server, too. 2023-12-11 17:28:33 +00:00
Andrew Kingston 23475942d0
Merge branch 'master' into fix/global-users-search-numeric-prefixing 2023-12-11 17:27:49 +00:00
mike12345567 7b2880fbe2 Initial work to get relationship column saving working as expecting, sending out events on datasource update for tables, trying to move more to table API where possible. 2023-12-11 17:27:05 +00:00
Andrew Kingston e16cc26781 Lint 2023-12-11 17:25:42 +00:00
Sam Rose 867d68d429
Cleanup. 2023-12-11 17:25:38 +00:00
Andrew Kingston 6617243ce5 Update global users search to account for numeric prefixing 2023-12-11 17:23:02 +00:00
Sam Rose e0243b495c
Fix tests. 2023-12-11 17:20:00 +00:00
mike12345567 a3ebf0bffd Allowing external formulas to be updated. 2023-12-11 16:58:41 +00:00
Sam Rose 2c3b3d03e1
Respond to PR comments. 2023-12-11 16:49:44 +00:00
Adria Navarro 90c4485a90 Update account-portal submodule ref 2023-12-11 17:22:37 +01:00
Adria Navarro 686cf938f9 Update ref 2023-12-11 17:00:10 +01:00
Adria Navarro 59be83a2ca Update ref 2023-12-11 16:42:32 +01:00
Sam Rose 6b491815a5
Add isSqsAvailable key to the environment endpoint. 2023-12-11 15:22:02 +00:00
Adria Navarro 02f836d0cf Update docs 2023-12-11 16:04:28 +01:00