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

Git LFS support v2 #122

Merged
merged 37 commits into from
Dec 26, 2016
Merged

Git LFS support v2 #122

merged 37 commits into from
Dec 26, 2016

Commits on Dec 25, 2016

  1. Import github.com/git-lfs/lfs-test-server as lfs module base

    Imported commit is 3968aac269a77b73924649b9412ae03f7ccd3198
    
    Removed:
    
    Dockerfile CONTRIBUTING.md mgmt* script/ vendor/ kvlogger.go
    .dockerignore .gitignore README.md
    fabian-z committed Dec 25, 2016
    Configuration menu
    Copy the full SHA
    74f1ff6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f034682 View commit details
    Browse the repository at this point in the history
  3. Remove config, add JWT support from github.com/mgit-at/lfs-test-server

    Imported commit f0cdcc5a01599c5a955dc1bbf683bb4acecdba83
    fabian-z committed Dec 25, 2016
    Configuration menu
    Copy the full SHA
    3d8fd95 View commit details
    Browse the repository at this point in the history
  4. Add LFS settings

    fabian-z committed Dec 25, 2016
    Configuration menu
    Copy the full SHA
    7b3bfe8 View commit details
    Browse the repository at this point in the history
  5. Add LFS meta object model

    fabian-z committed Dec 25, 2016
    Configuration menu
    Copy the full SHA
    3727c21 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2e433b9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9e8f91d View commit details
    Browse the repository at this point in the history
  8. Move LFS routes to /user/repo/info/lfs/*

    Fabian authored and fabian-z committed Dec 25, 2016
    Configuration menu
    Copy the full SHA
    f111811 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c190661 View commit details
    Browse the repository at this point in the history
  10. Implement LFS basic authentication

    Fabian authored and fabian-z committed Dec 25, 2016
    Configuration menu
    Copy the full SHA
    73c52ed View commit details
    Browse the repository at this point in the history
  11. Rework JWT secret generation / load

    Fabian authored and fabian-z committed Dec 25, 2016
    Configuration menu
    Copy the full SHA
    3b78c5b View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f7c78d9 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    39a7b70 View commit details
    Browse the repository at this point in the history
  14. Remove LFS objects when repository is deleted

    Only removes objects from content store when deleted repo is the only
    referencing repository
    Fabian authored and fabian-z committed Dec 25, 2016
    Configuration menu
    Copy the full SHA
    2568f71 View commit details
    Browse the repository at this point in the history
  15. Make LFS module stateless

    Fixes bug where LFS would not work after installation without
    restarting Gitea
    Fabian authored and fabian-z committed Dec 25, 2016
    Configuration menu
    Copy the full SHA
    307d1fd View commit details
    Browse the repository at this point in the history
  16. Change 500 'Internal Server Error' to 400 'Bad Request'

    Fabian authored and fabian-z committed Dec 25, 2016
    Configuration menu
    Copy the full SHA
    f536978 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    f528c02 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    d769db2 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    18a28f5 View commit details
    Browse the repository at this point in the history
  20. Add Gitea authors copyright

    fabian-z committed Dec 25, 2016
    Configuration menu
    Copy the full SHA
    5d5962b View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    e2fe2e3 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    d27ee44 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    c024573 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    4683c7d View commit details
    Browse the repository at this point in the history
  25. Add LFS info to runWeb()

    fabian-z committed Dec 25, 2016
    Configuration menu
    Copy the full SHA
    71dae63 View commit details
    Browse the repository at this point in the history
  26. Export LFS content store base path

    Fabian authored and fabian-z committed Dec 25, 2016
    Configuration menu
    Copy the full SHA
    0daa396 View commit details
    Browse the repository at this point in the history
  27. LFS file download from UI

    fabian-z committed Dec 25, 2016
    Configuration menu
    Copy the full SHA
    9f10ad9 View commit details
    Browse the repository at this point in the history
  28. Work around git-lfs client issue with unauthenticated requests

    Returning a dummy Authorization header for unauthenticated requests
    lets git-lfs client skip asking for auth credentials
    See: git-lfs/git-lfs#1088
    fabian-z committed Dec 25, 2016
    Configuration menu
    Copy the full SHA
    5c18b29 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    47691fa View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    cb0f515 View commit details
    Browse the repository at this point in the history
  31. Ignore LFS hooks if installed for current OS user

    Fixes Gitea UI actions for repositories tracking LFS files.
    Checks for minimum needed git version by parsing the semantic version
    string.
    fabian-z committed Dec 25, 2016
    Configuration menu
    Copy the full SHA
    6deed2d View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    728f52a View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    d8a019d View commit details
    Browse the repository at this point in the history
  34. Add notbefore/nbf JWT claim

    fabian-z committed Dec 25, 2016
    Configuration menu
    Copy the full SHA
    c8638c7 View commit details
    Browse the repository at this point in the history
  35. Correct lint suggestions - comments for structs and functions

    - Add comments to LFS model
    - Function comment for GetRandomBytesAsBase64
    - LFS server function comments and lint variable suggestion
    fabian-z committed Dec 25, 2016
    Configuration menu
    Copy the full SHA
    3f4ed00 View commit details
    Browse the repository at this point in the history
  36. Move secret generation code out of conditional

    Ensures no LFS code may run with an empty secret
    fabian-z committed Dec 25, 2016
    Configuration menu
    Copy the full SHA
    1817c86 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    6a38a8b View commit details
    Browse the repository at this point in the history