summaryrefslogtreecommitdiff
path: root/app/models/key.rb
Commit message (Collapse)AuthorAgeFilesLines
* Ensure "new SSH key" email do not ends up as dead Sidekiq jobsfix/ensure-no-new_ssh_key_email-dead-jobsRémy Coutable2016-03-151-1/+2
| | | | | | | | Related to #2235. This is done by: 1. Delaying the notification sending after the SSH key is commited in DB 2. Gracefully exit the mailer method if the record cannot be found
* Only publish ssh key-type and keyZeger-Jan van de Weg2015-08-041-0/+5
|
* Add error message for SSH key linebreaksNikita Verkhovin2015-07-121-0/+1
|
* Re-annotate modelsStan Hu2015-05-031-0/+1
|
* Refactor key fingerprint generation.Douwe Maan2015-04-141-40/+4
|
* The new fingerprint format wis incompatible with the previous regex.Sašo Stanovnik2015-03-241-4/+11
|
* Use 2 spaces for indentation, not 4.Sašo Stanovnik2015-03-241-1/+1
|
* Fixed generating SSH key fingerprints in OpenSSH 6.8.Sašo Stanovnik2015-03-241-1/+18
|
* Explicitly define ordering in models using default_scopeDmitriy Zaporozhets2015-02-051-0/+1
|
* Fix various typosSteven Burgart2015-01-181-2/+2
| | | | | | | | | | | | | | | signe-in -> signed-in go_to_gihub_for_permissions -> go_to_github_for_permissions descendand -> descendant behavour -> behaviour recepient_email -> recipient_email generate_fingerpint -> generate_fingerprint dependes -> depends Cant't -> Can't wisit -> visit notifcation -> notification sufficent_scope -> sufficient_scope? levet -> level
* Simplify SSH fingerprint regexp extractionCiro Santilli2014-12-281-1/+1
| | | | [\d\h] is the same as \h
* Add system hook for ssh key changesLukas Erlacher2014-09-031-0/+10
| | | | | | Add system hook for ssh key create and destroy Update and fix documentation Update tests
* Key strong paramsDmitriy Zaporozhets2014-06-261-2/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Re-annotate modelsDmitriy Zaporozhets2014-04-091-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Remove KeysObserverDmitriy Zaporozhets2014-04-021-0/+24
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Adapt use of Gitlab::Popen to new styleJacob Vosmaer2014-02-251-1/+1
|
* ReannotateDmitriy Zaporozhets2013-08-211-8/+8
|
* Validate fingerprint uniquenessJacob Vosmaer2013-07-171-14/+5
|
* Use Tempfile.open for automatic cleanupJacob Vosmaer2013-07-171-6/+1
|
* Merge branch 'master' into 6-0-devDmitriy Zaporozhets2013-07-121-1/+1
|\
| * Allow ecdsa SSH keysAkiva Levy2013-07-101-1/+1
| | | | | | Update app/models/key.rb to permit SSH keys of type ecdsa rather than forcing dsa and rsa algorithms.
* | store and display public key fingerprintDmitriy Zaporozhets2013-06-241-9/+31
| |
* | AnnotatedDmitriy Zaporozhets2013-06-191-3/+3
|/
* More strict validation for SSH Key contentDmitriy Zaporozhets2013-05-131-1/+1
|
* Feature: Deploy keys between projectsDmitriy Zaporozhets2013-05-061-4/+0
|
* Create DeployKey & DeployKeysProject models. Bulding many to many relation ↵Dmitriy Zaporozhets2013-05-061-8/+3
| | | | between deploy keys and projects
* Update model methodsAndrey Kumanyaev2013-04-031-2/+2
|
* remove unused code related to gitoliteDmitriy Zaporozhets2013-02-261-9/+0
|
* Merge pull request #2996 from raphendyr/ssh_fingerprint_fixDmitriy Zaporozhets2013-02-181-1/+1
|\ | | | | Ssh fingerprint fix
| * Fix ssh key fingerprinting test to use exitcodeJaakko Kantojärvi2013-02-151-1/+1
| |
* | remove commented codeDmitriy Zaporozhets2013-02-151-1/+1
|/
* dont allow duplicates in ssh keysDmitriy Zaporozhets2013-02-071-15/+3
|
* add remove keys from gitlab-shell by idDmitriy Zaporozhets2013-02-051-2/+2
|
* Make gitlab works with gitlab-shellDmitriy Zaporozhets2013-02-041-0/+4
|
* Fix few bugs and tests after refactoring ownership logicDmitriy Zaporozhets2013-01-021-1/+1
|
* Annotated. schema updatedDmitriy Zaporozhets2012-11-191-15/+14
|
* AnnotatedDmitriy Zaporozhets2012-10-091-0/+1
|
* simple refactoringAndrey Kumanyaev2012-10-091-6/+5
|
* Merge pull request #1617 from dosire/reject-ssh-keys-that-break-gitoliteValeriy Sizov2012-10-031-1/+16
|\ | | | | Reject ssh keys that break gitolite
| * Reject ssh keys that break gitolite.Sytse Sijbrandij2012-09-241-1/+16
| | | | | | | | | | | | Failing test. Working check.
* | cosmetical cleanup of modelsNihad Abbasov2012-09-271-10/+6
| |
* | annotate modelsNihad Abbasov2012-09-271-3/+3
| |
* | set activerecord whitelist_attributes to trueNihad Abbasov2012-09-261-1/+1
|/
* Fix test i broke with ssk key validation. Added Key.user_id as attr_protectedDmitriy Zaporozhets2012-08-291-1/+3
|
* Add ssh key validationDmitriy Zaporozhets2012-08-291-0/+1
|
* Use similar interface to access gitoliterandx2012-08-291-1/+4
| | | | | | | | | Simplified gitolite handle logic Stubn over monkeypatch Stub only specific methods in Gitlab:Gitolite Moved grach auth to lib added specs for keys observer removes SshKey role
* Fully embrace Ruby 1.9 hash syntaxRobert Speicher2012-08-101-6/+6
| | | | Didn't bother with files in db/, config/, or features/
* Reannotatedrandx2012-06-261-5/+5
|
* Models Refactoring: Move methods to rolesDmitriy Zaporozhets2012-06-071-18/+2
|
* lib/ refactoring. Module Gitlabhq renamed to Gitlabrandx2012-05-261-2/+2
|