summaryrefslogtreecommitdiff
path: root/spec/models/note_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Huge replace of old users_project and users_group referencesDmitriy Zaporozhets2014-09-141-7/+7
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Remove mass assgnment specsDmitriy Zaporozhets2014-06-261-2/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Re-annotate modelsDmitriy Zaporozhets2014-04-091-3/+3
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix tests that dont respect project-fork relationDmitriy Zaporozhets2014-04-031-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix bug with cross-reference note on commitDmitriy Zaporozhets2014-02-071-0/+10
| | | | | | | It should not set noteable_id if noteable_type is Commit We have Note#commit_id for this Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Make changes to testsDmitriy Zaporozhets2014-01-221-1/+1
| | | | | | | * project_with_code -> project * project -> ermpty_project Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add note for assignee changesDrew Blessing2014-01-061-0/+31
| | | | Change to username per @PixnBits suggestion
* added thumbsup and thumsdown emoji voting with rspec testsvagrant2013-11-281-0/+10
|
* Annotate!Dmitriy Zaporozhets2013-10-011-0/+1
|
* Link issues from comments and automatically close themash wilson2013-08-251-3/+105
| | | | | | | | | | Any mention of Issues, MergeRequests, or Commits via GitLab-flavored markdown references in descriptions, titles, or attached Notes creates a back-reference Note that links to the original referencer. Furthermore, pushing commits with commit messages that match a (configurable) regexp to a project's default branch will close any issues mentioned by GFM in the matched closing phrase. If accepting a merge request would close any Issues in this way, a banner is appended to the merge request's main panel to indicate this.
* ReannotateDmitriy Zaporozhets2013-08-211-2/+3
|
* Merge Request on forked projectsIzaak Alpert2013-07-171-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* AnnotatedDmitriy Zaporozhets2013-06-191-2/+2
|
* Fix notes model specsDmitriy Zaporozhets2013-01-151-2/+2
|
* Merge commit 'master' into discussionsRiyad Preukschas2013-01-151-7/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: app/assets/stylesheets/sections/notes.scss app/contexts/notes/load_context.rb app/models/project.rb app/observers/note_observer.rb app/roles/votes.rb app/views/commit/show.html.haml app/views/merge_requests/_show.html.haml app/views/merge_requests/diffs.js.haml app/views/merge_requests/show.js.haml app/views/notes/_note.html.haml features/steps/project/project_merge_requests.rb spec/models/note_spec.rb
| * Remove unused methodsDmitriy Zaporozhets2013-01-051-6/+0
| |
| * Fix some tests. Use travis-ci 1.9.2Dmitriy Zaporozhets2013-01-051-1/+1
| |
| * REpostiry, Team modelsDmitriy Zaporozhets2013-01-031-1/+2
| |
* | Merge branch 'master' into discussionsRiyad Preukschas2012-12-231-3/+3
|\ \ | |/ | | | | | | | | | | | | | | | | Conflicts: app/assets/stylesheets/main.scss app/models/project.rb app/views/notes/_common_form.html.haml app/views/notes/_per_line_form.html.haml lib/gitlab/markdown.rb spec/models/note_spec.rb
| * Split commit_id and noteable_id for NoteDmitriy Zaporozhets2012-12-181-5/+5
| |
* | Fix vote countingRiyad Preukschas2012-12-031-30/+56
|/
* Annotated. schema updatedDmitriy Zaporozhets2012-11-191-3/+3
|
* Remove backward compatibility of factories.Vincent Bonmalais2012-11-131-18/+18
|
* Make Note methods sanerRiyad Preukschas2012-10-131-2/+16
|
* AnnotatedDmitriy Zaporozhets2012-10-091-0/+16
|
* set activerecord whitelist_attributes to trueNihad Abbasov2012-09-261-0/+5
|
* Make notes recognize downvotesRiyad Preukschas2012-09-081-8/+15
|
* Update Note#upvote? to support emoji votingRobert Speicher2012-09-061-0/+10
|
* Add more coverage for model validations and associationsRobert Speicher2012-08-291-0/+2
|
* Remove annotations from specsRobert Speicher2012-08-291-16/+0
|
* Simple model spec changes made possible by new factoriesRobert Speicher2012-08-281-13/+8
|
* Fully embrace Ruby 1.9 hash syntaxRobert Speicher2012-08-101-17/+17
| | | | Didn't bother with files in db/, config/, or features/
* Reannotatedrandx2012-06-261-5/+5
|
* Add method to Note to create notes about status changes.Robb Kidd2012-06-201-0/+19
|
* Count +1 votes in issue notes.Ariejan de Vroom2012-03-141-6/+25
|
* Rspec test repo replaced.\nMerge Requests improvedDmitriy Zaporozhets2012-03-131-1/+1
|
* 4 roles permission systemDmitriy Zaporozhets2012-02-161-9/+7
|
* Commit diff fixes, per-line comments fixedDmitriy Zaporozhets2012-01-251-15/+1
|
* fixed commit commentingDmitriy Zaporozhets2012-01-211-3/+51
|
* new access rights implementedDmitriy Zaporozhets2011-12-071-9/+9
|
* Resolved issue #235Drew2011-11-181-1/+6
|
* annotatedDmitriy Zaporozhets2011-11-111-1/+1
|
* clean-up codeNihad Abbasov2011-10-261-16/+16
| | | | | | * Remove trailing whitespace * Converts hard-tabs into two-space soft-tabs * Remove consecutive blank lines
* init commitgitlabhq2011-10-091-0/+78