summaryrefslogtreecommitdiff
path: root/features
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Remove timing dependency on testStan Hu2015-04-141-2/+1
| |/ | | | | | | See: http://www.elabs.se/blog/53-why-wait_until-was-removed-from-capybara
* | Revert help link tests removalDmitriy Zaporozhets2015-04-153-0/+12
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* fix failing testHannes Rosenögger2015-04-132-0/+7
|
* The help link has been removed. The commit removes the test for it.Hannes Rosenögger2015-04-133-19/+0
|
* Merge branch 'public-deploy-keys' into 'master'Dmitriy Zaporozhets2015-04-134-3/+122
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow admin to create public deploy keys that are accessible to any project. Addresses private issue https://dev.gitlab.org/gitlab/gitlabhq/issues/1774. Project settings: ![Screen_Shot_2015-03-27_at_14.46.48](https://gitlab.com/gitlab-org/gitlab-ce/uploads/01799ff912671ba6db3f828ea1aca1a6/Screen_Shot_2015-03-27_at_14.46.48.png) The "Public deploy keys" section is only shown when there are any. If there are public deploy keys but no project deploy keys, only public deploy keys are shown. If there are no public deploy keys and no project deploy keys, the current "Deploy keys from projects you have access to will be displayed here" placeholder is shown. The list of projects below the public key has been changed to only show projects the user has access to. "Public deploy key" seems to be repeated on the left, but the first is just the title. The label is always visible for public deploy keys. Admin index: ![Screen_Shot_2015-03-27_at_14.47.06](https://gitlab.com/gitlab-org/gitlab-ce/uploads/ea889d274cfd3f0694d47d602f4f3e94/Screen_Shot_2015-03-27_at_14.47.06.png) Admin detail page: ![Screen_Shot_2015-03-27_at_14.47.16](https://gitlab.com/gitlab-org/gitlab-ce/uploads/8c8475e05bf6b497da3b9f1bc102329f/Screen_Shot_2015-03-27_at_14.47.16.png) Projects using the deploy key are listed on the left and can be disabled easily. See merge request !469
| * Add admin deploy keys tests.public-deploy-keysDouwe Maan2015-04-032-0/+78
| |
| * Add project deploy keys tests.Douwe Maan2015-04-032-3/+44
| |
* | Move current user to the top of the list in author/assignee filtersStan Hu2015-04-093-0/+25
| | | | | | | | Closes #1321
* | Fix bug where Wiki pages that include a '/' were no longer accessibleStan Hu2015-04-072-0/+60
| | | | | | | | Closes #1363
* | Merge remote-tracking branch 'github.com/master'Douwe Maan2015-04-041-1/+1
|\ \ | |/ |/|
| * Fix and improve help renderingSullivan SENECHAL2015-04-031-1/+1
| |
* | Merge branch 'configurable-attachment-size' into 'master'Douwe Maan2015-04-032-0/+7
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-022-0/+7
| | | | | | | | | | | | 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-302-0/+34
| |
* | Refactor star btn logic for non-logged in user and fix testsDmitriy Zaporozhets2015-03-292-3/+7
|/
* Fix tests and unassigned filter for issues. Updated CHANGELOGDmitriy Zaporozhets2015-03-276-50/+17
|
* Fix broken side-by-side diff view on merge request pageStan Hu2015-03-252-0/+21
| | | | Closes #1294
* Fix code unfold not working on Compare commits pageStan Hu2015-03-242-0/+15
| | | | Closes #1274
* 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
| | |