summaryrefslogtreecommitdiff
path: root/features
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'improve-contributions-calendar' into 'master'Dmitriy Zaporozhets2015-03-232-0/+42
|\ | | | | | | | | | | | | | | | | | | | | Replace commits calendar with contributions calendar * count opening of issues and merge requests * dont trigger git repository - use events from database * count pushes instead of commits for faster and easier counting * much-much faster since does not affected by repository size See merge request !420
| * Improve user calendar testimprove-contributions-calendarDmitriy Zaporozhets2015-03-221-3/+1
| |
| * Contribution calendar will use events instead of commits to count contributionsDmitriy Zaporozhets2015-03-221-1/+1
| |
| * Refactor contributions events and write tests for calendarDmitriy Zaporozhets2015-03-222-0/+44
| |
* | Include missing events and fix save functionality in admin service template ↵Stan Hu2015-03-232-0/+36
| | | | | | | | | | | | settings form Closes #1275
* | Fix "Import projects from" button to show the correct instructionsStan Hu2015-03-222-0/+40
|/ | | | Closes #1267
* Add location to user profileDmitriy Zaporozhets2015-03-201-0/+2
|
* Add tooltip for comment toggle in diff. Add changelog item and fix testsDmitriy Zaporozhets2015-03-181-2/+2
|
* Merge branch 'issue_subscription' into 'master'Dmitriy Zaporozhets2015-03-174-0/+41
|\ | | | | | | | | | | | | | | | | | | | | | | 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
| * improve UIValery Sizov2015-03-172-4/+4
| |
| * testsValery Sizov2015-03-164-0/+41
| |
* | Fix failing specs.Douwe Maan2015-03-151-1/+3
| |
* | Use same layout and interactivity for project members as group members.Douwe Maan2015-03-152-9/+14
| |
* | Move group members index from `/members` to `/group_members`.Douwe Maan2015-03-152-3/+3
| |
* | Move project members index from `/team` to `/project_members`Douwe Maan2015-03-151-1/+1
| |
* | Use `project_member` instead of `team_member`.Douwe Maan2015-03-151-1/+1
|/
* Implement merge requests searchDmitriy Zaporozhets2015-03-122-0/+11
| | | | | | | 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
|
* Fix tests for project removingDmitriy Zaporozhets2015-03-101-5/+0
|
* Rename dashboard landing page to Your projectsDmitriy Zaporozhets2015-03-101-1/+1
|
* Remove projects page from dashboardDmitriy Zaporozhets2015-03-102-20/+0
|
* Fix test for creating group from dashboardDmitriy Zaporozhets2015-03-104-27/+27
|
* Add tests for starred projects pageDmitriy Zaporozhets2015-03-093-0/+31
|
* Fix dashboard groups testDmitriy Zaporozhets2015-03-081-1/+1
|
* Move Profile groups tests to Dashboard group testsDmitriy Zaporozhets2015-03-083-17/+17
|
* Spelling change Commit StatisticsSabba Petri2015-03-031-1/+1
|
* Merge branch 'fix-edit-note-with-votes' into 'master'Marin Jankovski2015-03-033-0/+32
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-023-0/+32
| | | | | | | | Closes #1151
* | Merge branch 'link-to-button' of https://github.com/cirosantilli/gitlabhq ↵Dmitriy Zaporozhets2015-03-021-1/+1
|\ \ | | | | | | | | | | | | | | | | | | into cirosantilli-link-to-button Conflicts: app/views/shared/_issuable_filter.html.haml
| * | Convert Javascript links to buttons.Ciro Santilli2015-01-171-1/+1
| | |
* | | Add Irker serviceAorimn2015-03-012-0/+23
| |/ |/| | | | | | | | | | | | | | | | | 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/
* | Merge branch 'small_profile_changes' into 'master'Marin Jankovski2015-02-262-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes grammatical consistency and small changes This commit adds consistency to small things like periods, commas, and gives additional information to buttons and headers, etc. Fixes #2002, #2005, #2003. See merge request !1570
| * | Fixed testsSabba Petri2015-02-242-2/+2
| | | | | | | | | | | | Tests expected specific string capitalization for headers.
* | | Merge branch 'line-is-wrong-test' into 'master'Dmitriy Zaporozhets2015-02-261-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make test element selection more specific to fix constantly failing test. Fixes #2051. The problem was that there were two `.note-text` elements matching `.files [id^=diff]:nth-child(2) .note-text`, one for the new comment, and one for the (currently hidden) new comment form. The latter one was selected but currently invisible, triggering the following error in poltergeist: > The element you are trying to interact with is either not part of the DOM, or is not currently visible on the page (perhaps display: none is set). It's possible the element has been replaced by another element and you meant to interact with the new element. If so you need to do a new 'find' in order to get a reference to the new element. This caused the test to fail. See merge request !1592
| * | | Make test element selection more specific.Douwe Maan2015-02-251-3/+3
| | | |
* | | | Merge branch 'master' into extend_markdown_uploadDouwe Maan2015-02-252-1/+36
|\ \ \ \ | |/ / / | | | | | | | | | | | | # Conflicts: # app/controllers/files_controller.rb
| * | | WebEditor: save to new branch: spinachValery Sizov2015-02-242-1/+36
| |/ /
* | | Merge branch 'master' into extend_markdown_uploadDouwe Maan2015-02-2425-142/+148
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # app/views/projects/issues/_form.html.haml # app/views/projects/merge_requests/_form.html.haml # app/views/projects/merge_requests/_new_submit.html.haml # app/views/projects/milestones/_form.html.haml # app/views/projects/notes/_form.html.haml # app/views/projects/wikis/_form.html.haml # config/routes.rb # spec/controllers/projects_controller_spec.rb
| * | Improve sidebar menu for project settingsDmitriy Zaporozhets2015-02-231-1/+3
| | |
| * | Merge branch 'master' into rails-4.1.9Vinnie Okada2015-02-196-24/+19
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: app/views/dashboard/_project.html.haml app/views/events/event/_common.html.haml app/views/explore/projects/_project.html.haml app/views/groups/_projects.html.haml app/views/projects/_home_panel.html.haml app/views/projects/_issues_nav.html.haml app/views/projects/issues/_discussion.html.haml app/views/projects/issues/_issues.html.haml app/views/projects/issues/show.html.haml app/views/projects/merge_requests/_discussion.html.haml app/views/projects/merge_requests/_show.html.haml app/views/projects/milestones/index.html.haml app/views/projects/notes/_edit_form.html.haml app/views/shared/_issuable_filter.html.haml
| * | | Upgrade to Rails 4.1.9Vinnie Okada2015-02-1424-141/+145
| | | | | | | | | | | | | | | | | | | | | | | | Make the following changes to deal with new behavior in Rails 4.1.2: * Use nested resources to avoid slashes in arguments to path helpers.
* | | | Split up AttachmentUploader.Douwe Maan2015-02-203-3/+3
| |/ / |/| |
* | | Fix active tab testsDmitriy Zaporozhets2015-02-192-15/+10
| | |
* | | Revert "Fix broken access control and refactor avatar upload"Dmitriy Zaporozhets2015-02-193-3/+3
| | | | | | | | | | | | This reverts commit 7d5f86f6cbd187e75a6ba164ad6bfd036977dd07.
* | | Merge branch 'md-preview-class' into 'master'Dmitriy Zaporozhets2015-02-172-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure Markdown previews always use the same styling as the eventual destination. Font size, image width and code-block styling weren't accurate between the markdown preview and the issue/wiki/note body. See merge request !1514
| * | | Make sure Markdown previews always use the same styling as the eventual ↵Douwe Maan2015-02-172-3/+3
| |/ / | | | | | | | | | destination.
* | | Fix broken access control and refactor avatar uploadHannes Rosenögger2015-02-163-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit moves the note folder from /public/uploads/note to /uploads/note and changes the uploader accordingly. Now it's no longer possible to avoid the access control by modifing the url. The Avatar upload has been refactored to use an own uploader as well to cleanly seperate the two upload types.
* | | Fix specs.Douwe Maan2015-02-132-6/+6
|/ /
* | Fixed deprecation in spinach stubsJeroen van Baarsen2015-02-121-1/+1
| | | | | | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* | Fixed tests for spinachJeroen van Baarsen2015-02-121-1/+1
| | | | | | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>