Commit Graph

19 Commits (9c41c8d5c9891990257f8595cc2856b302d8c9ef)

Author SHA1 Message Date
Steven 4790e84b98 chore: use ratio instead of max width 6 months ago
Steven 773ab96bd0 chore: update thumbnail generator 6 months ago
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>
6 months ago
Steven 960af444fa chore: fix linter 6 months ago
Steven 20570fc771 refactor: resource thumbnail 6 months ago
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>
6 months ago
Steven 44e56844f5 chore: tweak search resources 7 months ago
Steven 9449886d60 chore: fix linter 8 months ago
Steven 457cf92cc1 feat(api): implement get resource by uid 8 months ago
Zeng1998 4f4fe9b26b
fix: add charset=utf-8 for text content resources (#3608)
Co-authored-by: = <=>
8 months ago
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
9 months ago
Steven 1ccfa81cf3 chore: tweak common function 9 months ago
Steven b0aad6f694 chore: tweak resource payload 10 months ago
Steven b8763905ba chore: tweak naming 10 months ago
Steven e0977e53f7 chore: remove unused route 10 months ago
Steven e9831caca1 chore: remove unused field 10 months ago
Steven 775b79338d chore: update object in s3 10 months ago
Steven 26545c855c refactor: implement s3 storage 10 months ago
Steven 20dd3e17f7 chore: rename router package 10 months ago