Commit graph

11 commits

Author SHA1 Message Date
Tiago Botelho
679d9b21b7
Removes idenfitication by commit from Gitlab::Identifier
Before we would need to identify a user when pushing
through the GitLab UI. Since this is no longer the case
we can remove the identification by commit and instead,
use the identify_using_user
2018-10-25 11:36:26 +01:00
gfyoung
c858f70d07 Enable frozen string for lib/gitlab/*.rb 2018-10-22 07:00:50 +00:00
Yorick Peterse
2039c8280d
Disable existing offenses for the CodeReuse cops
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
Mayra Cabrera
562fb460b8 Allow git pull/push on project redirects 2017-12-08 17:42:43 +00:00
Lin Jen-Shin
9ad2dba250 Use Commit#author so we share logic and cache
Closes #24900
2016-11-24 02:33:55 +08:00
Elan Ruusamäe
31704680cc post_receive: accept any user email from last commit 2016-11-04 15:44:57 +02:00
Yorick Peterse
16ed9b6129
Refactor Gitlab::Identifier
This refactors Gitlab::Identifier so it uses fewer queries and is
actually tested. Queries are reduced by caching the output as well as
using 1 query (instead of 2) to find a user using an SSH key.
2016-10-05 12:40:17 +02:00
Douwe Maan
8ed7ac9d44 Use project.commit convenience method. 2015-04-24 12:29:36 +02:00
skv
a3f645ef51 Remove deprecated finders 2014-01-19 23:39:56 +04:00
Dmitriy Zaporozhets
fbb7cd8b76 fix wrong class name 2013-04-29 09:49:25 +03:00
Dmitriy Zaporozhets
a1704273ec Refactor post-receive worker 2013-04-29 09:43:18 +03:00