Commit graph

22 commits

Author SHA1 Message Date
Dmitriy Zaporozhets
253a017b01
Merge branch 'meinac/gitlab-ce-change_deprecated_render_usage'
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-05-18 12:48:23 -05:00
Rémy Coutable
a434ffd3b3
Make /profile/keys/new redirects to /profile/keys for back-compat
Report: https://github.com/gitlabhq/gitlabhq/issues/10138

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-04-15 09:45:58 +02:00
Mehmet Emin İNAÇ
6a0ea605e8 Change deprecated usage of rendering without response body
`render nothing: true` has been deprecated.
For more information see [pr](https://github.com/rails/rails/pull/20336)
2016-03-16 03:16:25 +02:00
Robert Speicher
1b10724e08 Don't abuse the flash store for displaying SSH Key form errors 2016-03-03 16:13:59 -05:00
Robert Speicher
01b89ee8f1 Remove Profile::KeysController#new action 2016-03-03 16:13:59 -05:00
Phil Hughes
1d4418bc5f Fixed failing ssh key tests 2016-03-03 16:13:55 -05:00
Phil Hughes
1efe105415 SSH keys settings
Closes #13860
2016-03-03 16:13:55 -05:00
Douwe Maan
26ad250989 Add a page title to every page. 2015-04-30 19:12:15 +02:00
Jeroen van Baarsen
5a4ebfb47a Fixed the Rails/ActionFilter cop
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-04-20 15:39:37 +02:00
Dmitriy Zaporozhets
62ed1c537e Explicitly define ordering in models using default_scope 2015-02-05 14:20:55 -08:00
Dmitriy Zaporozhets
cb74c014ea
Key strong params
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-26 17:00:05 +03:00
Dmitry Medvinsky
fefab47456 Fix /:username.keys response content type
Currently this method responds with `text/html`. It is kind of unusable
if you open it in a browser. The browser thinks it is HTML and renders
it as HTML, meaning new lines are dropped. So it's very hard to
distinguish where the key starts and where it ends.

This commit changes the content type header to `text/plain`.
2014-03-20 19:09:14 +04:00
Johannes Schleifenbaum
f10153818b Split the user ssh keys by newline, not the characters "\n"
before:
GET /user.keys

ssh-rsa ...\nssh-rsa ...\nssh-rsa ...

after:
GET /user.keys

ssh-rsa ...
ssh-rsa ...
sha-rsa ...
2014-02-11 19:24:23 +01:00
GitLab
46ad09bf70 code refactor as per standards 2014-02-11 19:04:47 +05:30
GitLab
b1492a2a62 sync with upstream for ease to merge 2014-02-06 19:47:21 +05:30
GitLab
319f355aed merge with upstream master 2014-02-06 16:56:20 +05:30
GitLab
1c9a41e0d5 adding tests for the ssh keys feature 2014-02-06 14:42:59 +05:30
skv
d89527839e fix most of warnings 2013-12-15 00:05:10 +04:00
devaroop
b9d58c4cec getting user keys publically through http without any authentication, the github way. E.g: http://github.com/devaroop.keys
changelog updated to include ssh key retrieval feature update
2013-10-03 12:50:33 +05:30
devaroop
b6bd4856a3 getting user keys publically through http without any authentication, the github way. E.g: http://github.com/devaroop.keys 2013-10-02 20:39:29 +05:30
Dmitriy Zaporozhets
05a7e8b9c0 Better design for SSH keys page 2013-06-24 19:25:10 +03:00
Dmitriy Zaporozhets
3e09e6f7b8 Move Profile related controllers under Profiles:: module 2013-06-24 18:24:14 +03:00
Renamed from app/controllers/keys_controller.rb (Browse further)