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
2019-10-07Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-13Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-08-20feat: SMIME signed notification emailsDiego Louzán
- Add mail interceptor the signs outgoing email with SMIME - Add lib and helpers to work with SMIME data - New configuration params for setting up SMIME key and cert files
2019-07-10Add a rubocop for Rails.loggerMayra Cabrera
Suggests to use a JSON structured log instead Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102
2019-03-06Adds the Rubocop ReturnNil copAndrew Newdigate
This style change enforces `return if ...` instead of `return nil if ...` to save maintainers a few minor review points
2019-01-31Prevent comments by email when issue is lockedHeinrich Lee Yu
This changes the permission check so it uses the policy on Noteable instead of Project. This prevents bypassing of rules defined in Noteable for locked discussions and confidential issues. Also rechecks permissions when reply_to_discussion_id is provided since the discussion_id may be from a different noteable.
2019-01-07Remove caching of CSV fileHeinrich Lee Yu
Load whole file in memory to simplify code
2019-01-07Refactor upload service to return uploaderHeinrich Lee Yu
Also changes old calls to the service
2019-01-03Fix already initialized constant constant warningBrett Walker
2019-01-03Move constant definitionBrett Walker
2019-01-03Refactoring and review commentsBrett Walker
including verifying the project_slug
2019-01-03Address review feedbackBrett Walker
2019-01-03Use new issue email address formatBrett Walker
We now use `-issue` in order to support catch all email addresses
2019-01-03Use new merge request email address formatBrett Walker
We now use `-merge-request` instead of `+merge-request+` in order to support catch all email addresses
2019-01-03Use new unsubscribe linkBrett Walker
We now use `-unsubscribe` instead of `+unsubscribe` in order to support catch all email addresses
2018-11-09Merge branch 'frozen-string-lib-gitlab-more' into 'master'Rémy Coutable
Enable even more frozen string in lib/gitlab See merge request gitlab-org/gitlab-ce!22863
2018-11-07Apply patches when creating MR via emailBob Van Landuyt
This allows users to add patches as attachments to merge request created via email. When an email to create a merge request is sent, all the attachments ending in `.patch` will be applied to the branch specified in the subject of the email. If the branch did not exist, it will be created from the HEAD of the repository. When the patches could not be applied, the error message will be replied to the user. The patches can have a maximum combined size of 2MB for now.
2018-11-07Enable even more frozen string in lib/gitlabgfyoung
Enables frozens string for the following: * lib/gitlab/conflict/**/*.rb * lib/gitlab/cross_project_access/**/*.rb * lib/gitlab/cycle_analytics/**/*.rb * lib/gitlab/data_builder/**/*.rb * lib/gitlab/database/**/*.rb * lib/gitlab/dependency_linker/**/*.rb * lib/gitlab/diff/**/*.rb * lib/gitlab/downtime_check/**/*.rb * lib/gitlab/email/**/*.rb * lib/gitlab/etag_caching/**/*.rb Partially addresses gitlab-org/gitlab-ce#47424.
2018-09-11Disable existing offenses for the CodeReuse copsYorick Peterse
This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-03Remove requires from email handlersSean McGivern
2018-09-03Add frozen_string_literal: true to email handlersSean McGivern
2018-09-03Extract EE-specific lines from Gitlab::Email::HandlerSean McGivern
2018-07-24Merge branch 'security-event-counters-private-data' into 'master'Felipe Artur Cardozo
[master] Don't expose project names in various counters See merge request gitlab/gitlabhq!2418
2018-07-16Implement action mailer delivery metrics observerGrzegorz Bizon
2018-07-16Move existing email interceptors into the same moduleGrzegorz Bizon
2018-06-21Don't expose project names in various countersYorick Peterse
Various counters would expose either project names, or full project paths (e.g. "gitlab-org/gitlab-ce"). This commit changes various places where we use "add_event" so we no longer expose (potentially) private information.
2018-05-23skip email trim when email is creating new issueCameron Crockett
Updates from MR discussion 1. Added test for ReplyParser 2. Changed param to trim_reply with default set as true Removed keyword param in favor of normal options param updates for MR discussion Resolutions for code review comments more code review fixes
2018-05-07Backport 5480-epic-notifications from EEMario de la Ossa
2018-04-11Correct permissions for creating merge requests from issuesBob Van Landuyt
This could only be possible for users that can create merge requests within a project. So they need to be a allowed to create a branch and create a merge request.
2018-04-09Make email handler clearerRiccardo Padovani
2018-01-31Enable RuboCop Style/RegexpLiteralTakuya Noguchi
2018-01-11Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉
2017-12-11Use message body for merge request descriptionJan Provaznik
When a merge request is created from email, use message body as merge request description. If message body is empty then merge request description is still created from the source branch commit (if there is only single commit in the merge request). If message body is empty and there are multiple commits in the source branch, then merge request description is left empty. Closes #40968
2017-12-05Create merge request from emailJan Provaznik
* new merge request can be created by sending an email to the specific email address (similar to creating issues by email) * for the first iteration, source branch must be specified in the mail subject, other merge request parameters can not be set yet * user should enable "Receive notifications about your own activity" in user settings to receive a notification about created merge request Part of #32878
2017-11-16Adds Rubocop rule for line break after guard clauseJacopo
Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
2017-08-03Check against "Auto-Submitted: no" insteadLin Jen-Shin
This would be much more accurate. We assume this is an auto-generated email if such header is provided, and the value is not "no". It could also be: "auto-generated", "auto-replied", or other values from extension. It seems that only "no" could mean that this is sent by a human. See: https://tools.ietf.org/html/rfc3834
2017-08-02Don't send rejection mails for all auto-generated mailsLin Jen-Shin
Also make it easier to have mailer helper
2017-08-01Rename many path_with_namespace -> full_pathGabriel Mazetto
2017-07-07Include new URL helpers retroactively into includers of Gitlab::RoutingDouwe Maan
2017-07-05Create and use project path helpers that only need a project, no namespaceDouwe Maan
2017-06-20unwrap all links with no hrefhttp://jneen.net/
2017-05-30Consistent diff and blob size limit namesDouwe Maan
2017-05-05Fix email receiver metrics eventsSean McGivern
`Project#inspect` isn't very useful for examining usage of these features.
2017-05-04Merge branch '12910-uploader-pers-snippet' into 'master' Sean McGivern
Prepare uploaders for personal snippets comments See merge request !11022
2017-05-03Handle incoming emails from aliases correctlySean McGivern
These set the 'actual' destination email in one of the Delivered-To lines, so check those too.
2017-05-02Support uploaders for personal snippets commentsJarka Kadlecova
2017-05-01Don't blow up when email has no References headerSean McGivern
If an email doesn't match our incoming email patterns on the To header, we fall back to the References header. If there was no References header, we'd raise an exception, when we'd be better off acting as if it was empty.
2017-04-21Make handler metric params more explicitSean McGivern
2017-04-20Store projects in metrics for email repliesSean McGivern
2017-04-20Add metrics events for incoming emailsSean McGivern
This lets us track how many incoming emails a GitLab instance is processing, by email type (handler) and by project (where applicable).