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-03-17Cache project avatars stored in GitYorick Peterse
The avatar logic has been moved from Project to Repository as this makes caching easier. The logic itself in turn has been changed so that the logo file names are cached in Redis. This cache is flushed upon pushing a commit but _only_ if: 1. The commit was pushed to the default branch 2. The commit actually changes any of the logo files If no branch or commit is given the cache is flushed anyway, this ensures that calling Repository#expire_cache without any arguments still flushes the avatar cache (e.g. this is used when removing a project). Fixes gitlab-org/gitlab-ce#14363
2016-03-17Merge branch 'glalonde-triggerbuild' into 'master' Kamil Trzciński
Adjusted behavior so canceled builds tagged as allowed to fail do not fail build ## What does this MR do? This diff changes the 'Allowed to fail' flag to also ignore canceled builds, whereas before, canceled builds could fail the suite even if they were marked as 'Allowed to fail' dupe of !3258 to force a build ## Are there points in the code the reviewer needs to double check? no ## Why was this MR needed? Unexpected behavior as a user ## What are the relevant issue numbers? ## Screenshots (if relevant) ![whatisgoingon](/uploads/fcd7c8f3d8454bc730d7fd41eff59b31/whatisgoingon.png) See merge request !3271
2016-03-17adjusted behavior so canceled builds tagged as allowed to fail do not fail buildGeoffrey Lalonde
2016-03-17Merge branch '4009-external-users' into 'master' Douwe Maan
External Users The user has the rights of a public user execpt it can never create a project, group, or team. Also it cant view internal projects. Partially fix for both #4009 and #13938 (except the LDAP sync or a pattern to detect external users) ![Screen_Shot_2016-03-14_at_22.02.52](/uploads/486a84ab3acb98c6cfb71a4ec7d268e2/Screen_Shot_2016-03-14_at_22.02.52.png) See merge request !3171
2016-03-17Fix specsZeger-Jan van de Weg
Spinach was right, I was a fool..
2016-03-17Merge branch 'master' into new-branch-button-issueZeger-Jan van de Weg
2016-03-17API support for setting External flag on existing usersZeger-Jan van de Weg
2016-03-17Fix wiki search results point to raw sourceHiroyuki Sato
2016-03-16Merge branch 'issue_14306' into 'master' Robert Speicher
Return an empty Array when there aren't lines to parse. Fixes #14306 See merge request !3243
2016-03-16Merge branch 'worker-for-user-deletion' into 'master' Douwe Maan
A worker deletes a user, so the request doesn't time out Fixes #13261 See merge request !2855
2016-03-16Return an empty Array when there aren't lines to parse.Rubén Dávila
2016-03-16Merge branch 'fix-capybara-deprecation-warnings' into 'master' Robert Speicher
Fix Capybara 2.6.2 deprecation warnings See merge request !3236
2016-03-16Specs for the DeleteUserServiceZeger-Jan van de Weg
2016-03-15Incorporate the review and update specZeger-Jan van de Weg
The feature spec now also tests the absence of the new branch button
2016-03-15Clearify who deletes the userZeger-Jan van de Weg
2016-03-15Fix broken specsZeger-Jan van de Weg
2016-03-15Target right release, rebase got it wrongZeger-Jan van de Weg
2016-03-15Specs on force deleting of a userZeger-Jan van de Weg
2016-03-15A worker deletes a user, so the request doesn't time outZeger-Jan van de Weg
Fixes #13261
2016-03-15Incorporate reviewZeger-Jan van de Weg
2016-03-15Enhance new branch button on an issueZeger-Jan van de Weg
2016-03-15new-branch-buttonZeger-Jan van de Weg
2016-03-15Merge branch 'master' into 4009-external-usersZeger-Jan van de Weg
2016-03-15Fix Capybara 2.6.2 deprecation warningsStan Hu
2016-03-15Improving the original label-subscribing implementationRémy Coutable
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
2016-03-15Original implementation to allow users to subscribe to labelsTimothy Andrew
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.
2016-03-15Merge branch 'fix-activerecord-join-stupidity' into 'master' Robert Speicher
Ignore eager loading in Project.search UNION This fixes issues such as filtering groups by names on pages such as https://gitlab.com/dashboard/groups. See merge request !3229
2016-03-15Merge branch 'revert-avatar-cropping' into 'master' Rémy Coutable
Revert the avatar cropping feature Reverts !2951 since the added 'mini_magick' dependency should be replaced by client-side croppping See merge request !3223
2016-03-15Ignore eager loading in Project.search UNIONYorick Peterse
The queries that are UNION'd together don't need any eager loading (since we really only use the resulting SQL instead of having ActiveRecord actually run the queries). By dropping any eager loaded associations queries such as the following work instead of producing a SQL error: Project.all.includes(:namespace).search('foo')
2016-03-15Merge branch 'fix/13928-wrong-iid-of-max-iid' into 'master' Douwe Maan
Fixes "iid of max iid" in Issuable sidebar for merged MR Fixes #13928. See merge request !3046
2016-03-15Merge branch 'fix/ensure-no-new_ssh_key_email-dead-jobs' into 'master' Douwe Maan
Ensure "new SSH key" email do not ends up as dead Sidekiq jobs Related to #2235. This is done by: 1. Delaying the notification sending after the SSH key is commited in DB 2. Gracefully exit the mailer method if the record cannot be found /cc @dblessing @stanhu @DouweM See merge request !3163
2016-03-15Revert "Merge branch 'avatar-cropping' into 'master' "Rémy Coutable
This reverts commit 01160fc06182de89c400af174861f6545ad6ceb8, reversing changes made to 4bff9daf8b6d85e9c78565e21cfaa3f6d36f0282.
2016-03-15Merge branch 'auto-gc' into 'master' Douwe Maan
Run 'git gc' every 10 pushes Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/14250 Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/12620 Fixes https://gitlab.com/gitlab-org/gitlab-ee/issues/254 Associated gitlab-shell MR: https://gitlab.com/gitlab-org/gitlab-shell/merge_requests/44 See merge request !3206
2016-03-15Ensure "new SSH key" email do not ends up as dead Sidekiq jobsRémy Coutable
Related to #2235. This is done by: 1. Delaying the notification sending after the SSH key is commited in DB 2. Gracefully exit the mailer method if the record cannot be found
2016-03-15Use an exception to pass messagesJacob Vosmaer
2016-03-15Merge branch 'rs-issue-14220' into 'master' Douwe Maan
Be more intelligent about sanitizing links with unsafe protocols This prevents false matches on relative links like `[database](database.md)`. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14220 See merge request !3210
2016-03-15Merge branch 'fix-commit-status-rendering' into 'master' Robert Speicher
Cleanup Ci::Commit, Ci::Build and CommitStatus views This MR tries to do first sweep of cleanups to Ci::Commit and Ci::Build objects removing all view-related functions and fixing the API from other side. Fixes: https://gitlab.com/gitlab-org/gitlab-ce/issues/6046 See merge request !2760
2016-03-15Be more intelligent about sanitizing links with unsafe protocolsRobert Speicher
This prevents false matches on relative links like `[database](database.md)`. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14220
2016-03-14Merge branch 'gitlab-ci-yaml-updates' into 'master' Douwe Maan
New CI YAML features This introduces a couple of small `.gitlab-ci.yml` features: 1. Documentation for: Allow to use YAML anchors when parsing the `.gitlab-ci.yml`: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2958 2. Ignore jobs that start with `.` 3. Allow to pass name of created artifacts archive in `.gitlab-ci.yml` 4. Allow to define on which builds the current one depends on These are really small changes so it makes not sense to create a separate merge requests for them. @axil Could you review the documentation part? The implementation on GitLab Runner side: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/merge_requests/113. Fixes: https://gitlab.com/gitlab-org/gitlab-ce/issues/13755 https://gitlab.com/gitlab-org/gitlab-ce/issues/14211 https://gitlab.com/gitlab-org/gitlab-ce/issues/3423 cc @grzesiek @axil @DouweM See merge request !3182
2016-03-14Merge branch 'master' into 4009-external-usersZeger-Jan van de Weg
2016-03-14Use strings instead of symbolsJacob Vosmaer
2016-03-14Merge branch 'rs-note-active-spec' into 'master'Robert Speicher
Add unit specs for `Note#active?` See merge request !3133
2016-03-14Merge branch 'share-project-ce' into 'master' Dmitriy Zaporozhets
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
2016-03-14Merge branch 'rs-snippet-expires-api' into 'master' Robert Speicher
Don't remove `ProjectSnippet#expires_at` from API See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3103 This partially reverts commit 836d5930332797192094ce4a3c8083e96f7e8c53. See merge request !3144
2016-03-14Run 'git gc' every 10 pushesJacob Vosmaer
2016-03-14Allow project housekeeping only once an hourJacob Vosmaer
2016-03-14Fix review commentsKamil Trzcinski
- Remove unused Gitlab::Application.routes.url_helpers from Ci::Build - Remove too much logic from a view, use Ci::Commit.matrix_builds - Use ci_status_with_icon - Don't describe symbols
2016-03-14Fix commit_spec: invalid validationKamil Trzcinski
2016-03-14Cleanup CiCommit and CiBuildKamil Trzcinski
- Remove all view related methods from Ci::Build and CommitStatus - Remove unused Ci::Commit and Ci::Build methods - Use polymorphism to render different types of CommitStatus
2016-03-14Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhqMarin Jankovski