Zeger-Jan van de Weg
4ccd767abf
Only publish ssh key-type and key
2015-08-04 14:33:18 +02:00
Nikita Verkhovin
562d78a65a
Add error message for SSH key linebreaks
2015-07-12 00:18:56 +06:00
Stan Hu
a3157626f1
Re-annotate models
2015-05-03 13:38:27 -07:00
Douwe Maan
1221bec56c
Refactor key fingerprint generation.
2015-04-14 12:00:43 +02:00
Sašo Stanovnik
38384bd952
The new fingerprint format wis incompatible with the previous regex.
2015-03-24 10:55:31 +01:00
Sašo Stanovnik
05d4658b32
Use 2 spaces for indentation, not 4.
2015-03-24 00:49:30 +01:00
Sašo Stanovnik
455a4fe91a
Fixed generating SSH key fingerprints in OpenSSH 6.8.
2015-03-24 00:11:41 +01:00
Dmitriy Zaporozhets
62ed1c537e
Explicitly define ordering in models using default_scope
2015-02-05 14:20:55 -08:00
Steven Burgart
5c80160218
Fix various typos
...
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
2015-01-18 10:29:37 -05:00
Ciro Santilli
5dbe94dc9b
Simplify SSH fingerprint regexp extraction
...
[\d\h] is the same as \h
2014-12-28 14:36:24 +01:00
Lukas Erlacher
40fc4261f2
Add system hook for ssh key changes
...
Add system hook for ssh key create and destroy
Update and fix documentation
Update tests
2014-09-03 01:27:02 +02:00
Dmitriy Zaporozhets
cb74c014ea
Key strong params
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-26 17:00:05 +03:00
Dmitriy Zaporozhets
36f861f1b1
Re-annotate models
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-04-09 15:05:03 +03:00
Dmitriy Zaporozhets
6ae2529041
Remove KeysObserver
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-04-02 21:13:05 +03:00
Jacob Vosmaer
36c2c354fc
Adapt use of Gitlab::Popen to new style
2014-02-25 12:00:33 +01:00
Dmitriy Zaporozhets
8dd37afe34
Reannotate
2013-08-21 12:34:02 +03:00
Jacob Vosmaer
aa0473d0eb
Validate fingerprint uniqueness
2013-07-17 15:17:18 +02:00
Jacob Vosmaer
656d800f8c
Use Tempfile.open for automatic cleanup
2013-07-17 15:17:18 +02:00
Dmitriy Zaporozhets
5181816970
Merge branch 'master' into 6-0-dev
2013-07-12 14:42:35 +03:00
Akiva Levy
88301d5695
Allow ecdsa SSH keys
...
Update app/models/key.rb to permit SSH keys of type ecdsa rather than forcing dsa and rsa algorithms.
2013-07-10 15:19:52 -07:00
Dmitriy Zaporozhets
113d2ff525
store and display public key fingerprint
2013-06-24 20:07:21 +03:00
Dmitriy Zaporozhets
6e35aceff2
Annotated
2013-06-19 15:40:33 +03:00
Dmitriy Zaporozhets
5b5ff7708b
More strict validation for SSH Key content
2013-05-13 11:59:30 +03:00
Dmitriy Zaporozhets
1882baa1aa
Feature: Deploy keys between projects
2013-05-06 15:10:55 +03:00
Dmitriy Zaporozhets
543d86f351
Create DeployKey & DeployKeysProject models. Bulding many to many relation between deploy keys and projects
2013-05-06 12:26:36 +03:00
Andrey Kumanyaev
41bbbb6df0
Update model methods
2013-04-03 06:20:52 +04:00
Dmitriy Zaporozhets
15c0e58a49
remove unused code related to gitolite
2013-02-26 11:11:43 +02:00
Dmitriy Zaporozhets
ea28519f57
Merge pull request #2996 from raphendyr/ssh_fingerprint_fix
...
Ssh fingerprint fix
2013-02-18 09:56:35 -08:00
Jaakko Kantojärvi
6fd88b8cbb
Fix ssh key fingerprinting test to use exitcode
2013-02-15 11:16:21 +02:00
Dmitriy Zaporozhets
f9dd547aa7
remove commented code
2013-02-15 09:16:46 +02:00
Dmitriy Zaporozhets
48628d31d5
dont allow duplicates in ssh keys
2013-02-07 09:42:22 +02:00
Dmitriy Zaporozhets
39e37677f2
add remove keys from gitlab-shell by id
2013-02-05 11:12:15 +02:00
Dmitriy Zaporozhets
27d9ac0fe8
Make gitlab works with gitlab-shell
2013-02-04 15:07:56 +02:00
Dmitriy Zaporozhets
d431e43392
Fix few bugs and tests after refactoring ownership logic
2013-01-02 19:32:34 +02:00
Dmitriy Zaporozhets
95c23b2f97
Annotated. schema updated
2012-11-19 21:24:05 +03:00
Dmitriy Zaporozhets
41e53eb980
Annotated
2012-10-09 11:14:17 +03:00
Andrey Kumanyaev
df7c52489a
simple refactoring
2012-10-09 04:10:04 +04:00
Valeriy Sizov
b5f9d29f55
Merge pull request #1617 from dosire/reject-ssh-keys-that-break-gitolite
...
Reject ssh keys that break gitolite
2012-10-03 03:18:08 -07:00
Nihad Abbasov
841e4fbd08
cosmetical cleanup of models
2012-09-27 02:05:53 -07:00
Nihad Abbasov
2a4359a572
annotate models
2012-09-27 02:05:53 -07:00
Nihad Abbasov
83efcabc82
set activerecord whitelist_attributes to true
2012-09-26 11:18:35 -07:00
Sytse Sijbrandij
f3ce02b5c9
Reject ssh keys that break gitolite.
...
Failing test.
Working check.
2012-09-24 16:48:10 +02:00
Dmitriy Zaporozhets
adc71b6a6a
Fix test i broke with ssk key validation. Added Key.user_id as attr_protected
2012-08-29 07:58:22 +03:00
Dmitriy Zaporozhets
5afb16e496
Add ssh key validation
2012-08-29 07:13:29 +03:00
randx
7cdc5b9e04
Use similar interface to access gitolite
...
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
2012-08-29 00:04:06 +03:00
Robert Speicher
7754189187
Fully embrace Ruby 1.9 hash syntax
...
Didn't bother with files in db/, config/, or features/
2012-08-10 18:25:15 -04:00
randx
6abc649590
Reannotated
2012-06-26 21:23:09 +03:00
Dmitriy Zaporozhets
0a70aca3b1
Models Refactoring: Move methods to roles
2012-06-07 15:44:57 +03:00
randx
3272620f72
lib/ refactoring. Module Gitlabhq renamed to Gitlab
2012-05-26 13:37:49 +03:00
Dmitriy Zaporozhets
0727edd8a0
Removed issues,mr delete buttons. Refactored models
2012-03-04 15:35:15 +02:00