Commit graph

2017 commits

Author SHA1 Message Date
Translation updater bot 4bf19c8287 Localisation updates from https://translatewiki.net.
Change-Id: I544466d0aa921b9716a0a34ab3c864d389a6989a
2015-07-13 21:34:27 +02:00
Translation updater bot 80c6a7d5ba Localisation updates from https://translatewiki.net.
Change-Id: I18582de30e37c13192ddc400eb5af71374f60602
2015-07-12 21:46:12 +02:00
Translation updater bot b77ca32b65 Localisation updates from https://translatewiki.net.
Change-Id: I1ebb6f311cd90fba3b6f4dd052b273c1b21d52a4
2015-07-11 22:05:10 +02:00
Translation updater bot f73d5af3e1 Localisation updates from https://translatewiki.net.
Change-Id: I645d26cdc3164713cf1d81857ba04b9b393dafe8
2015-07-10 21:13:44 +02:00
jenkins-bot 47021a9080 Merge "Load only the EchoInteraction schema client-side" 2015-07-09 06:31:31 +00:00
Kunal Mehta 064c1f1514 Load only the EchoInteraction schema client-side
The other schemas are not used client-side, just server-side.

Bug: T105220
Change-Id: I5e5e7b01998cee38693c9f5e22da6e86a5e13e96
2015-07-08 13:17:35 -07:00
Translation updater bot 4dc4cc059e Localisation updates from https://translatewiki.net.
Change-Id: I90f4a70b266e5be6eec2da94e96cfe26d2ee9d78
2015-07-08 21:53:59 +02:00
jenkins-bot aab214bc6a Merge "Userlogin is canonical name, not UserLogin" 2015-07-08 09:31:34 +00:00
Niklas Laxström 81f8df2249 Userlogin is canonical name, not UserLogin
Fixes: PHP Notice:  Found alias defined for Userlogin when
searching for special page aliases for UserLogin.

Change-Id: Ib64d4c76d3915ae752a9c56eb9635653e0da5623
2015-07-08 11:26:27 +02:00
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