User pages are public
Created by: cirosantilli
Fixes ACCEPTING MERGE/PULL REQUESTS at http://feedback.gitlab.com/forums/176466-general/suggestions/5374154-create-a-public-index-of-users-and-let-users-be-pu.
Behaviour Changes
- current user profile pages at
u/:usernamecan be visited seen by any user without login. - only projects and project events that the logged in user can see are listed.
The content of the page is otherwise unchanged, except of course the public header in case the user is not logged in.
Screenshots
-
u/:usernamewhile signed out:
-
u/:usernamewhile signed in as someone else:
-
u/:usernamewhile signed as the user himself:
Implementation notes
Factored out test User creation under group and admin/group into shared/user.
Used name "John Doe" everywhere instead of just "John" to keep uniformity with projects.
Part of features/steps/public/projects_feature.rb spilled out to shared/project.rb since it
is now used in both Public projects and User tests.
CSS class header.project_name renamed to .title since it can now contain both project names and user names.
Please consider merging this other MR as it would make it much easier to do interactive tests and screenshots that depend on having multiple project visibility levels.


