summaryrefslogtreecommitdiff
path: root/spec/models/key_spec.rb
Commit message (Expand)AuthorAgeFilesLines
* Add # frozen_string_literal to spec/modelsThong Kuah2019-04-011-0/+2
* Validate SSH keys through the sshkey gemrd-40552-gitlab-should-check-if-keys-are-valid-before-savingRubén Dávila2018-02-161-18/+3
* Revert "Merge branch 'rd-43185-revert-sanitize-extra-blank-spaces-used-when-u...Rubén Dávila2018-02-151-7/+44
* Revert "Merge branch 'rd-40552-gitlab-should-check-if-keys-are-valid-before-s...rd-43185-revert-sanitize-extra-blank-spaces-used-when-uploading-a-ssh-keyRubén Dávila2018-02-121-44/+7
* Merge branch 'rd-40552-gitlab-should-check-if-keys-are-valid-before-saving' i...Douwe Maan2018-02-021-7/+44
|\
| * Sanitize extra blank spaces used when uploading a SSH keyRubén Dávila2018-02-011-7/+44
* | use Gitlab::UserSettings directly as a singleton instead of including/extendi...Mario de la Ossa2018-02-021-7/+0
|/
* Cache the number of user SSH keyscache-user-keys-countYorick Peterse2017-11-161-0/+23
* Ensure key fingerprints are generated correctly when modifiedNick Thomas2017-10-031-0/+10
* Stop using Sidekiq for updating Key#last_used_atremove-use-key-workerYorick Peterse2017-09-201-22/+9
* created services for keyshaseeb2017-09-151-12/+0
* Rework the permissions model for SSH key restrictionsNick Thomas2017-08-301-48/+18
* Add settings for minimum key strength and allowed key typeNick Thomas2017-08-301-2/+83
* Backport changes in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/25...Nick Thomas2017-08-071-10/+0
* Merge branch 'use-rspec-support-helper' into 'master'Rémy Coutable2017-08-031-3/+1
|\
| * Don't include EmailHelpers manually, pick with rspecuse-rspec-support-helperLin Jen-Shin2017-08-031-3/+1
* | fix #35133 strip new lines from ssh keyshaseeb2017-08-031-6/+8
|/
* Remove superfluous lib: true, type: redis, service: true, models: true, servi...Rémy Coutable2017-07-271-1/+1
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-4/+4
* Lint our factories creation in addition to their build33139-lint-our-factoriesRémy Coutable2017-06-021-4/+6
* Record used SSH keys only once per dayrecord-used-ssh-keys-once-per-dayAdam Niedzielski2017-01-201-4/+23
* Record and show last used date of SSH KeysVincent Wong2017-01-091-0/+9
* Merge CSSFilipa Lacerda2016-12-121-2/+6
|\
| * Use :maximum instead of :within for length validators with a 0..N range25209-improve-length-validatorsRémy Coutable2016-12-061-2/+6
* | Now we need to include EmailHelpers for each testLin Jen-Shin2016-12-061-0/+2
* | Merge remote-tracking branch 'upstream/master' into feature/1376-allow-write-...Lin Jen-Shin2016-11-221-1/+1
|\ \ | |/
| * Use `Gitlab.config.gitlab.host` over `'localhost'`fix-tests-for-different-hostLin Jen-Shin2016-11-181-1/+1
* | Add tests for key/deploy key notificationsLin Jen-Shin2016-11-181-0/+12
|/
* Remove instance vars from key model testsSemyon Pupkov2016-11-161-6/+6
* Use setter for key instead AR callbackSemyon Pupkov2016-11-161-0/+10
* Remove empty describe block on key spec modelSemyon Pupkov2016-10-111-3/+0
* adds second batch of tests changed to active tenseactive-tense-test-coveragetiagonbotelho2016-08-091-2/+2
* Tidy the key spec and fix failing user specKeith Pope2016-08-021-1/+1
* Add simple identifier to public SSH keysKeith Pope2016-08-021-2/+3
* Remove Duplicated keys add UNIQUE index to fingerprint18697-uniqueness-key-validationPaco Guzman2016-06-201-1/+1
* Remove the annotate gem and delete old annotationsJeroen van Baarsen2016-05-091-15/+0
* Fixed Rubocop offensesGabriel Mazetto2015-12-151-1/+1
* Tag model specsDouwe Maan2015-12-091-1/+1
* Only publish ssh key-type and keyZeger-Jan van de Weg2015-08-041-0/+7
* Add error message for SSH key linebreaksNikita Verkhovin2015-07-121-1/+7
* ensure_length_of -> validate_length_ofRobert Speicher2015-06-101-2/+2
* Re-annotate modelsStan Hu2015-05-031-0/+1
* Remove the invalid key factoriesRobert Speicher2015-04-111-4/+9
* Updated rspec to rspec 3.x syntaxJeroen van Baarsen2015-02-121-14/+14
* Remove mass assgnment specsDmitriy Zaporozhets2014-06-261-2/+0
* Re-annotate modelsDmitriy Zaporozhets2014-04-091-2/+2
* Remove KeysObserverDmitriy Zaporozhets2014-04-021-0/+14
* ReannotateDmitriy Zaporozhets2013-08-211-8/+8
* Validate fingerprint uniquenessJacob Vosmaer2013-07-171-1/+8
* Remove unnecessary user from testJacob Vosmaer2013-07-171-3/+1