summaryrefslogtreecommitdiff
path: root/spec/requests/api/notes_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* adds second batch of tests changed to active tenseactive-tense-test-coveragetiagonbotelho2016-08-091-28/+28
|
* Enable Style/EmptyLines cop, remove redundant onesrubocop/enable-cops-for-empty-linesGrzegorz Bizon2016-07-011-3/+0
|
* Use HTTP matchers if possibleZ.J. van de Weg2016-06-271-41/+41
|
* Update specs for creating new note without accessGrzegorz Bizon2016-05-291-2/+2
|
* Fix single note api requestFelipe Artur2016-05-161-3/+14
|
* Fix notes API calls symbol convertionsFelipe Artur2016-05-101-0/+31
|
* Fix api leaking notes when user is not authorized to read noteableFelipe Artur2016-05-091-0/+19
|
* Prevent privilege escalation via notes APIRobert Speicher2016-04-261-10/+31
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15577
* Allow back dating notes on creationMichael Greene2016-04-131-0/+13
|
* Adapt tests to new testing guidelinesRobert Schilling2016-04-121-6/+6
|
* Fix code review issuesRobert Schilling2016-04-121-1/+19
|
* Delete notes via APIRobert Schilling2016-04-121-0/+43
|
* Add pagination headers to already paginated API resourcesadd-pagination-headers-to-apiRémy Coutable2016-01-141-0/+4
|
* Fix specs and rubocop warningsfix/private-referencesRémy Coutable2016-01-141-5/+6
|
* Ensure the API doesn't return notes that the current user shouldn't seeRémy Coutable2016-01-131-0/+51
|
* Updated rspec to rspec 3.x syntaxJeroen van Baarsen2015-02-121-39/+39
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Implemented notes (body) patching in API.uran2014-12-251-0/+54
|
* Remove rails observers from applicationDmitriy Zaporozhets2014-06-171-7/+0
|
* Fix api specsDmitriy Zaporozhets2014-06-131-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Delete wall notes testsDmitriy Zaporozhets2014-06-131-50/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Added API testing groupJeroen van Baarsen2014-04-111-1/+1
|
* Fixing unsafe use of Thread.current variable :current_userAngus MacArthur2013-10-161-0/+12
|
* Drop support of root namespace in modelHiroyuki Sato2013-09-171-0/+2
|
* Merge Request on forked projectsIzaak Alpert2013-07-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The good: - You can do a merge request for a forked commit and it will merge properly (i.e. it does work). - Push events take into account merge requests on forked projects - Tests around merge_actions now present, spinach, and other rspec tests - Satellites now clean themselves up rather then recreate The questionable: - Events only know about target projects - Project's merge requests only hold on to MR's where they are the target - All operations performed in the satellite The bad: - Duplication between project's repositories and satellites (e.g. commits_between) (for reference: http://feedback.gitlab.com/forums/176466-general/suggestions/3456722-merge-requests-between-projects-repos) Fixes: Make test repos/satellites only create when needed -Spinach/Rspec now only initialize test directory, and setup stubs (things that are relatively cheap) -project_with_code, source_project_with_code, and target_project_with_code now create/destroy their repos individually -fixed remote removal -How to merge renders properly -Update emails to show project/branches -Edit MR doesn't set target branch -Fix some failures on editing/creating merge requests, added a test -Added back a test around merge request observer -Clean up project_transfer_spec, Remove duplicate enable/disable observers -Ensure satellite lock files are cleaned up, Attempted to add some testing around these as well -Signifant speed ups for tests -Update formatting ordering in notes_on_merge_requests -Remove wiki schema update Fixes for search/search results -Search results was using by_project for a list of projects, updated this to use in_projects -updated search results to reference the correct (target) project -udpated search results to print both sides of the merge request Change-Id: I19407990a0950945cc95d62089cbcc6262dab1a8
* Merge branch 'gist' of https://github.com/Andrew8xx8/gitlabhq into ↵Dmitriy Zaporozhets2013-06-041-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Andrew8xx8-gist Conflicts: Gemfile.lock app/models/ability.rb app/models/project.rb app/views/snippets/_form.html.haml db/schema.rb features/steps/shared/paths.rb spec/factories.rb spec/models/project_spec.rb
| * Tests fixedAndrew8xx82013-03-251-1/+1
| |
* | Refactor API classes. So api classes like Gitlab::Issues become API::IssuesDmitriy Zaporozhets2013-05-141-1/+1
|/
* Merge branch 'master' into fixes/api, code clean up and tests fixedSebastian Ziebell2013-03-071-14/+0
|\ | | | | | | | | | | Conflicts: doc/api/projects.md spec/requests/api/projects_spec.rb
* | API: fixes return codes for notes, documentation updatedSebastian Ziebell2013-02-201-1/+45
| | | | | | | | | | | | The notes API documentation updated with return codes. API now returns `400 Bad Request` if required attributes are not present. Return codes are documented now, also tested in added tests. The documentation now reflects the current state of the API.
* | Merge branch 'master' into fixes/apiSebastian Ziebell2013-02-081-0/+11
|\ \ | |/
| * add specs for api -> merge request notesDmitriy Zaporozhets2013-01-311-0/+11
| |
* | Status code 400 is returned if body is missing on note creation.Sebastian Ziebell2013-02-061-0/+30
|/ | | | | | | If a note is created with a POST request via API (`/projects/:id/notes`) status code 400 is returned instead of 404. The resource itself exists but the request is incomplete. Specs added to check different status codes when accessing, creating and updating notes.
* Rspec fixesDmitriy Zaporozhets2013-01-041-1/+1
|
* Fix few bugs and tests after refactoring ownership logicDmitriy Zaporozhets2013-01-021-1/+1
|
* API: get a single wall noteNihad Abbasov2012-12-011-0/+8
|
* API: ability to create a wall noteNihad Abbasov2012-11-291-0/+8
|
* API: create new notesNihad Abbasov2012-11-291-0/+20
|
* API: get a single noteNihad Abbasov2012-11-291-2/+20
|
* API: list wall, snippet and issue notesNihad Abbasov2012-11-291-0/+52