Commit graph

673 commits

Author SHA1 Message Date
bsitu 792dc034e0 (bug 48302) Trailing dot in link is ignored in plain text email
A random link may contain trailing dot and it doesn't get linked

Change-Id: Ia7d3a4a437438ba473c24b3f4f98bb133cd52954
2013-05-13 15:24:20 -07:00
Translation updater bot 39d39640c1 Localisation updates from http://translatewiki.net.
Change-Id: I148ce18afe3d1d5190201b4e65c55748bfc04a6f
2013-05-08 20:18:43 +00:00
Translation updater bot 4134306e28 Localisation updates from http://translatewiki.net.
Change-Id: If0aac076c4426f3daaa765cd3b3dea2b5ac2b7d7
2013-05-07 20:16:37 +00:00
jenkins-bot bdb4038ceb Merge "(bug 47910) Minor edit should not trigger talk page notif" 2013-05-06 20:50:36 +00:00
Translation updater bot cc00b289a4 Localisation updates from http://translatewiki.net.
Change-Id: I878aa245dbb9ad0f71545f4b902bf13860ad6645
2013-05-06 20:20:24 +00:00
bsitu f47349e303 (bug 47910) Minor edit should not trigger talk page notif
This patch makes Echo talk page notification mimic the existing Orange Bar and Email talk page notification
for minor edit.

For the Orange Bar, minor edit notification is sent if the editor does not have nominornewtalk
permission.

There are additional rules for the email, minor edit notification is sent if global $wgEnotifMinorEdit
is true and notification recipient has enotifminoredits option on.

Change-Id: Ib3835c4dd57a3686b227c44710a14ab06cded166
2013-05-06 10:31:55 -07:00
jenkins-bot 3c5052c642 Merge "New logic for how Echo interacts with new message alerts (OBOD)" 2013-05-06 17:17:30 +00:00
kaldari e1e62e691c New logic for how Echo interacts with new message alerts (OBOD)
Previously Echo prevented all user_newtalk data from being generated
for logged in users. This broke the hasmsg API and also prevented
anyone from being able to implement client-side growlers or alerts
based on this data. The new approach is more conservative - it allows
updates to the user_newtalk table, but prevents the alert itself
(orange bar of doom) from being displayed to logged in users. This
will provide more flexibility for future development regarding talk
page alerts (both for extensions and gadgets).

Note: This change is dependant on the new core change I2105bdd2.

Bug: 47962
Change-Id: I3f35a56b3f1795c2b21a6e4af8fc93b5e61b7d3c
2013-05-06 10:13:14 -07:00
jenkins-bot a94b489842 Merge "Add extra security check to Echo API to prevent vandalism" 2013-05-06 11:05:24 +00:00
Translation updater bot baf9db723b Localisation updates from http://translatewiki.net.
Change-Id: Icc8cb3630eb560c3791c1e4e95582dbe79c9ea7d
2013-05-05 21:08:17 +00:00
bsitu c130197682 Add extra security check to Echo API to prevent vandalism
1. Only trigger mark as read if the unread notification count is > 0
1. Add a limit to the number of notification that can be marked as read
2. Only update those records with read_timestamp = null

Change-Id: I12456c504787f45f594ef9283e98d98692956935
2013-05-04 19:58:37 -07:00
Translation updater bot 82522e0573 Localisation updates from http://translatewiki.net.
Change-Id: Iaf855deb05e110c129e21b5ea3652dbcb5221998
2013-05-04 20:22:34 +00:00
bsitu 11aa91f1a0 Fix the maintenance script
It should wait for slave during each batch update

Change-Id: Iba8b172016317236981c11b4f9af9bb1723516ec
2013-05-03 18:52:05 -07:00
Krenair 9e2b948b66 Do not send notifications for page links when the page is a redirect
Bug: 48045
Change-Id: Ib61574732bde3f7a8aeec4a33a379cc3d1aab60b
2013-05-03 17:31:23 +01:00
jenkins-bot 17ff356648 Merge "Temporary fix for bug 47954 - keep section link in edit summary" 2013-05-03 01:33:18 +00:00
kaldari 5671947f78 Temporary fix for bug 47954 - keep section link in edit summary
Since talk page edits don't necessary belong to a seciton (or may
involve several sections), we'll need to be more clever in the
DiscussionParser to extract it for the long term solution. This
temporary solution will expose any section link in the edit summary
payload so that people can jump straight to the section if they
want to (same as existing behavior in the archive version).

Bug: 47954
Change-Id: I2745ba194ba1f9b5b7c446588da6586e87d35b31
2013-05-02 17:18:48 -07:00
jenkins-bot 1a7485aa34 Merge "Add extra db slave wait to digest email cron" 2013-05-03 00:08:38 +00:00
jenkins-bot a4ee5ce444 Merge "(bug 48011) notlimit parameter does not accept "max" as a value" 2013-05-02 23:26:50 +00:00
bsitu 5df153591d Add extra db slave wait to digest email cron
Change-Id: Iaa5fc89750b2a4bbe5d52bb9e75c2ac90fc3304b
2013-05-02 14:12:40 -07:00
jenkins-bot 4c99cdd60e Merge "Update metric group for welcome/page-linked/user-rights notif" 2013-05-02 20:54:20 +00:00
Translation updater bot 0b39389232 Localisation updates from http://translatewiki.net.
Change-Id: Ib0ad916107f0d1ef25951c28a7f6e169180af886
2013-05-02 20:47:11 +00:00
kaldari 90912b76a7 Merge "Allow mention notifications from project pages" 2013-05-02 18:47:54 +00:00
Krenair b19be6c4ca Fix API in XML format
We weren't setting the XML tag name used for notifications, so this was causing a fatal error.

Bug: 48009
Change-Id: I676f7e7fee1167d02ed35920719105d3ca260e74
2013-05-02 11:44:36 -07:00
kaldari 6e9138d55a Allow mention notifications from project pages
(Such as Wikipedia:AN, Wikipedia:AN/I, Wikipedia:RfA, etc.)

Bug: 47964
Change-Id: If4e404b4fc8f4e16800f340f9a1050f66f663213
2013-05-02 18:06:51 +00:00
bsitu 1394e39b10 (bug 48011) notlimit parameter does not accept "max" as a value
Change-Id: I6bb7272b5a3df5fe9ccd3cf78a24769ca38a3f20
2013-05-02 10:56:46 -07:00
jenkins-bot 68248ccd7f Merge "Link to the notifications FAQ from Preferences" 2013-05-02 00:19:45 +00:00
Erik Bernhardson 113fe8cd84 Link to the notifications FAQ from Preferences
Bug: 47094
Change-Id: I22c420ff31e8b54ea306effedac42e029d29250e
2013-05-01 17:15:37 -07:00
bsitu 729cd1d370 Category and File links should be namespace escaped
Bug: 47924
Change-Id: I912e9d2a35ff956fe7604c719b6ba9d2c3d2fd6d
2013-05-01 16:24:39 -07:00
Translation updater bot c171da0179 Localisation updates from http://translatewiki.net.
Change-Id: I4a328f5bc9d8d1a561a7169f8653348c66f4d598
2013-05-01 20:34:34 +00:00
jenkins-bot ae4d295dc8 Merge "Making sure IP users get orange bar notificaitons" 2013-05-01 17:10:58 +00:00
kaldari f6f287f4a2 Making sure IP users get orange bar notificaitons
Change-Id: Iec38c8458fad43997239ef8aea87b1166a481bb7
2013-05-01 09:57:39 -07:00
bsitu c640ef179a Update metric group for welcome/page-linked/user-rights notif
Change-Id: Ida63587200f972b7b6ec0f826eb4f85ea274b20d
2013-04-30 16:02:55 -07:00
kaldari 03382b6b18 Merge "Bumping Echo config version number for analytics" 2013-04-30 22:31:08 +00:00
kaldari 509f7bccc3 Merge "Make sure footer links don't break in Chrome when zooming" 2013-04-30 22:30:39 +00:00
kaldari 4d03af1d9a Merge "Making sure Echo flyout appears above CentralNotice content" 2013-04-30 22:29:22 +00:00
kaldari bdbd9dfc8f Bumping Echo config version number for analytics
Change-Id: Ia8445f66389fbd860e1808a8649546cd3fbd79c9
2013-04-30 15:26:58 -07:00
Jorm 83fccf44bc Merge "Making sure moreinfo id is unique on archive page" 2013-04-30 22:12:11 +00:00
Translation updater bot 0d0008eb54 Merge "Localisation updates from http://translatewiki.net." 2013-04-30 21:25:22 +00:00
kaldari a61592465e Make sure footer links don't break in Chrome when zooming
Bug: 47897
Change-Id: I05041231b69035c12b0898176eb37d311186043d
2013-04-30 14:21:18 -07:00
Translation updater bot 1d0e0ffeb1 Localisation updates from http://translatewiki.net.
Change-Id: I6227645abe64947f1ab507c93d79b2dfd3de1bda
2013-04-30 21:14:43 +00:00
jenkins-bot 699216c678 Merge "Email notif should check user group eligiblity like web notif does" 2013-04-30 21:14:17 +00:00
kaldari 888d2c1239 Making sure Echo flyout appears above CentralNotice content
Bug: 47896
Change-Id: Ife534c013fc2a643043fb495cdaafd57fee7b7de
2013-04-30 13:51:16 -07:00
jenkins-bot 456a5e8774 Merge "Remove unused W icon, now configured outside extension." 2013-04-30 20:29:49 +00:00
bsitu 68133b6fbb Email notif should check user group eligiblity like web notif does
Email notification only checks user options and doesn't check user group eligibility

Change-Id: I3ad60b83a934b64a9704264a5f072946fdf949f7
2013-04-30 20:25:04 +00:00
kaldari cd7ef2a52d Making sure moreinfo id is unique on archive page
Also adjusting position by 1 pixel!

Bug: 47889
Change-Id: I6e3dee7b5ce16c5de8ee564383d353a032623d25
2013-04-30 12:33:59 -07:00
jenkins-bot 8250b8ef61 Merge "Making sure that email notification settings stay in sync." 2013-04-30 17:33:51 +00:00
kaldari 62155661de Making sure that email notification settings stay in sync.
Also registering UserLoadOptions hook (oops!)

Finally, getting rid of old override system that is now obsolete.

Change-Id: Ie264981eb20f1e3d3c83721bc376d79e2f5a1430
2013-04-29 21:51:42 -07:00
kaldari 95c9825b83 Adding maintenance file for updating user caches after CopyExistingEmailPreference
Change-Id: If938e352e4aaa44d1e9e0718cc1bece26c7a7f74
2013-04-29 18:40:12 -07:00
jenkins-bot 3149e30a33 Merge "Add a hook to smoothly deal with old user preferences during migration" 2013-04-30 00:02:09 +00:00
lwelling 069249cd62 Add a hook to smoothly deal with old user preferences during migration
Catches people who have opted out of old style talk page notifications and opts them out
of equivalent new ones.
Needs $wgRecentEchoInstall = true in LocalSettings.php so it can be turned off when no
longer needed.

The migration has 1 million rows to write on enwiki so will take some time

Change-Id: Ie6201df378bf8df813b3d461ea9a8521d99b1bb9
2013-04-29 16:31:09 -04:00