Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
AgeCommit message (Collapse)Author
2016-02-11Add new data to project in push, issue, merge-request and note webhooks dataKirill Zaitsev
- Add `avatar_url`, `description`, `git_ssh_url`, `git_http_url`, `path_with_namespace` and `default_branch` in `project` in push, issue, merge-request and note webhooks data - Deprecate the `ssh_url` in favor of `git_ssh_url` and `http_url` in favor of `git_http_url` in `project` for push, issue, merge-request and note webhooks data - Deprecate the `repository` key in push, issue, merge-request and note webhooks data, use `project` instead
2016-02-11Merge branch 'brammeleman/3047-add-assignee-data-to-isuable-hook-data' into ↵Robert Speicher
'master' Add assignee data to Issuables' hook_data Originally opened at !1633 by @brammeleman. Fixes #3047. Fixes #2475. See merge request !2724
2016-02-10Merge branch 'cwq1913/gitlab-ce-fix_skip_merge_commits' into 'master' Robert Speicher
Actually use the `skip_merges` option in Repository#commits Originally opened at !2067 by @cwq1913. See merge request !2750
2016-02-10Add assignee data to Issuables' hook_dataBram Daams
2016-02-09Merge branch 'smarter-diverging-commit-cache-flushing' into 'master' Douwe Maan
Smarter flushing of branch statistics caches This basically ensures we only flush caches of branches whenever we really have to. See commit c514f8b850219cd3e5526e73e1d00e6729e2b466 for the details. cc @joshfng @rspeicher See merge request !2769
2016-02-09Merge remote-tracking branch 'dev/master' into 'master'Robert Speicher
2016-02-09Smarter flushing of branch statistics cachesYorick Peterse
Instead of flushing the behind/ahead counts for all branches upon every push we now only flush the cache of branches that actually need to have these statistics recalculated. There are now basically 2 scenarios and their effects: 1. A user pushes a commit to the default branch, this results in the cache being flushed for all branches. 2. A user pushes to a non default branch, this results in _only_ the cache for that branch being flushed. The existing code (Repository#expire_cache) remains backwards compatible with the previous behaviour, the new behaviour is only applied when a branch name is passed as an argument. This ensures that when for example a project is deleted the cache for all branches is flushed.
2016-02-09Merge branch 'develop7/add-merge_status-to-merge-request-in-api' into 'master' Douwe Maan
Expose MergeRequest#merge_status _Originally opened at !2478 by @develop7._ - - - This enables API users to see whether a merge request can be merged without conflicts. See merge request !2756
2016-02-09Merge branch 'fix/max-attachment-size-setting-validation'Douwe Maan
2016-02-09Merge branch ↵Douwe Maan
'huacnlee/gitlab-ce-feature/option-to-include-author-info-in-mail' into 'master' Add option to include the sender name in body of Notify email _Originally opened at !2495 by @huacnlee._ - - - Fixes #7824. See merge request !2767
2016-02-09Merge branch 'zj/gitlab-ce-unique-milestone-title-per-project'Douwe Maan
2016-02-09Add option to include the sender name in body of Notify email. fix #7824Jason Lee
2016-02-09Validate maximum attachment size in application settingsGrzegorz Bizon
`max_attachment_size` in `ApplicationSetting` should be present, only integers greater than zero are valid. Closes #13188
2016-02-09Merge branch 'caching-repository-git-operations' into 'master' Yorick Peterse
See merge request !2752
2016-02-09Merge branch 'ci/improve-ci-build-api' into 'master' Kamil Trzciński
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
2016-02-09Merge branch 'ci-permissions' into 'master' Robert Speicher
Limit guest access to builds Closes https://dev.gitlab.org/gitlab/gitlabhq/issues/2646 See merge request !1942
2016-02-08Add an API spec for MergeRequest#merge_status and properly document this ↵Rémy Coutable
resource
2016-02-08Cache various Repository Git operationsYorick Peterse
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.
2016-02-08Merge branch 'kkm/gitlab-ce-user-diff-view-pref-cookie' into 'master' Rémy Coutable
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
2016-02-08Validate uniqueness of milestone title per projectZeger-Jan van de Weg
Fixes #3903
2016-02-08Actually use the `skip_merges` option in Repository#commitsTony Chu
2016-02-06Fix commit status testsKamil Trzcinski
2016-02-06Add spec for assigning view param from cookieRobert Speicher
2016-02-05Project dropdown test span -> iPhil Hughes
2016-02-05Merge branch 'master' into ci-permissionsKamil Trzcinski
# Conflicts: # db/schema.rb
2016-02-05Changed the project switcher dropdown togglePhil Hughes
Moved the positioning of the dropdown to be more aligned with the title Closes #13219 and #13214
2016-02-05Add a controller test for the new 'diff_view' cookieRémy Coutable
2016-02-05Remove project-issuable-filter from admin builds page :)Dmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-02-04Allow link_to_label to take an optional type argRémy Coutable
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
2016-02-04Merge branch 'fix-test' into 'master' Dmitriy Zaporozhets
Fix broken tests Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> cc @DouweM See merge request !2708
2016-02-04Merge branch 'fix/atom-url-issue' into 'master' Douwe Maan
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
2016-02-04Fix broken testsDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-02-04Merge remote-tracking branch 'origin/rs-database-info'Dmitriy Zaporozhets
2016-02-04refactored migration and spec based on feedbackJames Lopez
2016-02-04Merge remote-tracking branch 'origin/master' into ci-permissionsKamil Trzcinski
# Conflicts: # app/views/projects/builds/index.html.haml
2016-02-04Rename allow_guest_to_access_builds to public_buildsKamil Trzcinski
2016-02-04Merge branch 'disable-remove-source-branch' into 'master' Douwe Maan
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
2016-02-04Hide remove source branch button when new commit is added to branchZeger-Jan van de Weg
Fixes #3339 This MR hides the 'Remove source branch' button when a new commit is added to the source branch
2016-02-04Merge branch 'rs-whitelist-in-pipeline' into 'master' Douwe Maan
Make Pipelines responsible for defining their custom whitelist This allows for future pipelines to more easily define a custom whitelist. See merge request !2693
2016-02-04Merge branch 'wipMergeSpacing' into 'master' Douwe Maan
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
2016-02-04Extract shared context level up in build specsGrzegorz Bizon
Also improve performance of specs by joining some of examples.
2016-02-04Remove unmaintainable db schema comment from build factoryGrzegorz Bizon
2016-02-04Improve CI API specs related to operations on buildGrzegorz Bizon
Conflicts: spec/factories/ci/builds.rb
2016-02-04Make Pipelines responsible for defining their custom whitelistRobert Speicher
This allows for future pipelines to more easily define a custom whitelist.
2016-02-03Fix testsDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-02-03Merge branch 'support-akismet' into 'master' Robert Speicher
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
2016-02-03Display database type and version in Administration dashboardRobert Speicher
Closes #12900
2016-02-03Merge branch 'title-projects-dropdown' into 'master' Jacob Schatz
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
2016-02-02Add a spec for the API pagination Link headerRémy Coutable
2016-02-02Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into fix/atom-url-issueJames Lopez