Commit Graph

22205 Commits

Author SHA1 Message Date
Michael Drury c321c83916
Update packages/server/src/middleware/currentapp.ts
Co-authored-by: Sam Rose <hello@samwho.dev>
2023-12-04 17:10:19 +00:00
mike12345567 a7410020c7 Adding cookie clearing/logout for when a cross tenant session is detected, make sure that the cookie cannot be used/considered valid after the call is made. 2023-12-04 16:47:41 +00:00
Adria Navarro e4237c0620 Remove conflicting typing 2023-12-04 15:15:40 +01:00
Adria Navarro 083ff0b7c7 Fix tests typing 2023-12-04 09:23:01 +01:00
Adria Navarro 188d5d09a2 Typo
Co-authored-by: Sam Rose <hello@samwho.dev>
2023-12-04 09:12:58 +01:00
Adria Navarro fa7693f6df Typo
Co-authored-by: Sam Rose <hello@samwho.dev>
2023-12-04 09:12:58 +01:00
Adria Navarro 7f52a1e28c Guard migration 2023-12-04 09:12:58 +01:00
Adria Navarro 14fc91d58a Add tests 2023-12-04 09:12:58 +01:00
Adria Navarro f62dd56dd6 Add doInAppMigrationContext 2023-12-04 09:12:58 +01:00
Adria Navarro fe0efc7539 Remove unused test context code 2023-12-04 09:12:57 +01:00
Adria Navarro 12015c79ae Add comments 2023-11-30 18:39:33 +01:00
Adria Navarro 670853a0ea Renames 2023-11-30 18:39:33 +01:00
Adria Navarro fb72b77ac1 Use jest.useFakeTimers 2023-11-30 18:39:33 +01:00
Adria Navarro bd89633e61 Fix wrong commited code 2023-11-30 18:39:33 +01:00
Adria Navarro a8ac4eed6d Autoextend without ttl 2023-11-30 18:39:33 +01:00
Adria Navarro e81e37b613 Clean comments 2023-11-30 18:39:33 +01:00
Adria Navarro 25099ee28e Clean redlock test settings 2023-11-30 18:39:33 +01:00
Adria Navarro 57b4c08731 Increase timeouts 2023-11-30 18:39:33 +01:00
Adria Navarro bbe41e04a2 Update openapi specs 2023-11-30 18:39:33 +01:00
Adria Navarro dcb6933eaa Clean 2023-11-30 18:39:33 +01:00
Adria Navarro c86d949680 Add and dry tests 2023-11-30 18:39:33 +01:00
Adria Navarro db6517bc0c Use real sleeps 2023-11-30 18:39:33 +01:00
Adria Navarro 078384941a Clean 2023-11-30 18:39:33 +01:00
Adria Navarro 9c12c5b62e Fix comments 2023-11-30 18:39:33 +01:00
Adria Navarro 73fd1f66c5 Fix 2023-11-30 18:39:33 +01:00
Adria Navarro f1fafc07f2 Update ioredis-mock 2023-11-30 18:39:33 +01:00
Adria Navarro 4cd76ea0fc Add tests 2023-11-30 18:39:33 +01:00
Adria Navarro a32582eb8a Use autoextend as locktype 2023-11-30 18:39:33 +01:00
Adria Navarro 26a77298ac Use timers 2023-11-30 18:39:33 +01:00
Adria Navarro 5a7dbb0076 Async 2023-11-30 18:39:33 +01:00
Adria Navarro 3073397800 Fix ttl 2023-11-30 18:39:33 +01:00
Adria Navarro f71e1ac03a Allow locks without TTL 2023-11-30 18:39:33 +01:00
mike12345567 2e51c6a8b4 Merge branch 'master' of github.com:Budibase/budibase into fix/BUDI-7760 2023-11-30 15:09:22 +00:00
mike12345567 02fefa5529 Fixes for postgres test case, there was an issue with creating tables with relationships during the creation phase. 2023-11-30 15:09:01 +00:00
melohagan 6315806bea
Update originalIndex on select (#12480) 2023-11-30 14:42:38 +00:00
Sam Rose 71a4e96d58
Move CODEOWNERS to the root to see if that fixes it. 2023-11-30 11:34:11 +00:00
melohagan 3633b9e93e
Null pointer fix (#12473) 2023-11-30 10:09:14 +00:00
Peter Clement 17618b6430 Merge remote-tracking branch 'origin/master' into fix/automations-query-user-table-fix 2023-11-30 09:07:41 +00:00
Peter Clement 3192a594c7 Allow querying of users table from automation 2023-11-30 08:58:01 +00:00
mike12345567 160fbf2125 Adding test case and fixing issue that it revealed with external tables as well. 2023-11-29 19:53:56 +00:00
mike12345567 b86640772b Fix for saving relationships that have the same field name used on both sides, previously this could cause a relationship to be cleared depending on how the relationship schema was configured. There is a chance when saving that this won't happen as which side of the relationship is denoted by doc1 and doc2 is random, so when this happens is random. Using the table to pick the correct side is safer than just using the field name. 2023-11-29 18:45:48 +00:00
Sam Rose a49f14abb3
Merge branch 'master' into codeowners 2023-11-29 15:00:02 +00:00
melohagan c2a82bb021
FIX broken references in a list of actions (#12459)
* Refactor

* Update action bindings on delete

* Update action bindings on move

* Fix with additional tests

* Ensure visible binding is updated on drag release

* fix

* Refresh visible binding when action is deleted

* Refactor

* Refactor
2023-11-29 14:48:50 +00:00
Sam Rose fe0f31eef4
Merge branch 'master' into codeowners 2023-11-29 14:04:42 +00:00
melohagan 37dc8ba6e4
Only export selected columns (#12438)
* Only export selected columns

* Refactor and unit test
2023-11-29 10:23:21 +00:00
melohagan a5a3b12936
Return false don't throw (#12460)
Co-authored-by: Sam Rose <hello@samwho.dev>
2023-11-29 10:10:59 +00:00
Sam Rose fb3c072165
Capitalise @Budibase. 2023-11-29 09:22:47 +00:00
Sam Rose 204769b6e9
Add @budibase/backend as code owners to packages/{server,worker,backend-core} 2023-11-29 09:19:08 +00:00
Andrew Kingston d4aba9e6db
Merge branch 'master' into random-fixes 2023-11-29 08:56:49 +00:00
Andrew Kingston a1a7ab227d
Merge branch 'master' into fix/formblock-ux-updates 2023-11-28 19:36:55 +00:00