summaryrefslogtreecommitdiff
path: root/app/views/groups
Commit message (Collapse)AuthorAgeFilesLines
* Use top-area component for top page navigation for pages that contains list ↵Dmitriy Zaporozhets2016-02-031-9/+7
| | | | | | of items Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor nav controls section (search and new project/group btn)Dmitriy Zaporozhets2016-02-031-9/+8
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* 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
* Fix UI for pages with panelsfix-ui-paddingDmitriy Zaporozhets2016-01-223-5/+3
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix missing padding for user/group pagesDmitriy Zaporozhets2016-01-141-1/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'remove-gray-bg'Dmitriy Zaporozhets2016-01-145-17/+22
|\ | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Add margin to pages where is no headerremove-gray-bgDmitriy Zaporozhets2016-01-143-3/+3
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Apply new layout to user pageDmitriy Zaporozhets2016-01-131-4/+3
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Replace all navigation menu with nav-links classDmitriy Zaporozhets2016-01-132-2/+2
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Start moving all navigation to one classDmitriy Zaporozhets2016-01-131-1/+1
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * New layout without background colorDmitriy Zaporozhets2016-01-131-12/+18
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Added hint that you can search users by name, username, or email.Patricio Cano2016-01-131-1/+1
|/
* Check for current userStan Hu2016-01-101-1/+2
|
* Add pencil icon to edit group settingsStan Hu2016-01-101-3/+5
| | | | | | Move icons to upper-right corner of group page Closes #6038
* Use `xmlschema` where even more appropriate!Robert Speicher2016-01-072-2/+2
|
* Use `to_s(:iso8601)` where appropriateRobert Speicher2016-01-072-2/+2
|
* remove public field from namespace and refactoringnamespace-clean_upValery Sizov2016-01-042-11/+2
|
* Fix spelling mistake, thanks Connor.fix-spelling-mistakeSytse Sijbrandij2015-12-281-1/+1
|
* New UI for group pagenew-group-pageDmitriy Zaporozhets2015-12-222-36/+46
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Rename .issuable-details to .detail-page (and -header and -description)Douwe Maan2015-12-161-17/+16
|
* Fix headers of milestone and snippet show pagesDouwe Maan2015-12-151-3/+4
|
* Merge branch 'reference-pipeline-and-caching' into 'master' Robert Speicher2015-12-081-1/+1
|\ | | | | | | | | | | | | | | | | | | | | Implement different Markdown rendering pipelines and cache Markdown Builds on !1090. Related to !1014. Fixes #2054. See merge request !1602
| * Merge branch 'master' into reference-pipeline-and-cachingDouwe Maan2015-12-074-28/+50
| |\
* | \ Merge branch 'master' into ui/dashboard-new-issueDouwe Maan2015-12-074-28/+50
|\ \ \ | | |/ | |/|
| * | Merge branch 'ui/form-consistency' into 'master' Dmitriy Zaporozhets2015-12-043-6/+11
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | UI: Improve form consistency Depends on !1953 See the commits for more details, the messages mostly speak for themselves. # Highlights ## Tag form Before: ![tag_before](/uploads/ee5ba6ef405749013f9e5717ebcf72f3/tag_before.png) After: ![tag_after](/uploads/71bb543553190d91c03fd706cce35923/tag_after.png) See merge request !1955
| | * | Use autofocus where appropriateDouwe Maan2015-12-021-1/+1
| | | |
| | * | Don't write "Optional" or "Required" unless non-obviousDouwe Maan2015-12-021-1/+0
| | | |
| | * | Use form-actions where appropriateDouwe Maan2015-12-021-1/+2
| | | |
| | * | Add cancel button to forms that didn't have one alreadyDouwe Maan2015-12-021-0/+1
| | | |
| | * | Use consistent casing for page titlesDouwe Maan2015-12-022-3/+7
| | |/
| * | Use new style for milestone detail pageDouwe Maan2015-12-021-22/+39
| |/
* | Use select2 dropdown for dashboard/group 'New X' buttonsDouwe Maan2015-12-072-24/+2
| |
* | Add "New X" buttons to dashboard and group issue, MR and milestone indexesDouwe Maan2015-12-023-29/+63
|/
* Split group feature testsDmitriy Zaporozhets2015-11-251-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Improve project members page UIDmitriy Zaporozhets2015-11-251-6/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Improve UI for group members pageDmitriy Zaporozhets2015-11-252-30/+32
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix 500 error when update group member permissionDmitriy Zaporozhets2015-11-242-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* 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.
* Use project member abilities more extensivelyDouwe Maan2015-11-172-7/+5
|
* Some code and doc improvementsglobal-milestonesDmitriy Zaporozhets2015-11-161-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Group masters should be able to create/close milestonesDmitriy Zaporozhets2015-11-163-6/+7
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Few changes to Group Milestone feature:Dmitriy Zaporozhets2015-11-161-2/+1
| | | | | | | | * Group attachments are not supported so I removed attach file link * Added changelog item * Add markdown hint to project milestone form Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add header and page title to new milestone pageDmitriy Zaporozhets2015-11-161-0/+3
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor global and group milestones logicDmitriy Zaporozhets2015-11-163-25/+25
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Create milestones in the groupDmitriy Zaporozhets2015-11-162-3/+55
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Replace CoffeeScript block into JavaScript in Views.Jason Lee2015-11-101-4/+5
| | | | | | | For example view: shared/issuable/_context CoffeeScript: 190ms JavaScript: 19.7ms
* Allow groups to appear in the search results if the group owner allows itValery Sizov2015-11-051-0/+9
|
* Make tables full width.Douwe Maan2015-10-191-20/+22
|
* Re-use User objects for avatar_icon where possibleYorick Peterse2015-10-154-4/+4
| | | | This removes the need for running an extra SQL query in these cases.
* Merge branch 'fix_issue_2906' into 'master' Douwe Maan2015-10-141-1/+2
|\ | | | | | | | | | | | | | | | | + and Titleize New Project button on dashboard Hello there. Its my first merge request in open source world. So please be tolerant to me if i do something wrong. I try to fix https://gitlab.com/gitlab-org/gitlab-ce/issues/2906 See merge request !1564