summaryrefslogtreecommitdiff
path: root/features/project
Commit message (Collapse)AuthorAgeFilesLines
* Add unfold links for Side-by-Side viewTim Masliuchenko2016-08-041-0/+9
|
* Add a spec for #20079.Timothy Andrew2016-07-221-0/+6
| | | | | The issue was fixed in 2ba5e62. The spec is going in separately just so the fix could go in as soon as possible.
* Revert "Merge branch 'gl-dropdown-issuable-form' into 'master'"revert-bdb6f1e6Douwe Maan2016-07-151-1/+0
| | | This reverts merge request !4970
* Merge branch 'revert-lock-for-issuable' into 'master' Robert Speicher2016-07-151-1/+1
|\ | | | | | | | | | | | | | | | | Revert "Optimistic locking for Issue and Merge Requests" The migration to add `lock_version` in !5146 to every issue and merge request takes too long on GitLab.com since it has to add a default value of 0 to every row. Unfortunately, Rails 4.2 doesn't work properly if the value is left as `nil`; anything using optimistic locking cannot be edited. This bug was fixed in Rails 5.0 via this commit: https://github.com/rails/rails/commit/13772bfa49325a8dc26410d2dcb555665a320f92. I suggest we revert this change for now, and when we upgrade to Rails 5.0 we can reintroduce this feature. See merge request !5245
| * Revert "Optimistic locking for Issue and Merge Requests"revert-lock-for-issuableStan Hu2016-07-131-1/+1
| | | | | | | | This reverts commit c39356998b1850f3dc26fe0b987cb419c1d1afb4.
* | Merge branch 'gl-dropdown-issuable-form' into 'master' Jacob Schatz2016-07-151-0/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | GL dropdowns in issuable form ## What does this MR do? Changed all the issuable dropdown menus over to user GL dropdowns. This brings the dropdowns to be inline with the issuable filter dropdowns and allows for labels to be created whilst creating/editing an issuable. ## What are the relevant issue numbers? Closes #12574 ## Screenshots (if relevant) See merge request !4970
| * Updated testsPhil Hughes2016-07-071-0/+1
| |
* | Optimistic locking for Issue and Merge RequestsValery Sizov2016-07-121-1/+1
| |
* | Merge branch 'master' into faster-diffsfaster-diffsJacob Schatz2016-07-112-12/+0
|\ \
| * | Disable overflow messagesSean McGivern2016-07-081-5/+0
| | | | | | | | | | | | | | | With the option to expand and collapse individual diffs, these aren't needed any more.
| * | Updated testsPhil Hughes2016-07-051-7/+0
| |/
* | Diffs will create button/diff form on demand no on server sideJacob Schatz2016-07-061-4/+0
|/
* Fixed logout testsPhil Hughes2016-06-281-1/+1
|
* Rename Repo -> Repositoryrename-code-to-repoStan Hu2016-06-212-18/+18
|
* Rename Code -> Repo in feature specsStan Hu2016-06-202-18/+18
|
* Render only issues/mr in subnav depends on contextDmitriy Zaporozhets2016-06-101-4/+8
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'zj-workhorse-to-serve-diffs' into 'master' 14722-searching-for-usernames-should-only-be-possible-for-search-strings-with-a-valid-formatJacob Vosmaer (GitLab)2016-06-071-12/+0
|\ | | | | | | | | | | | | | | | | Workhorse to serve raw diffs Fixes (partially) #13999 Dependent on: gitlab-org/gitlab-workhorse!45 See merge request !4130
| * Workhorse to serve raw diffsZeger-Jan van de Weg2016-06-031-12/+0
| |
* | Remove prev/next buttons on issues and merge requests18026-consider-removing-issue-merge-request-previous-next-buttonsAlejandro Rodríguez2016-06-062-9/+0
|/ | | | The buttons were rarely used and added at least 1 query each on every page load.
* Fix more tests with new Code tabDmitriy Zaporozhets2016-06-031-3/+5
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Update tests to match new Code tab logicDmitriy Zaporozhets2016-06-031-18/+19
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor. Add tests.Josh Frye2016-06-021-0/+1
|
* Modify tests to match new navigation behaviour for project pagesDmitriy Zaporozhets2016-05-162-21/+6
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add integration specs for tagsRémy Coutable2016-05-101-46/+0
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Backport changes from gitlab-org/gitlab-ee!372rs-backport-ee-372Robert Speicher2016-05-041-14/+2
| | | | Mostly replaces several Spinach tests with RSpec Feature tests.
* Updated tests for deploy keysproject-deploy-keys-uiPhil Hughes2016-04-251-1/+0
|
* Merge branch 'multi-filter-labels' into 'master' Jacob Schatz2016-04-201-0/+1
|\ | | | | | | | | | | | | Mutliple label filter Fixes #989 See merge request !3438
| * fix failing testsArinde Eniola2016-04-141-0/+1
| |
* | Fix specsRémy Coutable2016-04-181-13/+0
|/ | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'mr-ui-update' into 'master' Jacob Schatz2016-04-112-0/+2
|\ | | | | | | | | | | | | | | | | | | | | Updated UI for new merge request Closes #2540 ![Screen_Shot_2016-03-29_at_12.53.18](/uploads/426e603675171f0dc4e0af83c7762eba/Screen_Shot_2016-03-29_at_12.53.18.png) ![Screen_Shot_2016-03-29_at_12.53.13](/uploads/645ad7955acfb9f7693245fcc048ee49/Screen_Shot_2016-03-29_at_12.53.13.png) See merge request !3228
| * Fixed buildsPhil Hughes2016-04-062-0/+2
| |
* | Revert "Merge branch 'new-navigation-prototype' into 'master'"Jacob Schatz2016-04-071-0/+9
|/ | | This reverts merge request !3494
* Remove tests with back buttonDmitriy Zaporozhets2016-04-011-9/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Create SSH keys for SSH clone Spinach testsissues-show-performanceYorick Peterse2016-03-211-0/+1
| | | | | | | | | | These tests would check if the "This project is empty" banner would contain SSH clone URLs. Oddly enough this should have never passed (as far as I can tell) as SSH clone URLs in this banner are _only_ displayed if the current user has at least 1 SSH key attached. Since the tests never seem to create any they never should have passed, yet somehow they did. To solve this the Spinach tests in question now ensure at least 1 SSH key is present.
* Added testPhil Hughes2016-03-181-0/+8
|
* Improve award emoji test reliability by checking that the emoji is displayedStan Hu2016-03-171-4/+7
| | | | before the search field is focused
* Improving the original label-subscribing implementationRémy Coutable2016-03-151-7/+6
| | | | | | | 1. Make the "subscribed" text in Issuable sidebar reflect the labels subscription status 2. Current user mut be logged-in to toggle issue/MR/label subscription
* Original implementation to allow users to subscribe to labelsTimothy Andrew2016-03-151-0/+16
| | | | | | | | | | | | | | | | | | 1. Allow subscribing (the current user) to a label - Refactor the `Subscription` coffeescript class - The main change is that it accepts a container, and conducts all DOM queries within its scope. We need this because the labels page has multiple instances of `Subscription` on the same page. 2. Creating an issue or MR with labels notifies users subscribed to those labels - Label `has_many` subscribers through subscriptions. 3. Adding a label to an issue or MR notifies users subscribed to those labels - This only applies to subscribers of the label that has just been added, not all labels for the issue.
* Merge branch 'fix/13928-wrong-iid-of-max-iid' into 'master' Douwe Maan2016-03-151-1/+8
|\ | | | | | | | | | | | | | | Fixes "iid of max iid" in Issuable sidebar for merged MR Fixes #13928. See merge request !3046
| * Fixes "iid of max iid" in Issuable sidebar for merged MRfix/13928-wrong-iid-of-max-iidRémy Coutable2016-03-081-1/+8
| | | | | | | | Fixes #13928
* | Merge branch 'share-project-ce' into 'master' Dmitriy Zaporozhets2016-03-142-0/+21
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bring from EE: Share Project with Group - [x] Models and migrations - [x] Logic, UI - [x] Tests - [x] Documentation - [x] Share with group lock - [x] Api feature - [x] Api docs - [x] Api tests Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> For #12831 cc @DouweM @rspeicher @vsizov See merge request !3186
| * | Bring shared project feature tests from EEDmitriy Zaporozhets2016-03-121-0/+5
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Add finders logic and tests for shared projects featureDmitriy Zaporozhets2016-03-111-0/+16
| |/ | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Remove sleeps from network graph feature specStan Hu2016-03-131-1/+2
|/
* Remove redundant integration testsRobert Speicher2016-03-072-27/+0
| | | | | | | | | | These three tests were essentially checking that adding a note to something updated its `noteable`'s `updated_at` attribute. This is well-tested Rails behavior and we shouldn't feel the need to write an integration test to verify it. At most we should be ensuring that the association definition adds the `touch: true` option, which we now do in Note's unit test.
* Merge branch 'indicate-mr-diverged-from-target' into 'master' Douwe Maan2016-03-071-0/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Indicate when an MR diverged from the target branch This adds an indicator to the "Merge MR" box, to tell if and how much an MR diverged from its target branch. For instance, consider an MR to merge the branch `feature` into `master`. Some other commits were added to `master` since `feature` was created, and the two branches diverged. ```text o master | o o feature | | o o | / o ``` In this case, there will be a label in the MR Merge box stating: > This MR is by 3 commits behind the target branch `master`. ## Screenshots ### The branch diverged from the target (UI Proposal) ![UI_suggestion_1](/uploads/cd5bee3959e68026ec7d5097259d53f4/UI_suggestion_1.png) ### The branch diverged from the target (alternative UI Proposal) ![UI_suggestion_2](/uploads/f36977101b59a610850e129837dfbc83/UI_suggestion_2.png) ## How is this useful? - In a _rebase-workflow_ (MR are preferably rebased before being merged), the reviewer wants to know if an MR is rebased on the target branch before merging it. _With this indicator, the reviewer knows immediately if the branch is rebased, or if she needs to ask the committer to rebase its branch._ <br> - To keep the git history readable, a team prefers to avoid merging branches that really lag a lot behind the target branch. Merging an MR that is 10 commits behind is fine, but 200 is too much. _With this indicator, the reviewer can see on the MR page if the branch is really far behind the target – or only a few commits behind._ ## Open questions We've been using this at @captaintrain for a few months now, and found it quite useful. I guess the open-questions are mostly: what UI would be the more adequate? Any thoughts on this, on the general usefulness and/or on the code? See merge request !2217
| * Indicate how much an MR branch diverges from the target branchPierre de La Morinerie2016-03-031-0/+10
| |
* | Invalidate cache for builds badgeGrzegorz Bizon2016-03-041-0/+5
|/ | | | Closes #13982
* Merge branch 'issue_13621' into 'master' Douwe Maan2016-02-291-0/+1
|\ | | | | | | | | | | | | Don't repeat labels listed on Labels tab. Fixes #13622 See merge request !2924
| * Don't repeat labels listed on Labels tab.issue_13621Rubén Dávila2016-02-221-0/+1
| |