Tom Moor
b8fd239f2e
Add additional logging to getFileStream failures ( #9242 )
2025-05-18 19:24:50 -04:00
codegen-sh[bot]
870bf1157b
fix: Increase defaultSignedUrlExpires from 60s to 5 minutes ( #9233 )
...
Closes #8921
Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
2025-05-17 13:07:01 +00:00
Hemachandar and Tom Moor
e8e46a438c
fix: Store Linear workspace logo in storage ( #9061 )
...
* fix: Store Linear workspace logo in Outline
* use async task
* Move task into plugin
---------
Co-authored-by: Tom Moor <tom@getoutline.com >
2025-04-25 23:18:21 -04:00
Tom Moor
516d14fe27
fix: Potential unsafe content-type check ( #8673 )
...
* fix: Potential bypass of content-type check
* Include extra available chars
2025-03-12 12:39:41 +00:00
Tom Moor
f46921275d
fix: copy pasting the content from some medium into outline does not get the images ( #8472 )
...
* fix: Files from local storage provider sometimes returned with incorrect content type
* fix: attachments.createFromUrl response values incorrect for successful upload
* fix: Reduce liklihood of image download requests being blocked on server
* fix: Content with HTML images should never be considered as markdown
* fix: Image caption sometimes uncentered
* test
2025-02-17 11:54:13 -08:00
Tom Moor
28aebc9fbf
feat: Upload remote-hosted images on paste ( #8301 )
...
* First pass
* fix
* tidy, tidy
* Determine dimensions
* docs
* test getFileNameFromUrl
* PR feedback
* tsc
2025-01-30 17:24:07 -08:00
Tom Moor
b2d6c40ea8
chore: Add warning for problematic selfhosted config, closes #8025
2024-11-29 11:07:23 -05:00
Tom Moor
2cce95488c
fix: S3 expiry not passed correctly ( #8013 )
2024-11-24 06:15:19 -08:00
Tom Moor
a59215d27c
Add video and audio as safe inline content-disposition
2024-08-23 08:53:18 -04:00
Tom Moor
4f35b8ea0d
chore: 411 -> 387 lint warnings
2024-08-09 16:11:35 +01:00
Tom Moor
a120427943
fix: Image download timeouts importing document should not exceed overall request timeout
2024-08-01 09:58:44 +01:00
Michael Fowler
77579bb4f1
fix: Use the default credential strategy in S3Client construction ( #7061 )
...
By omitting this option, we fall back to the hierarchy used by S3Client by
default. When defined, the provider chain will use the values of
AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY (and AWS_SESSION_TOKEN); in their
absence, the provider chain can retrieve credentials from a range of other
sources, including e.g. ECS credentials.
Although there are no longer any application reads from `env.AWS_ACCESS_KEY_ID`
and `env.AWS_SECRET_ACCESS_KEY`, they continue to serve a useful documentary
role.
2024-06-17 03:15:15 -07:00
Tom Moor
50bbe05334
Add range header support to files.get ( #6950 )
2024-05-28 05:12:25 -07:00
Tom Moor
8c307e1db5
fix: The XML you provided was not well-formed with server-to-server S3 uploads larger than multi-part minimum
2024-05-20 20:45:28 -04:00
Tom Moor
dd0bf64198
fix: AWS configuration with AWS_S3_ACCELERATE_URL specified
2024-05-19 09:53:36 -04:00
Nanguan Lin and Tom Moor
3a7dd94e14
Migrate from s3 sdk v2 to v3 ( #6731 )
...
* chore: migrate from s3 sdk v2 to v3
* import signature-v4-crt
* downgrade minor version
* Add s3-presigned-post manually
* Change s3 mock
* Update server/storage/files/S3Storage.ts
* docs
* Upgrade aws-sdk
---------
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2024-05-19 06:01:42 -07:00
Tom Moor
cd4f3f9ff2
Use inline content disposition for common images and PDFs ( #6924 )
...
* Use inline content disposition for common images and PDFs
* Add double-click on widgets to download
2024-05-18 09:17:04 -07:00
Tom Moor
75b0cd380a
Remove error on storeFromUrl failure
2023-12-26 22:50:33 -05:00
Tom Moor
e76dcc0baf
test
2023-11-15 20:50:44 -05:00
Tom Moor
cf6a946c9c
chore: Normalize fs-extra usage
2023-11-15 19:43:17 -05:00
Tom Moor
726613bf1d
fix: Remove unzipper as it cannot handle zip within zip ( #6162 )
2023-11-15 16:32:17 -08:00
Tom Moor
1c6f8dda5e
fix: Cleanup empty folders when using local storage provider, closes #5978
2023-11-09 19:24:16 -05:00
Tom Moor
9f6c90c86a
fix: Improve performance of base64 detection regex
2023-10-21 21:29:06 -04:00
Tom Moor
31cb9c865f
fix: Assumption that url passed to storeFromUrl will send content-length header
2023-10-16 19:38:11 -04:00
Tom Moor
1359f44814
fix: Links to attachments do not work in emailed notifications ( #5935 )
2023-10-04 18:25:07 -07:00
Tom Moor
42cc991317
fix: files.create permissions ( #5877 )
...
* fix: files.create permissions
* test
* new
2023-09-24 12:02:49 -07:00
Tom Moor and github-actions[bot]
e50e0bba53
Allow file access not in Attachments table ( #5876 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-09-24 06:43:37 -07:00
Tom Moor
6aec085942
fix: Error handling on streams missing error handler on read streams.
...
Related https://github.com/outline/outline/discussions/5855
2023-09-23 18:08:36 -04:00
Apoorv Mishra and Tom Moor
67b1fe5514
Local file storage ( #5763 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-09-20 15:12:03 -07:00
Tom Moor
8b4b2ca741
fix: S3Storage incorrectly setting hostname
2023-08-31 20:44:34 -04:00
Tom Moor
78ad1b867a
fix: Handle base64 and remote images when creating a file ( #5740 )
2023-08-26 06:15:14 -07:00
Tom Moor
5c07694f6b
Refactor 'uploadFromUrl' to base storage implementation
...
Add safety around using fetch implementation
2023-08-20 13:13:17 -04:00
Tom Moor
74722b80f2
chore: Refactor file storage ( #5711 )
2023-08-20 07:04:34 -07:00