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-04-17Fix unexpected extra notification mailsPatrick Derichs
Using custom_action and recipient filtering Add more generic filtering to user_ids_notifiable_on Add changelog entry Remove commented class Method is no longer needed Overloading no longer required Filter by action just in case of custom notification level Add participant check Fix unexpected extra notification mails Using custom_action and recipient filtering Add more generic filtering to user_ids_notifiable_on Add changelog entry Remove commented class Method is no longer needed Overloading no longer required Filter by action just in case of custom notification level Fix comment Add repond_to? checks Reverted custom_action filtering Enhanced output of should_email helper Changed :watch to :participating for custom notifiable users Change spec variable name Enhanced participating check These conditions are no longer needed Fix custom notification handling for participating type Participating level should include maintainers Fixed add_guest notification Fix successful pipeline notification Refactoring: Use maintainer? method on team instead Add spec for new_issue: true for a custom group setting which should have lower prio than an available project setting Clean up specs
2019-04-09[CE] Support multiple assignees for merge requestsOswaldo Ferreira
Backports https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10161 (code out of ee/ folder).
2019-02-14Reduce remaining diff with EE in app/servicesRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-12-12Send a notification email on mirror update errorsAlejandro Rodríguez
The email is sent to project maintainers containing the last mirror update error. This will allow maintainers to set alarms and react accordingly.
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-08-14Allow extensible mention type action for EEMark Chao
2018-08-14Allow NotificationRecipientService::Builder::Default to handle target ↵Mark Chao
without project (e.g. Epic)
2018-08-14Add email_events to replace EMAIL_EVENTS because it needs to be dynamic,Mark Chao
allowing override for EE.
2018-07-16Enable frozen string in apps/uploaders/*.rbgfyoung
Partially addresses #47424.
2018-07-09Resolve Naming/UncommunicativeMethodLin Jen-Shin
2018-07-09Use stable gitlab-styles and eliminate offensesLin Jen-Shin
2018-07-09Updates from `rubocop -a`Lin Jen-Shin
2018-05-17Notify with email when merge request became unmergeablelulalala
Display MR unmergeable reasons
2018-05-07Backport 5480-epic-notifications from EEMario de la Ossa
2018-04-10Merge branch 'master' into 'stuartnelson3/gitlab-ce-stn/issue-due-email'Sean McGivern
# Conflicts: # db/schema.rb
2018-04-09Refactor `add_recipients`blackst0ne
2018-04-07[Rails5] Fix spec/requests/projects/cycle_analytics_events_spec.rbblackst0ne
2018-03-30Only send issue due emails to participants and custom subscribersSean McGivern
2018-03-30Send issue due emails to all participantsSean McGivern
2018-03-26Send email to recipientsStuart Nelson
2018-03-07Add discussion APIJan Provaznik
* adds basic discussions API for issues and snippets * reorganizes notes specs (so same tests can be used for all noteable types - issues, MRs, snippets)
2018-01-17Initial work to add notification reason to emailsMario de la Ossa
Adds `#build_notification_recipients` to `NotificationRecipientService` that returns the `NotificationRecipient` objects in order to be able to access the new attribute `reason`. This new attribute is used in the different notifier methods in order to add the reason as a header: `X-GitLab-NotificationReason`. Only the reason with the most priority gets sent.
2017-12-04Fix watch level for mentions in descriptionSean McGivern
For a user with the mention notification level set, the type of their corresponding NotificationRecipient must be :mention for them to receive an email. We set this correctly on notes, but we weren't adding it on new issues or MRs - perhaps because these users are also participants. But the type of the NotificationRecipient in that case would be :participant, not mention, so we have to add the mentioned users manually when creating an issue or MR. When editing an issue or MR, and there are newly-mentioned users to email, we still use the :new_issue and :new_merge_request actions, so this works for that case as well.
2017-08-22actually use the :participating notification typehttp://jneen.net/
2017-08-03rubocop style fixhttp://jneen.net/
2017-08-03add a comment warning that note.project may be nilhttp://jneen.net/
2017-08-03remove build_relabeled_recipientshttp://jneen.net/
2017-08-03move the read_ability logic into NotificationRecipienthttp://jneen.net/
2017-08-03rm unused methodshttp://jneen.net/
2017-08-03disable the delegate cophttp://jneen.net/
2017-08-03deparameterize `project`http://jneen.net/
since 99% of the time it's `target.project` anyways.
2017-08-03unmemoize read_abilityhttp://jneen.net/
since it's only called once now in make_recipient
2017-08-03rm unused NewNote#subjecthttp://jneen.net/
its functionality is swept into the project permission check in NotificationRecipient#has_access? now
2017-08-03clearer argument namehttp://jneen.net/
2017-08-03short-circuit if there is no policy, and add :read_project checkhttp://jneen.net/
2017-08-03force queries to include notification settingshttp://jneen.net/
2017-08-03use a simple pluck, since equivalent filtering happens laterhttp://jneen.net/
2017-08-03style fixeshttp://jneen.net/
2017-08-03.notifiable_users: compact the passed-in usershttp://jneen.net/
2017-08-03default the project to target.projecthttp://jneen.net/
2017-08-03use intersection and diff operators instead of eachhttp://jneen.net/
2017-08-03make sure #custom_action is always definedhttp://jneen.net/
2017-08-03move Recipient to its own NotificationRecipient filehttp://jneen.net/
2017-08-03move the #build_* methods to static, parameterize the projecthttp://jneen.net/
2017-08-03factor out .notifiable_usershttp://jneen.net/
2017-08-03don't elevate to :watch if no @custom_action is providedhttp://jneen.net/
2017-08-03rm the @builder argument and factor out .notifiable_usershttp://jneen.net/
2017-08-03move filtering logic into Recipient classhttp://jneen.net/
2017-08-03add builder helpers with levels and start to separate out #filter!http://jneen.net/
2017-08-03make recipients mutative during the buildhttp://jneen.net/