Commit graph

2520 commits

Author SHA1 Message Date
jenkins-bot 99222dc95d Merge "Resized notification panel footer to be the same size as header" 2016-01-12 01:21:44 +00:00
jenkins-bot db9b8fe037 Merge "Log cross-wiki & bundle items impressions and add their source wiki" 2016-01-12 01:19:20 +00:00
Moriel Schottlender d123364035 Log cross-wiki & bundle items impressions and add their source wiki
Bug: T120158
Change-Id: Ibcd1923aaff4e1fd6fb1f54eefbc010122caa398
2016-01-11 17:12:38 -08:00
jenkins-bot a29c62065c Merge "Add agent link to most notifications" 2016-01-11 22:46:41 +00:00
Stephane Bisson 421ba29a2f Add agent link to most notifications
Affected notifications are
  - edit-user-talk
  - email-user
  - mention
  - reverted
  - user-rights

Bug: T121737
Change-Id: I826cc6088b4f9c1aaef9e8adee0566d25982ed47
2016-01-11 14:34:39 -08:00
jenkins-bot 027e9b7431 Merge "Backfill echo_unread_wikis table" 2016-01-11 22:31:38 +00:00
jenkins-bot 4300f3e32b Merge "Follow-up d62649e62c: crush and clean up SVGs" 2016-01-11 22:27:39 +00:00
jenkins-bot 06525799e4 Merge "Add Kunal, Moriel, Jon to credits; add mailmap file" 2016-01-11 22:25:47 +00:00
jenkins-bot edb74b9c63 Merge "Log the expand action of a notification group item" 2016-01-11 22:04:12 +00:00
jenkins-bot ec5107ece9 Merge "Expand group item on click" 2016-01-11 22:00:57 +00:00
jenkins-bot 4233f09bf2 Merge "Only update seenTime in the local API" 2016-01-11 21:57:14 +00:00
Translation updater bot 40f85255c4 Localisation updates from https://translatewiki.net.
Change-Id: Ie8cb878b333c06b7de12d7e9afd841e2c6bdab95
2016-01-11 22:50:38 +01:00
jenkins-bot e38115fd69 Merge "Don't parse wikitext in edit-user-talk snippets" 2016-01-11 18:47:31 +00:00
Stephane Bisson abf0b86683 Replace 'a message' with 'messages' in 'notification-bundle-header-edit-user-talk'
Bug: T121328
Change-Id: I94382523bd214c4e3ce7021b14e413cedc7b17ca
2016-01-11 09:06:57 -08:00
Translation updater bot d2a2190681 Localisation updates from https://translatewiki.net.
Change-Id: Id9c787be45b7d9091c56869c67f25a3d412e4a20
2016-01-10 23:11:09 +01:00
Translation updater bot 39cfb32977 Localisation updates from https://translatewiki.net.
Change-Id: Ibc5c92677c27970ecec2f3a6983eef14c80ab9c9
2016-01-08 22:18:02 +01:00
Kunal Mehta 7f0dafbe73 Don't parse wikitext in edit-user-talk snippets
Bug: T121994
Change-Id: I427def99f2773896feabaf6202e7f4eecd850be1
2016-01-08 09:22:20 -08:00
Translation updater bot 01ef6ee342 Localisation updates from https://translatewiki.net.
Change-Id: Iacfa2eb0696ea600be0e3d06b6f9980c308cc6dd
2016-01-07 23:35:07 +01:00
Translation updater bot e3cf5a44ec Localisation updates from https://translatewiki.net.
Change-Id: I12da0d15493394aa6f8b6909c64198b876467d88
2016-01-05 22:27:46 +01:00
Kunal Mehta c07236a121 build: Updating development dependencies
* jakub-onderka/php-parallel-lint: 0.9 → 0.9.2

Change-Id: I8dea1aa0be23a7de6e784ed4fd60397b7294f0ea
2016-01-05 10:34:05 -08:00
Translation updater bot 4b0869b894 Localisation updates from https://translatewiki.net.
Change-Id: I957b1b4f08261f883a1e89a92f5124da047679eb
2016-01-04 22:35:48 +01:00
Kunal Mehta 95cbd5de30 build: Updating development dependencies
* mediawiki/mediawiki-codesniffer: 0.5.0 → 0.5.1

Change-Id: I46a926adc0b2d00058ef732bd39037a46e89ebf2
2016-01-03 18:47:18 -08:00
Translation updater bot fa402885cb Localisation updates from https://translatewiki.net.
Change-Id: If860d572f7070503ea9b0abb08fabc3306907bb2
2016-01-03 21:41:09 +01:00
Translation updater bot 0a6caeaeec Localisation updates from https://translatewiki.net.
Change-Id: I4ffc9aa958416e062fe2d5424fa8f102b4119b04
2016-01-01 20:01:14 +01:00
Aaron Schulz 576303e03a Use Maintenance DB transaction methods
Change-Id: I0acde61f57240c95d8f2b8afd55bffbe7b5b98fb
2015-12-31 15:12:05 -08:00
Translation updater bot 34b3732fb3 Localisation updates from https://translatewiki.net.
Change-Id: I69470e6987467de57e34db8c419744b76c57e53c
2015-12-30 21:41:22 +01:00
Kunal Mehta 8c0772c94b build: Updating development dependencies
* grunt-jsonlint: 1.0.6 → 1.0.7

Change-Id: I7ad87b06bd568e1b125fa5ccbe8f0b846f572f25
2015-12-29 11:23:54 -08:00
Translation updater bot cabf3452b1 Localisation updates from https://translatewiki.net.
Change-Id: I8a7dc411fa97f9013b94a947b3f87ea77e371d46
2015-12-28 21:01:41 +01:00
mhutti1 033cba15c6 Resized notification panel footer to be the same size as header
Changed footer buttons height to match the headers height.

Bug: T119375
Change-Id: If215f109b74f2a645615fd89b7cbde6b2e6566d3
2015-12-28 13:24:34 +01:00
Translation updater bot f452f01e75 Localisation updates from https://translatewiki.net.
Change-Id: I444948b1ebb45b10e102f6a7b80e8396f9d78730
2015-12-27 20:35:16 +01:00
Translation updater bot 0cc4e87268 Localisation updates from https://translatewiki.net.
Change-Id: Id1e0de1ba1a2ce704dd99072377a0bb0f502176d
2015-12-26 21:08:05 +01:00
Translation updater bot 8f2aaca89b Localisation updates from https://translatewiki.net.
Change-Id: I1ac7fa140c8e00643c1a2b5b12aae8599dbf80e2
2015-12-25 21:52:03 +01:00
Translation updater bot 0ea10e090d Localisation updates from https://translatewiki.net.
Change-Id: I306f19a60763c4c17a9efd9e2cc9243a53f6ff7e
2015-12-23 22:04:20 +01:00
jenkins-bot 97f64ee855 Merge "Display readable API error message" 2015-12-23 20:18:34 +00:00
jenkins-bot 564805f200 Merge "Add space between notification item buttons" 2015-12-23 20:16:47 +00:00
Moriel Schottlender 0d8bd17dd9 Log the expand action of a notification group item
Bug: T121945
Change-Id: I171d3e99a5529172177c9ddb9f17429609180321
2015-12-23 11:36:29 -08:00
jenkins-bot 73ae7d8b39 Merge "Replace 'a message' with 'messages' in 'notification-edit-talk-page-bundle'" 2015-12-23 19:00:13 +00:00
jenkins-bot 1ca53fe96a Merge "Fix casing of Whatlinkshere in page-linked presentation model" 2015-12-23 18:54:17 +00:00
Stephane Bisson 1eccdbcb49 Fix casing of Whatlinkshere in page-linked presentation model
It generates an annoying orange notice.

Change-Id: Ia548cd08e66db8ab381052874f21ccc49fb03981
2015-12-23 13:04:38 -05:00
Moriel Schottlender c387ac2a63 Add space between notification item buttons
Bug: T121955
Change-Id: Ica5123193ee6fc5252e27cdf3214072c6b9c3624
2015-12-23 09:32:22 -08:00
jenkins-bot 7858d06537 Merge "Use UTC timestamps in flyout" 2015-12-23 15:48:16 +00:00
Stephane Bisson 8c653849c4 Replace 'a message' with 'messages' in 'notification-edit-talk-page-bundle'
Bug: T121328
Change-Id: Ib5dbfd64ce153d57dd8ea40dce5da6c89a5e5bff
2015-12-23 09:26:23 -05:00
jenkins-bot 34ab32507a Merge "Replace EchoBatchRowUpdate with BatchRowUpdate" 2015-12-22 23:32:42 +00:00
Translation updater bot cb25ad5452 Localisation updates from https://translatewiki.net.
Change-Id: I62409663d67291368af9c0b06aa7114262d13744
2015-12-22 22:09:06 +01:00
Moriel Schottlender 4b7520af90 Display readable API error message
If an error has occurred while fetching from the API, the
placeholder item should display the API error information.

If the error is specifically a login issue, a specific
error message is displayed.

Also, adjusted the mw.echo.ui.PlaceholderItemWidget to
accept a clickable link; when valid (currently only with
login error) the link is applied so the user can click
the notification and be taken to the login page.
For general notices (like API error or a general 'no
notifications found' message) the link does nothing.

Bug: T121923
Change-Id: I89a43c7c0eb2cf8e63d03704536e0938ab57dd4d
2015-12-22 10:34:01 -08:00
Matthias Mullie 089d922ac7 Use UTC timestamps in flyout
We already output unix timestamp both in user preference timezone as well as
utc, but we only had the user timezone version for TS_MW format.
While we could change the frontend to use the unix timestamp format, I don't see
any reason not to also include the MW format in utc. Frontend can now easily use
that.

Also fixed creation of the moment object. The timestamp was created as UTC, but
the way it got there was wrong: it expects the timezone offset (Z) to be
included in the timestamp, which is not the case (so it just ended up at +0:00,
which was fine, but confusing). I removed the 'Z' and forced it to be
interpreted as utc.

Bug: T121813
Change-Id: I09403615a1ffbde5dd69af9914afdbdd86cbfe4d
2015-12-22 17:07:31 +01:00
jenkins-bot fe9db1b78c Merge "Make notification body text lighter" 2015-12-22 14:50:33 +00:00
Moriel Schottlender a7aae23806 Remove read item from counter after it was actually marked as read
We removed the item first from the 'unread' counter and then told
the API to mark it as read. The API, however, wisely first checks
if there is anything *to* mark as read, but by that point, the
unread count is zero, so it gracefully refuses and returns an
empty resolved promise.

That is clearly not the way to go. Remove the read item from its
smart unread counter only **after** it was sent to the API to be
marked as read.

Note: We shouldn't wait for the API promise to resolve to remove
the item from the counter, but the API should run its preliminary
tests before the item is removed.

Bug: T122087
Change-Id: Ia5fc35c7435db8c4742238897da67681cee23c41
2015-12-21 15:13:29 -08:00
Translation updater bot 48ffc26ca6 Localisation updates from https://translatewiki.net.
Change-Id: I06bde33f1ba5d7e7beb24e809b4d2de9b7817fe4
2015-12-21 22:04:12 +01:00
Moriel Schottlender 3828f29160 Only update seenTime in the local API
Do not send an update to 'seenTime' to remote wikis; only update
the items that are in the local API.

Bug: T121928
Change-Id: I291ecdb53364327dbdcb769c0d93512eeed3ab29
2015-12-21 10:49:11 -08:00