Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify hashing for avatar #22289

Merged
merged 8 commits into from
Jan 2, 2023
Merged

Unify hashing for avatar #22289

merged 8 commits into from
Jan 2, 2023

Commits on Dec 31, 2022

  1. Unify hashing for avatar

    - Unify the hashing code for repo and user avatars into a function.
    - Use a sane hash function instead of MD5.
    - Only require hashing instead of twice(w.r.t. hashing for user avatar).
    - Improve the comment for the hashing code of why it works.
    Gusted committed Dec 31, 2022
    Configuration menu
    Copy the full SHA
    33cc882 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d4ff820 View commit details
    Browse the repository at this point in the history
  3. Fix typo

    Gusted committed Dec 31, 2022
    Configuration menu
    Copy the full SHA
    77a31ab View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2023

  1. Update modules/avatar/hash.go

    Co-authored-by: Yarden Shoham <hrsi88@gmail.com>
    lunny and yardenshoham authored Jan 1, 2023
    Configuration menu
    Copy the full SHA
    cfb6b3c View commit details
    Browse the repository at this point in the history
  2. Update modules/avatar/hash.go

    Co-authored-by: Yarden Shoham <hrsi88@gmail.com>
    lunny and yardenshoham authored Jan 1, 2023
    Configuration menu
    Copy the full SHA
    1974510 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0e79559 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2023

  1. Configuration menu
    Copy the full SHA
    a68dedc View commit details
    Browse the repository at this point in the history
  2. Fix test

    Gusted committed Jan 2, 2023
    Configuration menu
    Copy the full SHA
    6109806 View commit details
    Browse the repository at this point in the history