@@ -809,6 +809,106 @@ DEFAULT_MERGE_STYLE
809809 * :ref: `component `
810810 * :ref: `component-merge_style `
811811
812+ .. setting :: DEFAULT_NOTIFICATIONS
813+
814+ DEFAULT_NOTIFICATIONS
815+ ---------------------
816+
817+ Default notification settings for every created user.
818+
819+ A list of 3-tuples consisting of notification scope, notification frequency and notification handler.
820+
821+ Scopes:
822+
823+ ``0 ``
824+ :guilabel: `All `
825+ ``10 ``
826+ :guilabel: `Watched `
827+ ``20 ``
828+ :guilabel: `Administered `
829+ ``30 ``
830+ :guilabel: `Project `
831+ ``40 ``
832+ :guilabel: `Component `
833+
834+ Frequencies:
835+
836+ ``0 ``
837+ :guilabel: `No notification `
838+ ``1 ``
839+ :guilabel: `Instant notification `
840+ ``2 ``
841+ :guilabel: `Daily digest `
842+ ``3 ``
843+ :guilabel: `Weekly digest `
844+ ``4 ``
845+ :guilabel: `Monthly digest `
846+
847+ Handlers:
848+
849+ ``RepositoryNotification ``
850+ :guilabel: `Operation was performed in the repository `
851+ ``LockNotification ``
852+ :guilabel: `Component was locked or unlocked `
853+ ``LicenseNotification ``
854+ :guilabel: `License was changed `
855+ ``ParseErrorNotification ``
856+ :guilabel: `Parse error occurred `
857+ ``NewStringNotificaton ``
858+ :guilabel: `String is available for translation `
859+ ``NewContributorNotificaton ``
860+ :guilabel: `Contributor made their first translation `
861+ ``NewSuggestionNotificaton ``
862+ :guilabel: `Suggestion was added `
863+ ``LanguageTranslatedNotificaton ``
864+ :guilabel: `Language was translated `
865+ ``ComponentTranslatedNotificaton ``
866+ :guilabel: `Component was translated `
867+ ``NewCommentNotificaton ``
868+ :guilabel: `Comment was added `
869+ ``MentionCommentNotificaton ``
870+ :guilabel: `You were mentioned in a comment `
871+ ``LastAuthorCommentNotificaton ``
872+ :guilabel: `Your translation received a comment `
873+ ``TranslatedStringNotificaton ``
874+ :guilabel: `String was edited by user `
875+ ``ApprovedStringNotificaton ``
876+ :guilabel: `String was approved `
877+ ``ChangedStringNotificaton ``
878+ :guilabel: `String was changed `
879+ ``NewTranslationNotificaton ``
880+ :guilabel: `New language was added or requested `
881+ ``NewComponentNotificaton ``
882+ :guilabel: `New translation component was created `
883+ ``NewAnnouncementNotificaton ``
884+ :guilabel: `Announcement was published `
885+ ``NewAlertNotificaton ``
886+ :guilabel: `New alert emerged in a component `
887+ ``MergeFailureNotification ``
888+ :guilabel: `Repository operation failed `
889+ ``PendingSuggestionsNotification ``
890+ :guilabel: `Pending suggestions exist `
891+ ``ToDoStringsNotification ``
892+ :guilabel: `Unfinished strings exist `
893+
894+ .. note ::
895+
896+ This setting affects only newly created users.
897+
898+ Example:
899+
900+ .. code-block :: python
901+
902+ DEFAULT_NOTIFICATIONS = [
903+ (0 , 1 , " MentionCommentNotificaton" ),
904+ (10 , 1 , " LastAuthorCommentNotificaton" ),
905+ ]
906+
907+ .. seealso ::
908+
909+ * :ref: `notifications `
910+
911+
812912.. setting :: DEFAULT_SHARED_TM
813913
814914DEFAULT_SHARED_TM
0 commit comments