summaryrefslogtreecommitdiff
path: root/app/controllers/users_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Resolve "Display member role per project"Mike Greiling2017-12-071-0/+7
|
* Resolve "DashboardController#activity.json is slow due to SQL"Francisco Javier López2017-11-061-0/+2
|
* refactor async calendar dataMike Greiling2017-07-181-4/+1
|
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-5/+5
|
* Refactor atom builder by using xml.atom layoutTieu-Philippe KHIM2017-06-121-1/+1
|
* Refactor to more robust implementationfix-issue-32506Michael Kozono2017-05-191-0/+4
| | | | | | In order to avoid string manipulation or modify route params (to make them unambiguous for `url_for`), we are accepting a behavior change: When being redirected to the canonical path for a group, if you requested a group show path starting with `/groups/…` then you’ll now be redirected to the group at root `/…`.
* Merge branch 'snippets-finder-visibility' into 'security'Douwe Maan2017-05-101-4/+3
| | | | | | Refactor snippets finder & dont return internal snippets for external users See merge request !2094
* Dry up routable lookups. Fixes #30317Michael Kozono2017-05-051-10/+1
| | | | Note: This changes the behavior of user lookups (see the spec change) so it acts the same way as groups and projects. Unauthenticated clients attempting to access a user page will be redirected to login whether the user exists and is publicly restricted, or does not exist at all.
* Resolve discussionsMichael Kozono2017-05-051-8/+10
|
* RefactorMichael Kozono2017-05-051-5/+3
|
* Redirect from redirect routes to canonical routesMichael Kozono2017-05-051-3/+9
|
* ProjectsFinder should handle more optionsJacopo2017-04-061-1/+1
| | | | | | | | | | | | | | | | | | | Extended ProjectFinder in order to handle the following options: - current_user - which user use - project_ids_relation: int[] - project ids to use - params: - trending: boolean - non_public: boolean - starred: boolean - sort: string - visibility_level: int - tags: string[] - personal: boolean - search: string - non_archived: boolean GroupProjectsFinder now inherits from ProjectsFinder. Changed the code in order to use the new available options.
* Fixed pagination in projects & snippets on user pagePhil Hughes2017-03-181-2/+2
| | | | | | Changed it from being json links to normal links & then doing a AJAX request to get the content. Closes #29624
* Check all namespaces on validation of new username.namespace-validationBryce Johnson2016-11-171-1/+1
|
* Merge branch '23403-fix-events-for-private-project-features' into 'security'Robert Speicher2016-11-091-2/+1
| | | | | | | | | | | | Respect project visibility settings in the contributions calendar This MR fixes a number of bugs relating to access controls and date selection of events for the contributions calendar Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/23403 See merge request !2019 Signed-off-by: Rémy Coutable <remy@rymai.me>
* Add exists to users routes and fix endpoint.Bryce Johnson2016-10-151-1/+1
|
* Attempt to fix username validation ruby.Bryce Johnson2016-10-151-1/+1
|
* Stringify username before passing to ActiveRecord.Bryce Johnson2016-10-151-1/+1
|
* Make UX upgrades to SignIn/Register views.Bryce Johnson2016-10-151-1/+5
| | | | | | | - Tab between register and sign in forms - Add individual input validation error messages - Validate username - Update many styles for all login-box forms
* Fix snippets pagination22500-can-t-paginate-through-snippetsRémy Coutable2016-09-261-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Replace contributions calendar timezone payload with datesClement Ho2016-09-161-1/+1
|
* Group the contributing calendar by dayPhil Hughes2016-05-161-2/+0
| | | | This aligns the boxes correctly with the day on the left side of the calendar
* Add snippet tab under user profileLong Nguyen2016-05-021-0/+22
|
* Code fixesFelipe Artur2016-04-181-11/+10
|
* Fix codeFelipe Artur2016-04-181-3/+3
|
* Add specs and fix codeFelipe Artur2016-04-181-1/+1
|
* Move verification to abilitiesFelipe Artur2016-04-181-3/+5
|
* Restrict user profiles based on restricted visibility levelsFelipe Artur2016-04-181-0/+4
|
* Merge branch 'master' into issue_12658Douwe Maan2016-03-211-1/+1
|\ | | | | | | | | | | | | | | | | # Conflicts: # app/models/issue.rb # app/views/projects/_home_panel.html.haml # app/views/shared/projects/_project.html.haml # db/schema.rb # spec/models/project_spec.rb
| * Use the configured Kaminari "per page" defaultrs-use-kaminari-defaultRobert Speicher2016-03-191-1/+1
| |
* | Code improvements and add Create group serviceFelipe Artur2016-03-161-8/+1
| |
* | Prevent projects to have higher visibility than groupsFelipe Artur2016-03-101-4/+1
| | | | | | | | | | | | Prevent Groups to have smaller visibility than projects Add default_group_visibility_level to configuration Code improvements
* | Code improvementsFelipe Artur2016-03-101-0/+10
|/
* In UsersController#calendar_activities, when Date isn't parsable, fallback ↵fix/sentry-1182Rémy Coutable2016-03-031-6/+2
| | | | | | | | | to Date.today For some reason, GoogleBot accesses /u/:username/calendar_activities without a :date param, but then the view was trying to call #to_s(:short) which doesn't exist on nil, leading to the following Sentry report: https://sentry.gitlap.com/gitlab/gitlabcom/issues/1182/
* Merge branch 'master' into improve-user-tabsAlfredo Sumaran2016-03-011-1/+1
|\
| * include contributions from forked projects on profile calendarJames Lopez2016-02-221-1/+1
| |
* | Make url and actions to be the same nameAlfredo Sumaran2016-03-011-2/+2
| |
* | Respond with 'show' view. Tab content will be loaded dinamicallyAlfredo Sumaran2016-03-011-3/+3
| |
* | Respond to .json requestsAlfredo Sumaran2016-02-291-3/+24
| |
* | Add routes and actions for dynamic tab loadingJosh Frye2016-02-291-7/+32
|/
* Various filter fixesJosh Frye2016-02-041-1/+2
|
* remove public field from namespace and refactoringnamespace-clean_upValery Sizov2016-01-041-1/+1
|
* Refactor UsersController to not kill the databaseYorick Peterse2015-11-181-18/+11
| | | | | | | Previously this controller would in multiple places load tons (read: around 65000) project and/or group IDs into memory. These changes in combination with the previous commits significantly cut down loading times of user profile pages and the Atom feeds of users.
* Make all profile publicmake_all_profile_publicValery Sizov2015-08-271-4/+0
|
* Fix title on user page.you-get-a-title-and-you-get-a-title-and-everyone-gets-a-titleDouwe Maan2015-05-011-3/+0
|
* Add a page title to every page.Douwe Maan2015-04-301-9/+0
|
* Fixed the Rails/ActionFilter copJeroen van Baarsen2015-04-201-2/+2
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Merge branch 'userpage-activity-scroll'Dmitriy Zaporozhets2015-03-231-6/+19
|\ | | | | | | | | Conflicts: app/controllers/users_controller.rb
| * Fix atom feed for user pageuserpage-activity-scrollDmitriy Zaporozhets2015-03-221-1/+6
| |
| * Add inifinite scroll to user activity on user pageDmitriy Zaporozhets2015-03-221-5/+13
| |