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/lib
AgeCommit message (Collapse)Author
2017-12-29Merge branch 'gitaly-encoding-helpers' into 'master'Grzegorz Bizon
Move encoding methods to the more general EncodingHelper Closes gitaly#847 See merge request gitlab-org/gitlab-ce!16137
2017-12-28Move encoding methods to the more general EncodingHelperAlejandro Rodríguez
2017-12-26Merge branch 'sh-handle-anonymous-clones-project-moved' into 'master'Grzegorz Bizon
Fix Error 500s with anonymous clones for a project that has moved Closes #41457 See merge request gitlab-org/gitlab-ce!16128
2017-12-25Merge branch 'sh-catch-invalid-uri-markdown' into 'master'Robert Speicher
Gracefully handle garbled URIs in Markdown Closes #41442 See merge request gitlab-org/gitlab-ce!16123
2017-12-25Disable redirect messages for anonymous clonesStan Hu
2017-12-25Fix Error 500s with anonymous clones for a project that has movedStan Hu
Closes #41457
2017-12-25Merge branch 'gitaly-remotes' into 'master'Dmitriy Zaporozhets
Incorporate Gitaly's RemoteService RPCs Closes gitaly#852 See merge request gitlab-org/gitlab-ce!16060
2017-12-23Merge branch '36782-replace-team-user-role-with-add_role-user-in-specs' into ↵Rémy Coutable
'master' Resolve "Replace '.team << [user, role]' with 'add_role(user)' in specs" Closes #36782 See merge request gitlab-org/gitlab-ce!16069
2017-12-23Gracefully handle garbled URIs in MarkdownStan Hu
There are certain inputs that look like valid URIs that are accepted by URI but not Addressable::URI. Handle the case where the latter fails. Closes #41442
2017-12-23Incorporate Gitaly's RemoteService RPCsAlejandro Rodríguez
2017-12-23Remove unused method `remote_exists?`Alejandro Rodríguez
2017-12-22Extend Cluster Applications to allow installation of PrometheusMayra Cabrera
2017-12-22Use relative URLs when linking to uploaded filesNick Thomas
2017-12-22Replace '.team << [user, role]' with 'add_role(user)' in specsblackst0ne
2017-12-21Merge branch 'jprovazn-search' into 'master'Yorick Peterse
Skip projects filter on merge requests search See merge request gitlab-org/gitlab-ce!15955
2017-12-21Merge branch 'pawel/reduce_cardinality_of_prometheus_metrics' into 'master'Douwe Maan
Reduce cardinality of some of GitLab's Prometheus metrics and fix observed duration reporting. Closes #41045 See merge request gitlab-org/gitlab-ce!15881
2017-12-21Skip projects filter on merge requests searchJan Provaznik
When searching for merge requests, an additional subquery is added which by default filters only merge requests which belong to source or target project user has permission for. This filter is not needed because more restrictive filter which checks if user has permission for target project is used in the query. So unless a custom projects filter is used by user, it's possible to skip the default projects filter and speed up the final query. Related to #40540
2017-12-21Use seconds where possible, and convert to milliseconds for Influxdb consumptionPawel Chojnacki
2017-12-20Migrate to Project#empty_repo?Zeger-Jan van de Weg
2017-12-19Fix tests and formattingPawel Chojnacki
2017-12-19[CE->EE] Fix spec/lib/gitlab/git/gitlab_projects_spec.rbValery Sizov
2017-12-18Merge branch 'sh-add-schedule-pipeline-run-now' into 'master'Kamil Trzciński
Add button to run scheduled pipeline immediately Closes #38741 See merge request gitlab-org/gitlab-ce!15700
2017-12-15Merge branch 'no-ivar-in-modules' into 'master'Robert Speicher
Add cop to make sure we don't use ivar in a module See merge request gitlab-org/gitlab-ce!12800
2017-12-15Merge branch 'rc/use-factory_bot_rails' into 'master'Robert Speicher
Replace factory_girl_rails with factory_bot_rails See merge request gitlab-org/gitlab-ce!15919
2017-12-15Merge branch 'dm-ldap-email-readonly' into 'master'Sean McGivern
Make sure user email is read only when synced with LDAP Closes #41033 See merge request gitlab-org/gitlab-ce!15915
2017-12-15Make sure user email is read only when synced with LDAPDouwe Maan
2017-12-15Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin
* upstream/master: (671 commits) Make rubocop happy Use guard clause Improve language Prettify Use temp branch Pass info about who started the job and which job triggered it Docs: add indexes for monitoring and performance monitoring clearer-documentation-on-inline-diffs Add docs for commit diff discussion in merge requests sorting for tags api Clear BatchLoader after each spec to prevent holding onto records longer than necessary Include project in BatchLoader key to prevent returning blobs for the wrong project moved lfs_blob_ids method into ExtractsPath module Converted JS modules into exported modules spec fixes Bump gitlab-shell version to 5.10.3 Clear caches before updating MR diffs Use new Ruby version 2.4 in GitLab QA images moved lfs blob fetch from extractspath file Update GitLab QA dependencies ...
2017-12-14Import gitlab_projects.rb from gitlab-shellNick Thomas
By importing this Ruby code into gitlab-rails (and gitaly-ruby), we avoid 200ms of startup time for each gitlab_projects subprocess we are eliminating. By not having a gitlab_projects subprocess between gitlab-rails / sidekiq and any git subprocesses (e.g. for fork_project, fetch_remote, etc, calls), we can also manage these git processes more cleanly, and avoid sending SIGKILL to them
2017-12-14Replace factory_girl_rails with factory_bot_railsRémy Coutable
I've followed the [upgrade guide](https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md) and ran these two commands: ``` grep -e FactoryGirl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|FactoryGirl|FactoryBot|" grep -e factory_girl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|factory_girl|factory_bot|" ``` Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-14Merge branch 'dm-dedicated-sidekiq-queues' into 'master'Sean McGivern
Use a dedicated queue for each Sidekiq worker See merge request gitlab-org/gitlab-ce!15882
2017-12-13Merge branch 'pawel/cache_feature_check_for_5_minutes_for_method_call' into ↵Robert Speicher
'master' Cache feature check for 1 minute for MethodCall instrumentation toggle See merge request gitlab-org/gitlab-ce!15800
2017-12-13fix test case descriptionPawel Chojnacki
2017-12-13Merge branch 'add-tcp-check-rake-task' into 'master'Rémy Coutable
Add a gitlab:tcp_check rake task See merge request gitlab-org/gitlab-ce!15759
2017-12-13Add a gitlab:tcp_check rake taskNick Thomas
This allows us to avoid relying on telnet / netcat being installed
2017-12-13Merge branch 'bvl-backport-migration-spec-changes-to-ce' into 'master'Douwe Maan
Create models directly in migration specs See merge request gitlab-org/gitlab-ce!15874
2017-12-13Address review comments with playing pipeline schedulerStan Hu
2017-12-13Add spec for ActionRateLimiterStan Hu
2017-12-13Fix spec by avoiding monkeypatchingMichael Kozono
2017-12-12Merge branch ↵Robert Speicher
'tmlee/gitlab-ce-28004-consider-refactoring-member-view-by-using-presenter' into 'master' Refactor member view by using presenter Closes #28004 See merge request gitlab-org/gitlab-ce!15715
2017-12-12Merge branch 'zj-memoization-mr-commits' into 'master'Sean McGivern
Use memoization for commits on diffs See merge request gitlab-org/gitlab-ce!15857
2017-12-12Expire feature flag cache after 1minutePawel Chojnacki
2017-12-12use class variables instead of CONSTANTsPawel Chojnacki
2017-12-12Use AtomicFixNum to implement CAS isolated cache update.Pawel Chojnacki
i.e. Using compare and swap we update the expires_at value. The thread that actually is able to update this value will also set the cache holding method_call enabled state
2017-12-12Implemente measurement enabled cache using AtomicReferencePawel Chojnacki
2017-12-12Implement simple in memory cache that expires after 5 minutesPawel Chojnacki
2017-12-12Cache feature check for 5 minutes for MethodCall instrumentation togglePawel Chojnacki
2017-12-12Present member collection at the controller levelRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-12Make `System.monotonic_time` retun seconds represented by float with ↵Pawel Chojnacki
microsecond precision
2017-12-12Fix rubocop offenceZeger-Jan van de Weg
2017-12-12Use a dedicated queue for each workerDouwe Maan