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/lib
AgeCommit message (Collapse)Author
2017-12-28Move encoding methods to the more general EncodingHelperAlejandro Rodríguez
2017-12-22Merge branch 'dm-diff-note-for-line-performance' into 'master'Robert Speicher
Improve performance of DiffDiscussion#truncated_diff_lines and DiffNote#diff_line by removing expensive diff position calculation and comparison Closes #41406 See merge request gitlab-org/gitlab-ce!16111
2017-12-22Extend Cluster Applications to allow installation of PrometheusMayra Cabrera
2017-12-22Merge branch 'dm-issue-move-transaction-error' into 'master'Robert Speicher
Execute project hooks and services after commit when moving an issue Closes #41324 See merge request gitlab-org/gitlab-ce!16108
2017-12-22Improve performance of DiffDiscussion#truncated_diff_lines and ↵Douwe Maan
DiffNote#diff_line by removing expensive diff position calculation and comparison
2017-12-22Merge branch '38893-banzai-upload-filter-relative-urls' into 'master'Douwe Maan
Use relative URLs when linking to uploaded files Closes #38893 See merge request gitlab-org/gitlab-ce!15751
2017-12-22Execute project hooks and services after commit when moving an issueDouwe Maan
2017-12-22Use relative URLs when linking to uploaded filesNick Thomas
2017-12-22Use gitlab-stylesRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-22Add index on namespaces lower(name) for UsersController#existsGreg Stark
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-21Merge branch 'revert-b655a4a7' into 'master'Robert Speicher
Revert "Move Repository#write_ref to Git::Repository#write_ref" Closes #41143 [ci skip] See merge request gitlab-org/gitlab-ce!16055
2017-12-20Revert "Merge branch 'repo-write-ref-client-prep' into 'master'"Kim Carlbäcker
This reverts merge request !15712
2017-12-20Migrate to Project#empty_repo?Zeger-Jan van de Weg
2017-12-20use in_milliseconds rails helperPawel Chojnacki
2017-12-20Merge branch '38318-search-merge-requests-with-api' into 'master'Rémy Coutable
Resolve "Search merge-requests with API" Closes #38318 See merge request gitlab-org/gitlab-ce!16029
2017-12-20Add optional `search` param for Merge Requests APIMark Fletcher
2017-12-20Employ declared_params in finder methods for MR and Issue API listsMark Fletcher
- Ensure that unwanted params are no passed to actual finder classes
2017-12-20Only include the user's ID in the time_spent command's update hashRobert Speicher
Previously, this would include the entire User record in the update hash, which was rendered in the response using `to_json`, erroneously exposing every attribute of that record, including their (now removed) private token. Now we only include the user ID, and perform the lookup on-demand.
2017-12-19Fix tests and formattingPawel Chojnacki
2017-12-19Merge branch 'zj-gitaly-pipelines-n-1' into 'master'Robert Speicher
Improve performance of Pipelines#index.json See merge request gitlab-org/gitlab-ce!14846
2017-12-19Load commit in batches for pipelines#indexZeger-Jan van de Weg
Uses `list_commits_by_oid` on the CommitService, to request the needed commits for pipelines. These commits are needed to display the user that created the commit and the commit title. This includes fixes for tests failing that depended on the commit being `nil`. However, now these are batch loaded, this doesn't happen anymore and the commits are an instance of BatchLoader.
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 '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-15Backport changes from EELin Jen-Shin
2017-12-15Merge branch 'gitaly-conflicts-prep' into 'master'Sean McGivern
Simplify conflict resolver interface See merge request gitlab-org/gitlab-ce!15897
2017-12-15Merge branch '41016-import-gitlab-shell-projects' into 'master'Douwe Maan
Import gitlab-shell gitlab_projects.rb as at v5.10.2 Closes #41016 See merge request gitlab-org/gitlab-ce!15853
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-15Merge branch 'lfs-badge' into 'master'Douwe Maan
Added LFS badge to indicate LFS tracked files Closes #15567 See merge request gitlab-org/gitlab-ce!15845
2017-12-14Simplify conflict resolver interfaceAlejandro Rodríguez
This does two things: - Pass commit oids instead of `Gitlab::Git::Commit`s. We only need the former. - Depend on only the target repository for conflict listing. For conflict resolution, treat one repository as a remote one so that we can implement it as such in Gitaly.
2017-12-14Merge branch 'feature/migrate-merge-base-to-gitaly' into 'master'Robert Speicher
Migrate Gitlab::Git::Repository#merge_base_commit to Gitaly Closes gitaly#808 See merge request gitlab-org/gitlab-ce!15770
2017-12-14Merge branch 'rc/update-flipper' into 'master'Robert Speicher
Update flipper to 0.11.0 and take advantage of the new features See merge request gitlab-org/gitlab-ce!15920
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-14sorting for tags apihaseeb
2017-12-14moved lfs_blob_ids method into ExtractsPath modulePhil Hughes
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-14moved lfs blob fetch from extractspath filePhil Hughes
2017-12-14Update flipper to 0.11.0 and take advantage of the new featuresRémy Coutable
- Added an ActiveSupport (using Rails.cache) caching adapter - Overview of the new features can be found at https://johnnunemaker.com/flippin-features-at-runtime/ - Full Changelog can be found at https://github.com/jnunemaker/flipper/blob/v0.11.0/Changelog.md Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-13Merge branch '13695-order-contributors-in-api' into 'master'Rémy Coutable
Adds ordering to projects contributors in API Closes #13695 See merge request gitlab-org/gitlab-ce!15469
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-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-13Adds ordering to projects contributors in APIJacopo
Allows ordering in GET api/v4/projects/:project_id/repository/contributors through `order_by` and `sort` params. The available `order_by` options are: name|email|commits. The available `sort` options are: asc|desc.
2017-12-13Migrate Gitlab::Git::Repository#merge_base_commit to GitalyAhmad Sherif
Closes gitaly#808
2017-12-13Add a gitlab:tcp_check rake taskNick Thomas
This allows us to avoid relying on telnet / netcat being installed
2017-12-13Address review comments with playing pipeline schedulerStan Hu