eaf2fd102e
Add attachments.list API endpoint ( #9259 )
...
* Add attachments.list endpoint to retrieve user's attachments
* Fix TypeScript error in attachments.list endpoint
* Address review comments: restore tests, properly type WhereOptions, remove comments
* fix: Pagination, user filtering
---------
Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
Co-authored-by: Codegen Bot <codegen@example.com >
Co-authored-by: Tom Moor <tom@getoutline.com >
2025-05-20 19:25:55 -04:00
codegen-sh[bot] and Tom Moor
a226889143
Update task scheduling to use instance method ( #9092 )
...
* Update task scheduling to use instance method
* Delete update_task_schedule.sh
* Applied automatic fixes
* tsc
---------
Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom@getoutline.com >
2025-04-29 06:47:51 -04: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
514a724d9d
fix: Add default value for attachment preset for easier API use
2024-11-29 23:05:30 -05:00
Tom Moor
633e547d3e
Refactor of event insertion ( #5909 )
2024-11-10 16:26:20 -08:00
Tom Moor
0e249951ab
chore: Event.createFromContext usage ( #7877 )
...
* revisions.create
* Automatically pass transaction in state to createFromContext
2024-11-02 10:16:15 -07:00
Tom Moor
949d93bbfd
fix: Do not touch updatedAt timestamp on Attachment access
2024-08-11 08:51:30 -04:00
Tom Moor
2f495f0add
chore: Extend use of Event.createFromContext ( #7010 )
2024-06-08 14:57:55 -07:00
Tom Moor
7c03963be1
chore: Separate maximum import size config for document/workspace ( #6566 )
...
* chore: Separate maximum import size config for document/workspace
* Update .env.sample
2024-02-20 20:35:31 -08:00
Apoorv Mishra and Tom Moor
1490c3a14b
Individual document sharing with permissions ( #5814 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: Tom Moor <tom@getoutline.com >
2024-01-30 17:48:22 -08:00
Tom Moor
428b3c9553
chore: Ensure comment data is validated before persisting ( #6322 )
...
Fix flash on render of comment create
2023-12-28 10:46:50 -08:00
jannschu
0518cdc6d9
Use transaction from middleware for more database queries ( #6051 )
2023-10-21 14:31:14 -07:00
Tom Moor
9e810387c0
Add cache-control headers to attachments.redirect response
2023-09-25 21:30:57 -04:00
Apoorv Mishra
7145f7ef51
UserPermission and GroupPermission models (#5860 )
...
* fix: rename to group_permissions
* fix: delete null collectionId records before setting non null constraint
* fix: use scope with collectionId not null
* fix: update model with documentId
* fix: rename to GroupPermission
* fix: rename collection_users to user_permissions
* fix: teamPermanentDeleter test
* fix: use scope with collectionId not null
* fix: update model with documentId
* fix: rename to UserPermission
* fix: create views upon table rename for zero downtime
* fix: remove comments
2023-09-25 10:51:29 +05:30
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
80ef0a38d6
chore: More flakey test improvements ( #5801 )
2023-09-09 15:30:19 -07:00
Tom Moor
3eb947e9a5
chore: Improve perf of server tests ( #5785 )
2023-09-06 04:14:49 -07:00
Tom Moor
74722b80f2
chore: Refactor file storage ( #5711 )
2023-08-20 07:04:34 -07:00
Tom Moor
b7bfc4bb1a
chore: Remove optimize imports to allow vite upgrade ( #5691 )
2023-08-14 11:44:58 -07:00
Tom Moor
54cf3fb8b1
fix: Move rate limiting middleware infront of auth
...
Tighten rate limits on attachment, comment, and group creation
2023-04-19 22:10:11 -04:00
Tom Moor
bb6f4b1c1e
fix: Attachment converted to links when AWS ACL is public-read, closes #4853
2023-02-10 17:42:09 -05:00
Apoorv Mishra
b6141442b7
Validate API request query ( #4642 )
...
* fix: refactor to accommodate authentication, transaction and pagination together into ctx.state
* feat: allow passing response type to APIContext
* feat: preliminary work for initial review
* fix: use unknown for base types
* fix: api/attachments
* fix: api/documents
* fix: jsdoc comment for input
* fix: replace at() with index access for compatibility
* fix: validation err message
* fix: error handling
* fix: remove unnecessary extend
2023-01-05 20:24:03 +05:30
Apoorv Mishra
f4461573de
Refactor to accommodate authentication, transaction and pagination states together ( #4636 )
...
* fix: refactor to accommodate authentication, transaction and pagination together into ctx.state
* feat: allow passing response type to APIContext
2023-01-04 23:51:44 +05:30
Mohamed ELIDRISSI
318e1df13b
refactor: add server side validation schema for attachments ( #4606 )
...
* refactor: schema for attachments.create
* refactor: schema for attachments.delete
* refactor: remove deprecated "public" request param
2022-12-30 09:49:01 -08:00