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-02-07Backport of LFS File Locking APIRubén Dávila
2018-02-02fix label issueJames Lopez
2018-02-01port of 594e6a0a625^..f74c90f68c6Micaël Bergeron
2018-01-31Enable RuboCop Style/RegexpLiteralTakuya Noguchi
2018-01-26update code based on feedbackJames Lopez
2018-01-26disable retry attempts for Import/Export until that is fixedJames Lopez
2018-01-24Migrate restoring repo from bundle to GitalyAhmad Sherif
Closes gitaly#946
2018-01-24Migrate repository bundling to GitalyAhmad Sherif
Closes gitaly#929
2018-01-17Merge branch 'fix/import-rce-10-3' into 'security-10-3'James Lopez
[10.3] Fix RCE via project import mechanism See merge request gitlab/gitlabhq!2294 (cherry picked from commit dcfec507d6f9ee119d65a832393e7c593af1d3b2) 86d75812 Fix RCE via project import mechanism
2018-01-11Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉
2018-01-06Merge branch 'master' into fix/gb/fix-import-export-restoring-associationsGrzegorz Bizon
* master: (114 commits)
2018-01-05Assign stage and pipeline to a status when importingGrzegorz Bizon
2018-01-04Hide hooks stuffJacob Vosmaer
2018-01-04get it workingJacob Vosmaer
2017-11-30Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin
* upstream/master: (170 commits) support ordering of project notes in notes api Redirect to an already forked project if it exists Reschedule the migration to populate fork networks Create fork networks for forks for which the source was deleted. Fix item name and namespace text overflow in Projects dropdown Minor backport from EE fix link that was linking to `html` instead of `md` Backport epic tasklist Add timeouts for Gitaly calls SSHUploadPack over Gitaly is now OptOut fix icon colors in commit list Fix star icon color/stroke Backport border inline edit Add checkboxes to automatically run AutoDevops pipeline BE for automatic pipeline when enabling Auto DevOps I am certainly weary of debugging sidekiq but I don't think that's what was meant Ensure MRs always use branch refs for comparison Fix issue comment submit button disabled on GFM paste Lock seed-fu at the correct version in Gemfile.lock Improve indexes on merge_request_diffs ...
2017-11-28Remove serialised diff and commit columnsSean McGivern
The st_commits and st_diffs columns on merge_request_diffs historically held the YAML-serialised data for a merge request diff, in a variety of formats. Since 9.5, these have been migrated in the background to two new tables: merge_request_diff_commits and merge_request_diff_files. That has the advantage that we can actually query the data (for instance, to find out how many commits we've stored), and that it can't be in a variety of formats, but must match the new schema. This is the final step of that journey, where we drop those columns and remove all references to them. This is a breaking change to the importer, because we can no longer import diffs created in the old format, and we cannot guarantee the export will be in the new format unless it was generated after this commit.
2017-11-23Fix hashed storage for attachments bugsJames Lopez
2017-11-23Use latest_merge_request_diff associationSean McGivern
Compared to the merge_request_diff association: 1. It's simpler to query. The query uses a foreign key to the merge_request_diffs table, so no ordering is necessary. 2. It's faster for preloading. The merge_request_diff association has to load every diff for the MRs in the set, then discard all but the most recent for each. This association means that Rails can just query for N diffs from N MRs. 3. It's more complicated to update. This is a bidirectional foreign key, so we need to update two tables when adding a diff record. This also means we need to handle this as a special case when importing a GitLab project. There is some juggling with this association in the merge request model: * `MergeRequest#latest_merge_request_diff` is _always_ the latest diff. * `MergeRequest#merge_request_diff` reuses `MergeRequest#latest_merge_request_diff` unless: * Arguments are passed. These are typically to force-reload the association. * It doesn't exist. That means we might be trying to implicitly create a diff. This only seems to happen in specs. * The association is already loaded. This is important for the reasons explained in the comment, which I'll reiterate here: if we a) load a non-latest diff, then b) get its `merge_request`, then c) get that MR's `merge_request_diff`, we should get the diff we loaded in c), even though that's not the latest diff. Basically, `MergeRequest#merge_request_diff` is the latest diff in most cases, but not quite all.
2017-11-22Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin
* upstream/master: (126 commits) Update VERSION to 10.3.0-pre Update CHANGELOG.md for 10.2.0 default fill color for SVGs ignore hashed repos (for now) when using `rake gitlab:cleanup:repos` Use Redis cache for branch existence checks Update CONTRIBUTING.md: Link definition of done to criteria Use `make install` for Gitaly setups in non-test environments FileUploader should check for hashed_storage?(:attachments) to use disk_path Set the default gitlab-shell timeout to 3 hours Update composite pipelines index to include "id" Use arrays in Pipeline#latest_builds_with_artifacts Fix blank states using old css Skip confirmation user api Custom issue tracker Revert "check for `read_only?` first before seeing if request is disallowed" add `#with_metadata` scope to remove a N+1 from the notes' API Fix promoting milestone updating all issuables without milestone Batchload blobs for diff generation check for `read_only?` first before seeing if request is disallowed use `Gitlab::Routing.url_helpers` instead of `Rails.application.routes.url_helpers` ...
2017-11-22Move ModuleWithInstanceVariables to Gitlab namespaceLin Jen-Shin
And use .rubocop.yml to exclude paths we don't care, rather than using the cop itself to exclude.
2017-11-20Clean up schema of the "merge_requests" tableYorick Peterse
This adds various foreign keys and indexes to the "merge_requests" table as outlined in https://gitlab.com/gitlab-org/gitlab-ce/issues/31825. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/31825
2017-11-17Use StrongMemoize and enable/disable cops properlyLin Jen-Shin
2017-11-17Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin
* upstream/master: (507 commits) Add dropdowns documentation Convert migration to populate latest merge request ID into a background migration Set 0.69.0 instead of latest for codeclimate image De-duplicate background migration matchers defined in spec/support/migrations_helpers.rb Update database_debugging.md Update database_debugging.md Move installation of apps higher Change to Google Kubernetes Cluster and add internal links Add Ingress description from official docs Add info on creating your own k8s cluster from the cluster page Add info about the installed apps in the Cluster docs Resolve "lock/confidential issuable sidebar custom svg icons iteration" Update HA README.md to clarify GitLab support does not troubleshoot DRBD. Update license_finder to 3.1.1 Make sure NotesActions#noteable returns a Noteable in the update action Cache the number of user SSH keys Adjust openid_connect_spec to use `raise_error` Resolve "Clicking on GPG verification badge jumps to top of the page" Add changelog for container repository path update Update container repository path reference ...
2017-11-15Prefer polymorphism over specific type checks in Import serviceDouwe Maan
2017-11-07Merge branch 'master' into 38464-k8s-appsShinya Maeda
2017-11-07fix specsJames Lopez
2017-11-07Fix arguments error on Import/Export fetch_ref methodJames Lopez
Added unit test and updated integration spec to test for this as well.
2017-11-07Merge branch '38464-k8s-apps' of https://gitlab.com/gitlab-org/gitlab-ce ↵Shinya Maeda
into 38464-k8s-apps
2017-11-07Merge branch 'master' into 38464-k8s-appsShinya Maeda
2017-11-07Merge branch 'feature/custom-attributes-on-projects-and-groups' into 'master'Rémy Coutable
Support custom attributes on groups and projects See merge request gitlab-org/gitlab-ce!14593
2017-11-07Remove Project#clusters exportAlessio Caiazza
2017-11-06Add Helm import/exportAlessio Caiazza
2017-11-06Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin
* upstream/master: (1723 commits) Resolve "Editor icons" Refactor issuable destroy action Ignore routes matching legacy_*_redirect in route specs Gitlab::Git::RevList and LfsChanges use lazy popen Gitlab::Git::Popen can lazily hand output to a block Merge branch 'master-i18n' into 'master' Remove unique validation from external_url in Environment Expose `duration` in Job API entity Add TimeCop freeze for DST and Regular time Harcode project visibility update a changelog Put a condition to old migration that adds fast_forward column to MRs Expose project visibility as CI variable fix flaky tests by removing unneeded clicks and focus actions fix flaky test in gfm_autocomplete_spec.rb Use Gitlab::Git operations for repository mirroring Encapsulate git operations for mirroring in Gitlab::Git Create a Wiki Repository's raw_repository properly Add `Gitlab::Git::Repository#fetch` command Fix Gitlab::Metrics::System#real_time and #monotonic_time doc ...
2017-11-06Support custom attributes on projectsMarkus Koller
2017-11-03Merge remote-tracking branch 'origin/master' into 38464-k8s-appsKamil Trzcinski
2017-11-03Merge branch 'master' into refactor-clustersShinya Maeda
2017-11-02Merge branch '37631-add-a-merge_request_diff_id-column-to-merge_requests' ↵Yorick Peterse
into 'master' Resolve "Add a `merge_request_diff_id` column to `merge_requests`" See merge request gitlab-org/gitlab-ce!15035
2017-11-02Set merge_request_diff_id on MR when creatingSean McGivern
Once we migrate existing MRs to have this column, we will be able to get the latest diff for a single merge request more efficiently, and (more importantly) get all latest diffs for a collection of MRs efficiently.
2017-11-02Add a column linking an MR to its diffSean McGivern
We already had this the other way around (merge_request_diffs.merge_request_id), but this is needed to gather only the most recent diffs for a set of merge requests.
2017-11-01Fix spec. Fix usage ping. Fix warnings by adding new models and attributes.Shinya Maeda
2017-10-31fix missing issue assigneesJames Lopez
2017-10-11Merge branch '35580-cannot-import-project-with-milestones' into 'master'Sean McGivern
fix the import :milestone from adding the group_id Closes #35580 See merge request gitlab-org/gitlab-ce!14657
2017-10-06fixing group label importmicael.bergeron
2017-10-05fix the project import when an issue has a group milestonemicael.bergeron
2017-10-04Fix static anlysys. Added safe_model_attributes.Shinya Maeda
2017-10-04Add google_api to TOP_LEVEL_ROUTES. Import/Export model failure fix. Fix ↵Shinya Maeda
static analysys.
2017-10-03fix the import :milestone from adding the group_idmicael.bergeron
2017-09-18Add cop to make sure we don't use ivar in a moduleLin Jen-Shin
2017-09-07Merge remote-tracking branch 'origin/master' into ↵Kamil Trzcinski
zj/gitlab-ce-zj-auto-devops-table
2017-09-07Merge branch 'events-migration-cleanup' into 'master'Sean McGivern
Finish migration to the new events setup Closes #37241 See merge request !13932