summaryrefslogtreecommitdiff
path: root/app/models/notification_setting.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@15-6-stable-eev15.6.0-rc42GitLab Bot2022-11-171-3/+1
|
* Add latest changes from gitlab-org/gitlab@14-2-stable-eev14.2.0-rc42GitLab Bot2021-08-191-3/+3
|
* Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42GitLab Bot2021-05-191-1/+1
|
* Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc43GitLab Bot2021-04-201-0/+4
|
* Add latest changes from gitlab-org/gitlab@13-10-stable-eev13.10.0-rc40GitLab Bot2021-03-161-1/+2
|
* Add latest changes from gitlab-org/gitlab@13-7-stable-eev13.7.0-rc42GitLab Bot2020-12-171-1/+1
|
* Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42GitLab Bot2020-10-211-0/+1
|
* Add latest changes from gitlab-org/gitlab@13-3-stable-eeGitLab Bot2020-08-201-2/+7
|
* Add latest changes from gitlab-org/security/gitlab@13-0-stable-eeGitLab Bot2020-05-261-0/+8
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-271-3/+11
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-061-0/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-291-1/+4
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-181-0/+4
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-171-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-131-0/+2
|
* Remove ignore_column occurence in CE coderemove-old-ignore-columnDmitriy Zaporozhets2019-09-101-2/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Use self.ignored_columns += instead of =Stan Hu2019-08-301-2/+1
| | | | This is to accomodate prepended modules.
* Remove dependency on IgnorableColumn concerndineshpanda2019-08-301-2/+1
|
* Simplify notification check for participatingsimplify-pipeline-notification-checkHeinrich Lee Yu2019-06-061-6/+3
|
* Inherit from ApplicationRecord instead of ActiveRecord::BaseNick Thomas2019-03-281-1/+1
|
* reorder notification settings by noisy-nessC.J. Jameson2018-11-301-1/+1
| | | | fixes !54609
* Move N_ calls into separate filesMark Chao2018-08-141-0/+1
| | | | | | These are dynamic translations, so has to be marked explicitly using `N_`, but they are not used in runtime, so can exist in separate file. https://github.com/grosser/gettext_i18n_rails#unfound-translations-with-rake-gettextfind
* Add email_events to replace EMAIL_EVENTS because it needs to be dynamic,Mark Chao2018-08-141-0/+8
| | | allowing override for EE.
* Enable frozen string in app/models/*.rbrepo-forks/gitlab-ce-frozen-string-enable-app-modelsgfyoung2018-07-261-0/+2
| | | | Partially addresses #47424.
* Allow to toggle notifications for issues due soonFelipe Artur2018-07-121-0/+1
|
* Only send issue due emails to participants and custom subscribersSean McGivern2018-03-301-1/+2
|
* Send notification emails when push to a merge requestYarNayar/gitlab-ce-23460-send-email-when-pushing-more-commits-to-the-merge-requestYarNayar2018-03-261-1/+6
| | | | Closes #23460
* Re-enable SqlInjection and CommandInjectionBrian Neel2017-08-081-1/+1
|
* Remove events column from notification settings33620-remove-events-from-notification_settingsSean McGivern2017-07-311-29/+5
| | | | | This was migrated to separate columns in 9.4, and now just needs to be removed for real.
* Fix current feature related specsTiago Botelho2017-06-281-1/+1
|
* Deserialise existing custom notification settingsdeserialize-custom-notificationsSean McGivern2017-06-151-2/+24
| | | | | | 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.
* Add columns for custom notification settingsSean McGivern2017-06-151-18/+7
| | | | | | Add columns for each custom notification level, defaulting to null. Read from those columns if non-null, otherwise fall back to the serialized column. Writing will write to the new column if `events` isn't manually set.
* Added Cop to blacklist polymorphic associationsYorick Peterse2017-06-071-1/+1
| | | | | | | | One should really use a separate table instead of using polymorphic associations. See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11168 for more information.
* Quiet pipeline emailsquiet-pipelinesSean McGivern2017-04-031-4/+13
| | | | | | | | | | 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.
* Enable Style/MutableConstantDouwe Maan2017-02-231-2/+2
|
* Introduce EXCLUDED_WATCHER_EVENTS to exclude eventsremove-successful-pipeline-emails-for-nowLin Jen-Shin2017-01-051-0/+4
| | | | | for watchers. Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8176#note_20920905
* Revert "Split notification integration into another branch"Lin Jen-Shin2016-10-171-1/+3
| | | | This reverts commit 1404aa8677969a03ed56e8f8350257f317f576d8.
* Split notification integration into another branchLin Jen-Shin2016-09-141-3/+1
|
* Try to integrate the email into notification systemLin Jen-Shin2016-09-131-1/+3
|
* Exclude projects pending delete from notificationsSean McGivern2016-07-071-1/+8
| | | | | | | If the Sidekiq job fails for some reason, a project can be 'stuck' pending deletion. The project can't be viewed, so it shouldn't be available through the notification settings association as this will throw an exception when we try to show the link.
* Implement custom notification level optionsFelipe Artur2016-06-151-1/+36
|
* Remove notification level from user modelFelipe Artur2016-06-101-1/+0
|
* Notifications dropdown on project page now has descriptionsPhil Hughes2016-06-071-1/+1
| | | | This is part of #12758
* Remove the annotate gem and delete old annotationsJeroen van Baarsen2016-05-091-13/+0
| | | | | | | | | In 8278b763d96ef10c6494409b18b7eb541463af29 the default behaviour of annotation has changes, which was causing a lot of noise in diffs. We decided in #17382 that it is better to get rid of the whole annotate gem, and instead let people look at schema.rb for the columns in a table. Fixes: #17382
* Annotate the modelsZeger-Jan van de Weg2016-05-061-0/+13
|
* Use Hash instead of Array on NotificationSetting#level enumDouglas Barbosa Alexandre2016-04-111-3/+1
|
* Use default_value_for to set default NotificationSetting#levelDouglas Barbosa Alexandre2016-04-081-8/+6
|
* Refactor creating notification setting with defaultsDmitriy Zaporozhets2016-03-301-0/+11
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Introduce NotificationSetting to user interfaceDmitriy Zaporozhets2016-03-301-0/+7
| | | | | | | | * visiting project will create notification setting if missing * change notification setting per project even without membership * use notification settings instead of membership on profile page Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Introduce NotificationSetting modelDmitriy Zaporozhets2016-03-301-0/+14
It will hold notification setting per group or per project. It will allow get rid of notification level stored in Member model Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>