Commit graph

11 commits

Author SHA1 Message Date
Bob Van Landuyt
b4c4b48a8c Allow users to set a status
This can be done trough the API for the current user, or on the
profile page.
2018-07-30 15:01:26 +02:00
Tiago Botelho
8417f74f23 Remove password and password_confirmation from whitelisted params in ProfilesController to prevent password from being changed without previous password being provided 2018-05-07 10:29:00 +02:00
Zeger-Jan van de Weg
ec4423665c
Gitlab::Shell works on shard name, not path
Direct disk access is done through Gitaly now, so the legacy path was
deprecated. This path was used in Gitlab::Shell however. This required
the refactoring in this commit.

Added is the removal of direct path access on the project model, as that
lookup wasn't needed anymore is most cases.

Closes https://gitlab.com/gitlab-org/gitaly/issues/1111
2018-04-25 13:36:22 +02:00
Shah El-Rahman
43ef375e08 Add confirmation modal to "Change username" 2018-04-06 09:36:22 +00:00
Bob Van Landuyt
3faa7653d0 Handle invalid params when trying update_username
Using strong params to require the presence of a username when calling
`update_username`. Otherwise we'd raise a `NoMethodError` validating
the paths on disk.
2018-04-04 09:59:35 +02:00
Nick Thomas
6b0c6e69e1
Use hashed storage in the specs 2018-02-07 13:40:46 +00:00
Jen-Shin Lin
bd46c8abfd Merge branch 'security-10-1' into '10-1-stable'
Security fixes for 10.1 RC

See merge request gitlab/gitlabhq!2209
2017-10-17 15:58:58 -07:00
Brett Walker
d97b577a1b must now set the devise default scope (since we now have an :email scope)
and rubocop fixes
2017-09-24 19:52:49 +02:00
Brett Walker
ed99c899a2 allow a verified secondary email to be use as the primary without
a reconfirmation
2017-09-23 15:26:04 +02:00
Alexander Keramidas
4df54f2607 Profile updates from providers 2017-09-06 16:38:52 +03:00
Robin Bobbitt
469acd190e Sync email address from specified omniauth provider 2017-06-07 11:13:57 -04:00