Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-02-15Include expires_in for LFS authentication payloadAsh McKenzie
When using git-lfs with SSH we weren't passing in the expires_header header which is allows large transfers to succeed in the event the current default of 30 mins expires. https://github.com/git-lfs/git-lfs/blob/master/docs/api/server-discovery.md#ssh
2019-02-11Remove ability to specify expire_timeAsh McKenzie
LfsToken#token does not need the ability to specify expire_time
2019-02-11Move LFS auth hash creation into GitLab::LfsTokenAsh McKenzie
2019-01-24Enable the Layout/ExtraSpacing copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-12-17Revert "Revert "LfsToken uses JSONWebToken::HMACToken by default""Ash McKenzie
This reverts commit 00acef434031b5dc0bf39576a9e83802c7806842.
2018-12-05Revert "LfsToken uses JSONWebToken::HMACToken by default"🤖 GitLab Bot 🤖
This reverts commit 22954f220231281360377922b709efb904559949
2018-12-05LfsToken uses JSONWebToken::HMACToken by defaultAsh McKenzie
LfsToken::HMACToken#token_valid?() will be examined and if false, look in redis via LfsToken::LegacyRedisDeviseToken#token_valid?().
2018-12-05Use user? insteadAsh McKenzie
2018-10-22Enable frozen string for lib/gitlab/*.rbgfyoung
2017-11-08Fix Error 500 when pushing LFS objects with a write deploy keyStan Hu
2017-07-11Support multiple Redis instances based on queue typePaul Charlton
2016-09-29Fix race condition that can be triggered if the token expires right after we ↵Patricio Cano
retrieve it, but before we can set the new expiry time.
2016-09-28Handle LFS token creation and retrieval in the same method, and in the same ↵Patricio Cano
Redis connection. Reset expiry time of token, if token is retrieved again before it expires.
2016-09-27Do not regenerate the `lfs_token` every time `git-lfs-authenticate` is ↵Patricio Cano
called, instead return the saved token if one is present.
2016-09-19Revert "Revert all changes introduced by ↵Kamil Trzcinski
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6043" This reverts commit 6d43c95b7011ec7ec4600e00bdc8df76bb39813c.
2016-09-19Revert all changes introduced by ↵Kamil Trzcinski
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6043
2016-09-19Support pushing via SSHKamil Trzcinski
2016-09-15Refactored authentication code to make it a bit clearer, added test for ↵Patricio Cano
wrong SSH key.
2016-09-15Further refactoring of authentication code, and code style fixes.Patricio Cano
2016-09-15Use special characters for `lfs+deploy-key` to prevent a someone from ↵Patricio Cano
creating a user with this username, and method name refactoring.
2016-09-15Better authentication handling, syntax fixes and better actor handling for ↵Patricio Cano
LFS Tokens
2016-09-15Refactored handling of the `LfsToken` and added functionality to it to ↵Patricio Cano
simplify external code.
2016-09-15Refactored LFS auth logic when using SSH to use its own API endpoint ↵Patricio Cano
`/lfs_authenticate` and added tests.
2016-09-15Refactor LFS token logic to use a Redis key instead of a DB field, making it ↵Patricio Cano
a 1 use only token.