Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Notify with email when merge request became unmergeable | lulalala | 2018-05-17 | 1 | -0/+17 |
| | | | | Display MR unmergeable reasons | ||||
* | Update doc | lulalala | 2018-05-17 | 1 | -0/+1 |
| | |||||
* | Move NotificationService calls to Sidekiq | Sean McGivern | 2018-04-25 | 1 | -33/+42 |
| | | | | | | | | | | | | | | | | | | | | | The NotificationService has to do quite a lot of work to calculate the recipients for an email. Where possible, we should try to avoid doing this in an HTTP request, because the mail are sent by Sidekiq anyway, so there's no need to schedule those emails immediately. This commit creates a generic Sidekiq worker that uses Global ID to serialise and deserialise its arguments, then forwards them to the NotificationService. The NotificationService gains an `#async` method, so you can replace: notification_service.new_issue(issue, current_user) With: notification_service.async.new_issue(issue, current_user) And have everything else work as normal, except that calculating the recipients will be done by Sidekiq, which will then schedule further Sidekiq jobs to send each email. | ||||
* | Only send issue due emails to participants and custom subscribers | Sean McGivern | 2018-03-30 | 1 | -1/+2 |
| | |||||
* | Merge branch 'master' into stuartnelson3/gitlab-ce-stn/issue-due-email | Sean McGivern | 2018-03-30 | 1 | -0/+10 |
|\ | |||||
| * | Send notification emails when push to a merge requestYarNayar/gitlab-ce-23460-send-email-when-pushing-more-commits-to-the-merge-request | YarNayar | 2018-03-26 | 1 | -0/+10 |
| | | | | | | | | Closes #23460 | ||||
* | | Send issue due emails to all participants | Sean McGivern | 2018-03-30 | 1 | -1/+1 |
| | | |||||
* | | Make linter happy | Stuart Nelson | 2018-03-26 | 1 | -1/+1 |
| | | |||||
* | | Send email to recipients | Stuart Nelson | 2018-03-26 | 1 | -0/+13 |
|/ | |||||
* | Backports changes made in ↵ee-5063-to-ce-backport | Tiago Botelho | 2018-03-21 | 1 | -2/+2 |
| | | | | https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/5063 to CE | ||||
* | Prevent sending an access request to a project from failing when the project ↵dm-mirror-hard-failed-invites | Douwe Maan | 2018-03-11 | 1 | -2/+2 |
| | | | | has invited members | ||||
* | Add DNS verification to Pages custom domains | Nick Thomas | 2018-02-23 | 1 | -0/+32 |
| | |||||
* | Resolve "group request membership mail with too long list of "To:"" | 🙈 jacopo beschi 🙉 | 2018-02-19 | 1 | -1/+16 |
| | |||||
* | Initial work to add notification reason to emails | Mario de la Ossa | 2018-01-16 | 1 | -12/+14 |
| | | | | | | | | | | | 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. | ||||
* | Merge branch '37691-subscription-fires-multiple-notifications' into 'master' | Sean McGivern | 2017-10-12 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | fix multiple notifications from being sent for multiple labels Closes #37691 See merge request gitlab-org/gitlab-ce!14798 | ||||
| * | fix multiple notifications from being sent for multiple labels | micael.bergeron | 2017-10-10 | 1 | -1/+1 |
| | | | | | | | | | | This also refactor the email_helper support spec to watch for multiple emails being sent. | ||||
* | | Send a confirmation email when the user adds a secondary email address. ↵ | Brett Walker | 2017-09-23 | 1 | -7/+0 |
|/ | | | | Utilizes the Devise `confirmable` capabilities. Issue #37385 | ||||
* | Whitelist or fix additional `Gitlab/PublicSend` cop violationsrs-more-public-send-whitelists | Robert Speicher | 2017-08-14 | 1 | -0/+2 |
| | | | | | An upcoming update to rubocop-gitlab-security added additional violations. | ||||
* | skip the :read_project check for new_project_member | http://jneen.net/ | 2017-08-11 | 1 | -1/+1 |
| | | | | | since we're just adding them as a member, the permission may still return false. | ||||
* | check notifiability for more emails | http://jneen.net/ | 2017-08-11 | 1 | -7/+44 |
| | |||||
* | another rubocop style fixrefactor.notification-recipient-builders | http://jneen.net/ | 2017-08-03 | 1 | -1/+1 |
| | |||||
* | remove build_relabeled_recipients | http://jneen.net/ | 2017-08-03 | 1 | -1/+7 |
| | |||||
* | move the read_ability logic into NotificationRecipient | http://jneen.net/ | 2017-08-03 | 1 | -1/+0 |
| | |||||
* | deparameterize `project` | http://jneen.net/ | 2017-08-03 | 1 | -28/+20 |
| | | | | since 99% of the time it's `target.project` anyways. | ||||
* | default the project to target.project | http://jneen.net/ | 2017-08-03 | 1 | -2/+2 |
| | |||||
* | require that the user be able to :read_build | http://jneen.net/ | 2017-08-03 | 1 | -1/+2 |
| | | | | to get a pipeline_failed email | ||||
* | make sure users have to be able to read_pipeline | http://jneen.net/ | 2017-08-03 | 1 | -1/+2 |
| | | | | to get pipeline failed notifications | ||||
* | move the #build_* methods to static, parameterize the project | http://jneen.net/ | 2017-08-03 | 1 | -10/+14 |
| | |||||
* | factor out .notifiable_users | http://jneen.net/ | 2017-08-03 | 1 | -5/+4 |
| | |||||
* | rm the @builder argument and factor out .notifiable_users | http://jneen.net/ | 2017-08-03 | 1 | -2/+1 |
| | |||||
* | notification email on add new gpg key | Alexis Reigel | 2017-07-27 | 1 | -0/+10 |
| | |||||
* | Deserialise existing custom notification settingsdeserialize-custom-notifications | Sean McGivern | 2017-06-15 | 1 | -1/+1 |
| | | | | | | Create a post-deployment migration to update all existing notification settings with at least one custom level enabled to the new format. Also handle the same conversion when updating settings, to catch any stragglers. | ||||
* | Enable the Style/TrailingCommaInArguments cop | Rémy Coutable | 2017-05-10 | 1 | -1/+1 |
| | | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | [Multiple issue assignees] Resolving conflicts | Valery Sizov | 2017-05-04 | 1 | -1/+3 |
| | |||||
* | Backport of multiple_assignees_feature [ci skip] | Valery Sizov | 2017-05-04 | 1 | -6/+21 |
| | |||||
* | Quiet pipeline emailsquiet-pipelines | Sean McGivern | 2017-04-03 | 1 | -2/+2 |
| | | | | | | | | | | 1. Never send a pipeline email to anyone other than the user who created the pipeline. 2. Only send pipeline success emails to people with the custom notification setting for enabled. Watchers and participants will never receive this. 3. When custom settings are unset (for new settings and legacy ones), act as if failed_pipeline is set. | ||||
* | Merge branch 'master' into sh-bring-back-option-to-be-notified-of-own-activity | Stan Hu | 2017-03-17 | 1 | -304/+19 |
|\ | |||||
| * | Resolve "Extract logic of who should receive notification into separate classes" | Dongqing Hu | 2017-03-17 | 1 | -304/+19 |
| | | |||||
* | | Revert "Merge branch '8836-mr-revert' into 'master' | Stan Hu | 2017-03-16 | 1 | -5/+6 |
|/ | | | | | This reverts commit 68e40bd49fde7b790bb31b9ac85a249bedd817d2, reversing changes made to 2d1f823b4c8b60cee525384cb52e547d2be8925a. | ||||
* | Revert "Merge branch 'option-to-be-notified-of-own-activity' into 'master' | Stan Hu | 2017-03-15 | 1 | -6/+5 |
| | | | | | This reverts commit 5e9666880376b3f53edb95cba77b5642d3cc1810, reversing changes made to b35378a938e22f745b6c6ea32b53cb50f9b6c627. | ||||
* | use policies to protect sending email | http://jneen.net/ | 2017-03-09 | 1 | -1/+1 |
| | |||||
* | Update occurrences of MWBS to MWPSfix/mwbs-to-mwps | James Lopez | 2017-03-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename column in the database Rename fields related to import/export feature Rename API endpoints Rename documentation links Rename the rest of occurrences in the code Replace the images that contain the words "build succeeds" and docs referencing to them Make sure pipeline is green and nothing is missing. updated doc images renamed only_allow_merge_if_build_succeeds in projects and fixed references more updates fix some spec failures fix rubocop offences fix v3 api spec fix MR specs fixed issues with partials fix MR spec fix alignment add missing v3 to v4 doc wip - refactor v3 endpoints fix specs fix a few typos fix project specs copy entities fully to V3 fix entity error more fixes fix failing specs fixed missing entities in V3 API remove comment updated code based on feedback typo fix spec | ||||
* | Remove `try` from NotificationService#build_recipients | Richard Macklin | 2017-02-03 | 1 | -1/+1 |
| | | | | | After refactoring pipeline_finished to avoid passing `nil` for current_user, we shouldn't need to use `try` here anymore. | ||||
* | Refactor NotificationService#pipeline_finished to use skip_current_user | Richard Macklin | 2017-02-03 | 1 | -2/+3 |
| | | | | instead of passing nil for current_user | ||||
* | Update NotificationService to respect User#notified_of_own_activity | Richard Macklin | 2017-02-01 | 1 | -3/+3 |
| | |||||
* | Fix notification when global=disabled, group=watch395-fix-notification-when-group-set-to-watch | amaia | 2017-01-30 | 1 | -4/+4 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | address comments | Jarka Kadlecova | 2017-01-25 | 1 | -14/+9 |
| | |||||
* | Support notes without project | Jarka Kadlecova | 2017-01-18 | 1 | -7/+20 |
| | |||||
* | Introduce EXCLUDED_WATCHER_EVENTS to exclude eventsremove-successful-pipeline-emails-for-now | Lin Jen-Shin | 2017-01-05 | 1 | -2/+1 |
| | | | | | for watchers. Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8176#note_20920905 | ||||
* | Make successful pipeline emails off for watchers | Lin Jen-Shin | 2017-01-05 | 1 | -1/+5 |
| | | | | Closes #24845 |