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-28Merge commit '11c67e7c2f992299ff5918ce67995b73d1e0be6d' into ↵Kamil Trzciński
object-storage-ee-to-ce-backport
2018-02-28Merge branch 'jej/lfs-object-storage' into 'master'Douwe Maan
Can migrate LFS objects to S3 style object storage Closes #2841 See merge request !2760
2018-02-28embedded snippets supporthaseeb
2018-02-28Render MR Notes with Vue with behind a cookieFatih Acet
2018-02-27Improve Member servicesRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-02-27Move the #update action from Project/Member controllers to the ↵Rémy Coutable
MembershipActions concern Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-02-27Remove explicit audit event log in MembershipActionsRémy Coutable
Move it to Members::ApproveAccessRequestService. Also, note that there was a double audit event log for access request destruction. Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-02-23Merge branch 'bvl-external-auth-port' into 'master'Douwe Maan
Port `read_cross_project` ability from EE See merge request gitlab-org/gitlab-ce!17208
2018-02-22Port `read_cross_project` ability from EEBob Van Landuyt
2018-02-22Merge branch 'fix-500-for-invalid-upload-path' into 'master'Sean McGivern
Fix 500 error when loading an invalid upload URL Closes gitlab-ee#4998 See merge request gitlab-org/gitlab-ce!17267
2018-02-22Fix 500 error when loading an invalid upload URLSean McGivern
2018-02-21Refactor IssuableFinder to extract model-specific logicSean McGivern
By extracting a new `filter_items` method, we can override that in the IssuesFinder and MergeRequestsFinder separately, so we don't need checks that the model is the correct one, because we can just use the class we're in to know that. We can do the same for the VALID_PARAMS constant, by making it a class method.
2018-02-07Merge branch 'pawel/connect_to_prometheus_through_proxy-30480' into 'master'Robert Speicher
Deploy prometheus through kubernetes and autoconnect to cluster Closes #30480 and #28916 See merge request gitlab-org/gitlab-ce!16182
2018-02-07Backport of LFS File Locking APIRubén Dávila
2018-02-06Merge branch 'master' into pawel/connect_to_prometheus_through_proxy-30480Mike Greiling
* master: (242 commits) Validate user namespace before saving so that errors persist on model Reset Project's column information in spec/lib/gitlab/background_migration/populate_merge_request_metrics_with_events_data_spec.rb Explicitly set cwd in Sidekiq memory killer instead of depending on getcwd Downgrade google-protobuf Close low level rugged repository in project cache worker File upload UI obeys LFS filters Resolve "Add a link to documentation on how to get external ip in the Kubernetes cluster details page" Upgrade GitLab Workhorse to v3.6.0 Add sorting options for /users API (admin only) improvements from feedback [ci-skip] add changelog remove file after `Upload#destroy` Fix a hardcoded pipeline ID in a spinach step Override group sidebar links Replace "cluster" with "Kubernetes cluster" Reorder async/sync tasks in BuildFinishedWorker to read traces efficiently Fix tests for Drop filename enforcement Revert using expand_fixture_path in factory Revert "Add FixtureHelpers for FactoryGirl" Refactor :trace to :trace_live in spec ...
2018-02-05Merge branch '42547-upload-store-mount-point' into 'master'Sean McGivern
Store uploader context in uploads Closes #42547 See merge request gitlab-org/gitlab-ce!16779
2018-02-02use Gitlab::UserSettings directly as a singleton instead of ↵Mario de la Ossa
including/extending it
2018-02-02add the uploader context to the upload modelMicaël Bergeron
2018-02-01port of 594e6a0a625^..f74c90f68c6Micaël Bergeron
2018-02-01Merge branch '30106-group-issues' into 'master'Sean McGivern
View all issues of all subgroups on the group issue page Closes #30106 and #39388 See merge request gitlab-org/gitlab-ce!16706
2018-02-01Include subgroup issuables on the group pageJarka Kadlecová
2018-01-31Merge branch 'master' into pawel/connect_to_prometheus_through_proxy-30480Mike Greiling
* master: (119 commits) [ci skip] Fix example commands to refer to the correct versions Use axios instead of jquery ajax for setCiStatusFavicon refactor groups controller to match EE Fix broken test Introduce a new QA::Gitlab::Page::Component::Dropzone class Gitaly Server info for admin panel Add note about being in the `qa` directory for `bin/qa` to work Remove N+1 queries with /projects/:project_id/{access_requests,members} API endpoints Fix not all events being shown in group dashboard Add support for PreReceiveError in UserMergeBranch RPC Migrate Git::Repository#delete_refs to Gitaly Replace $.get in render math with axios Move mr widget related links into a vue file Make those files as close as EE to reduce conflicts Don't assume postgresql in two initializers Move Repository#can_be_merged? to Gitlab::Git::Repository Remove brakeman from .codeclimate.yml since it's now covered by the sast CI job Update Nokogiri to 1.8.2 Ignore conflicts in db/schema.rb in Gitlab::EeCompatCheck Remove Rugged exception in cache rescue ...
2018-01-30Make pagination optional for issuablesJan Provaznik
On epics roadmap page we list all epics in the given time frame without pagination (at least for the first iteration), in this case it would be nice to use the existing issuables index logic except pagination (see MR gitlab-ee!4281). For this reason this patch allows to easily disable pagination. Related gitlab-ee!4281
2018-01-29Merge remote-tracking branch 'upstream/master' into ↵Pawel Chojnacki
pawel/connect_to_prometheus_through_proxy-30480
2018-01-22Fix filter on `dashboard/groups` & `explore/groupsBob Van Landuyt
When searching we would limit the scope of ancestors to load because the filter would be applied to the ancestors. Instead, we need to load _all_ ancestors for matching projects.
2018-01-18Return last edited time instead of update timeJan Provaznik
For issuable models we keep two timestamps: updated_at which is updated whenever any model attribute is changed, last_edited_at which is changed when only title or description is changed. In UI bellow description we display who and when updated the item. But last_edited_by (used for 'who') is mistakenly combined with updated_at (when), last_edited_at should be used instead. Closes #41247
2018-01-17In development, allow the toggling of the performance barRémy Coutable
The performance bar is still displayed by default in development. Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-01-17Merge remote-tracking branch 'upstream/master' into ↵Pawel Chojnacki
pawel/connect_to_prometheus_through_proxy-30480
2018-01-11Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉
2018-01-05Improve filtering issues by label performanceFelipe Artur
2018-01-03Manual Configuration instead of Activation. Prometheus Service just got a ↵Pawel Chojnacki
bit weirder
2017-12-18Merge branch ↵Douwe Maan
'40871-todo-notification-count-shows-notification-without-having-a-todo' into 'master' Resolve "Todo notification count shows notification without having a todo" Closes #40871 See merge request gitlab-org/gitlab-ce!15807
2017-12-18Reset todo counters when the target is deletedSean McGivern
When the target is deleted, todos are destroyed, but we did not reset the todo cache for users with todos on the deleted target. This would only update after the next time the todo cache was updated for that user.
2017-12-15Backport changes from EELin Jen-Shin
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-13Enable the performance bar in dev environmentsZeger-Jan van de Weg
2017-12-12Present member collection at the controller levelRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-08Add recaptcha_check_if_spammable for issualbes than arent spammablesLuke Bennett
2017-12-08Resolve "No feedback when checking on checklist if potential spam was detected"Luke Bennett
2017-12-07Support uploads for groupsJarka Kadlecova
2017-12-07Resolve "Display member role per project"Mike Greiling
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-29Minor backport from EEValery Sizov
2017-11-25Create issue and merge request destroy servicesGeorge Andrinopoulos
2017-11-23Merge branch 'use-merge-requests-diff-id-column' into 'master'Douwe Maan
Use foreign key to get latest MR diff Closes #37631 See merge request gitlab-org/gitlab-ce!15126
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-23Fix link text from group contextJarka Kadlecova
2017-11-22Fix a few layout errorLin Jen-Shin
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-17Use StrongMemoize and enable/disable cops properlyLin Jen-Shin