summaryrefslogtreecommitdiff
path: root/features/steps
Commit message (Collapse)AuthorAgeFilesLines
* Add admin deploy keys tests.public-deploy-keysDouwe Maan2015-04-031-0/+57
|
* Add project deploy keys tests.Douwe Maan2015-04-031-1/+25
|
* Merge branch 'configurable-attachment-size' into 'master'Douwe Maan2015-04-031-0/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support configurable attachment size in Application Settings page ### What does this MR do? This MR provides the ability to configure the maximum size of an attachment inside a note. A parameter has been added to the Application Settings page. ### Are there points in the code the reviewer needs to double check? What should be done with the legacy note attachment validation? I added code to make the validation work with the configurable setting. I could see an issue where an admin lowers the limit from 10 megabytes to 5 megabytes, which could cause an existing model to be invalid. ### Why was this MR needed? We often have attachments that exceed 10 MB, and it would be nice to be able to override the defaults. ### What are the relevant issue numbers / [Feature requests](http://feedback.gitlab.com/)? See Issue #1258 ### Screenshots Before: ![Screen_Shot_2015-03-29_at_3.06.53_PM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/6013a1dbc8cf61a63e93744149937fa0/Screen_Shot_2015-03-29_at_3.06.53_PM.png) After: ![Screen_Shot_2015-03-29_at_3.12.34_PM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/f3518af7e8653ba40f0a3579456da6ad/Screen_Shot_2015-03-29_at_3.12.34_PM.png) See merge request !407
| * Support configurable attachment size via Application SettingsStan Hu2015-04-021-0/+6
| | | | | | | | | | | | Fix bug where error messages from Dropzone would not be displayed on the issues page Closes #1258
* | Merge branch 'username-period' into 'master'Dmitriy Zaporozhets2015-04-021-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | Don't allow username to end in period. The current behavior doesn't do username referencing and mentioning in sentences like "I discussed with with @douwe." since `douwe.` is matched as a username. Addresses private issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2174. See merge request !438
| * Fix tests.Douwe Maan2015-03-271-1/+1
| |
* | Fix adding new members to groupDmitriy Zaporozhets2015-03-301-0/+26
| |
* | Refactor star btn logic for non-logged in user and fix testsDmitriy Zaporozhets2015-03-291-2/+6
|/
* Fix tests and unassigned filter for issues. Updated CHANGELOGDmitriy Zaporozhets2015-03-273-45/+12
|
* Fix broken side-by-side diff view on merge request pageStan Hu2015-03-251-0/+14
| | | | Closes #1294
* Fix code unfold not working on Compare commits pageStan Hu2015-03-241-0/+12
| | | | Closes #1274
* Merge branch 'improve-contributions-calendar' into 'master'Dmitriy Zaporozhets2015-03-231-0/+33
|\ | | | | | | | | | | | | | | | | | | | | 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-221-0/+35
| |
* | Include missing events and fix save functionality in admin service template ↵Stan Hu2015-03-231-0/+29
| | | | | | | | | | | | settings form Closes #1275
* | Fix "Import projects from" button to show the correct instructionsStan Hu2015-03-221-0/+27
|/ | | | 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-172-0/+26
|\ | | | | | | | | | | | | | | | | | | | | | | 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-162-0/+26
| |
* | Fix failing specs.Douwe Maan2015-03-151-1/+3
| |
* | Use same layout and interactivity for project members as group members.Douwe Maan2015-03-151-8/+13
| |
* | 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-121-0/+4
| | | | | | | 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
* Rename dashboard landing page to Your projectsDmitriy Zaporozhets2015-03-101-1/+1
|
* Remove projects page from dashboardDmitriy Zaporozhets2015-03-101-11/+0
|
* Fix test for creating group from dashboardDmitriy Zaporozhets2015-03-102-19/+19
|
* Add tests for starred projects pageDmitriy Zaporozhets2015-03-092-0/+19
|
* Move Profile groups tests to Dashboard group testsDmitriy Zaporozhets2015-03-082-9/+9
|
* Spelling change Commit StatisticsSabba Petri2015-03-031-1/+1
|
* Merge branch 'fix-edit-note-with-votes' into 'master'Marin Jankovski2015-03-031-0/+17
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-021-0/+17
| | | | | | | | 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-011-0/+17
| |/ |/| | | | | | | | | | | | | | | | | 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-251-1/+14
|\ \ \ \ | |/ / / | | | | | | | | | | | | # Conflicts: # app/controllers/files_controller.rb
| * | | WebEditor: save to new branch: spinachValery Sizov2015-02-241-1/+14
| |/ /
* | | 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-194-11/+11
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| |/ / |/| |