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
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
db2c20e3ae
eslint import/newline-after-import
2023-11-20 21:52:29 +01:00
Sam Rose
a27a9dc2af
Eliminate TOCTOU problem in creating bbTmp.
2023-11-03 14:29:54 +00:00
Michael Drury
c6b377c565
Revert "Revert "Client library fetching through server""
2023-10-24 18:13:36 +01:00
Michael Drury
e2e5c9044c
Revert "Client library fetching through server"
2023-10-24 18:12:20 +01:00
mike12345567
701d30abb4
Don't pass through default tenant ID.
2023-10-24 17:30:57 +01:00
mike12345567
ba5b1d7cfa
Adding tenant ID to query string and fixing test cases.
2023-10-24 17:27:58 +01:00
mike12345567
b53158ac08
Moving the client library to be retrieved using the same mechanism as we do in development, through the server instance (same as the builder itself). This should help with the CDN issues that we have been having, although attachments are still currently affected.
2023-10-24 16:25:14 +01:00
Sam Rose
767900aec6
Remove type information from JSDoc in .ts files, it's redundant.
2023-10-17 16:46:32 +01:00
Adria Navarro
5ef90a3855
Fix import
2023-10-13 09:08:07 +02:00
Adria Navarro
18545b1c79
Fix vulnerabilities
2023-10-03 23:45:39 +02:00
adrinr
ac4e45a433
Replace usages
2023-04-17 10:27:37 +01:00
mike12345567
24fc72657d
Fixing all broken test cases after breaking out context fully from jestSetup/backend-core jest loading.
2023-03-30 16:35:25 +01:00
Rory Powell
ae9979929a
Enable higher concurrency and resiliency in worker tests
2023-02-13 11:57:30 +00:00
adrinr
7027abeaa2
Fix issues with parallel tests and self/cloud modes
2023-01-26 18:20:21 +00:00
Hong Phuc Nguyen
6825b2e3fc
Doing sanitizeKey when doing deleteFile(s) ( #9209 )
...
* Doing sanitizeKey when doing deleteFile(s)
Doing sanitizeKey when doing deleteFile(s).
In case of backup file name in backups bucket backup-2023-01-03T185512.686Z.tar.gz but in global-db store backup filename is backup-2023-01-03T18:55:12.686Z.tar.gz
sanitizeKey on deleteFile(s) method will prevent all other case related to this bug
* use .promise() instead callback for workaround aws-sdk bug
2023-01-05 08:54:10 +00:00
Rory Powell
f4a39080de
Minio and local licensing fixes ( #9071 )
2022-12-16 11:14:31 +00:00
Rory Powell
786039055e
File authentication using presigned URLs ( #8883 )
...
* file auth wip
* Private plugin bucket wip
* Add etag to logo request, fix circular dependency
* Resolve cyclic dependency
* Ensure browser doesn't cache custom component
* Global file fixes
* File fixes / remove permaUrl
* Add ctx local storage
* Enable presigned url to work from any host
* Test fix
* Self hosting w/ S3 + other fixes
* Fix for serving dev app in multi tenant
* Fix backup restore and import attachment url processing, never store attachment urls
* Test fixes
* Unit tests WIP
* Replace file path with base64 encoded private key
* Multi tenancy tests for files
* Environment files fixes
* Post-merge build and test fixes
* Add debug conditional to all jest logging and revert/fix prod minio proxy_pass
* Re-add default '/' minio route :(
* Rename iconFile -> iconFileName
* Add cloudfront vars to k8s templates
* Remove public bucket policy
* Remove duplicated test
2022-12-15 11:35:22 +00:00
mike12345567
d3c4c99e16
Complete conversion of backend-core to Typescript.
2022-11-24 18:48:51 +00:00
mike12345567
de82eca502
Some typescript conversions, moving a few imports around.
2022-11-21 18:33:34 +00:00
mike12345567
693d6b6242
Typescript re-write of the roles layer, this is the backbone of a lot of our security features, and I believe the issue was generally to do with a lack of handling of null-ish inputs.
2022-11-08 18:25:37 +00:00
mike12345567
2f01caa88d
Adding more type handling around the upload object store function.
2022-11-08 11:49:07 +00:00
mike12345567
913eb96ab0
Fixing an issue which was alerting, x-amz-meta-fieldname contains an invalid value, this error isn't really documented, but comes from if a metadata tag is sent up with nullish, or a non-string type. Fixing this in the core library, removing an invalid inputs.
2022-11-08 11:34:16 +00:00
Rory Powell
887470d4b5
Ensure tmpDir/.budibase always exists
2022-10-26 09:24:28 +01:00
mike12345567
0bd2a18e46
Main types and work for the CRUD operations of app backup backend in pro + the listeners to handle exporting apps from the server.
2022-10-14 19:24:03 +01:00
mike12345567
19133f08e6
Adding import functionality - still need to update the attachments URL.
2022-10-11 20:25:22 +01:00
mike12345567
f237befbce
Some fixes + cleanup of tmp directory.
2022-10-11 19:28:13 +01:00
mike12345567
1f36eec89a
Some updates towards supporting attachments in app exports.
2022-10-10 20:08:59 +01:00
mike12345567
95136a54f2
Adding ability for datasource plugins to have a custom icon svg.
2022-09-29 19:30:53 +01:00
mike12345567
e235073cc5
Adding tenancy awareness for plugin bucket.
2022-09-23 16:30:45 +01:00
NEOLPAR
06b36315b6
adding headers param in case it is needed for auth or similar
2022-09-06 15:46:11 +01:00
mike12345567
320cbfada3
Merge branch 'develop' of github.com:Budibase/budibase into plugins-dev-experience
2022-08-31 15:53:32 +01:00
Martin McKeaveney
2470d711b0
fixing s3 outage errors and scoping AWS configuration to service level
2022-08-25 17:01:12 +01:00
Andrew Kingston
e8b9a49074
Attach correct content type to JS files when uploading to object store
2022-08-11 15:25:04 +01:00
mike12345567
a683665a99
Adding plugin upload API - takes a file form-data and then extracts, uploads to minio and stores data about the plugin to CouchDB.
2022-08-10 20:01:48 +01:00
mike12345567
e5ddcd9f86
Adding MinIO handling, backing up to disk by bucket name.
2022-06-30 20:26:49 +01:00
Martin McKeaveney
251520bcd1
adding types
2022-06-28 12:16:23 +01:00
Martin McKeaveney
d15dfb83fc
new ui functionality working from S3 bucket
2022-06-06 23:30:36 +01:00
Rory Powell
4841c84861
Merge branch 'feature/posthog-v2' into feature/event-backfill
2022-05-23 10:29:33 +01:00
Rory Powell
70fff5c7b9
Merge branch 'develop' into feature/posthog-v2
2022-05-23 09:04:00 +01:00
Rory Powell
3b9142f103
Build and test fixes
2022-05-03 22:58:19 +01:00
Rory Powell
cfa75a8af3
backend-core typescript building successfully
2022-04-28 22:39:21 +01:00
Martin McKeaveney
a91cf354b6
renamable buckets, started firebase tests, onboarding modal copy update
2022-04-26 17:12:47 +01:00
mike12345567
83d4994f55
Starting to fix up test cases.
2022-02-25 15:55:19 +00:00
mike12345567
b33523a73d
Merge branch 'develop' of github.com:Budibase/budibase into feature/auth-core
2022-01-11 15:16:07 +00:00
mike12345567
12ae9993ca
Changing directory.
2022-01-10 19:30:35 +00:00