- 10 Aug, 2017 1 commit
-
-
Yorick Peterse authored
This changes various controllers to use the new EventCollection class for retrieving events. This class uses a JOIN LATERAL query on PostgreSQL to retrieve queries in a more efficient way, while falling back to a simpler / less efficient query for MySQL. The EventCollection class also includes a limit on the number of events to display to prevent malicious users from cycling through all events, as doing so could put a lot of pressure on the database. JOIN LATERAL is only supported on PostgreSQL starting with version 9.3.0 and as such this optimisation is only used when using PostgreSQL 9.3 or newer.
-
- 07 Aug, 2017 1 commit
-
-
Yorick Peterse authored
This solves an N+1 query problem where for every project we'd query the creator separately just to figure out what avatar to display.
-
- 03 Aug, 2017 1 commit
-
-
Toon Claes authored
TodoService should not call `.select(&:id)` on todos, because this is bad performance. So instead use sub-queries, which will result in a single SQL query to the database. https://docs.gitlab.com/ee/development/sql.html#plucking-ids
-
- 20 Jul, 2017 1 commit
-
-
Sean McGivern authored
[9.3 security fix] Renders 404 if given project is not readable by the user on Todos dashboard See merge request !2118
-
- 07 Jul, 2017 1 commit
-
-
Nick Thomas authored
-
- 21 Jun, 2017 1 commit
-
-
Grzegorz Bizon authored
-
- 12 Jun, 2017 1 commit
-
-
Tieu-Philippe KHIM authored
-
- 09 Jun, 2017 2 commits
-
-
Robert Speicher authored
Instead of an integration test that creates 101 Todo records to test a simple view helper, just unit test the helper.
-
Phil Hughes authored
Closes #33477
-
- 08 Jun, 2017 1 commit
-
-
Douwe Maan authored
-
- 06 Jun, 2017 1 commit
-
-
blackst0ne authored
Add a rubocop rule to check if a method 'redirect_to' is used without explicitly set 'status' in 'destroy' actions of controllers
-
- 25 May, 2017 1 commit
-
-
Douwe Maan authored
-
- 10 May, 2017 1 commit
-
-
Douwe Maan authored
Refactor snippets finder & dont return internal snippets for external users See merge request !2094
-
- 05 May, 2017 1 commit
-
-
Winnie Hellmann authored
-
- 04 May, 2017 1 commit
-
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 29 Apr, 2017 1 commit
-
-
Stan Hu authored
This reverts merge request !10845
-
- 27 Apr, 2017 1 commit
-
-
Toon Claes authored
TodoService should not call `.select(&:id)` on todos, because this is bad performance. So instead use sub-queries, which will result in a single SQL query to the database. https://docs.gitlab.com/ee/development/sql.html#plucking-ids
-
- 06 Apr, 2017 2 commits
-
-
Jacopo authored
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.
-
Sean McGivern authored
Fix for three open redirect vulns using redirect_to url_for(params.merge))) See merge request !2082
-
- 21 Mar, 2017 1 commit
-
-
Sean McGivern authored
This reverts merge request !10076
-
- 20 Mar, 2017 1 commit
-
-
Jarka Kadlecova authored
-
- 16 Mar, 2017 2 commits
-
-
Bob Van Landuyt authored
-
Jacopo authored
Added the ability to 'Undo mark all as done' todos marked as complete with 'Mark all as done' in the 'Todo' tab of the Todo dashboard. The operation undos only the todo previously marked as done with the 'Mark al as done' button.
-
- 10 Mar, 2017 1 commit
-
-
Alex Braha Stoll authored
-
- 01 Mar, 2017 1 commit
-
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 22 Feb, 2017 1 commit
-
-
Nur Rony authored
-
- 21 Feb, 2017 1 commit
-
-
mhasbini authored
-
- 17 Feb, 2017 1 commit
-
-
Jacopo authored
The Done button will change to an Undo button and the line item will be greyed out. Bold links will be unbolded. The user can undo the task by clicking the Undo button.
-
- 13 Feb, 2017 1 commit
-
-
Rémy Coutable authored
Also, don't use limit in subquery, MySQL don't like that. Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 08 Feb, 2017 1 commit
-
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 03 Feb, 2017 1 commit
-
-
Oswaldo Ferreira authored
-
- 16 Jan, 2017 1 commit
-
-
Adam Niedzielski authored
It improves performance in dashboard milestone index page by passing a hint to "IssuesFinder". "IssuesFinder" generates a more performant query when it is limited to authorized projects for user. In the dashboard we already limit the projects to these authorized for user (see "Dashboard::ApplicationController#projects"), so we can safely pass this option to "IssuesFinder".
-
- 06 Jan, 2017 1 commit
-
-
Adam Niedzielski authored
-
- 23 Dec, 2016 1 commit
-
-
Tiago Botelho authored
-
- 21 Dec, 2016 2 commits
-
-
Tiago Botelho authored
-
Tiago Botelho authored
-
- 11 Nov, 2016 2 commits
-
-
Josep Llaneras authored
-
Josep Llaneras authored
-
- 19 Oct, 2016 2 commits
-
-
Douglas Barbosa Alexandre authored
-
Douglas Barbosa Alexandre authored
-