1. 02 Dec, 2016 2 commits
    • Douwe Maan's avatar
      Merge branch '4269-public-api' into 'master' · 71ba28e4
      Douwe Maan authored
      Allow public access to some Project API endpoints
      
      ## What does this MR do?
      
      This opens up a few endpoints in the Project API:
      
      - `GET /projects/visible` (returns public projects only)
      - `GET /projects/search/:query` (returns results only for public projects)
      - `GET /projects/:id` (only if the project is public)
      - `GET /projects/:id/events` (only if the project is public)
      - `GET /projects/:id/users` (only if the project is public)
      
      ## Are there points in the code the reviewer needs to double check?
      
      I've chosen to explicitly add `authenticate!` to GET methods that still need a current user.
      
      ## Does this MR meet the acceptance criteria?
      
      - [x] [Changelog entry](https://docs.gitlab.com/ce/development/changelog.html) added
      - [ ] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
      - [x] API support added
      - Tests
        - [x] Added for this feature/bug
        - [ ] All builds are passing
      
      Part of #4269
      
      See merge request !7843
      71ba28e4
    • Alfredo Sumaran's avatar
      Merge branch 'comments-fixture' into 'master' · 99453027
      Alfredo Sumaran authored
      Replace static fixture for notes_spec
      
      ## What does this MR do?
      
      Replace `comments.html.haml` and `issue_note.html.haml` used in `notes_spec.js` by dynamically created fixture.
      
      ## What are the relevant issue numbers?
      
      #24753
      
      See merge request !7683
      99453027
  2. 01 Dec, 2016 38 commits