Commit Graph

22 Commits (57014e392f57697b5cb309e1a68132f65c94cd6f)

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