An error occurred fetching the project authors.
  1. 11 Sep, 2017 1 commit
  2. 10 Aug, 2017 1 commit
    • Yorick Peterse's avatar
      Use a specialized class for querying events · aac1de46
      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.
      aac1de46
  3. 07 Aug, 2017 1 commit
  4. 21 Jun, 2017 1 commit
  5. 12 Jun, 2017 1 commit
  6. 25 May, 2017 1 commit
  7. 06 Apr, 2017 1 commit
    • Jacopo's avatar
      ProjectsFinder should handle more options · b996a82f
      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.
      b996a82f
  8. 16 Mar, 2017 1 commit
  9. 13 Feb, 2017 1 commit
  10. 03 Feb, 2017 1 commit
  11. 03 Jun, 2016 2 commits
  12. 10 May, 2016 1 commit
    • Sean McGivern's avatar
      Restrict starred projects to viewable ones · 97424ea5
      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.
      97424ea5
  13. 19 Mar, 2016 1 commit
  14. 10 Mar, 2016 1 commit
  15. 04 Mar, 2016 1 commit
  16. 03 Mar, 2016 3 commits
  17. 02 Mar, 2016 1 commit
  18. 09 Feb, 2016 2 commits
  19. 05 Feb, 2016 1 commit
  20. 04 Feb, 2016 3 commits
  21. 03 Feb, 2016 1 commit
  22. 26 Jan, 2016 1 commit
  23. 01 Oct, 2015 1 commit
  24. 08 Sep, 2015 1 commit
    • Douwe Maan's avatar
      Clean up overlap between dashboard and explore. · 5d785457
      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.
      5d785457
  25. 30 Apr, 2015 1 commit
  26. 20 Apr, 2015 1 commit
  27. 09 Mar, 2015 1 commit