summaryrefslogtreecommitdiff
path: root/lib/action/base.rb
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge branch 'ash.mckenzie/srp-refactor' into 'master'"Nick Thomas2018-08-141-27/+0
| | | | | This reverts commit 3aaf4751e09262c53544a1987f59b1308af9b6c1, reversing changes made to c6577e0d75f51b017f2f332838b97c3ca5b497c0.
* Use actor when we don't know if it's a Key or UserAsh McKenzie2018-08-011-7/+4
| | | | | | * Use gl_id when we don't know if it's a key-X or user-X * Use Actor.new_from(gl_id) which will figure out if it's a Key or User * Use key_str when we're referring to key-X as key_id is confusing
* New Action classesAsh McKenzie2018-08-011-0/+30
* Base - contains all common logic * Gitaly - performs interactions with Gitaly * API2FARecovery - 2FA recovery code generation * GitLFSAuthenticate - git-lfs authentication