mediawiki-extensions-Echo/modules/icons
Siddharth VP e27f4937ff Add API module for sending notifications
Allows users to send notifications to themselves (T306211). For sending
notifications to others, a new permission is created (echo-create),
assigned only to bots by default. For now, only one user can be notified
in one API request.

If the email flag is set in the API params, the notification is also
sent as an email, provided the user hasn't disabled email notifications
for the "api-triggered" category.

This feature is behind a feature flag. Set $wgEchoEnableApiEvents = true
to use.

Adapted from If0267a38be7d454e3d284d30f93c93a828288dd7.
Co-authored-by: TheresNoTime <starling-ctr@wikimedia.org>

Bug: T58362
Bug: T306211
Change-Id: I94642bff5dcb075cb9db862206d59c19edad9fd1
2024-05-04 17:43:39 +03:00
..
articleCheck-progressive.svg Set all icons used in EchoNotificationIcons to 30x30 2022-03-25 13:18:07 +00:00
changes.svg build: Update SVGO to latest v2.3.0 and re-crush SVGs 2021-05-27 11:47:02 -07:00
edit-progressive.svg build: Update 'svgo' to latest v3.2.0 2024-01-11 19:07:46 +01:00
edit-user-page.svg build: Update 'svgo' to latest v3.2.0 2024-01-11 19:07:46 +01:00
edit-user-talk-progressive.svg Set all icons used in EchoNotificationIcons to 30x30 2022-03-25 13:18:07 +00:00
feedback-progressive.svg build: Update SVGO to latest v2.3.0 and re-crush SVGs 2021-05-27 11:47:02 -07:00
global-progressive.svg build: Update 'svgo' to latest v3.2.0 2024-01-11 19:07:46 +01:00
helpNotice-ltr.svg build: Update 'svgo' to latest v3.2.0 2024-01-11 19:07:46 +01:00
helpNotice-rtl.svg build: Update 'svgo' to latest v3.2.0 2024-01-11 19:07:46 +01:00
link-progressive.svg build: Update 'svgo' to latest v3.2.0 2024-01-11 19:07:46 +01:00
mention-failure.svg Set all icons used in EchoNotificationIcons to 30x30 2022-03-25 13:18:07 +00:00
mention-progressive.svg build: Update 'svgo' to latest v3.2.0 2024-01-11 19:07:46 +01:00
mention-status-bundle-progressive.svg build: Update 'svgo' to latest v3.2.0 2024-01-11 19:07:46 +01:00
mention-success-constructive.svg build: Update 'svgo' to latest v3.2.0 2024-01-11 19:07:46 +01:00
message-constructive.svg build: Update 'svgo' to latest v3.2.0 2024-01-11 19:07:46 +01:00
notice.svg build: Update 'svgo' to latest v3.2.0 2024-01-11 19:07:46 +01:00
revert.svg Set all icons used in EchoNotificationIcons to 30x30 2022-03-25 13:18:07 +00:00
robot.svg Add API module for sending notifications 2024-05-04 17:43:39 +03:00
speechBubbles-ltr-progressive.svg build: Update 'svgo' to latest v3.2.0 2024-01-11 19:07:46 +01:00
speechBubbles-ltr.svg build: Update 'svgo' to latest v3.2.0 2024-01-11 19:07:46 +01:00
speechBubbles-rtl-progressive.svg build: Update 'svgo' to latest v3.2.0 2024-01-11 19:07:46 +01:00
speechBubbles-rtl.svg build: Update 'svgo' to latest v3.2.0 2024-01-11 19:07:46 +01:00
unbell.svg build: Update 'svgo' to latest v3.2.0 2024-01-11 19:07:46 +01:00
user-rights-progressive.svg build: Update 'svgo' to latest v3.2.0 2024-01-11 19:07:46 +01:00
user-speech-bubble.svg build: Update 'svgo' to latest v3.2.0 2024-01-11 19:07:46 +01:00
userTalk-ltr.svg build: Update 'svgo' to latest v3.2.0 2024-01-11 19:07:46 +01:00
userTalk-rtl.svg build: Update 'svgo' to latest v3.2.0 2024-01-11 19:07:46 +01:00
watchlist-ltr-progressive.svg build: Update 'svgo' to latest v3.2.0 2024-01-11 19:07:46 +01:00
watchlist-rtl-progressive.svg build: Update SVGO to v3.0.2 & re-crush icons 2023-06-14 19:12:11 +00:00