An error occurred fetching the project authors.
- 11 Sep, 2017 1 commit
-
-
Yorick Peterse authored
This solves an N+1 query problem where we'd run multiple queries when getting the namespace owners of the displayed projects.
-
- 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.
-
- 21 Jun, 2017 1 commit
-
-
Grzegorz Bizon authored
-
- 12 Jun, 2017 1 commit
-
-
Tieu-Philippe KHIM authored
-
- 25 May, 2017 1 commit
-
-
Douwe Maan authored
-
- 06 Apr, 2017 1 commit
-
-
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.
-
- 16 Mar, 2017 1 commit
-
-
Bob Van Landuyt authored
-
- 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>
-
- 03 Feb, 2017 1 commit
-
-
Oswaldo Ferreira authored
-
- 03 Jun, 2016 2 commits
-
-
James Lopez authored
This reverts commit 3e991230.
-
James Lopez authored
# Conflicts: # app/models/project.rb
-
- 10 May, 2016 1 commit
-
-
Sean McGivern authored
`User#starred_projects` doesn't perform any visibility checks. This has a couple of problems: 1. It assumes a user can always view all of their starred projects in perpetuity (project not changed to private, access revoked, etc.). 2. It assumes that we'll only ever allow a user to star a project they can view. This is currently the case, but bugs happen. Add `User#viewable_starred_projects` to filter the starred projects by those the user either has explicit access to, or are public or internal. Then use that in all places where we list the user's starred projects.
-
- 19 Mar, 2016 1 commit
-
-
Robert Speicher authored
-
- 10 Mar, 2016 1 commit
-
-
Josh Frye authored
-
- 04 Mar, 2016 1 commit
-
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 03 Mar, 2016 3 commits
-
-
Dmitriy Zaporozhets authored
This reverts commit 617bb109.
-
Dmitriy Zaporozhets authored
This reverts commit 70d64552.
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 02 Mar, 2016 1 commit
-
-
Rémy Coutable authored
-
- 09 Feb, 2016 2 commits
- 05 Feb, 2016 1 commit
-
-
Josh Frye authored
-
- 04 Feb, 2016 3 commits
- 03 Feb, 2016 1 commit
-
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 26 Jan, 2016 1 commit
-
-
Yorick Peterse authored
By instead using a sub-query we save ourselves the overhead of loading any data into memory only to pass it on to another query.
-
- 01 Oct, 2015 1 commit
-
-
Drew Blessing authored
-
- 08 Sep, 2015 1 commit
-
-
Douwe Maan authored
- Split up SnippetsController into separate dashboard and explore sections. - Use consistent page titles, header titles and sidebars between dashboard and explore sections when signed in or not.
-
- 30 Apr, 2015 1 commit
-
-
Douwe Maan authored
-
- 20 Apr, 2015 1 commit
-
-
Jeroen van Baarsen authored
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
-
- 09 Mar, 2015 1 commit
-
-
Dmitriy Zaporozhets authored
-