Commit graph

6519 commits

Author SHA1 Message Date
bsitu d9f697414f mw.echo.overlay.updateCount() no longer exists
If you have an unread notifications not in the initial
load of special page, clicking load more would throw
an error

Bug: 69714
Change-Id: I9af588780b2ab8481ba252ddc21bad0601de7a0b
2014-09-05 21:37:12 +00:00
Translation updater bot f8a8caa93b Localisation updates from https://translatewiki.net.
Change-Id: If0a6fa28d14803765880f0de57407fc517062ed1
2014-09-05 22:45:14 +02:00
jenkins-bot f89a4a5a71 Merge "Allow .mw-echo-title-heading outside special page" 2014-09-05 10:06:13 +00:00
Erik Bernhardson f5985169cc Allow .mw-echo-title-heading outside special page
This class was only being applied to notification output
on special pages and not in the overlay, move it so it can.

Additionally:
* bolds .mw-echo-title-heading same as the anchors it works with
* clean up a repeated rule against `.mw-echo-title a`

Change-Id: I579252399b39746f5aa2cfc51b5cd3b9b8b2cdb0
2014-09-04 18:59:30 -07:00
Translation updater bot 0df890a326 Localisation updates from https://translatewiki.net.
Change-Id: I2e7369aac77031b1b28abceca88af3c53fba2155
2014-09-04 22:06:44 +02:00
jenkins-bot f6b46c6c44 Merge "QA: make Feature names easy to read" 2014-09-03 21:46:58 +00:00
Translation updater bot 06391e909c Localisation updates from https://translatewiki.net.
Change-Id: I0affcb73660a9dd7ddbaa1699a8baf73c4228370
2014-09-03 22:19:00 +02:00
Translation updater bot 81ea248737 Localisation updates from https://translatewiki.net.
Change-Id: Ic29e92fc314d3a23685e4451270a3cfc9d03fe3c
2014-09-02 22:12:51 +02:00
Cmcmahon 76665c552a QA: make Feature names easy to read
Don't duplicate "Notification types" Feature between tests. I
guess this was a copy/paste issue.

Change-Id: I032130024113bb326f0cfbbe09cd7455bdaf7ab5
2014-09-02 10:26:59 -07:00
jenkins-bot f09f11d679 Merge "There is no welcome notification" 2014-09-02 07:34:24 +00:00
jenkins-bot d662e57d7e Merge "Set UnitTestsList hook run against files inside tests/phpunit" 2014-09-01 22:10:03 +00:00
Translation updater bot da1e4dc0eb Localisation updates from https://translatewiki.net.
Change-Id: I9c40775534fda35d87c050420b5d3bc791bb8a90
2014-08-31 21:54:24 +02:00
Translation updater bot a74e085414 Localisation updates from https://translatewiki.net.
Change-Id: Ibedff15da1e664297c40d7d84339620a8b15170f
2014-08-30 22:36:45 +02:00
bsitu 2d38a4c8a8 There is no welcome notification
Bug: 70139
Change-Id: Ice565a23073dac0c39d61801cad34c9c9419b2dc
2014-08-28 14:29:45 -07:00
jdlrobson d8702e46b4 QA: Add browser test for user rights change
Change-Id: I9cb453d1107d0fe961abb32d358a4c00bb9f40c8
2014-08-28 13:57:03 -07:00
Translation updater bot 255a365980 Localisation updates from https://translatewiki.net.
Change-Id: I998f7fd7ce828be7854a99fcc853f44503772fb3
2014-08-28 22:28:36 +02:00
jenkins-bot 11a7422671 Merge "Add profiling to Echo notification API" 2014-08-28 17:01:16 +00:00
Nemo bis 940ea72ab5 Remove trailing whitespace, followup 0b1275b9e3
Change-Id: I1d48f9c3c0af68496bf0672c76202bf00063cb34
2014-08-28 12:06:06 +03:00
bsitu 669080b376 Add profiling to Echo notification API
Change-Id: I427622aa67037e33eabab02c0adf13a2abf59377
2014-08-27 17:26:58 -07:00
jenkins-bot e39c521750 Merge "Fallback to master lookup for title when lookup in slave fails" 2014-08-27 22:52:35 +00:00
jenkins-bot 15a6ad6591 Merge "Specify which event type to use job queue" 2014-08-27 21:08:25 +00:00
Translation updater bot 7f1bc64b08 Localisation updates from https://translatewiki.net.
Change-Id: I8a66fe58b9ca3c9648f47f4a7dd457818f2d133a
2014-08-27 21:23:38 +02:00
bsitu 65bb14b33e Specify which event type to use job queue
This will allow us to specify which notifications to use job queue

Change-Id: I7bf576acf332f5344b35188b5262df2319d15b79
2014-08-27 11:39:53 -07:00
Cmcmahon c982b0a4fa QA: update to fix deprecated API token call
Change-Id: I8046af1add07e26e40fc000a9feeab65b75e4b68
2014-08-27 08:57:45 -07:00
bsitu cb971c4ca0 Fallback to master lookup for title when lookup in slave fails
Bug: 69913
Change-Id: I5d6a4ec750dc8438c92c9e70c36554ff7dbc97f1
2014-08-26 22:33:28 +00:00
bsitu 17828f7953 Continue offset is missing in the read API
When the notification is retrieved without unread first,
it should have a continue offset for next batch of loading

Change-Id: I101990faaf9ed3e3786805aff3906b846d62f612
2014-08-26 13:12:22 -07:00
Translation updater bot f9701b360f Localisation updates from https://translatewiki.net.
Change-Id: I9a2b2ad53ac74bd8b964b57c4d25f12d02a043ce
2014-08-26 21:47:56 +02:00
Reedy 7859b148ce Fix Call to protected method EchoNotificationController::isWhitelistedByUser()
Change-Id: I1f53172d70785c1d4def400b785442e7512ec92c
2014-08-26 19:58:34 +01:00
jenkins-bot d807d9f62e Merge "Hygiene: Move notification type detection to method" 2014-08-25 22:06:17 +00:00
jenkins-bot e8fbe64853 Merge "Hygiene: Move master/slave code to MWEchoDbFactory" 2014-08-25 21:50:02 +00:00
Translation updater bot 15d75c4cdb Localisation updates from https://translatewiki.net.
Change-Id: Ie90d4c91f61c667d76bf992d5f09aa4aee792a30
2014-08-23 21:53:16 +02:00
bsitu db218b9e1f Set UnitTestsList hook run against files inside tests/phpunit
All php unit tests are inside this directory

Change-Id: Ib5ac7c31bf08e68dbc5f66b9fb06e150569e7104
2014-08-22 17:39:00 -07:00
bsitu f29f7303d1 Make timestamp in consistent format after loaded from database
Notification timestamp is generated in MW format (YYYYMMDDHHMMSS)
inside the model and saved to the database in db specific format,
We need to convert it back to MW format when loading the data
from the database, it just happens that MW format is the same
as MySQL timestamp format

Change-Id: Ie881b66c8c24d57a8933c0153e9e7db5fe6aa017
2014-08-22 15:53:51 -07:00
jenkins-bot 979b3e6425 Merge "Revert "Make timestamp in consistent format after loaded from database"" 2014-08-22 21:52:02 +00:00
Bsitu 271d192f69 Revert "Make timestamp in consistent format after loaded from database"
It should handle NULL

This reverts commit 31a986bebd.

Change-Id: I202a7c6f8deaf0b6bbf3af1981f4f25077e916db
2014-08-22 21:50:34 +00:00
Erik Bernhardson ae3b1f2944 Hygiene: Move notification type detection to method
* Moved most of the content from notify to getEventNotifyTypes
* Added phpunit test verifying per-event config overrides defaults
* Remove special-snowflake welcome handling with proper configuration

Change-Id: Ic1aae11d37f23f2b7b8abe3c1edaa414e29be021
2014-08-22 14:05:47 -07:00
Erik Bernhardson 57130aadf1 Hygiene: Move master/slave code to MWEchoDbFactory
Change-Id: I1b36bab2126b12359b00c5623885117ef17d0768
2014-08-22 14:01:57 -07:00
jenkins-bot 620c063910 Merge "Make timestamp in consistent format after loaded from database" 2014-08-22 18:11:00 +00:00
bsitu 31a986bebd Make timestamp in consistent format after loaded from database
timestamp is generated in MW format (YYYYMMDDHHMMSS)
for notification but it's
loaded into model in the database specific format.  We just need
to convert it back to MW format, it just happens that MW
format is the same as MySQL timestamp format

Change-Id: I1f7f2aeb32b63d47e92631d6daa711d9c32e4017
2014-08-22 18:09:39 +00:00
jenkins-bot 6bd1dc99b7 Merge "efLogServerSideEvent is deprecated" 2014-08-21 23:06:01 +00:00
bsitu 092127726b Hygiene: Echo/tests/phpunit/ directory structure should mimic Echo/
Change-Id: I4867d09bb815d621f9feaaf7b8a541e5d817e0d2
2014-08-21 22:58:27 +00:00
Matthias Mullie 411f0151dc efLogServerSideEvent is deprecated
Change-Id: I3fb95ff95dd9371d55285e64a37b32cec35b029a
2014-08-21 15:19:27 +02:00
jenkins-bot 9e71c87d5b Merge "QA: Add missing browser test steps" 2014-08-21 07:05:36 +00:00
jdlrobson 5c73416b4c QA: Add missing browser test steps
Change-Id: I3a54902ae1cf2d2b7263243722bb0b7f57bcba95
2014-08-21 00:02:42 -07:00
Translation updater bot 3e226df165 Merge "Localisation updates from https://translatewiki.net." 2014-08-20 20:45:05 +00:00
Translation updater bot a98d18221d Localisation updates from https://translatewiki.net.
Change-Id: I3d4ec6676475c969edb465fc64f418b415a236ee
2014-08-20 22:25:56 +02:00
jenkins-bot abb7655297 Merge "Add support to retrieve unread + read notifcations for section" 2014-08-20 17:37:51 +00:00
bsitu 8e2de3f02b Add support to retrieve unread + read notifcations for section
Change-Id: Ife3750400315f545f5f3e54ac9847f56c2efe9be
2014-08-19 16:54:48 -07:00
jenkins-bot eb74ba01a5 Merge "Reset per-user notify types for each user" 2014-08-19 23:29:58 +00:00
jenkins-bot b392deda1d Merge "Delete invalid records from echo_target_page" 2014-08-19 22:29:37 +00:00