summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Rename ProjectEntity to IssuableEntity58275-rename-project-entityAlexandru Croitor2019-07-092-5/+5
|
* Merge branch 'fix-median-counting-for-cycle-analytics' into 'master'Andreas Brandl2019-07-091-1/+1
|\ | | | | | | | | Add additional condition to count median properly See merge request gitlab-org/gitlab-ce!30229
| * Add where condition to count in median classMałgorzata Ksionek2019-07-041-1/+1
| |
* | Merge branch 'patch-29' into 'master'Grzegorz Bizon2019-07-091-1/+1
|\ \ | | | | | | | | | | | | Updates to php:latest See merge request gitlab-org/gitlab-ce!30319
| * | Updates to php:latestPaul Giberson2019-07-081-1/+1
| | |
* | | Merge branch 'remove-comment-from-auto-deploy-yml' into 'master'Sean McGivern2019-07-091-1/+0
|\ \ \ | | | | | | | | | | | | | | | | Remove obsolete comment See merge request gitlab-org/gitlab-ce!30388
| * | | Remove obsolete commentremove-comment-from-auto-deploy-ymlThong Kuah2019-07-051-1/+0
| | |/ | |/|
* | | Updates on success of an MR the count on top and in other tabsTim Zallmann2019-07-092-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New API endpoint for merge request count Updates all open tabs at the same time with one call Restructured API response API response changed to 401 if no current_user Added API + JS specs Fix for Static Check Updated Count on Open/Close, Assign/Unassign of MR's Checking if MR Count is refreshed Added # frozen_string_literal: true to spec Added Changelog
* | | Push feature flag for embedding metricsSarah Yasonik2019-07-091-0/+5
| |/ |/|
* | Merge branch 'jc-detect-nfs-for-rugged' into 'master'Dmitriy Zaporozhets2019-07-086-6/+67
|\ \ | | | | | | | | | | | | Use Rugged if we detect storage is NFS and we can access the disk See merge request gitlab-org/gitlab-ce!29725
| * | Use Rugged if we detect storage is NFS and we can access the diskjc-detect-nfs-for-ruggedJohn Cai2019-07-056-6/+67
| | | | | | | | | | | | | | | Add a module we use as a singleton to determine whether or not rails is able to access the disk
* | | Merge branch 'zj-praefect-config-gitlab-yml' into 'master'Bob Van Landuyt2019-07-081-9/+0
|\ \ \ | | | | | | | | | | | | | | | | Remove a high cardinality Prometheus metric See merge request gitlab-org/gitlab-ce!30122
| * | | Remove high cardinality Prometheus metriczj-praefect-config-gitlab-ymlZeger-Jan van de Weg2019-07-051-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The metric was used to correlate Gitaly requests to the Rails controller and action combination. However, Kibana provides better observability in this specific metric, and can handle hig cardinality much better. There's no dashboard in Grafana that currently depends on this metric being exposed.
* | | | Merge branch '40379-CJK-search-min-chars' into 'master'Andreas Brandl2019-07-081-10/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Remove minimum required characters for fuzzy search if no trigram is used See merge request gitlab-org/gitlab-ce!29810
| * | | | Ignore min_chars_for_partial_matching unles trigrm40379-CJK-search-min-charsMario de la Ossa2019-07-041-10/+14
| | | | | | | | | | | | | | | | | | | | | | | | | If we're not using a trigram index, then ignore the min_chars_for_partial_matching setting
* | | | | Add OpenSSL::OpenSSLError to HTTP_ERRORSDouglas Barbosa Alexandre2019-07-051-3/+3
| |_|/ / |/| | | | | | | | | | | | | | | | | | | Some services can raise OpenSSL::X509::CertificateError due to an invalid SSL certificates, with OpenSSL::OpenSSLError we can handle these errors.
* | | | Merge branch '51794-add-ordering-to-runner-jobs-api' into 'master'Lin Jen-Shin2019-07-051-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding order by to list runner jobs api. Closes #51794 See merge request gitlab-org/gitlab-ce!29629
| * | | | Adding order by to list runner jobs api.sujay patel2019-07-051-0/+2
| | | | |
* | | | | Merge branch 'create-merge-train-ref-ce' into 'master'Douwe Maan2019-07-052-4/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | CE Port: Extend `MergeToRefService` to create merge ref from an arbitrary ref See merge request gitlab-org/gitlab-ce!30361
| * | | | | Extend MergeToRefService for creating merge ref from the other refShinya Maeda2019-07-052-4/+5
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, MergeToRefService is specifically designed for createing merge commits from source branch and target branch of merge reqeusts. We extend this behavior to source branch and any target ref paths.
* | | | | Refactor PositionTracer to support different typesPatrick Bajao2019-07-055-186/+287
| | | | | | | | | | | | | | | | | | | | This is to prepare for supporing image type position tracing
* | | | | Update SAST.gitlab-ci.yml w/ FAIL_NEVER ENVLucas Charles2019-07-051-0/+1
| |/ / / |/| | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ee/issues/10564
* | | | Merge branch 'if-6990-enforce_smartcard_session_for_git_and_api' into 'master'12-1-stable-prepare-rc1Bob Van Landuyt2019-07-051-5/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | CE port of "Require session with smartcard login for Git access" See merge request gitlab-org/gitlab-ce!30384
| * | | | CE port of "Require session with smartcard login for Git access"Imre Farkas2019-07-051-5/+10
| |/ / /
* | | | Merge branch ↵Bob Van Landuyt2019-07-054-3/+59
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | '58409-increase-graphql-complexity-for-fields-that-make-gitaly-calls' into 'master' Increase GraphQL complexity for fields that make Gitaly Calls Closes #58409 See merge request gitlab-org/gitlab-ce!28814
| * | | Address reviewer comments58409-increase-graphql-complexity-for-fields-that-make-gitaly-callscharlieablett2019-07-052-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | - Remove Gitaly call check for fields that have a constant complexity declared - Add associated test
| * | | Address reviewer commentscharlieablett2019-07-031-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | - Add 1 for all fields that call Gitaly (with resolvers or without) - Clarify comment regarding Gitaly call alert - Expose predicate `calls_gitaly?` instead of ivar
| * | | Wrap proc properly in gitaly call countscharlieablett2019-07-032-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | - Add `calls_gitaly: true` to some fields missing (hey, it works!) - Clarify proc wrapping - Add kwargs argument to `mount_mutation`
| * | | Alert if `calls_gitaly` declaration missingcharlieablett2019-07-033-1/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move `calls_gitaly_check` to public - Add instrumentation for flagging missing CallsGitaly declarations - Wrap resolver proc in before-and-after Gitaly counts to get the net Gitaly call count for the resolver.
* | | | DRY up conditions for files require DB reviewToon Claes2019-07-041-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stop using two separate lists for the conditions which files require a database review. Related discussion: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/30156#note_187732053
* | | | Merge branch '54117-transactional-rebase' into 'master'Douglas Barbosa Alexandre2019-07-044-5/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow asynchronous rebase operations to be monitored Closes #54117 See merge request gitlab-org/gitlab-ce!29940
| * | | | Allow asynchronous rebase operations to be monitoredNick Thomas2019-07-043-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This MR introduces tracking of the `rebase_jid` for merge requests. As with `merge_ongoing?`, `rebase_in_progress?` will now return true if a rebase is proceeding in sidekiq. After one release, we should remove the Gitaly-based lookup of rebases. It is much better to track this kind of thing via the database.
| * | | | Clarify documentation of Gitlab::SidekiqStatusNick Thomas2019-07-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | The "running" state is ambiguous. Clarify that it covers both enqueued and actually running jobs.
* | | | | Change 'Todo' to 'To Do'Christie Lenneville2019-07-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, we label items to be done as "Todo." This is grammatically incorrect and (therefore) confusing—especially to our Spanish-speaking users for whom "todo" has a specific and unrelated meaning. We should use "To Do" and always use it as singular (not "To Dos"). Updates to wording in a few places per MR (ee) discussion Updating locale/gitlab.pot Updates to wording in a few places per MR (ee) discussion Updating locale/gitlab.pot
* | | | | Fix process start timeRyan Cobb2019-07-042-13/+6
| |_|_|/ |/| | | | | | | | | | | | | | | Previously we were recording process start time as seconds from boot. This makes it so we record as epoch time.
* | | | Backports for EE's "Allow adding groups to CODEOWNERS file"Igor2019-07-041-56/+0
|/ / / | | | | | | | | | | | | Some general code has been added/removed in EE version which needs to be backported in CE
* | | Merge branch 'sh-fix-issue-63349' into 'master'Rémy Coutable2019-07-041-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Make Housekeeping button do a full garbage collection Closes #63349 See merge request gitlab-org/gitlab-ce!30289
| * | | Make Housekeeping button do a full garbage collectionsh-fix-issue-63349Stan Hu2019-07-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the Housekeeping button and API would use the counter of last pushes to determine whether to do a full garbage collection, or whether to do one of the less comprehensive tasks: a full repack, incremental pack, or ref pack. This was confusing behavior, since a project owner might have to click the button dozens of times before a full GC would be initiated. This commit forces a full GC each time this is initiated. Note that the `ExclusiveLease` in `HousekeepingService` prevents users from clicking on the button more than once a day. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63349
* | | | Cache Flipper feature flags in L1 and L2 cachessh-cache-flipper-checks-in-memoryStan Hu2019-07-031-3/+20
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | In https://gitlab.com/gitlab-com/gl-infra/production/issues/928, we saw a significant amount of network traffic and CPU usage due to Redis checking feature flags via Flipper. Since these flags are hit with every request, the overhead becomes significant. To alleviate Redis overhead, we now cache the data in the following way: * L1: A thread-local memory store for 1 minute * L2: Redis for 1 hour
* | | Merge branch 'add-commit-signatures-feature-flag' into 'master'Felipe Artur2019-07-031-1/+6
|\ \ \ | | | | | | | | | | | | | | | | Add GetCommitSignatures feature flag See merge request gitlab-org/gitlab-ce!29288
| * | | Add GetCommitSignatures feature flagadd-commit-signatures-feature-flagFelipe Artur2019-06-281-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds feature flag for GetCommitSignatures which got ported to go. More info: https://gitlab.com/gitlab-org/gitaly/merge_requests/1283
* | | | Cache PerformanceBar.allowed_user_ids list locally and in RedisRémy Coutable2019-07-031-8/+20
| | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | Add Grafana to Admin > Monitoring menu when enabledManeschi Romain2019-07-031-0/+2
| | | |
* | | | Only save Peek session in Redis when Peek is enabledRémy Coutable2019-07-031-0/+12
| | | | | | | | | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | Merge branch 'asciidoc-syntax-highlighting' into 'master'Douwe Maan2019-07-034-2/+19
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | Enable AsciiDoc syntax highlighting (using Rouge) Closes #32635 See merge request gitlab-org/gitlab-ce!29835
| * | | Enable AsciiDoc syntax highlighting (using Rouge)Guillaume Grossetie2019-07-024-2/+19
| | | |
* | | | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceMarin Jankovski2019-07-0344-925/+543
|\ \ \ \
| * \ \ \ Merge branch '44990-remove-old-i' into 'master'Nick Thomas2019-07-032-111/+0
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Remove old migration specs that violate FactoriesInMigrationSpecs See merge request gitlab-org/gitlab-ce!30280
| | * | | | Remove old migrations and specs44990-remove-old-iHeinrich Lee Yu2019-07-032-111/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes old migrations that violate the FactoriesinMigrationSpecs cop
| * | | | | Merge branch 'sh-improve-redis-peek' into 'master'Sean McGivern2019-07-031-0/+82
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Redis call details in Peek performance bar See merge request gitlab-org/gitlab-ce!30191