summaryrefslogtreecommitdiff
path: root/features/project
Commit message (Collapse)AuthorAgeFilesLines
* Move Project Members link from Settings to main menu.Nicolas2015-06-091-7/+5
| | | | Addresses #2278.
* Support editing target branch of merge requestStan Hu2015-05-291-0/+8
| | | | | Closes https://github.com/gitlabhq/gitlabhq/issues/7105 See: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/130
* Fix project snippets button appearing when it is disabledStan Hu2015-05-271-0/+5
| | | | Closes #1705
* Merge branch 'accepted-rejected-mrs' into 'master'Dmitriy Zaporozhets2015-05-271-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Accepted and Rejected tabs to MR lists. Before, MRs were referred to as Merged or Closed, but the Merge button on the MR page read "Accept Merge Request", the activity feed even read "X accepted merge request Y", and the Closed tab on the MR index included both Merged _and_ Closed MRs. I've changed every occurrence to consistently refer to MRs as either Accepted or Rejected, which is less technical and more clearly two opposites. ![Screen_Shot_2015-05-25_at_17.02.31](https://gitlab.com/gitlab-org/gitlab-ce/uploads/b0bf43aa1b5b9898a1c6b204dbcf669a/Screen_Shot_2015-05-25_at_17.02.31.png) ![Screen_Shot_2015-05-25_at_17.02.47](https://gitlab.com/gitlab-org/gitlab-ce/uploads/2ac05b1e1dba3b2d1692bd9242078f3a/Screen_Shot_2015-05-25_at_17.02.47.png) ![Screen_Shot_2015-05-25_at_17.03.03](https://gitlab.com/gitlab-org/gitlab-ce/uploads/4c0f0fa869c9130a6af18d80a1c6ebed/Screen_Shot_2015-05-25_at_17.03.03.png) Addresses internal issue https://dev.gitlab.org/gitlab/gitlabhq/issues/2201. See merge request !702
| * Update specs.accepted-rejected-mrsDouwe Maan2015-05-251-2/+2
| |
* | Validate wiki page creationJeroen van Baarsen2015-05-261-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **What does this do?** It adds validation to the creation of a wiki page, that way the user gets real feedback instead of just a 404 page if the name of the wiki page was invalid **Why is this needed?** There are a lot of characters that are not allowed in the creation of a wiki page, there is even a small text that is saying: Please don't use spaces. Although we have that text there, we don't actually validate on this. This commit adds validation on the title and gives the user actual feedback. **What issues does this fix?** Fixes http://github.com/gitlabhq/gitlabhq/issues/5357 Fixes https://github.com/gitlabhq/gitlabhq/issues/8565 Fixes https://github.com/gitlabhq/gitlabhq/issues/3913 Fixes https://github.com/gitlabhq/gitlabhq/issues/8166 Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* | Disable "New Issue" and "New Merge Request" buttons when features are ↵Stan Hu2015-05-251-0/+6
|/ | | | | | disabled in project settings Closes #1676
* Use the user list from the target project in a merge requestStan Hu2015-05-221-0/+12
| | | | Closes #1535
* Don't show duplicate deploy keys. Fixes #1516Maran2015-05-081-3/+4
|
* Remove feature tests for old task listsRobert Speicher2015-05-062-69/+4
|
* Fix DB error when trying to tag a repositoryStan Hu2015-04-271-0/+7
| | | | | | | | | | | | | | | | Upon tagging a repository, an error due to a missing migration occurred: ``` PG::Error: ERROR: column "taggings_count" does not exist LINE 1: UPDATE "tags" SET "taggings_count" = COALESCE("taggings_coun... ``` Ran `rake acts_as_taggable_on_engine:install:migrations`, removed the first migration that created the `tags` and `taggings` table, and added the rest. Closes #1512 Closes https://github.com/gitlabhq/gitlabhq/issues/6867 Closes https://github.com/gitlabhq/gitlabhq/issues/9194
* Change "Sam" to "Dmitriy" in feature stepsrs-sam-to-dmitriyRobert Speicher2015-04-231-8/+8
| | | | | "Sam" was too short and generic and caused invalid test failures due to finding other people with names like "Sammie" or "Samuel" unexpectedly.
* Add feature tests for inviting members.Douwe Maan2015-04-141-0/+6
|
* Merge branch 'public-deploy-keys' into 'master'Dmitriy Zaporozhets2015-04-131-2/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 project deploy keys tests.Douwe Maan2015-04-031-2/+19
| |
* | Move current user to the top of the list in author/assignee filtersStan Hu2015-04-091-0/+6
| | | | | | | | Closes #1321
* | 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.