summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | Merge branch 'zj/gitlab-ce-unique-milestone-title-per-project'Douwe Maan2016-02-091-0/+14
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Validate uniqueness of milestone title per projectZeger-Jan van de Weg2016-02-081-0/+14
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | Fixes #3903
* | | | | | | Merge branch 'caching-repository-git-operations' into 'master' Yorick Peterse2016-02-092-3/+114
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | See merge request !2752
| * | | | | | | Cache various Repository Git operationscaching-repository-git-operationsYorick Peterse2016-02-082-3/+114
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This caches the output of the following methods: * Repository#empty? * Repository#has_visible_content? * Repository#root_ref The cache for Repository#has_visible_content? is flushed whenever a commit is pushed to a new branch or an existing branch is removed. The cache for Repository#root_ref is only flushed whenever a user changes the default branch of a project. The cache for Repository#empty? is never explicitly flushed as there's no need for it.
* | | | | | | Merge branch 'ci/improve-ci-build-api' into 'master' Kamil Trzciński2016-02-092-93/+55
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve CI builds API specs This modifies a CI Runners Builds API, to improve performance, and add few missing examples. Extracted from !2560 (cherry-picked + extended). cc @ayufan See merge request !2698
| * | | | | | Extract shared context level up in build specsci/improve-ci-build-apiGrzegorz Bizon2016-02-041-56/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also improve performance of specs by joining some of examples.
| * | | | | | Remove unmaintainable db schema comment from build factoryGrzegorz Bizon2016-02-041-27/+0
| | | | | | |
| * | | | | | Improve CI API specs related to operations on buildGrzegorz Bizon2016-02-042-21/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: spec/factories/ci/builds.rb
* | | | | | | Merge branch 'kkm/gitlab-ce-user-diff-view-pref-cookie' into 'master' Rémy Coutable2016-02-081-1/+27
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remember user's inline/tabular diff view preference in a cookie _Originally opened at !1677 by @kkm._ --- As per #3071, some users (we have a local EE installation) prefer 2-column view in diff. In this MR I add an implementation for this feature, using a cookie. Fixes #3071. See merge request !2723
| * | | | | | Add spec for assigning view param from cookiekkm/gitlab-ce-user-diff-view-pref-cookieRobert Speicher2016-02-051-5/+19
| | | | | | |
| * | | | | | Add a controller test for the new 'diff_view' cookieRémy Coutable2016-02-051-1/+13
| | |_|_|_|/ | |/| | | |
* | | | | | Project dropdown test span -> iPhil Hughes2016-02-051-1/+1
| | | | | |
* | | | | | Changed the project switcher dropdown togglePhil Hughes2016-02-051-2/+2
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | Moved the positioning of the dropdown to be more aligned with the title Closes #13219 and #13214
* | | | | Remove project-issuable-filter from admin builds page :)improve-nav-controlsDmitriy Zaporozhets2016-02-051-6/+6
|/ / / / | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | Allow link_to_label to take an optional type argrymai/gitlab-ce-3007-fix-mr-label-linksRémy Coutable2016-02-041-18/+15
| | | | | | | | | | | | | | | | | | | | | | | | You can set type: :merge_request to create a link to merge request lists instead of issues list. Accept both Symbol & String as type argument for the link_to_label helper
* | | | Merge branch 'fix-test' into 'master' Dmitriy Zaporozhets2016-02-041-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix broken tests Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> cc @DouweM See merge request !2708
| * | | | Fix broken testsDmitriy Zaporozhets2016-02-041-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | | Merge branch 'fix/atom-url-issue' into 'master' Douwe Maan2016-02-041-0/+8
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix atom url issue on projects This MR adds prevents a project to have a path ending in .atom that conflicts with the feed and Adds a migration to migrate old .atom projects to a different path Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/3699 See merge request !2651
| * | | | refactored migration and spec based on feedbackJames Lopez2016-02-041-2/+2
| | | | |
| * | | | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into fix/atom-url-issueJames Lopez2016-02-024-15/+53
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into fix/atom-url-issueJames Lopez2016-02-0113-113/+173
| |\ \ \ \ \
| * | | | | | refactor previous test and add validation to project modelJames Lopez2016-01-291-6/+3
| | | | | | |
| * | | | | | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into fix/atom-url-issueJames Lopez2016-01-2926-137/+575
| |\ \ \ \ \ \
| * | | | | | | WIP - spec failure on .atom project URLJames Lopez2016-01-221-0/+11
| | | | | | | |
* | | | | | | | Merge remote-tracking branch 'origin/rs-database-info'Dmitriy Zaporozhets2016-02-041-0/+20
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | |
| * | | | | | | Display database type and version in Administration dashboardrs-database-infoRobert Speicher2016-02-021-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #12900
* | | | | | | | Merge branch 'disable-remove-source-branch' into 'master' Douwe Maan2016-02-041-1/+7
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hide remove source branch button when new commit is added to branch Fixes #3339 This MR hides the 'Remove source branch' button when a new commit is added to the source branch /cc @DouweM See merge request !2701
| * | | | | | | | Hide remove source branch button when new commit is added to branchZeger-Jan van de Weg2016-02-041-1/+7
| | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #3339 This MR hides the 'Remove source branch' button when a new commit is added to the source branch
* | | | | | | | Merge branch 'rs-whitelist-in-pipeline' into 'master' Douwe Maan2016-02-042-22/+37
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make Pipelines responsible for defining their custom whitelist This allows for future pipelines to more easily define a custom whitelist. See merge request !2693
| * | | | | | | | Make Pipelines responsible for defining their custom whitelistrs-whitelist-in-pipelineRobert Speicher2016-02-032-22/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows for future pipelines to more easily define a custom whitelist.
* | | | | | | | | Merge branch 'wipMergeSpacing' into 'master' Douwe Maan2016-02-041-0/+5
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No space required after WIP identifier Fixes #2426 Currently, the WIP: (or any other variation) prefix of a merge request title must include a trailing space for it to be recognized as a work in progress and prevent merging. To resolve this, I added an or pattern to the regexp to look for any one of the three possible delimiters ':', ']', or ' '. This way the trailing space isn't required but it still won't mark any titles beginning with wip as work in progress (e.g. "Wipwap"). See merge request !1876
| * | | | | | | | Removed redundent and incorrect tests on WIPTed Hogan2016-01-061-10/+0
| | | | | | | | |
| * | | | | | | | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into wipMergeSpacingTed Hogan2015-12-29330-4654/+7180
| |\ \ \ \ \ \ \ \
| * | | | | | | | | No space required after WIP identifierTed Hogan2015-11-231-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modified changelog
* | | | | | | | | | Fix testsuse-top-areaDmitriy Zaporozhets2016-02-031-4/+4
| |_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | | | | | | Merge branch 'support-akismet' into 'master' Robert Speicher2016-02-036-0/+140
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support Akismet spam checking for creation of issues via API Currently any spam detected by Akismet for non-members via API will be logged in a separate table in the admin page. Closes #5612 See merge request !2266
| * | | | | | | | Fix rubocop offensesDouglas Barbosa Alexandre2016-02-022-9/+10
| | | | | | | | |
| * | | | | | | | Refactor Admin::SpamLogsController to block user before destroyingDouglas Barbosa Alexandre2016-02-022-21/+28
| | | | | | | | |
| * | | | | | | | Refactor spam filtering on issues APIDouglas Barbosa Alexandre2016-02-021-3/+8
| | | | | | | | |
| * | | | | | | | Fix typo on User modelDouglas Barbosa Alexandre2016-02-021-0/+1
| | | | | | | | |
| * | | | | | | | Add model spec for SpamLogDouglas Barbosa Alexandre2016-02-021-0/+11
| | | | | | | | |
| * | | | | | | | Use truncate helper on spam logs listDouglas Barbosa Alexandre2016-02-021-0/+4
| | | | | | | | |
| * | | | | | | | Support Akismet spam checking for creation of issues via APIStan Hu2016-02-024-0/+111
| | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently any spam detected by Akismet by non-members via API will be logged in a separate table in the admin page. Closes #5612
* | | | | | | | Merge branch 'title-projects-dropdown' into 'master' Jacob Schatz2016-02-024-1/+74
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added dropdown to list all projects on project header Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/4212 When clicking the current project name, it shows a dropdown menu with a list of all projects for that group or user. When closed: ![Screen_Shot_2016-01-14_at_19.17.44](/uploads/a7258ba388dba238fc2f0468711fc729/Screen_Shot_2016-01-14_at_19.17.44.png) When open: ![Screen_Shot_2016-01-14_at_19.17.51](/uploads/716533d9eb44b123c5fdff36a4740489/Screen_Shot_2016-01-14_at_19.17.51.png) cc. @jschatz1 See merge request !2438
| * | | | | | | | added feature testPhil Hughes2016-01-301-1/+20
| | | | | | | | |
| * | | | | | | | added testsPhil Hughes2016-01-303-0/+54
| | | | | | | | |
* | | | | | | | | Add a spec for the API pagination Link headerRémy Coutable2016-02-021-3/+3
| |/ / / / / / / |/| | | | | | |
* | | | | | | | Merge branch 'allow-@' into 'master' Douwe Maan2016-02-021-0/+8
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow "@" in file names and path Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/4111 See merge request !2665
| * | | | | | | Allow "@" in file names and pathallow-@Jacob Vosmaer2016-02-011-0/+8
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | Allow manual resize of js-autosize textareasrs-relax-autosizeRobert Speicher2016-02-011-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First, the autosize library was being too controlling and removed the `resize` property from any elements to which it was attached, removing the drag handle. Second, we detect when the user manually resizes an autosize textarea, and then remove the autosize behavior from it and increase its max-height. This should allow for the best of both worlds. Closes #12832