Commit graph

7046 commits

Author SHA1 Message Date
Erik Bernhardson 0f36db727e Hygiene: Convert value to constant and clarify outlier use case
Change-Id: I7a82fa99b41362368a9f58cfb84241cca97bfb15
2014-09-11 20:07:29 -07:00
Shahyar c0446f683f Set text colors in overlay to mwui light gray, and increase title font size
Change-Id: I24f796df1abee02557db2f4817ad70c227dd8d8f
2014-09-11 19:13:44 -04:00
Translation updater bot 2909923b7e Localisation updates from https://translatewiki.net.
Change-Id: I669e3049416317430a4047dc2f834cccf7b38b01
2014-09-11 23:56:18 +02:00
bsitu b320555cb1 wfDebugLog exception if thrown during formatting
Some exception is not loggable, which won't be logged by
MWExceptionhandler::logException(), we should log it in
the debug log for debugging purpose

Change-Id: I709c45f7e47afacb98be3a869eb5b70660e18f48
2014-09-11 11:37:25 -07:00
jenkins-bot 922990408f Merge "Make plural entries correct" 2014-09-11 11:35:58 +00:00
jenkins-bot 9e925cf021 Merge "Switch the order of Alerts and Messages tabs" 2014-09-10 22:00:17 +00:00
Translation updater bot 72f33a532b Localisation updates from https://translatewiki.net.
Change-Id: I0c6dc2045c64e5e185e3bbee555e06045f975ae1
2014-09-10 23:38:55 +02:00
jenkins-bot 34290fb80a Merge "Localize numbers of alerts and messages" 2014-09-10 16:08:45 +00:00
Matthias Mullie adfb235de0 Switch the order of Alerts and Messages tabs
Change-Id: I864d45336c23331543ff6aaea8ec6512d4fba0c3
2014-09-10 15:31:09 +00:00
S Page b634890634 QA: Fix missing "Given I am logged in as a new user"
Echo browser tests pass, but are skipping
  Scenario: New user gets a sign up notification
because a step definition is missing.

I simply adapted
  ^I am logged in as a new user with no notifications$
and the scenario passes in chrome.

Change-Id: I9f2bd10d05b689eaacbf2890913786eb157d6af9
2014-09-10 15:26:53 +00:00
lokal-profil 4f84120386 Make plural entries correct
Changes three singular forms of messages already supporting plural.
Affected messages:
* echo-notification-alert
* echo-notification-message
* echo-overlay-title-overflow

First reported at:
* https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Echo-notification-alert/es
* https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Echo-notification-message/es

Change-Id: Ifcaade5e141c801c6e546d2098578c933d60434e
2014-09-10 09:27:59 +02:00
jenkins-bot 4156e030c8 Merge "Remove (X) next to Alerts/Messages if there is one section" 2014-09-09 23:28:35 +00:00
jdlrobson 2cacf82efa Restore QUnit tests to reflect alert as default tab
This reverts the tests and amends them after the
application of commit 5da9eac08a.

Luckily nothing appears to be broken.

Change-Id: I67acfe5dc74ef750d5443dd619dbb114623ee233
2014-09-09 13:23:37 -07:00
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