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
AgeCommit message (Collapse)Author
2018-08-07Resolve "Improve Auto DevOps settings flow for admin and project"Mike Greiling
2018-08-03Resolve "Hashed storage: extend "Enable hashed storage for all new projects" ↵Valery Sizov
to "for all new and renamed projects""
2018-08-01Add repository languages for projectsZeger-Jan van de Weg
Our friends at GitHub show the programming languages for a long time, and inspired by that this commit means to create about the same functionality. Language detection is done through Linguist, as before, where the difference is that we cache the result in the database. Also, Gitaly can incrementaly scan a repository. This is done through a shell out, which creates overhead of about 3s each run. For now this won't be improved. Scans are triggered by pushed to the default branch, usually `master`. However, one exception to this rule the charts page. If we're requesting this expensive data anyway, we just cache it in the database. Edge cases where there is no repository, or its empty are caught in the Repository model. This makes use of Redis caching, which is probably already loaded. The added model is called RepositoryLanguage, which will make it harder if/when GitLab supports multiple repositories per project. However, for now I think this shouldn't be a concern. Also, Language could be confused with the i18n languages and felt like the current name was suiteable too. Design of the Project#Show page is done with help from @dimitrieh. This change is not visible to the end user unless detections are done.
2018-07-30Create GPG commit signature in bulkFrancisco Javier López
2018-07-27Merge branch 'stop-dynamic-routable-creation' into 'master'Douwe Maan
Stop building Route rows on the fly See merge request gitlab-org/gitlab-ce!20313
2018-07-25Remove code for dynamically generating routesYorick Peterse
This adds a database migration that creates routes for any projects and namespaces that don't already have one. We also remove the runtime code for dynamically creating routes, as this is no longer necessary.
2018-07-24Added SiteStatistics as counter cache for Projects and WikisGabriel Mazetto
2018-07-14Add dummy Google Hangouts Chat integrationKukovskii Vladimir
2018-07-12Improve project build time setting validationGrzegorz Bizon
2018-07-11Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao
2018-07-09Updates from `rubocop -a`Lin Jen-Shin
2018-07-06Update Import/Export to use object storage (based on aa feature flag)James Lopez
2018-07-04Merge branch '45739-add-metrics-to-operations-tab' into 'master'Filipa Lacerda
Resolve "Add Metrics to Operations Tab" Closes #45739 See merge request gitlab-org/gitlab-ce!20025
2018-07-04Makes production environment the default environment for a projectTiago Botelho
2018-06-27Rails5 fix MySQL milliseconds problem in specsJasper Maes
2018-06-19Eliminate N+1 queries in LFS file locks checks during a pushStan Hu
This significantly improves performance when a user pushes many references. project.path_locks.any? doesn't cache the output and runs `SELECT 1 AS one FROM "path_locks" WHERE project_id = N` each time. When there are thousands of refs being pushed, this can time out the unicorn worker. CE port for https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6159.
2018-06-14Deny repository disk access in development and testJacob Vosmaer (GitLab)
2018-06-12Merge branch 'bvl-fix-maintainer-push-rejected' into 'master'Douwe Maan
Fixes rejected pushes from maintainers Closes #46337 See merge request gitlab-org/gitlab-ce!18968
2018-06-11Relax expectation in spec/models/project_spec.rbStan Hu
Multiple Sidekiq workers can run in the spec, causing `Project.find` to be run in different places. Instead of setting a fixed number of calls, just use `allow`.
2018-06-11Merge branch 'sh-expire-content-cache-after-import' into 'master'Mayra Cabrera
Expire Wiki content cache after importing a repository Closes #47546 See merge request gitlab-org/gitlab-ce!19617
2018-06-11Fix Rubocop failure in spec/models/project_spec.rbStan Hu
2018-06-11Work around limitations of expect_any_instance_of by stubbing Project.findStan Hu
2018-06-11Fixes rejected pushes from maintainersBob Van Landuyt
Before the push git would make a call to `/:namespace/:project/git-receive-pack`. This would perform an access check without a ref. So the `Project#branch_allows_maintainer_push?` would return false. This adjusts `Project#branch_allows_maintainer_push?` to return true when passing no branch name if there are merge requests open that would allow the user to push. The actual check then happens when a call to `/api/v4/internal/allowed` is made from a git hook.
2018-06-11Expire Wiki content cache after importing a repositoryStan Hu
The cache state for Wikis that were imported via GitHub or Bitbucket does not appear to have been flushed after a successful import. Closes #47546
2018-06-11Avoid checking the user format in every url validationFrancisco Javier López
2018-06-07Merge branch 'feature/customizable-favicon' into 'master'Douwe Maan
Customizable favicon Closes #15661 See merge request gitlab-org/gitlab-ce!14497
2018-06-07Merge branch '47208-human-import-status-name-not-working' into 'master'Douwe Maan
Resolve "ActionView::Template::Error: undefined method `human_import_status_name" Closes #47208 See merge request gitlab-org/gitlab-ce!19470
2018-06-06Adds #human_import_status_name to make it comply with ↵Tiago Botelho
ProjectImportState#human_status_name
2018-06-05Merge branch '42751-rename-mr-maintainer-push' into 'master'Robert Speicher
Rephrase Merge Request Maintainer Edit See merge request gitlab-org/gitlab-ce!19061
2018-06-05send ico files with inline dispositionAlexis Reigel
2018-06-01Rephrase "maintainer" to more precise "members who can merge to the target ↵Mark Chao
branch" "Maintainer" will be freed to be used for #42751
2018-05-31Refactor validations and make runner factory by default to be instance-wide ↵Kamil Trzciński
runner
2018-05-31Improve runner_type validations for Ci::RunnerDylan Griffith
2018-05-22Expose readme url in Project APIImre Farkas
2018-05-16Delete remote uploadsJan Provaznik
ObjectStore uploader requires presence of associated `uploads` record when deleting the upload file (through the carrierwave's after_commit hook) because we keep info whether file is LOCAL or REMOTE in `upload` object. For this reason we can not destroy uploads as "dependent: :destroy" hook because these would be deleted too soon. Instead we rely on carrierwave's hook to destroy `uploads` in after_commit hook. But in before_destroy hook we still have to delete not-mounted uploads (which don't use carrierwave's destroy hook). This has to be done in before_Destroy instead of after_commit because `FileUpload` requires existence of model's object on destroy action. This is not ideal state of things, in a next step we should investigate how to unify model dependencies so we can use same workflow for all uploads. Related to #45425
2018-05-08Merge branch '46010-add-missing-parens' into 'master'Kamil Trzciński
Add missing parens to make consistent in project_spec and runner_spec See merge request gitlab-org/gitlab-ce!18808
2018-05-08Add some missing parens in project_spec and runner_specDylan Griffith
2018-05-08Removes RemoteMirror related TODO from project_specTiago Botelho
2018-05-07Adds remote mirror table migrationTiago Botelho
2018-05-07Backports every CE related change from ee-5484 to CETiago Botelho
2018-05-04Merge branch ↵Douwe Maan
'44542-move-import-specific-attributes-out-of-the-project-model-ce-port' into 'master' Resolve "Move `import_status` out of `projects`" See merge request gitlab-org/gitlab-ce!18688
2018-05-04Backports every CE related change from ee-44542 to CETiago Botelho
2018-05-04fix missing spaceJames Lopez
2018-05-04Add ci_cd_settings delete_all dependency on projectJames Lopez
2018-05-03Style improvements to spec/models/project_spec.rbDylan Griffith
2018-04-27Add extra spec for Project#any_runners? to test block properlyDylan Griffith
2018-04-26Switch to using ProjectCiCdSetting for group_runners_enabled and remove ↵Dylan Griffith
ProjectSettings
2018-04-26Merge branch 'master' into siemens-runner-per-groupDylan Griffith
2018-04-25Merge branch 'zj-storage-path-deprecation' into 'master'Douwe Maan
Legacy disk path refactor Closes gitaly#1111 See merge request gitlab-org/gitlab-ce!18364
2018-04-25Gitlab::Shell works on shard name, not pathZeger-Jan van de Weg
Direct disk access is done through Gitaly now, so the legacy path was deprecated. This path was used in Gitlab::Shell however. This required the refactoring in this commit. Added is the removal of direct path access on the project model, as that lookup wasn't needed anymore is most cases. Closes https://gitlab.com/gitlab-org/gitaly/issues/1111