13 Jun, 2014

1 commit

  • To prevent leaking of users info we reduce amount of user information
    retrieved via API for normal users.
    
    What user can get via API:
    
    * if not admin: only id, state, name, username and avatar_url
    * if admin: all user information
    * about himself: all informaion
    
    Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
    Dmitriy Zaporozhets
     

18 Apr, 2014

1 commit

  • Complements POST operation added in gitlabhq/gitlabhq#3146
    
    Implement DELETE /users/:uid/keys/:id for admin users
    
    Fix "Line is too long. [83/80]"
    
    Use single quotes as advised
    
    Use single quotes as advised
    
    Use single quotes as advised
    
    Fix missing space around { and }
    
    Fix typo in documentation
    
    Only catch  ActiveRecord::RecordNotFound, let other exceptions propagate
    
    Raise a "404 Not found" if key to be deleted cannot be found
    As requested by @jvanbaarsen in https://github.com/gitlabhq/gitlabhq/pull/6781#discussion_r11735114
    
    Remove tab
    Unconfigured vim on this box, grrrr./
    Timm Friebe
     

22 Jan, 2014

1 commit


19 Jan, 2014

1 commit


18 Jan, 2014

1 commit


15 Dec, 2013

1 commit


29 Sep, 2013

1 commit


11 Sep, 2013

2 commits


14 May, 2013

1 commit


06 May, 2013

1 commit


16 Apr, 2013

1 commit


19 Mar, 2013

1 commit


18 Mar, 2013

1 commit


17 Mar, 2013

1 commit


13 Mar, 2013

1 commit


07 Mar, 2013

1 commit


05 Mar, 2013

1 commit


27 Feb, 2013

1 commit


20 Feb, 2013

1 commit


18 Dec, 2012

1 commit


12 Dec, 2012

1 commit

  • The 2 reasons are :
    - creation of user fail if name is empty : in after_save, it tries to create a
    namespace with namespace.name = user.name and namespece validates presence
    Namespace#name
    - in the web app links to team members are broken with empty User#name because
    they are of the form <a href'...'> user.name </a>
    Cyril
     

23 Nov, 2012

1 commit


19 Oct, 2012

2 commits


02 Oct, 2012

2 commits


21 Sep, 2012

1 commit


03 Sep, 2012

1 commit


10 Aug, 2012

1 commit


29 Jun, 2012

1 commit