Commit graph

7183 commits

Author SHA1 Message Date
bsitu 75d5c9b9a3 Remove (X) next to Alerts/Messages if there is one section
Change-Id: Ibf66328e31bfefb3d588196c3f4babfa65bb52f3
Eg: Alerts(X) becomes Alerts
2014-09-09 11:12:38 -07:00
Matthias Mullie b090b749de Messages/Alerts text is tiny in Monobook
Just like all other text elements in the overlay: set the font-size to 13px
Not sure why this was em & rest px. 13px is equivalent to the current 0.8em in
Vector.

Change-Id: I29d67f21cc2af7209469299ab228ebe7dac98af7
2014-09-09 18:01:36 +02:00
bsitu 9c55aa0fc8 Colors are backwards for flyout section link
Also make active section link not clickable

Change-Id: I7f391929382489e8bad5ab56fea9f2ef7b2978b0
2014-09-09 16:31:23 +02:00
jenkins-bot 4aa508b6a8 Merge "Default to alerts tab" 2014-09-08 21:42:29 +00:00
jenkins-bot 91d102131e Merge "Mark notifications as read if they fail rendering" 2014-09-08 21:27:26 +00:00
Erik Bernhardson 97417af20c Mark notifications as read if they fail rendering
The only issue is that the badge is not up to date till
you refresh the page, I think that's fine for now

Change-Id: I585b4cc185bf859ddb06829df75309ff3d56d8b8
2014-09-08 14:22:10 -07:00
jenkins-bot f39ad2d842 Merge "mw.echo.overlay.updateCount() no longer exists" 2014-09-08 20:44:09 +00:00
Erik Bernhardson 5da9eac08a Default to alerts tab
The only exception is when there are new message notifications but no new
alert notifications.

Bug: 70461
Change-Id: I06daa3f7d526beeb878eb343c169e01acd49e71f
2014-09-08 13:18:51 -07:00
jenkins-bot 66cdad22c8 Merge "Hygiene: Give ApiStub modes names instead of numbers" 2014-09-08 19:11:36 +00:00
Amir E. Aharoni ce6b730e74 Localize numbers of alerts and messages
Change-Id: Ifc502afaed3fc04e7addb5383e3ed0c3c4efe439
2014-09-08 16:14:19 +03:00
jenkins-bot ad0bf2dadd Merge "Hygiene: Dont run jshint against .less files" 2014-09-08 10:40:37 +00:00
Translation updater bot b89163bbfd Localisation updates from https://translatewiki.net.
Change-Id: I681e050ecb04cc85dae46b0715edf096e9a72615
2014-09-07 21:59:02 +02:00
Erik Bernhardson 584394fcde Hygiene: Give ApiStub modes names instead of numbers
Change-Id: Ia01ba14a1b2ab179454f14e5a1595ff468c46fc5
2014-09-05 16:52:42 -07:00
Erik Bernhardson c88261148d Hygiene: Dont run jshint against .less files
Change-Id: Ib90f706160b5404fa278e09e5a79bb83e8911500
2014-09-05 16:45:34 -07:00
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