Commit Graph

22404 Commits

Author SHA1 Message Date
Michael Drury 8856848f49
Merge branch 'master' into fix/massive-attachment-export 2023-12-06 14:11:02 +00:00
melohagan 269ad4ee66
Support enum types in PostgreSQL and MySQL (#12512)
* Support enums in Postgres table fetch

* MySQL support for enum values

* null safety

* Refactor
2023-12-06 14:01:36 +00:00
mike12345567 5c5369e537 Merge branch 'fix/massive-attachment-export' of github.com:Budibase/budibase into fix/massive-attachment-export 2023-12-06 12:30:07 +00:00
mike12345567 936ce9fcc2 Adding test to make sure attachments are output correctly. 2023-12-06 12:29:37 +00:00
Michael Drury 647fc563cc
Merge branch 'master' into fix/massive-attachment-export 2023-12-06 11:49:36 +00:00
mike12345567 0727df6f98 Breaking attachment out into constant that can be re-used, and fixing some imports. 2023-12-06 11:39:46 +00:00
mike12345567 be6cb0825c Fixing an issue with import and images not displaying correctly. 2023-12-05 18:27:56 +00:00
mike12345567 8628c67c90 Fixing typing issues. 2023-12-05 18:17:27 +00:00
Andrew Kingston 3cd44d850a Merge branch 'fix/massive-attachment-export' of github.com:Budibase/budibase into fix/massive-attachment-export 2023-12-05 16:54:27 +00:00
Andrew Kingston 4cd870ef9e Don't read attachments into memory unless they are images 2023-12-05 16:54:03 +00:00
Peter Clement ee9937d3d8 Merge remote-tracking branch 'origin/master' into fix/pc-bug-fixes 2023-12-05 16:32:24 +00:00
mike12345567 33b7e4d5d2 Some final refactoring, using proper jwt lib rather than requiring (proper typing). 2023-12-05 16:28:19 +00:00
mike12345567 fb6f79618e Getting export modal to wait. 2023-12-05 16:10:01 +00:00
mike12345567 2bf65601a1 Another simplification. 2023-12-05 15:55:09 +00:00
mike12345567 50270b8854 Quick refactor while in the area. 2023-12-05 15:54:33 +00:00
Andrew Kingston a384956d29
Merge branch 'master' into feature/add-buttongroup-to-formblock 2023-12-05 15:13:17 +00:00
Gerard Burns 7ef09b6fec
Fix Deleting and Remaking Relationships to the User Table (#12453)
* Fix Deleting and Remaking Relationships to the User Table

* change tables store related tables fetching

* lint
2023-12-05 15:01:35 +00:00
Peter Clement 442d0853d3 fix plus icon colour and hover 2023-12-05 14:37:49 +00:00
Adria Navarro 7cf9a915f4 Fix tests 2023-12-05 15:37:45 +01:00
Adria Navarro c94bd63374 Fix scripts 2023-12-05 15:31:32 +01:00
Adria Navarro a8070829c9 Rename 2023-12-05 15:29:11 +01:00
Adria Navarro e12fc874c8 Fix test when no migrations exist 2023-12-05 14:09:59 +01:00
Adria Navarro d289a8869a Comments 2023-12-05 13:02:05 +01:00
Adria Navarro e7859a8a47
Merge branch 'master' into BUDI-7655/migration-backend 2023-12-05 12:57:37 +01:00
Adria Navarro 69864a174a Fix 2023-12-05 12:42:09 +01:00
Adria Navarro 8c1d0d1e4e Save version as string 2023-12-05 12:40:26 +01:00
Adria Navarro bd8c52094b Initalise migration version on creation 2023-12-05 12:37:21 +01:00
Adria Navarro 9625935a9b Add readme 2023-12-05 11:03:52 +01:00
Peter Clement 0f3f484953 Merge remote-tracking branch 'origin/master' into fix/pc-bug-fixes 2023-12-05 09:55:20 +00:00
mike12345567 7e4a9016a8 Merge branch 'master' of github.com:Budibase/budibase into fix/massive-attachment-export 2023-12-04 18:08:59 +00:00
Dean 79bc945fb7 Merge remote-tracking branch 'origin/master' into feature/add-buttongroup-to-formblock 2023-12-04 17:15:16 +00:00
Dean 2e3b65ca4f PR feedback 2023-12-04 17:14:00 +00:00
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 22bc8e1a37 Add tests 2023-12-04 16:49:03 +01:00
Peter Clement f6b5c32207 Merge remote-tracking branch 'origin/master' into fix/pc-bug-fixes 2023-12-04 15:41:12 +00:00
Adria Navarro 7b05c7eb18 Use migrations context 2023-12-04 16:39:01 +01:00
Adria Navarro e0d8e4c671 Clean 2023-12-04 16:30:47 +01:00
Adria Navarro d634ff2edb Remove unexpected ttl 2023-12-04 16:30:07 +01:00
Adria Navarro 91b293fd49 Use new autoextend 2023-12-04 16:30:07 +01:00
Adria Navarro 63339eb686 Run as array 2023-12-04 16:30:07 +01:00
Adria Navarro 3ee59b0e96 Migrations in a queue 2023-12-04 16:30:07 +01:00
Adria Navarro a4fd4ef635 Save history 2023-12-04 16:30:07 +01:00
Adria Navarro 98702798fb Allow custom timeout 2023-12-04 16:30:07 +01:00
Adria Navarro 25c16ae229 Add migration integrity tests 2023-12-04 16:30:07 +01:00
Adria Navarro 1d124a59cb Process migration 2023-12-04 16:30:07 +01:00
Adria Navarro f2fcf0f6c2 Idempotency 2023-12-04 16:30:07 +01:00
Adria Navarro 45fcf2c143 Do not use cache for dev 2023-12-04 16:30:07 +01:00
Adria Navarro bbcbb58658 Add gitkeep 2023-12-04 16:30:07 +01:00
Adria Navarro 8ac9420e5b Add middleware to queue 2023-12-04 16:30:07 +01:00
Adria Navarro 75554d1bd2 Add migration script 2023-12-04 16:30:07 +01:00
Adria Navarro c6840960a4 Add appMigrationMetadata utils 2023-12-04 16:30:06 +01:00
Adria Navarro b9fefd22d8 Update account portal ref 2023-12-04 15:51:51 +01:00
Peter Clement 96e9f46d7c pr comments 2023-12-04 14:21:35 +00:00
Peter Clement 0ddbe4483f Merge remote-tracking branch 'origin/master' into fix/pc-bug-fixes 2023-12-04 14:21:20 +00:00
Adria Navarro 17987e2f97 Update refs 2023-12-04 15:19:01 +01:00
Adria Navarro e4237c0620 Remove conflicting typing 2023-12-04 15:15:40 +01:00
mike12345567 3e2311ad5c Merge branch 'master' of github.com:Budibase/budibase into fix/massive-attachment-export 2023-12-04 13:11:55 +00:00
Adria Navarro d4a1a7f7c3 Update account portal ref 2023-12-04 13:52:36 +01:00
Adria Navarro ac42105fcf Update account portal ref 2023-12-04 13:18:16 +01:00
Adria Navarro cb72def9b0 Update account portal ref 2023-12-04 13:11:02 +01:00
Adria Navarro df6f0e2a1c Update account portal ref 2023-12-04 13:05:22 +01:00
Adria Navarro 1e45ba4d0d Update account portal ref 2023-12-04 12:49:40 +01:00
Adria Navarro 0eae73a5f0
Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-12-04 12:31:33 +01:00
Adria Navarro 5b9e6ecae3 Update account portal ref 2023-12-04 12:21:02 +01:00
Andrew Kingston de3d6700ed
Merge branch 'master' into feature/add-buttongroup-to-formblock 2023-12-04 10:19:10 +00:00
Adria Navarro d283a2d336 Update yarn.lock and refs 2023-12-04 10:33:20 +01:00
Adria Navarro adfb39739d Update pro ref 2023-12-04 09:34:11 +01:00
Adria Navarro 9c9f45436f Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-12-04 09:30:00 +01:00
Adria Navarro 6364fa340c Update pro ref 2023-12-04 09:28:08 +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
mike12345567 19c069946a Fixing importing - still some work to get links correct. 2023-12-01 19:37:43 +00:00
mike12345567 00a3c630ef Initial work to get file streaming working when dealing with a large amount of file exports, tested with up to 1.5GB of attachments. 2023-12-01 18:36:40 +00:00
Dean a6df68d63f Merge remote-tracking branch 'origin/master' into feature/add-buttongroup-to-formblock 2023-12-01 09:03:22 +00: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