Gaspard Wierzbinski
|
450058213d
|
Merge pull request #32 from versia-pub/refactor/media
Refactor and simplify the media pipeline
|
2025-02-01 11:02:28 +01:00 |
|
Jesse Wierzbinski
|
9ba6237f13
|
refactor(media): ♻️ Massively simplify media pipeline with Bun.S3
|
2025-01-29 17:21:40 +01:00 |
|
Jesse Wierzbinski
|
f60663506a
|
fix(api): 🐛 Add missing attributes to /api/v1/instance
|
2025-01-29 16:05:04 +01:00 |
|
Jesse Wierzbinski
|
ba431e2b11
|
refactor(database): ♻️ Make user avatar and header into a Media instead of plaintext
|
2025-01-28 19:07:55 +01:00 |
|
Jesse Wierzbinski
|
bc961b70bb
|
refactor(database): 🔥 Simplify media management code
|
2025-01-28 18:06:33 +01:00 |
|
Jesse Wierzbinski
|
cf1104d762
|
refactor(database): ♻️ Make emojis use a Media instead of just rawdogging the URI
|
2025-01-28 17:43:43 +01:00 |
|
Jesse Wierzbinski
|
9c30dacda7
|
refactor(database): ♻️ Use ContentFormat to store media data
|
2025-01-23 19:37:17 +01:00 |
|
Jesse Wierzbinski
|
2f61cd8f0a
|
refactor(database): 🚚 Rename "Attachment" to "Media"
|
2025-01-23 16:08:42 +01:00 |
|
Jesse Wierzbinski
|
80b874e5fb
|
refactor(api): ⚡ Move media processing to background job
|
2025-01-06 19:21:57 +01:00 |
|
Jesse Wierzbinski
|
dcdc8c7365
|
fix(api): 🐛 Fix user registration incorrectly counting remote users as local
|
2025-01-06 18:14:09 +01:00 |
|
Jesse Wierzbinski
|
cde2836982
|
fix(api): 👽 Ignore what the Mastodon docs say, they're wrong
|
2025-01-02 04:13:12 +01:00 |
|
Jesse Wierzbinski
|
ea0afdaf22
|
fix(api): 🐛 Make validation on push subscription more lax
|
2025-01-02 03:53:38 +01:00 |
|
Jesse Wierzbinski
|
7b3158c102
|
fix(api): 🚑 Fix incorrect builds
Everything under api/ should be a route, or it messes up bundling
|
2025-01-02 02:55:56 +01:00 |
|
Jesse Wierzbinski
|
d096ab830c
|
feat(api): ✨ Add initial Push Notifications support
|
2025-01-02 01:29:33 +01:00 |
|
Jesse Wierzbinski
|
82da70bcac
|
refactor(api): ♻️ Group note/account fetching code in some routes
|
2024-12-30 21:30:10 +01:00 |
|
Jesse Wierzbinski
|
16f302c2dc
|
refactor(api): ♻️ Simplify route schema definitions
|
2024-12-30 20:26:56 +01:00 |
|
Jesse Wierzbinski
|
4926d6ff5d
|
refactor(api): 🔥 Remove all useless route metadata objects
|
2024-12-30 20:18:48 +01:00 |
|
Jesse Wierzbinski
|
09f30db83a
|
refactor(api): ♻️ Remove useless authorization checks
|
2024-12-30 19:38:41 +01:00 |
|
Jesse Wierzbinski
|
dc12b269f5
|
refactor(api): ♻️ Improve authentication checker API
|
2024-12-30 19:18:31 +01:00 |
|
Jesse Wierzbinski
|
621dd7e9d9
|
refactor(api): ♻️ Upgrade zod-openapi to 0.18.3
Needed to add "as const" to all middleware handlers :)
|
2024-12-30 18:20:22 +01:00 |
|
Jesse Wierzbinski
|
fbfd237f27
|
refactor(api): ♻️ Throw ApiError instead of returning error JSON
|
2024-12-30 18:00:23 +01:00 |
|
Jesse Wierzbinski
|
a7b29d563e
|
fix(api): 🏷️ Use context.body for 204 responses
|
2024-12-30 16:18:28 +01:00 |
|
Jesse Wierzbinski
|
4fdb96930f
|
fix(api): 🐛 Fetch media content-type from data, instead of doing naive guesses
|
2024-12-16 23:57:21 +01:00 |
|
Jesse Wierzbinski
|
6f67881d96
|
feat(api): ✨ Add ability to set URL as avatar or banner
|
2024-12-16 15:46:11 +01:00 |
|
Jesse Wierzbinski
|
e293bd280d
|
fix(api): 🐛 Fix duplicated mentions, general refactorings
|
2024-12-09 15:30:18 +01:00 |
|
Jesse Wierzbinski
|
0ae9cfe26c
|
refactor(federation): ♻️ More federation logic cleanup
|
2024-12-09 15:01:19 +01:00 |
|
Jesse Wierzbinski
|
83399ba5f1
|
refactor(database): ♻️ Simplify User and Note logic further
|
2024-12-09 13:50:46 +01:00 |
|
Jesse Wierzbinski
|
a8541bdc44
|
refactor(database): ♻️ Simplify Note and User federation logic
|
2024-12-09 13:36:15 +01:00 |
|
Jesse Wierzbinski
|
c94dd7c59d
|
fix(api): 🐛 Don't transform raw URLs as if they were attachments
|
2024-12-09 12:43:53 +01:00 |
|
Jesse Wierzbinski
|
8796f694bc
|
feat(api): 🚩 Add emoji shortcode size controls
|
2024-12-09 11:09:40 +01:00 |
|
Jesse Wierzbinski
|
b14fa17e1a
|
feat(config): 🚩 Add emoji size/description size controls
|
2024-12-09 10:55:04 +01:00 |
|
Jesse Wierzbinski
|
5074ac788f
|
fix(api): 🐛 Force text content-type header on all empty responses
Fixes a problem where the content-type would default to application/json
|
2024-12-07 13:24:24 +01:00 |
|
Jesse Wierzbinski
|
06376cf58a
|
fix(api): 🐛 Correctly return empty body without content-type headers, when returning empty responses
|
2024-12-07 12:20:06 +01:00 |
|
Jesse Wierzbinski
|
2743528727
|
fix(api): 🐛 Fix emoji editing always making the emoji non-global
|
2024-12-07 11:12:17 +01:00 |
|
Jesse Wierzbinski
|
e4768620e2
|
fix(api): 🐛 Fix account lookup address parsing (again)
|
2024-12-02 15:40:20 +01:00 |
|
Jesse Wierzbinski
|
91da99c934
|
feat(federation): ✨ Handle instances not existing
|
2024-12-02 15:07:05 +01:00 |
|
Jesse Wierzbinski
|
deee65ad6d
|
refactor(api): ♻️ Refactor user lookup endpoint
|
2024-12-02 15:00:37 +01:00 |
|
Jesse Wierzbinski
|
46933c1bef
|
fix(api): ✅ Fix tests expecting null instead of undefined in Roles API
|
2024-11-28 11:24:56 +01:00 |
|
Jesse Wierzbinski
|
4e38749ccb
|
docs(api): 📝 Update Roles API docs and changelog
|
2024-11-26 15:41:08 +01:00 |
|
Jesse Wierzbinski
|
49c53de99e
|
feat(api): ✨ Overhaul Role API, add ability to edit roles and assign/unassign them from any user
|
2024-11-26 15:27:39 +01:00 |
|
Jesse Wierzbinski
|
340ed7b258
|
fix(federation): 🐛 Correctly handle non-lowercase acct queries in account lookups
|
2024-11-24 17:42:30 +01:00 |
|
Jesse Wierzbinski
|
da369e604c
|
fix(api): 🐛 Fix lookup endpoints thinking local user is remote
|
2024-11-23 23:09:59 +01:00 |
|
Jesse Wierzbinski
|
fa0d48b88d
|
fix(api): 🐛 Use consistent user address matching patterns
|
2024-11-22 16:53:36 +01:00 |
|
Jesse Wierzbinski
|
569ba8bf2d
|
fix(api): 🔒 Correctly put all URIs in profiles through proxy
|
2024-11-22 15:06:46 +01:00 |
|
Jesse Wierzbinski
|
66c5c6e62d
|
fix(api): 🐛 Also validate other username characters in username changes
|
2024-11-21 09:31:37 +01:00 |
|
Jesse Wierzbinski
|
2fea17fdaa
|
fix(api): 🐛 Make uppercase usernames send errors during registration again
|
2024-11-21 09:26:03 +01:00 |
|
Jesse Wierzbinski
|
a3b745358b
|
fix(api): 🐛 Automatically make all usernames lowercase
|
2024-11-21 09:23:25 +01:00 |
|
Jesse Wierzbinski
|
9682cd0f99
|
fix(api): 🔒 Correctly check for note ownership when editing
|
2024-11-19 17:26:14 +01:00 |
|
Jesse Wierzbinski
|
653cf712ea
|
fix(api): 🚑 Correctly check visibility in timelines
|
2024-11-19 17:07:11 +01:00 |
|
Jesse Wierzbinski
|
bfa44e3f34
|
fix(api): 🐛 Fix for changed HTTP response code in Emoji API
|
2024-11-10 15:38:08 +01:00 |
|