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
2015-10-21Merge branch 'git-archive-improvements-2' into 'master' Douwe Maan
Clear archive cache asynchronously See merge request !1651
2015-10-20Merge branch 'handle-no-http-referer' into 'master' Dmitriy Zaporozhets
Redirect to a default path if HTTP_REFERER is not set Safari 9.0 does not yet honor the HTML5 `origin-when-cross-origin` mode, and it's possible load balancers/proxies strip the HTTP_REFERER from the request header. In these cases, default to some default path. Closes #3122 Closes https://github.com/gitlabhq/gitlabhq/issues/9731 See merge request !1646
2015-10-20Merge branch 'remove-duplicate-repos-in-github-import' into 'master' Douwe Maan
Fix duplicate repositories in GitHub import page By default, all the current user's repositories are accessible via the /users endpoint. There's no need to traverse all the organization repositories as well. See: * http://www.rubydoc.info/github/pengwynn/octokit/Octokit/Client/Repositories#repositories-instance_method * https://developer.github.com/v3/repos/#list-your-repositories Closes #2523 See merge request !1644
2015-10-19Merge branch 'jrochkind/gitlab-ce-fix_2839_send_abuse_report_notify' into ↵Robert Speicher
'master' Send an email to admin email when a user is reported for spam Replaces !1547. Fixes #2839. See merge request !1634
2015-10-19Merge branch 'cross-reference-mr-on-issues' into 'master' Douwe Maan
Show merge requests which close current issue Closes #2903 ### What does this MR do If an issue is to be closed by a merge request the current user has access to, this will be displayed when the user looks at the issue. ![Screenshot_from_2015-10-12_12-10-37](https://gitlab.com/zj/gitlab-ce/uploads/52e429704e73067b24b69801f13ad7bc/Screenshot_from_2015-10-12_12-10-37.png) /cc @DouweM See merge request !1569
2015-10-17Merge branch 'rs-redactor-filter' into 'master' Douwe Maan
Separate rendering of Markdown reference links from redacting those the user doesn't have access to and extracting referenced objects Related: !1014 See merge request !1090
2015-10-17Merge branch 'filter-label' into 'master' Robert Speicher
Allow dashboard and group issues/MRs to be filtered by label See merge request !1591
2015-10-16Merge branch 'notify-mr-upon-branch-presence-change' into 'master' Douwe Maan
Add a system note and update relevant merge requests when a branch is deleted or re-added If a branch is deleted with an open merge request, amended offline, and then pushed again, GitLab doesn't bother to update the merge request even though the last commit ID and/or code may have changed. This MR ensures that each push will update any relevant merge requests and adds a system note if this happens as well. The new messages look like: ![image](https://gitlab.com/gitlab-org/gitlab-ce/uploads/6581eea069cd8e485b7fa4187ed4c043/image.png) Closes #2926 See merge request !1601
2015-10-16Correct spec description typoRobert Speicher
[ci skip]
2015-10-16Fix specsKamil Trzcinski
2015-10-16Implement when syntax in .gitlab-ci.ymlKamil Trzcinski
2015-10-15Merge branch 'stanhu/gitlab-ce-fix-api-mr-comment-notifications'Dmitriy Zaporozhets
2015-10-15Merge branch 'fix/improve_reset_service_password_v2' into 'master' Valery Sizov
Improve invalidation of stored service password if the endpoint URL is changed (V2) New version of !1583, using the same failproof logic but this time mirroring the name and behaviour of the change-tracking methods of ActiveModel::Dirty in order to make it clearer and more natural. Added more tests to clarify the expected behaviour. This is an alternative to !1594 /cc @vsizov @rspeicher See merge request !1600
2015-10-15Merge branch 'user-by-login-performance' into 'master' Yorick Peterse
Improve User.by_login performance This greatly speeds up the performance of `User.by_login`. I adopted some changes from @haynes in this patch, the credits go to him for coming up with those originally. Fixes #2341 See merge request !1545
2015-10-15Merge branch 'view-issue-performance'Dmitriy Zaporozhets
2015-10-15Merge branch 'git-archive-golang' into 'master' Douwe Maan
Let gitlab-git-http-server handle archive downloads This change relies on changes in gitlab_git and gitlab-git-http-server. fixes #2429 See merge request !1548
2015-10-15Merge branch 'builds-view' into 'master' Kamil Trzciński
Added builds view ![Screen_Shot_2015-10-13_at_19.02.48](https://gitlab.com/gitlab-org/gitlab-ce/uploads/95bb3a7d9d603678fdd077558637045d/Screen_Shot_2015-10-13_at_19.02.48.png) /cc @dzaporozhets @vsizov See merge request !1593
2015-10-15Merge branch 'fix-path-with-leading-dot-error' into 'master' Dmitriy Zaporozhets
Fix error preventing displaying of commit data for a directory with a leading dot Directories with leading dots erroneously get rejected by the route controller if git ref regex is used in constraints. This prevents commit data from being loaded. The regex verification is now done in controller. Closes https://github.com/gitlabhq/gitlabhq/issues/8763 See merge request !1574
2015-10-15Improve invalidation of stored service password if the endpoint URL is changedAlex Lossent
Password can now be specified at the same time as the new URL, and the service template admin pages now work.
2015-10-15Improve ProjectTeam#max_member_access performanceYorick Peterse
By comparing objects in Ruby we can greatly improve the performance of this method. In the worst case (should no data be eager loaded) this will run the same amount of queries as before, in the best case (when data _is_ eager loadeD) it requires no queries at all. The added benchmark used to produce around 273 iterations per second. With this commit this has been increased to almost 40 000 iterations per second: a speedup of roughly 145 times. Combined with eager loading Note associations this results in about 30 queries less when viewing a single issue, this in turn cuts down the loading time by 30-40%.
2015-10-15Re-use User for avatars in link_to_memberYorick Peterse
2015-10-15Allow avatar_icon to operate on a UserYorick Peterse
If the User object is already known before calling this method being able to re-use said object can save us an extra SQL query.
2015-10-15Improve performance of User.by_loginYorick Peterse
Performance is improved in two steps: 1. On PostgreSQL an expression index is used for checking lower(email) and lower(username). 2. The check to determine if we're searching for a username or Email is moved to Ruby. Thanks to @haynes for suggesting and writing the initial implementation of this. Moving the check to Ruby makes this method an additional 1.5 times faster compared to doing the check in the SQL query. With performance being improved I've now also tweaked the amount of iterations required by the User.by_login benchmark. This method now runs between 900 and 1000 iterations per second.
2015-10-15Merge branch 'master' into git-archive-golangDouwe Maan
2015-10-14Fix testsKamil Trzcinski
2015-10-14Merge branch 'simplify-cross-references' into 'master' Robert Speicher
Simplify code around (cross)-references See merge request !1568
2015-10-14Merge branch 'show_pending_warning' into 'master' Kamil Trzciński
Show warning when build is pending and there are not runners This change is based on: !1530. This resolves #2967. See merge request !1573
2015-10-14Merge branch 'predefined_build_variables' into 'master' Kamil Trzciński
Add a few predefined variables to CI builds This adds CI_BUILD_TAG, CI_BUILD_STAGE, CI_BUILD_NAME and CI_BUILD_TRIGGERED to build environment. This change is based on: !1530 See merge request !1572
2015-10-14Fix cancel_all specsKamil Trzcinski
2015-10-14Fix: Images cannot show when projects' path was changedValery Sizov
2015-10-14Merge remote-tracking branch 'origin/cernvcs_hide_passwrd'Valery Sizov
2015-10-14Fix specsKamil Trzcinski
2015-10-14Fix specsKamil Trzcinski
2015-10-14Show warning if build doesn't have runners with specified tags or runners ↵Kamil Trzcinski
didn't connect recently Slightly refactor runner status detection: moving it to Runner class Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
2015-10-14Remove ordering from :ci_commits relationKamil Trzcinski
2015-10-14Added builds viewKamil Trzcinski
2015-10-14Added CI_BUILD_TAG, _STAGE, _NAME and _TRIGGERED to CI buildsKamil Trzcinski
2015-10-14Remove archive file sending specJacob Vosmaer
This is done by gitlab-git-http-server now.
2015-10-14Merge branch 'feature/api_hide_service_password' of gitlab.com:cernvcs/gitlab-ceValery Sizov
2015-10-14Fix retry and cancel for buildKamil Trzcinski
2015-10-14Remove RepositoryArchiveWorker specsJacob Vosmaer
These tasks have shifted to gitlab_git and gitlab-git-http-server.
2015-10-14Fix API archive specsJacob Vosmaer
2015-10-14Make Mentionable#cross_reference_exists? private.Douwe Maan
2015-10-14Shut up, RubocopRobert Speicher
2015-10-13Merge branch 'add-wip-to-mr-hook-attrs' into 'master' Stan Hu
merge_request: add work_in_progress to MR hooks See merge request !1443
2015-10-13Merge branch 'redesign-files-page'Dmitriy Zaporozhets
2015-10-13Apply new design to files pageDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-10-13Merge branch 'commit_status' into 'master' Kamil Trzciński
Implement Commit Status API This is preliminary implementation of Commit Status API, pretty much compatible with GitHub. 1. The Commit Statuses are stored in separate table: ci_commit_status. 2. The POST inserts a new row. 3. To POST execute GitLab API `post :id/repository/commits/:sha/status`. This accepts dual authorization: - Using authorized user - Using ci-token to allow easy posting from CI Services 4. This adds predefined variable to GitLab CI build environment: CI_BUILD_STATUS_URL, allowing to easy post status from within build (ex. with code coverage or other metrics). 5. This adds statuses to commit's builds view. 6. The commit's status is calculated taking into account status of all builds and all posted statuses. 7. The commit statuses doesn't trigger notifications. 8. The commit status API introduces two new privileges: `read_commit_statuses` and `create_commit_status`. 9. We still miss a few tests and documentation updates for API and CI. @dzaporozhets @sytses What do you think? See merge request !1530
2015-10-13Use `to_reference` where possible.Douwe Maan
2015-10-13Fix error preventing displaying of commit data for a directory with a ↵Stan Hu
leading dot Closes https://github.com/gitlabhq/gitlabhq/issues/8763