summaryrefslogtreecommitdiff
path: root/features/project
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix bug where Wiki pages that include a '/' were no longer accessibleStan Hu2015-04-071-0/+24
|/ | | | Closes #1363
* Support configurable attachment size via Application SettingsStan Hu2015-04-021-0/+1
| | | | | | Fix bug where error messages from Dropzone would not be displayed on the issues page Closes #1258
* Refactor star btn logic for non-logged in user and fix testsDmitriy Zaporozhets2015-03-291-1/+1
|
* Fix tests and unassigned filter for issues. Updated CHANGELOGDmitriy Zaporozhets2015-03-271-5/+1
|
* Fix broken side-by-side diff view on merge request pageStan Hu2015-03-251-0/+7
| | | | Closes #1294
* Fix code unfold not working on Compare commits pageStan Hu2015-03-241-0/+3
| | | | Closes #1274
* Merge branch 'issue_subscription' into 'master'Dmitriy Zaporozhets2015-03-172-0/+15
|\ | | | | | | | | | | | | | | | | | | | | | | Subscription to issue/mr Fixes #1911 and #1909 ![joxi_screenshot_1426601822159](https://dev.gitlab.org/gitlab/gitlabhq/uploads/53021bc5783271322ab2dfba7598eaa3/joxi_screenshot_1426601822159.png) ![joxi_screenshot_1426601836423](https://dev.gitlab.org/gitlab/gitlabhq/uploads/244ff360fbd6f30980f8dad699400814/joxi_screenshot_1426601836423.png) See merge request !1702
| * testsValery Sizov2015-03-162-0/+15
| |
* | Use same layout and interactivity for project members as group members.Douwe Maan2015-03-151-1/+1
|/
* Implement merge requests searchDmitriy Zaporozhets2015-03-121-0/+7
| | | | | | | It is same search like we have at issues page. It allows to quickly filter merge requests based on title or desription. I copy-pasted some js code from Issues.js. In future search (filtering) logic should be refactoed into one class for merge requests and issues
* Remove tests for un-existing pageDmitriy Zaporozhets2015-03-101-9/+0
|
* Merge branch 'fix-edit-note-with-votes' into 'master'Marin Jankovski2015-03-032-0/+15
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix server error when editing a note to "+1" or "-1" ### Summary If a user edits a comment with "+1" or "-1" in the beginning, the POST returns an Internal Server error. (issue #1151). This merge request resolves that error. ### Steps to reproduce 1. Comment on an issue with "Test comment". 2. Edit the issue. 3. Write "+1" and click "Save Comment". ### Expected behavior The edited note should be saved and refreshed. Any previous upvotes/downvotes from the user should contain a strikethrough. ### Observed behavior Internal Error ### Relevant logs ``` Started PUT "/avocode/avocode-manager/notes/4996" for 185.33.136.107 at 2015-02-28 17:11:53 +0100 Processing by Projects::NotesController#update as JS Parameters: {"utf8"=>"✓", "authenticity_token"=>"*removed*", "note"=>{"note"=>"+1\r\n\r\nYes"}, "commit"=>"Save Comment", "project_id"=>"avocode/avocode-manager", "id"=>"4996"} Completed 500 Internal Server Error in 86ms ActionView::Template::Error (undefined method `each' for nil:NilClass): 28: %span.note-last-update 29: = note_timestamp(note) 30: 31: - if note.superceded?(@notes) 32: - if note.upvote? 33: %span.vote.upvote.label.label-gray.strikethrough 34: %i.fa.fa-thumbs-up app/models/note.rb:495:in `superceded?' app/views/projects/notes/_note.html.haml:31:in `_app_views_projects_notes__note_html_haml___812277000516355462_69988235638820' app/controllers/projects/notes_controller.rb:71:in `note_to_html' app/controllers/projects/notes_controller.rb:103:in `render_note_json' app/controllers/projects/notes_controller.rb:39:in `block (2 levels) in update' app/controllers/projects/notes_controller.rb:38:in `update' ``` ### Fix It turns out no tests were present for the "Edit Issue" functionality. I added spinach tests to exercise this and reproduced the error. Most of the routes in `notes_controller.rb` appear to render all notes for the given discussion. `_form.html.haml` needs the full list of notes commented by the user to add strikethroughs for older upvotes/downvotes. However, only the `index` route appeared to obtain this information. The fix is to add a `before_filter` to obtain all the user's notes beforehand, except in the delete case where this information is not needed. Things to watch: `NotesFinder` needs `target_type` and `target_id` to determine what to do. I'm not sure if there is a conscious effort to phase these keywords out in favor of `noteable_type` and `noteable_id`. See merge request !360
| * Fix bug where editing a comment with "+1" or "-1" would cause a server errorStan Hu2015-03-022-0/+15
| | | | | | | | Closes #1151
* | Add Irker serviceAorimn2015-03-011-0/+6
|/ | | | | | | | | | Irker is a gateway which sends IRC messages on git updates. This new service provides an interface to this gateway, integrated in Gitlab, for each updates. As per the guidelines, this commit adds the new feature in the CHANGELOG, tests and documentation. See http://www.catb.org/esr/irker/
* WebEditor: save to new branch: spinachValery Sizov2015-02-241-0/+22
|
* Fix active tab testsDmitriy Zaporozhets2015-02-191-11/+6
|
* Add Asana serviceJeremy2015-02-021-1/+6
| | | | Also add ability to render "service.help" in markdown
* Set right test as trickyDmitriy Zaporozhets2015-01-291-2/+2
|
* Skip tricky test for semaphoreDmitriy Zaporozhets2015-01-291-1/+1
|
* Merge branch 'init-from-ui' into 'master'Dmitriy Zaporozhets2015-01-271-0/+13
|\ | | | | | | | | | | | | | | Add tests for creating bare repo and first file in UI Part of #1930 See merge request !1444
| * Add tests for initializing bare repo and creating new file in itDmitriy Zaporozhets2015-01-271-0/+13
| |
* | Merge branch 'master' into move_external_issue_tracker_away_from_yml_configMarin Jankovski2015-01-261-0/+13
|\ \ | |/ | | | | | | | | Conflicts: app/models/project.rb spec/models/project_spec.rb
| * adding avatar to project settings page added avatar removal show project ↵Steven Thonus2015-01-241-0/+13
| | | | | | | | avatar on dashboard, projects page, project page added rspec and feature tests added project avatar from repository new default project icon added added copying af avatar to forking of project added generated icon fixed avatar fork hound fix style fix test fix
* | Remove unused feature steps.Marin Jankovski2015-01-261-18/+0
|/
* Merge pull request #7905 from cirosantilli/visible-falseDmitriy Zaporozhets2015-01-152-11/+0
|\ | | | | Change always passing visible false tests.
| * Change always passing visible true tests to false.Ciro Santilli2015-01-022-11/+0
| |
* | Add tests for disabled blob edit button cases.Ciro Santilli2014-12-301-0/+10
|/
* Teamcity interaction using 8.1 rest apiJason Lippert2014-12-231-0/+7
|
* Merge branch 'upstream-master' into markdown-previewVinnie Okada2014-12-074-1/+35
|\ | | | | | | | | Conflicts: spec/routing/project_routing_spec.rb
| * UI improvements mostly for mobile screensDmitriy Zaporozhets2014-12-021-1/+1
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * HipChat service: support custom serversDaniel Aquino2014-11-191-0/+6
| | | | | | | | | | | | HipChat allows users to run their own private servers and to be able to support those we must connect to the correct URL when using one of these custom servers.
| * Revert "gitlab shell works if multiple rubies installed"Dmitriy Zaporozhets2014-11-181-12/+14
| | | | | | | | This reverts commit 533f4cdf30b38c587f7a91f0dfd898b907ecd944.
| * Merge pull request #8340 from cirosantilli/multi-ruby-install-v2Dmitriy Zaporozhets2014-11-181-14/+12
| |\ | | | | | | Web edit and HTTPS push work if multiple Rubies installed v2
| | * gitlab shell works if multiple rubies installedCiro Santilli2014-11-181-14/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this it would fail because git hooks automatically prepend things to the path, which can lead the wrong Ruby version to be called in which dependencies are not installed. To make sure that this is correct, the forked_merge_requests commented out test that depends on this change was uncommented. For that test to pass, it is also necessary to setup the mock server on port 3001 under test_env.rb.
| * | Improve fork to namespaces featureDmitriy Zaporozhets2014-11-141-0/+2
| |/ | | | | | | | | | | | | | | * Show namespace thumbnail differently if project was already forked * Show loading spinner when click on fork * Fork link navigates to personal namespace only if no manageable groups exists Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Add Atlassian Bamboo serviceDrew Blessing2014-10-281-0/+6
| |
| * Use :message key, not :error for File::Service.Ciro Santilli2014-10-131-0/+20
| |
* | Fix more Markdown preview testsVinnie Okada2014-10-181-4/+4
| |
* | Add new Markdown preview testVinnie Okada2014-10-181-0/+7
| | | | | | | | | | Add a test to make sure that Markdown previews are available when editing an existing issue.
* | Fix Markdown preview testsVinnie Okada2014-10-183-11/+11
| | | | | | | | | | Update Spinach tests for Markdown previews for the new-ish tab UI that replaced the old preview/edit toggle button.
* | Refactor Markdown preview testsVinnie Okada2014-10-181-4/+4
| | | | | | | | | | | | Create a new shared module for common issue/merge request behavior, use `expect` syntax instead of `should`, and avoid `visible: false` in the `have_css` matcher.
* | Add Markdown preview to more formsVinnie Okada2014-10-152-0/+58
|/ | | | | Enable Markdown previews when creating and editing issues, merge requests, and milestones, and when editing notes.
* Merge pull request #7942 from cirosantilli/commit-changes-uppercaseDmitriy Zaporozhets2014-10-131-2/+2
|\ | | | | Make new and edit file submit more uniform
| * Make new and edit file submit more uniformCiro Santilli2014-10-081-2/+2
| |
* | Merge pull request #7979 from mr-vinn/refactor-tasksDmitriy Zaporozhets2014-10-082-3/+2
|\ \ | | | | | | Refactor task list tests and coffeescript
| * | Refactor task list tests and coffeescriptVinnie Okada2014-10-062-3/+2
| | |
* | | Upcase missing feature namesCiro Santilli2014-10-071-1/+1
| |/ |/|
* | Merge pull request #7964 from mr-vinn/task-listsMarin Jankovski2014-10-062-0/+66
|\ \ | |/ | | Add task lists to issues and merge requests
| * Add Spinach tests for task listsVinnie Okada2014-10-062-0/+66
| |
* | Preventing some duplication in MR feature tests by adding a different comment.Marin Jankovski2014-10-061-4/+2
|/