Commit graph

7058 commits

Author SHA1 Message Date
Kunal Mehta 4d8b977ff9 Get rid of disabled 'echo-notify-show-link' preference
This preference has been disabled since bug 47562, and doesn't make
sense to keep around given that the flyout is the main interaction most
users have with Echo.

Change-Id: I7e8ddf96dbde9a95ac01a0cc83bad396151d01bd
2015-07-07 17:10:49 -07:00
Translation updater bot 09643dc7b4 Localisation updates from https://translatewiki.net.
Change-Id: If90b5c8639a20caf8312f2890f2b2fa5bfa2a5f6
2015-07-07 22:07:56 +02:00
jenkins-bot 95a6f459c5 Merge "Add test case to demonstrate T68512 is fixed" 2015-07-07 19:18:43 +00:00
Kunal Mehta bce9dbab18 Link to localized Special:Notifications in overlay footer
Re-use the localized link from the badge.

Bug: T59350
Change-Id: I4b859a07b253894ac776519971cc130548350321
2015-07-06 17:57:59 -07:00
Kunal Mehta 3a1883f3db Add test case to demonstrate T68512 is fixed
Change-Id: Icadf33455aa09147e7f42809a9c36794ec7abd82
2015-07-06 17:31:08 -07:00
jenkins-bot 71075b9262 Merge "Use PROTO_CANONICAL for icon links in emails" 2015-07-06 16:10:35 +00:00
Kunal Mehta b12efddf30 Use PROTO_CANONICAL for icon links in emails
We should not be using HTTP links for HTTPS-only sites.

Bug: T104835
Change-Id: I7dadeb29a8c5562c48d5beb2dd33818152c9eb63
2015-07-06 03:08:03 -07:00
Translation updater bot 254b110d49 Localisation updates from https://translatewiki.net.
Change-Id: I565500a405a33d4fcdf9d1847e70c58b48a6467c
2015-07-05 21:59:59 +02:00
jenkins-bot b0750bb93f Merge "chmod 644 a few files" 2015-07-03 22:33:21 +00:00
Translation updater bot d04c49fd72 Localisation updates from https://translatewiki.net.
Change-Id: Iaf2e8ae5f1fb894f93710cb07dfc25f40b98c688
2015-07-03 20:38:40 +02:00
Alex Monk 6b5a76939b chmod 644 a few files
Bug: T104721
Change-Id: Iee1ef18d3227807110d4e25f0c48f17907adf8ad
2015-07-03 19:31:15 +01:00
jenkins-bot 4db433e8c6 Merge "Avoid warnings on older queued EchoNotificationDeleteJobs" 2015-07-02 22:25:30 +00:00
Kunal Mehta e536eab216 Avoid warnings on older queued EchoNotificationDeleteJobs
Old jobs were queued with array( $userId => $userId ), so there will be no
'0' index. Use array_values() since we don't care about the keys.

Change-Id: I1155d310c7fa09c728797d35d63c7cec0383511c
2015-07-02 15:08:14 -07:00
Translation updater bot f1e6fea70c Localisation updates from https://translatewiki.net.
Change-Id: I5a2c046f017cc1239240f306da4b7c34f44dcaf5
2015-07-02 21:23:56 +02:00
jenkins-bot 15cbb1e698 Merge "Flip EchoEvent::getUseJobQueue() default" 2015-07-02 03:51:12 +00:00
Kunal Mehta a7c36b0b86 Flip EchoEvent::getUseJobQueue() default
Rather than making each notification type opt-in to using the job queue,
make them opt-out by setting an 'immediate' => true flag.

Configure the 'edit-user-talk' notification type to be immediate since
it should not lag behind the orange bar indicator.

Change-Id: I707bc01a97082887c3f1c353d45cdf1c1eaeff04
2015-07-01 20:36:47 -07:00
Translation updater bot f8289e5614 Localisation updates from https://translatewiki.net.
Change-Id: I22535ff1bf3b0721cf9aee2feae1ba4a63323ecb
2015-06-30 21:21:25 +02:00
Translation updater bot 7e97b6d728 Localisation updates from https://translatewiki.net.
Change-Id: I3a7ad4d14391b50f0c5018fd3c4ed088918c727d
2015-06-28 22:10:52 +02:00
Translation updater bot 7ea769d68f Localisation updates from https://translatewiki.net.
Change-Id: I92c101a91d12e56efcb740ada4a296d46b72ca2f
2015-06-26 21:52:47 +02:00
Legoktm 2257dd2a56 Revert "Pass uselang=user to the API instead of figuring it out client side"
This breaks pages using ?uselang=xx where "xx" is not
the user's language.

This reverts commit 0919b01e75.

Bug: T103935
Change-Id: I219810451b991cef88bac62cf880bfda6f98e930
2015-06-25 17:16:13 -07:00
Translation updater bot bc2c65bbc6 Localisation updates from https://translatewiki.net.
Change-Id: I3826f365173f4d0f4acddc15b8f22ad595e70937
2015-06-25 20:42:37 +02:00
Translation updater bot 7b59c677e5 Localisation updates from https://translatewiki.net.
Change-Id: Ia32ad8b0b7f2fb3b9d3e6764857f8c7d4569d94a
2015-06-24 22:04:52 +02:00
Kunal Mehta 23f877fe76 Remove unused 'echo-error-preference' and 'echo-error-token' messages
They stopped being used in 08fc83b6de.

Change-Id: I439d15e6c894b7358ee8add0d9c882eb791909c4
2015-06-24 09:41:20 -07:00
Translation updater bot 57068f9a21 Localisation updates from https://translatewiki.net.
Change-Id: I3b37ad90ba764bf6f4ab501dda830cdf466972bc
2015-06-21 19:58:31 +02:00
jenkins-bot dd2a9b0bbc Merge "Have EchoNotificationDeleteJob process only one user" 2015-06-17 12:32:07 +00:00
Kunal Mehta 25e32f1b3e Have EchoNotificationDeleteJob process only one user
EchoNotificationDeleteJob now only processes one user at a time. If
given multiple user ids, it will queue individual jobs for each user id
rather than processing many at once.

Bug: T102574
Change-Id: I627f059280d8fab3854d9ca8417f22179478772c
2015-06-17 00:22:42 -07:00
Kunal Mehta 1561725130 Remove EchoNotificationFormatter::requiredParameters
Instead, have subclasses implement checking required parameters
manually.

The only subclass that was using this was EchoBasicFormatter and has
been updated.

Change-Id: I23e2fa7044e0d59125530024f8c6c35516d3b90b
2015-06-16 15:32:12 -07:00
Translation updater bot 1a74ec545b Localisation updates from https://translatewiki.net.
Change-Id: I348e9e9306bbf6a1811962261020020124152652
2015-06-16 22:36:49 +02:00
Kunal Mehta 89898043b1 Throw InvalidArgumentException in NotificationFormatter
Change-Id: I1417771c70ed644303ae22c43923cf9674835a7b
2015-06-15 19:28:48 -07:00
Kunal Mehta a2566e45a9 Don't silently accept invalid class names
Change-Id: I7888cd3356fcf7433a52455e1cf64522b7e17eb5
2015-06-15 19:26:31 -07:00
Kunal Mehta cac31dd843 Fix doc comment in EchoNotificationController
Change-Id: I3b82206f93099959ed3c12aed7853762cc3da8e4
2015-06-15 19:02:05 -07:00
Kunal Mehta da894d8a43 Fix docs on EchoNotificationDeleteJob and set explicit visibility on functions
Change-Id: I7bfa6b9a7c2a78135005d05024d77a3319c7eed0
2015-06-15 17:58:00 -07:00
Kunal Mehta 06d9385fbb Don't use $dir
Change-Id: I2e376c15cd6fdddcf037985eb20702c2aaa8c177
2015-06-15 17:45:03 -07:00
Kunal Mehta 1298f2bb74 Don't hook into ourselves: EchoGetNotificationTypes (part 2)
Change-Id: I51600bbb26594323831d22bc35d34587ff146d47
2015-06-15 17:43:54 -07:00
Kunal Mehta df452abbb6 Don't hook into ourselves: EchoCreateNotificationComplete (part 1)
Change-Id: I5f0f3929a3b0396c98e0f3e74b69ddcee744a0e8
2015-06-15 17:41:10 -07:00
Kunal Mehta c1c91a0c1d Update tests/phpunit for new directory structure
Change-Id: Ic2d5659bb1db89cb62d3703ce59f3e58ba909886
2015-06-15 11:36:02 -07:00
jenkins-bot fb6150fb36 Merge "Separate logic for extracting usernames from picking the right one" 2015-06-15 17:49:18 +00:00
Translation updater bot f42d9abcb5 Localisation updates from https://translatewiki.net.
Change-Id: Id6dd9f48cc66102116ef3fc9512908193ddbc8bf
2015-06-14 21:06:12 +02:00
Translation updater bot d74ea607ae Localisation updates from https://translatewiki.net.
Change-Id: Iafa235501231f6f250f770166cda8924a8ead94c
2015-06-13 22:28:10 +02:00
Matthew Flaschen 3c37aefdb1 Separate logic for extracting usernames from picking the right one
Pull out the logic that extracts usernames from links.  This allows
it to be reused by the LQT->Flow import code.

Bug: T101979
Change-Id: Ib16a09cf1f388f56944cd1bb564384535728156e
2015-06-12 21:16:59 -04:00
Translation updater bot 569c30304b Localisation updates from https://translatewiki.net.
Change-Id: I9d69bdefdd15d99f55c75ea1af211128c5ccbaa1
2015-06-12 21:53:18 +02:00
jenkins-bot 054cd1a5cb Merge "build: Adding configuration for jsonlint" 2015-06-12 15:57:24 +00:00
Kunal Mehta 2c71920c5c build: Adding configuration for jsonlint
Change-Id: I3c0d0c353a75bcc9da5dd3706d6c5dc6d34570fd
2015-06-11 21:32:18 -07:00
Matthew Flaschen a6412a6d27 Fix typo in scenario name
Change-Id: I90cf03197c715dc7c786479056f95137245ef939
2015-06-11 23:02:12 -04:00
Matthias Mullie 4a9ebfc9a1 Guarantee a correct known status for Linker::link
Bug: T96162
Change-Id: I4b0962c5ca6bd09b34a8fa031e80b2274033ccc0
2015-06-11 11:15:33 -07:00
jenkins-bot c4b00cfda7 Merge "Remove unused EchoDiscussionParser::getNotifiedUsersForComment()" 2015-06-10 03:41:46 +00:00
Kunal Mehta add1eb8266 Remove unused EchoDiscussionParser::getNotifiedUsersForComment()
Change-Id: I63c51835f54735c04f8356cf8ce161210895c378
2015-06-09 23:38:16 -04:00
Translation updater bot d341b4e325 Localisation updates from https://translatewiki.net.
Change-Id: Ibeab97e3fe899c2e7df9edbecfda31ea7e27c5c1
2015-06-09 22:45:49 +02:00
jenkins-bot 46c8abdfd2 Merge "Merge MWDbEchoEmailBundler into MWEchoEmailBundler, remove abstraction layer" 2015-06-08 21:53:43 +00:00
jenkins-bot 51789ccf5f Merge "Use intval() to make string concatenation in DB query less scary" 2015-06-08 21:50:25 +00:00