summaryrefslogtreecommitdiff
path: root/app/views/users
Commit message (Collapse)AuthorAgeFilesLines
* Add a missing Oxford comma in some text on the Activity graph.connorshea2016-04-081-1/+1
| | | | Resolves #14668. [ci skip]
* hide user profile activity graph on mobile and enable horizontal scroll for ↵hide_profile_activity_on_mobileArinde Eniola2016-04-011-1/+1
| | | | medium screens
* Provide defaults and make sure we everything is container into a parent elementAlfredo Sumaran2016-03-021-96/+97
|
* Add required classname for specAlfredo Sumaran2016-03-011-1/+1
|
* Rename attribute from url to href for consistencyAlfredo Sumaran2016-03-011-1/+1
|
* Specify path to be used for @Page to load user activityAlfredo Sumaran2016-03-011-2/+2
|
* Make url and actions to be the same nameAlfredo Sumaran2016-03-011-3/+3
|
* Activate tab according URLAlfredo Sumaran2016-03-011-7/+7
|
* Initialize User class on the viewAlfredo Sumaran2016-03-011-0/+7
|
* Let User class handle resource loadingAlfredo Sumaran2016-02-291-4/+1
|
* Tidy htmlAlfredo Sumaran2016-02-291-30/+18
|
* Add routes and actions for dynamic tab loadingJosh Frye2016-02-291-32/+32
|
* Improve the formatting for the user page bioconnorshea/gitlab-ce-user-bio-improveconnorshea2016-02-231-12/+14
| | | | | | | | | | | - 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.
* Use Atom update times of the first eventevents-performanceYorick Peterse2016-01-271-1/+1
| | | | | | | | | 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
* sanitize user supplied input.Josh Frye2016-01-161-24/+1
|
* Autofill abuse message text with user url. Closes #2838Josh Frye2016-01-161-0/+23
|
* Fix missing padding for user/group pagesDmitriy Zaporozhets2016-01-141-1/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Apply new layout to user pageDmitriy Zaporozhets2016-01-131-62/+65
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Replace all navigation menu with nav-links classDmitriy Zaporozhets2016-01-131-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Use `xmlschema` where even more appropriate!Robert Speicher2016-01-071-1/+1
|
* Use `to_s(:iso8601)` where appropriateRobert Speicher2016-01-071-1/+1
|
* Add two custom Date/Time conversion formatsRobert Speicher2016-01-071-1/+1
|
* Remove stamp gemRobert Speicher2016-01-071-1/+1
| | | | Closes #5908
* Add page descriptions and imagesRobert Speicher2015-12-231-2/+3
| | | | | | | | | | 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.
* Make profile navigation full widefix-profile-navDmitriy Zaporozhets2015-12-111-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Remove pointless explanation for user tabsDouwe Maan2015-12-071-13/+1
|
* Use standard style for tabs in profile viewDouwe Maan2015-12-021-1/+13
|
* Faster way of obtaining latest event update timeYorick Peterse2015-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using MAX(events.updated_at) we can simply sort the events in descending order by the "id" column and grab the first row. In other words, instead of this: SELECT max(events.updated_at) AS max_id FROM events LEFT OUTER JOIN projects ON projects.id = events.project_id LEFT OUTER JOIN namespaces ON namespaces.id = projects.namespace_id WHERE events.author_id IS NOT NULL AND events.project_id IN (13083); we can use this: SELECT events.updated_at AS max_id FROM events LEFT OUTER JOIN projects ON projects.id = events.project_id LEFT OUTER JOIN namespaces ON namespaces.id = projects.namespace_id WHERE events.author_id IS NOT NULL AND events.project_id IN (13083) ORDER BY events.id DESC LIMIT 1; This has the benefit that on PostgreSQL a backwards index scan can be used, which due to the "LIMIT 1" will at most process only a single row. This in turn greatly speeds up the process of grabbing the latest update time. This can be confirmed by looking at the query plans. The first query produces the following plan: Aggregate (cost=43779.84..43779.85 rows=1 width=12) (actual time=2142.462..2142.462 rows=1 loops=1) -> Index Scan using index_events_on_project_id on events (cost=0.43..43704.69 rows=30060 width=12) (actual time=0.033..2138.086 rows=32769 loops=1) Index Cond: (project_id = 13083) Filter: (author_id IS NOT NULL) Planning time: 1.248 ms Execution time: 2142.548 ms The second query in turn produces the following plan: Limit (cost=0.43..41.65 rows=1 width=16) (actual time=1.394..1.394 rows=1 loops=1) -> Index Scan Backward using events_pkey on events (cost=0.43..1238907.96 rows=30060 width=16) (actual time=1.394..1.394 rows=1 loops=1) Filter: ((author_id IS NOT NULL) AND (project_id = 13083)) Rows Removed by Filter: 2104 Planning time: 0.166 ms Execution time: 1.408 ms According to the above plans the 2nd query is around 1500 times faster. However, re-running the first query produces timings of around 80 ms, making the 2nd query "only" around 55 times faster.
* Rewrite HTTP links to force TLS, where possibleAlex Jordan2015-11-161-2/+2
|
* Replace CoffeeScript block into JavaScript in Views.Jason Lee2015-11-101-2/+2
| | | | | | | For example view: shared/issuable/_context CoffeeScript: 190ms JavaScript: 19.7ms
* Improvements to profile page UIimprove-profile-pageDmitriy Zaporozhets2015-11-041-3/+3
| | | | | | | | | * add separator between tabs * show project avatars * fix tooltip offset on user calendar * remove gray hover for tabs Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Apply new design for user profile pageDmitriy Zaporozhets2015-11-032-32/+43
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Improve profile page UIDmitriy Zaporozhets2015-11-031-11/+16
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Partly implement new UI for user pageuser-page-new-uiDmitriy Zaporozhets2015-10-163-68/+59
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Re-use User objects for avatar_icon where possibleYorick Peterse2015-10-151-2/+2
| | | | This removes the need for running an extra SQL query in these cases.
* Streamline the "Report button"rymai/gitlab-ce-disable-report-button-if-already-reportedRémy Coutable2015-09-291-12/+7
| | | | | | This simplifies the "Report button" to not use open a dropdown and adds a tooltip on this button. This also removes an extra spec and adds missing specs.
* Disable the "Report abuse" button if a user has already been reportedRémy Coutable2015-09-291-7/+11
|
* Improve project settings button on profileDmitriy Zaporozhets2015-09-151-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor project list renderingDmitriy Zaporozhets2015-08-261-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Increase width of sidebar for several pagesDmitriy Zaporozhets2015-08-261-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Allow users to send abuse reportsDmitriy Zaporozhets2015-08-061-0/+10
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Open big avatar when click on user imageDmitriy Zaporozhets2015-06-301-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'see-full-size-avatar' into 'master'Dmitriy Zaporozhets2015-06-221-1/+2
|\ | | | | | | | | | | | | | | Link an users avatar to the fullsize version When we want to see the fullsize avatar of a user we can click the avatar on the profile page and the fullsize version will be opened in a new window/tab. See merge request !415
| * When we want to see the fullsize avatar of a user we can click the avatar on ↵Sander Boom2015-03-211-1/+2
| | | | | | | | the profile page and the fullsize version will be opened in a new window/tab.
* | Improve UI for phonesDmitriy Zaporozhets2015-06-081-1/+1
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Fix title on user page.you-get-a-title-and-you-get-a-title-and-everyone-gets-a-titleDouwe Maan2015-05-011-0/+3
| |
* | Fix wrong placement of show-aside linkSullivan SENECHAL2015-04-271-2/+2
| |
* | Make links and titles of atom feeds consistent.Douwe Maan2015-04-232-3/+3
| |
* | Add atom link tag to every page that has one.Douwe Maan2015-04-231-0/+3
| |
* | Allow user to choose which email to be publicSenorsen2015-04-141-0/+4
| | | | | | | | | | This commit allows user to show one of their emails in profile page, or don't show email in this page.