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
2019-06-29Merge branch 'check-min-schema-migrate' into 'master'Robert Speicher
Ensure we are on a supported version before migrating See merge request gitlab-org/gitlab-ce!29882
2019-06-28Merge branch '63874-use-process-cpu-time-instead-of-thread-for-cpu-metrics' ↵Stan Hu
into 'master' Use PROCESS_CPUTIME_ID for cpu time metrics Closes #63874 See merge request gitlab-org/gitlab-ce!30166
2019-06-28Fix extra newline left by conflict resolutionDJ Mountney
2019-06-28Merge branch 'master' into 'check-min-schema-migrate'DJ Mountney
# Conflicts: # lib/gitlab/database.rb
2019-06-28Merge branch 'transaction-metrics' into 'master'Lin Jen-Shin
Monitor database transaction activity for Rails See merge request gitlab-org/gitlab-ce!29928
2019-06-28Merge branch 'small-s-in-elasticsearch-in-code' into 'master'Rémy Coutable
Fix typo in code comments about Elasticsearch See merge request gitlab-org/gitlab-ce!30163
2019-06-28Replace 'JIRA' with 'Jira'Takuya Noguchi
https://community.atlassian.com/t5/Jira-questions/Is-it-quot-JIRA-quot-or-quot-Jira-quot/qaq-p/681163 Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2019-06-28Use PROCESS_CPUTIME_ID for cpu time metricsAleksei Lipniagov
To measure ruby cpu time, we should use PROCESS_CPUTIME_ID instead of THREAD_CPUTIME_ID in our environments.
2019-06-28Fix typo in code comments about ElasticsearchTakuya Noguchi
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2019-06-28Adds metrics to measure database transactionsAndrew Newdigate
Currently we don't have good insight into the affect of Rails transaction blocks on the application. If these blocks are held open for extended periods, they can have detrimental effects on the application. This change will allow us to track these transactions, with the aim of reducing their duration.
2019-06-28Merge branch 'set-higher-ttl-for-trace-write' into 'master'Kamil Trzciński
Set higher TTL to write lock for traces See merge request gitlab-org/gitlab-ce!30064
2019-06-28Merge branch 'sh-support-subnets-ip-rate-limiter' into 'master'Thong Kuah
Support CIDR notation in IP rate limiter See merge request gitlab-org/gitlab-ce!30146
2019-06-28Merge branch 'graphql-tree-last-commit' into 'master'Lin Jen-Shin
Added commit type to tree GraphQL type See merge request gitlab-org/gitlab-ce!29412
2019-06-28Merge branch '63212-n-1-queries-in-projects-id-boards-api' into 'master'Thong Kuah
Remove N+1 queries in boards API See merge request gitlab-org/gitlab-ce!29634
2019-06-28Merge branch '62826-graphql-emoji-mutations' into 'master'Jan Provaznik
GraphQL mutations for add, remove and toggle emoji See merge request gitlab-org/gitlab-ce!29919
2019-06-28Added commit type to tree GraphQL typePhil Hughes
2019-06-28Support CIDR notation in IP rate limiterStan Hu
This will make it possible to whitelist multiple IP addresses (e.g. 192.168.0.1/24).
2019-06-28Support jsonb Default Value in add_column_with_default Migration HelperJason Goodman
2019-06-28Set higher TTL to write lock for tracesShinya Maeda
Set higher TTL is safer option when it comes to long running archive
2019-06-28GraphQL mutations for add, remove and toggle emojiLuke Duncalfe
Adding new `AddAwardEmoji`, `RemoveAwardEmoji` and `ToggleAwardEmoji` GraphQL mutations. Adding new `#authorized_find_with_pre_checks!` and (unused, but for completeness `#authorized_find_with_post_checks!`) authorization methods. These allow us to perform an authorized find, and run our own additional checks before or after the authorization runs. https://gitlab.com/gitlab-org/gitlab-ce/issues/62826
2019-06-27Add support for creating random passwords in user creation APIStan Hu
To avoid having to specify an actual password to create users, admins can now use the `force_random_password` parameter to let Devise generate a password. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63826
2019-06-27Change GetRawChanges RPC to use bytesPaul Okstad
2019-06-27Add permission check to dashboardsSarah Yasonik
Adds permission checks to the metrics_dashboard endpoint. Users with role of Reporter or above should have access to view the metrics for a given project.
2019-06-27Merge branch 'rs-ee-only-routes-2' into 'master'Lin Jen-Shin
CE-EE parity for routes See merge request gitlab-org/gitlab-ce!29994
2019-06-27Merge branch 'dz-remove-deprecated-user-routes' into 'master'Mike Greiling
Remove deprecated user routes See merge request gitlab-org/gitlab-ce!30044
2019-06-26Merge branch 'refactor/remove-sentry-from-app-settings' into 'master'Stan Hu
Remove Sentry settings from application settings See merge request gitlab-org/gitlab-ce!28447
2019-06-26Add Gitlab.ee methodRobert Speicher
This method yields to the given block when the installation is EE.
2019-06-26Merge branch 'sh-cache-negative-entries-find-commit' into 'master'Douglas Barbosa Alexandre
Allow caching of negative FindCommit matches See merge request gitlab-org/gitlab-ce!29952
2019-06-26Merge branch 'mc/bump/update-codquality-version' into 'master'Grzegorz Bizon
Bump Code Quality version Closes gitlab-ee#12408 See merge request gitlab-org/gitlab-ce!30056
2019-06-26Merge branch 'graphql-error-when-authorizing-with-no-permissions-defined' ↵Bob Van Landuyt
into 'master' Sanity check for GraphQL authorized? See merge request gitlab-org/gitlab-ce!29921
2019-06-26Remove deprecated /u/:username routesDmitriy Zaporozhets
Also release `u` from TOP_LEVEL_ROUTES Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2019-06-26Allow caching of negative FindCommit matchesStan Hu
When FindCommit ref caching is enabled, negative matches would previously not be cached. However, if a source branch is deleted, there's no need to keep looking up the same commit. This change caches the result of a nil commit.
2019-06-26Remove N+1 query for project and group boardscharlieablett
- Add test for N+1 queries - Add destroyable lists scope to Board and List - Preload lists for both project and group boards
2019-06-26Parse the cached value when the it is falseDouglas Barbosa Alexandre
2019-06-26Remove unused authorized_find methodLuke Duncalfe
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/29921#note_184713939
2019-06-26Sanity check for GraphQL authorized?Luke Duncalfe
Raise an exception if a developer calls any of the GraphQL authorization methods and a `authorize :permission` is missing from a mutation class. Previously `authorized?` would return `true` in this situation, which although technically is accurate is not what a developer is intending.
2019-06-25Bump Code Quality versionMatija Čupić
2019-06-25refactor: remove Sentry from application settingsRoger Meier
2019-06-25Update comments and docs around min schema versionDJ Mountney
Fixed some spelling Dropped rake task description for a prefix only task Added note on skipping the check to the postgres debugging dev doc
2019-06-25Drop the source upgrade changeDJ Mountney
We no longer need to point people away from using db:migrate
2019-06-25Add an flag for skipping the schema version checkDJ Mountney
If you chose to use the rollback migration feature on your current version for example, you should still have a way to migrate, being that you are still on a supported migration path.
2019-06-25Fix db:migrate for fresh installsDJ Mountney
2019-06-25Move min schema version check to db:migrateDJ Mountney
Rather than have it checked only as part of gitlab:db:configure, we will instead have it as a pre-req for every db:migrate command
2019-06-25Check supported version when migratingDJ Mountney
Set the mininum supported migration version to be the schema version as of 11.11.0, and errors you if that is not detected during gitlab:db:configure
2019-06-25Fix broken worktree testGitalyBot
The setup was wrong, and due to Gitaly being a bit more strict it had to match up. The test is now accurate and passing again.
2019-06-25Merge branch 'sh-quiet-backup-secrets-log' into 'master'Rémy Coutable
Silence backup warnings when CRON=1 in use Closes #63703 See merge request gitlab-org/gitlab-ce!30033
2019-06-25Silence backup warnings when CRON=1 in useStan Hu
If CRON=1 is in use, we shouldn't generate any output or admins may be notified via e-mail about unnecessary warnings. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63703
2019-06-25Merge branch 'pages-ssl-project-aware-feature-flag' into 'master'Nick Thomas
Use project depended feature flag for pages ssl and get certificates only for enabled domains See merge request gitlab-org/gitlab-ce!29609
2019-06-25Refactor inside_transaction? to Gitlab::DatabaseAndrew Newdigate
This is a small change to move AfterCommitQueue.inside_transaction? to Gitlab::Database.inside_transaction? Since this change is required by different changes which may not arrive in sequence, it's easier to extract this change out on it's own.
2019-06-25Use project depended feature flag for pages sslVladimir Shushlin
Also add ::Gitlab::LetsEncrypt.enabled? shortcut and simplify it a lot