Steven
bb5809cae4
refactor: attachment service
2025-06-17 22:15:19 +08:00
Steven
f1b365f928
refactor: clean packages
2025-05-29 21:44:43 +08:00
Steven
ad2c5f0d05
refactor: store cache
2025-05-27 22:06:41 +08:00
Steven
46d5307d7f
fix: prevent XSS for specific content types
2025-05-22 00:05:33 +08:00
Johnny
6abd51fe5a
chore: update resource storage type comment
2025-02-09 12:56:30 +08:00
johnnyjoy
0dcd0904e8
refactor: remove resource uid
2025-02-01 12:50:15 +08:00
johnnyjoy
98aa0b73c5
refactor: retire memo uid
2025-02-01 11:28:07 +08:00
johnnyjoy
5e770dda52
refactor: memo name
2025-02-01 11:17:36 +08:00
Steven
4790e84b98
chore: use ratio instead of max width
2024-09-09 21:43:47 +08:00
Steven
773ab96bd0
chore: update thumbnail generator
2024-09-03 22:09:02 +08:00
RoccoSmit
bfe57b9202
chore: set max thumbnail width to home/explore image max width ( #3852 )
...
* Set max thumbnail width to timeline img max width
* Prevent images less than thumbnail size from being scaled up
* Apply suggestions from code review
---------
Co-authored-by: boojack <24653555+boojack@users.noreply.github.com>
2024-08-31 03:37:07 +08:00
Steven
960af444fa
chore: fix linter
2024-08-30 08:25:06 +08:00
Steven
20570fc771
refactor: resource thumbnail
2024-08-30 08:09:07 +08:00
RoccoSmit
9b1adfbbe9
feat: reintroducing thumbnails ( #3821 )
...
* Reintroducing thumbnails
* Aligned with linting rules
* making recomended code review change
- changed method names to start with lower case as they are not used outside of their package
- made receiver types for struct funcs to be pointers to not need to create copies
Trying to cover all linting issues
- converted slog warning to use attributes when logging warnings
- seperated imports to have package files in their own section
* Update go.mod
---------
Co-authored-by: boojack <24653555+boojack@users.noreply.github.com>
2024-08-29 21:01:57 +08:00
Steven
44e56844f5
chore: tweak search resources
2024-07-22 15:33:02 +08:00
Steven
9449886d60
chore: fix linter
2024-07-12 08:36:55 +08:00
Steven
457cf92cc1
feat(api): implement get resource by uid
2024-07-11 23:43:44 +08:00
Zeng1998
4f4fe9b26b
fix: add charset=utf-8 for text content resources ( #3608 )
...
Co-authored-by: = <=>
2024-06-24 23:01:19 +08:00
Ryo
2c819ace4e
feat: return not found error instead internal error for local file not exist ( #3543 )
...
* chore: add `/.vscode` to `.gitignore`
* feat: return not found instead of internal for resource
* feat: check file not exist only if error not nil
2024-06-10 14:11:28 +08:00
Steven
1ccfa81cf3
chore: tweak common function
2024-05-26 11:02:23 +08:00
Steven
b0aad6f694
chore: tweak resource payload
2024-05-17 08:50:02 +08:00
Steven
b8763905ba
chore: tweak naming
2024-05-13 20:03:04 +08:00
Steven
e0977e53f7
chore: remove unused route
2024-05-08 22:15:29 +08:00
Steven
e9831caca1
chore: remove unused field
2024-05-02 22:21:49 +08:00
Steven
775b79338d
chore: update object in s3
2024-05-02 21:44:17 +08:00
Steven
26545c855c
refactor: implement s3 storage
2024-05-02 21:28:06 +08:00
Steven
20dd3e17f7
chore: rename router package
2024-05-01 10:28:32 +08:00