Commit Graph

22443 Commits

Author SHA1 Message Date
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
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
Dean a84b4e65ed Merge remote-tracking branch 'origin/master' into feature/add-buttongroup-to-formblock 2023-11-30 10:42:38 +00:00
Dean 848fea0621 PR feedback and refactoring 2023-11-30 10:42:21 +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
Peter Clement 88d575d2f0 removing logging 2023-11-28 14:07:17 +00:00
Martin McKeaveney 24357aa7de update copy in banner 2023-11-28 11:42:20 +00:00
Gerard Burns 9733bb01e7 Merge branch 'master' into random-fixes 2023-11-28 11:16:37 +00:00
Gerard Burns 6428a63c4f linting 2023-11-28 11:14:56 +00:00
Andrew Kingston 8b00ce97ac
Merge branch 'master' into fix-modal-relationship-picker 2023-11-28 11:03:41 +00:00
Gerard Burns 868253b74f fix nav items 2023-11-28 10:59:04 +00:00
Andrew Kingston b2d865458d
Merge branch 'master' into fix-modal-relationship-picker 2023-11-28 09:45:15 +00:00
Andrew Kingston f2cf118eb1 Merge branch 'master' of github.com:Budibase/budibase into fix/relationship-picker-filtering 2023-11-28 09:42:07 +00:00
Andrew Kingston e8017e8fab Merge branch 'fix/relationship-picker-filtering' of github.com:Budibase/budibase into fix/relationship-picker-filtering 2023-11-28 09:41:58 +00:00
Andrew Kingston 69dd675414 Add comment to explain numeric prefix 2023-11-28 09:41:29 +00:00
Dean dec68233c2 Merge remote-tracking branch 'origin/master' into fix/formblock-ux-updates 2023-11-28 09:36:23 +00:00
Dean c3c7a5980d PR Feedback 2023-11-28 09:31:06 +00:00
Martin McKeaveney 3a0d409e9b point banner to pricing website 2023-11-28 09:06:25 +00:00
Martin McKeaveney b357b6d2e8 only show pricing banner in prod and once 2023-11-28 08:59:34 +00:00
Adria Navarro e7bcabf1d2 Merge branch 'master' into BUDI-7580/account_portal_submodule 2023-11-27 20:48:32 +01:00
Adria Navarro 6e0a423655 Update submodule refs 2023-11-27 20:46:51 +01:00
Martin McKeaveney 5301c1edd9 update presigned url time 2023-11-27 19:03:37 +00:00
Martin McKeaveney a65b29eb88 banner changes for new pricing, fix for onboarding to prevent flash of UI before onboarding tutorial 2023-11-27 18:50:44 +00:00
Adria Navarro c0fc78affc Update submodule refs 2023-11-27 16:31:25 +01:00
Peter Clement 45ab9a54be lint 2023-11-27 10:40:20 +00:00
Peter Clement c6c0ca33d0 hover state of add icon 2023-11-27 10:20:10 +00:00
Peter Clement 4baab262d5 Merge remote-tracking branch 'origin/master' into fix/pc-bug-fixes 2023-11-27 10:16:10 +00:00
Martin McKeaveney 1eb5dc7345 updating master ref 2023-11-27 09:18:02 +00:00
Martin McKeaveney 1ae61eb4d6 update pro reference 2023-11-26 18:29:51 +00:00
Andrew Kingston a8c5f62666 Fix label for tenant role when inviting users via builder side panel 2023-11-24 17:28:06 +00:00
Andrew Kingston 168e875662 Persist legacy creator access when promoting to creator 2023-11-24 17:27:22 +00:00
Andrew Kingston 018d42b440 Be explicit when checking if a user is a creator or not when displaying their global role in the user table list and user details page 2023-11-24 17:05:31 +00:00
Andrew Kingston bc48661a64 Lint and update user app tables to use new copy 2023-11-24 16:45:37 +00:00
Andrew Kingston 7f17d2f943 Allow creating creator users via users store 2023-11-24 16:34:58 +00:00
Andrew Kingston f9ea61db1a Improve inputdropdown component 2023-11-24 16:34:47 +00:00
Andrew Kingston 016ed56c19 Add subtitle support to pickers 2023-11-24 16:19:39 +00:00
Andrew Kingston d8b646de29 Don't consider admin app access as creator access 2023-11-24 16:15:42 +00:00
Andrew Kingston a05fc97715 Ensure adding a user as an app builder sets their role to creator 2023-11-24 15:54:46 +00:00
Andrew Kingston 302f6f6106 Fix footer in fancy select and allow inviting creators from side panel 2023-11-24 15:47:40 +00:00
Andrew Kingston 295965d1d3 Move picker subtitle to below the label 2023-11-24 15:23:22 +00:00
Andrew Kingston c4a3837fc1 Merge branch 'master' of github.com:Budibase/budibase into creator-changes 2023-11-24 15:18:06 +00:00
Gerard Burns b7a78b035d Merge branch 'master' into random-fixes 2023-11-24 14:00:53 +00:00
Andrew Kingston c4de70c77c Update builder side panel to use new copy for roles 2023-11-24 12:24:14 +00:00
Peter Clement 77ab89e95e type 2023-11-24 12:21:48 +00:00