137 Commits
Author SHA1 Message Date
Patricio Cano be6c4fef40 Removed unnecessary id from links and corrected tests to use the proper matcher. 2016-07-07 18:39:45 -05:00
Patricio Cano 1867d0d505 Added specs to check for the correct links. 2016-07-06 16:17:20 -05:00
Patricio Cano 5c4a2bff91 Link to the user's profile in the abuse reports and add a link to the admin area view if the user viewing the profile is an admin 2016-07-06 11:48:06 -05:00
Phil Hughes d959abf01c Changes calendar activities to use target reference 2016-06-29 14:27:25 +01:00
Connor Shea ff01ca9c96 Trying to make this work with sprockets in production. 2016-06-23 11:42:52 -06:00
Connor Shea 4cca9a3e0f Reorganize the lib directory. 2016-06-23 10:55:40 -06:00
Connor Shea 7ce0968a52 Re-implement page-specific JS in a better way.
This makes larger libraries more cacheable and will allow us to use SRI with the dynamically included libraries.
2016-06-23 10:33:38 -06:00
Alfredo Sumaran 340aa444b7 Add tests for dates on tooltips 2016-06-09 14:38:24 -05:00
Connor Shea 026b7abc5a Attempt to fix the user page. 2016-06-01 19:42:49 -06:00
Jacob Schatz 3d009f7785 Merge branch 'updated-contrib-calendar' into 'master'
POC: Updated contrib calendar

In an effort to cut down the JS file size - i've removed the heatmap calendar used for the contributing calendar on users profiles. We already have d3 on the page so why not use it instead of using a library which uses it?

![Screen_Shot_2016-04-27_at_11.08.41](/uploads/64c40f0c766f800fd0e33ac8be7f9644/Screen_Shot_2016-04-27_at_11.08.41.png)

cc. @jschatz1 

See merge request !3944
2016-05-25 23:29:41 +00:00
Robert Speicher 66cebb6f61 Remove event_to_atom helper 2016-05-23 12:37:40 -04:00
Phil Hughes 93c0bb8041 Fixed issue with selected date not loading correctly
Added loading icon to selected date box
2016-05-16 12:22:17 +01:00
Phil Hughes 18b361cf80 Group the contributing calendar by day
This aligns the boxes correctly with the day on the left side of the calendar
2016-05-16 12:22:17 +01:00
Phil Hughes 36fdbc6edb Updated contrib map away from cal heat map 2016-05-16 12:19:30 +01:00
Long Nguyen 29089352e3 Routing refactoring 2016-05-08 20:48:07 +07:00
Long Nguyen 3d4627047a Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into issue_15572_snippets_tab_under_user_profile 2016-05-08 15:30:51 +07:00
Long Nguyen ffda8a1a0e user routings refactor 2016-05-08 15:27:33 +07:00
Long Nguyen 5f60841d7e Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into issue_15572_snippets_tab_under_user_profile 2016-05-05 15:07:50 +07:00
Annabel Dunstone 7878eb9fa6 Start builds redesign 2016-05-04 16:45:37 -05:00
Jacob Schatz 8be1118aa5 Merge branch 'clean-user-profile-classes' into 'master'
Remove unused .contributed-projects class

While working on #13401 and trying to add a new tab to the user profile
page, I came across this. I noticed that the `contributed-projects`
class was only being used in order to select the div in the tests. For
consistency with the other tabs, I decided to remove this class and use
the div's id for the selector.

See merge request !3945
2016-05-04 18:34:34 +00:00
Long Nguyen c0f02aad4a Add snippet tab under user profile 2016-05-02 16:37:12 +07:00
Karlo Soriano c8187738a2 Remove unused .contributed-projects class
While working on #13401 and trying to add a new tab to the user profile
page, I came across this. I noticed that the `contributed-projects`
class was only being used in order to select the div in the tests. For
consistency with the other tabs, I decided to remove this class and use
the div's id for the selector.
2016-04-27 19:36:04 +08:00
Karlo Soriano 40b0afddbf Add JS prefix to user tab classes
I'm not entirely sure if this project uses the `js-` prefix for
classes that are for js purposes only. But as I was working on a
feature, I noticed that these classes were those kind of classes.
2016-04-26 21:54:40 +08:00
Phil Hughes fe603d4d31 Removed aside toggle on profile pages
Closes #13943
2016-04-18 17:53:38 +01:00
connorshea 6a0f839941 Add a missing Oxford comma in some text on the Activity graph.
Resolves #14668. [ci skip]
2016-04-08 13:32:17 -06:00
Arinde Eniola 932c2f59cb hide user profile activity graph on mobile and enable horizontal scroll for medium screens 2016-04-01 00:07:59 +01:00
Alfredo Sumaran 3c9e860f5e Provide defaults and make sure we everything is container into a parent element 2016-03-02 14:08:03 -05:00
Alfredo Sumaran 8b9a94af79 Add required classname for spec 2016-03-01 17:41:50 -05:00
Alfredo Sumaran 3b489ad1d7 Rename attribute from url to href for consistency 2016-03-01 12:45:20 -05:00
Alfredo Sumaran 2816a227ae Specify path to be used for @Page to load user activity 2016-03-01 12:41:48 -05:00
Alfredo Sumaran f0b8779047 Make url and actions to be the same name 2016-03-01 11:43:22 -05:00
Alfredo Sumaran 48ae8ef165 Activate tab according URL 2016-03-01 11:20:52 -05:00
Alfredo Sumaran ef9b78c1e3 Initialize User class on the view 2016-03-01 11:19:05 -05:00
Alfredo Sumaran c6b27550c8 Let User class handle resource loading 2016-02-29 19:10:11 -05:00
Alfredo Sumaran 703ea298d6 Tidy html 2016-02-29 16:40:34 -05:00
Josh Frye cc9f93f9d2 Add routes and actions for dynamic tab loading 2016-02-29 08:24:07 -05:00
connorshea bb0f5be077 Improve the formatting for the user page bio
- Separates the User page bio from the username and account creation
date.
- Separates the pseudo-selector adding a Middle Dot out from the
`profile-link-holder` class and into a `middle-dot-divider` class.

Resolves #13406.

See merge request !2827.
2016-02-23 16:50:48 -07:00
Yorick Peterse de7c9c7ab1 Use Atom update times of the first event
By simply loading the first event from the already sorted set we save
ourselves extra (slow) queries just to get the latest update timestamp.
This removes the need for Event.latest_update_time and significantly
reduces the time needed to build an Atom feed.

Fixes gitlab-org/gitlab-ce#12415
2016-01-27 10:33:33 +01:00
Josh Frye 2d3655cd14 sanitize user supplied input. 2016-01-16 10:49:51 -05:00
Josh Frye c70ed7f2cd Autofill abuse message text with user url. Closes #2838 2016-01-16 10:47:12 -05:00
Dmitriy Zaporozhets 49c310e45c Fix missing padding for user/group pages
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-01-14 16:42:25 +01:00
Dmitriy Zaporozhets 0673fad893 Apply new layout to user page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-01-13 16:26:40 +01:00
Dmitriy Zaporozhets 03090a88d8 Replace all navigation menu with nav-links class
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-01-13 15:58:04 +01:00
Robert Speicher 4408dc0bd1 Use xmlschema where even more appropriate! 2016-01-07 20:01:08 -05:00
Robert Speicher 6344493655 Use to_s(:iso8601) where appropriate 2016-01-07 20:01:08 -05:00
Robert Speicher fa36749bce Add two custom Date/Time conversion formats 2016-01-07 20:01:08 -05:00
Robert Speicher 59305715e9 Remove stamp gem
Closes #5908
2016-01-07 16:28:33 -05:00
Robert Speicher b26eb782f5 Add page descriptions and images
A limited number of pages have defined their own descriptions, but
otherwise we default to the Project's description (if `@project` is
set), or the old `brand_title` fallback.

The image will either be the uploaded project icon (never a generated
one), the user's uploaded icon or Gravatar, or, finally, the GitLab
logo.
2015-12-23 16:56:27 -05:00
Dmitriy Zaporozhets 51c8d037d3 Make profile navigation full wide
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-12-11 20:39:26 +01:00
Douwe Maan 1a94211165 Remove pointless explanation for user tabs 2015-12-07 13:55:30 +01:00