Commit graph

3694 commits

Author SHA1 Message Date
Translation updater bot f98b2e2b52 Localisation updates from https://translatewiki.net.
Change-Id: I1ca1a6c0d27ad657e2ea423871daff674deb0706
2016-09-08 23:43:56 +02:00
Moriel Schottlender 00e0b9f45d Make seen/unseen badge more consistent across wikis
- Add a 'hasUnseen' data to the xwiki bundle so the badge can
  consider its value when changing its color even without the
  bundle being opened.
- Check and store seenTimes from all sources that the xwiki
  has in a new JS object that the SeenTimeModel can store

Bug: T134855
Change-Id: Ifdcee88b4378cdc7acb4ae5c0cbc60b76339757e
2016-09-08 12:40:15 -07:00
Chad Horohoe da4f8f5db9 Use static cache for times so it works across instances of SeenTime
Follows-up If6319a02. Making the cache static enables us to reuse
the in-process cache across multiple instances of the class.

Bug: T144534
Change-Id: I1a594830f13d56ab4e0e636a3cdb5e96379e990a
2016-09-08 12:24:46 -07:00
WMDE-Fisch a04c10790a Fix missing doc part for mention status global
Change-Id: Ifdcc6605bb121523e3f8586f1d107d1407c711f3
2016-09-08 14:46:10 +02:00
jenkins-bot 39720f926b Merge "Break more rules in break-word so long words can wrap in notifications" 2016-09-08 00:06:47 +00:00
Moriel Schottlender ed453c1026 Hide separator when bundled item is expanded
Bug: T142260
Change-Id: I5ea12d426c29a4b82bdfa5453d14841800b7a108
2016-09-07 16:44:03 -07:00
Moriel Schottlender 22d83568f7 Break more rules in break-word so long words can wrap in notifications
Change-Id: Ib0cde96438175f2bc136bd89d4a2717785cecba0
2016-09-07 16:32:37 -07:00
Translation updater bot 3a4a2d3ff2 Localisation updates from https://translatewiki.net.
Change-Id: I5c2f30814e7c4239f70ed5c4a551cce9d9495121
2016-09-07 22:42:22 +02:00
Moriel Schottlender eb98b21dfe Add 'canRender' check to EchoMentionStatusPresentationModel
Change-Id: Ica338ff5810b62849d30e5b27709558f1b797c43
2016-09-06 14:44:51 -07:00
jenkins-bot 4a680a1e78 Merge "Add method to get local unread notifications in the manager" 2016-09-06 21:28:50 +00:00
L10n-bot f521349c8d Merge "Localisation updates from https://translatewiki.net." 2016-09-06 20:46:56 +00:00
jenkins-bot fc63f11b64 Merge "SeenTime: Wrap cache with CachedBagOStuff" 2016-09-06 20:43:38 +00:00
Translation updater bot fad121d04a Localisation updates from https://translatewiki.net.
Change-Id: Ib5b1cd5d59faf05c18dc339d9a8a2f4a5315bc1c
2016-09-06 22:41:46 +02:00
Moriel Schottlender 93f4f2a460 Add method to get local unread notifications in the manager
Bug: T141404
Change-Id: I90aa4b83cdc1f3c1c793f8ca88b532a428c7b0af
2016-09-06 13:07:57 -07:00
Kunal Mehta b3cdd56952 SeenTime: Wrap cache with CachedBagOStuff
That adds an in-process cache so we don't have duplicate key lookups on
every request.

Bug: T144534
Change-Id: If6319a026c457a32bfde0e212c6193aa728cb208
2016-09-06 13:06:26 -07:00
Translation updater bot 23eab2f799 Localisation updates from https://translatewiki.net.
Change-Id: I943edd5986898ccb9006d24d7e46cbf39f6df75b
2016-09-05 22:41:47 +02:00
Jakob Warkotsch f77d2eff6c Improve mention success and failure messages.
Bug: T143084
Change-Id: Ia6ed8acf33a39971fbe2927ebbb7b403838efc80
2016-09-05 12:33:49 +02:00
Translation updater bot 2b3d5e44f8 Localisation updates from https://translatewiki.net.
Change-Id: I55e938b130b7a66e54dc613a4ed57acd854129a1
2016-09-04 22:28:46 +02:00
Translation updater bot ab4063181b Localisation updates from https://translatewiki.net.
Change-Id: I7db6f341e3f5a5eca5547b60ccb5d24307643f36
2016-09-04 00:20:11 +02:00
jenkins-bot 32e8a8c845 Merge "Add confirmation popup widget" 2016-09-02 23:28:09 +00:00
Translation updater bot 5114505570 Localisation updates from https://translatewiki.net.
Change-Id: If9279455489bffe254b316fa2298836ca8d28cbc
2016-09-02 22:54:54 +02:00
jenkins-bot 4ca6513039 Merge "Hide xwiki widget separator when widget is expanded" 2016-09-02 19:56:22 +00:00
Ed Sanders 44140295ce Remove apparently unused PNG files
The repo is now PNG-free.

Change-Id: Ia76505473fc99365781735a19ece4d028eaec528
2016-09-02 12:28:28 -07:00
Moriel Schottlender df38f142ef Followup I3daae156d: Don't truncate body text for small screens
We already took away the truncation of header text, the body should
follow for narrow screens and wrap, instead of using the ellipses
truncation.

Change-Id: I3504599044e1c94ccec55c420d455b9370dae474
2016-09-02 11:27:56 -07:00
jenkins-bot 05d05d2c56 Merge "Fix notification page width responsiveness issues" 2016-09-02 17:22:00 +00:00
jenkins-bot cf7cf0dd66 Merge "Provide title when parsing wikitext" 2016-09-02 01:48:33 +00:00
Ed Sanders b54576564b Fix notification page width responsiveness issues
Have the page hide the sidebar at 982px, when there is
not enough room for both (and when vector switches down to SD).

Make inbox responsive when resizing.

Change-Id: I3daae156d1ebb0619090d466caa5138d0d98e937
2016-09-01 18:02:06 -07:00
Ed Sanders 0271cdd52d Remove unused CSS and icon for old preferences button
Change-Id: I0ba1d1322c4c53fe7fefd92be85fd595198a63c9
2016-09-01 17:30:50 -07:00
Ed Sanders b0f5a46964 Convert 'generic' icon to SVG
Change-Id: I3a364720161ede8045c5a3f7cf51923966266c56
2016-09-01 17:24:30 -07:00
jenkins-bot b40ad3cd3c Merge "Clean up Special:Notifications output" 2016-09-01 23:18:03 +00:00
Moriel Schottlender 4047f2f2c1 Hide xwiki widget separator when widget is expanded
Bug: T142260
Change-Id: I24fbd6bd2eba3c7b2d16cb1e46130cfd4a981fb3
2016-09-01 14:30:49 -07:00
Translation updater bot 5a781e559d Localisation updates from https://translatewiki.net.
Change-Id: I29ac1613fa84e158805da5eb81030bdb62399547
2016-09-01 23:24:14 +02:00
Stephane Bisson c75d974004 Provide title when parsing wikitext
Bug: T141460
Change-Id: I802c9c4bf964a060e44f25a487b5aec6f7d8c6b6
2016-09-01 16:48:56 -04:00
Moriel Schottlender 97a7d44190 Clean up Special:Notifications output
Transform the php output to OOUI widgets.

Bug: T129172
Change-Id: I65cb5f2a016fc2a3c33a0b1cd2f3f88ed963ab02
2016-09-01 13:38:06 -07:00
Moriel Schottlender f449c68780 Add confirmation popup widget
Mainly used for mobile actions, and should be appended to the
overlay - this widget assumes it should appear and then fade out
with some confirmation message.

Also moved 'doubleCheck' icon to the ooui definitions, including
an inverted icon that is necessary for this widget.

Bug: T141404
Change-Id: I67a44962eaee6b7bd8cac26dcb5277177fa5d224
2016-08-31 14:47:59 -07:00
Translation updater bot 04421c2216 Localisation updates from https://translatewiki.net.
Change-Id: If2c3dcbe900f78845933b9e60ba041171763a70a
2016-08-31 22:34:55 +02:00
jenkins-bot 4c82613936 Merge "Fix sidebar counts Special:Notifications in monobook" 2016-08-31 02:41:05 +00:00
jenkins-bot 8c03fbb0e4 Merge "Adjust Special:Notifications width for small screens" 2016-08-31 02:41:03 +00:00
jenkins-bot ac62a9361c Merge "Fix line-height for notification item text" 2016-08-31 02:41:02 +00:00
Moriel Schottlender a4aa79fa50 Add the best CSS rule to notifications: word-break: break-word;
Add word-break: break-word; so we make sure even long names or titles
without spaces are broken/wrapped where they need to.

Bug: T142662
Change-Id: I166e834495972ec49eb98e301ab9be85f40f5a5e
2016-08-30 17:23:32 -07:00
Moriel Schottlender 311150a92d Adjust Special:Notifications width for small screens
Bug: T141949
Change-Id: Id0987ea9e7929777c887ceea6757ec00b3bf18ae
2016-08-30 15:29:22 -07:00
Moriel Schottlender 6e0076410c Fix sidebar counts Special:Notifications in monobook
Bug: T143845
Change-Id: Idf5922876f55aca6ed5d6800d0ff5066306c5fb1
2016-08-30 15:23:32 -07:00
Moriel Schottlender 07dde93247 Fix line-height for notification item text
Bug: T140523
Change-Id: I6a1a174ed70324da50970ecfb35ebba21ea703dd
2016-08-30 15:12:07 -07:00
L10n-bot 81d06554b8 Merge "Localisation updates from https://translatewiki.net." 2016-08-30 21:04:42 +00:00
Translation updater bot a7bfb072c6 Localisation updates from https://translatewiki.net.
Change-Id: Ie8794392cc5c97cedd06825a7d7d4d2866533a2d
2016-08-30 22:59:51 +02:00
Roan Kattouw 7b2fc76f88 Follow-up 191a3309eb: merge duplicate skinStyles for monobook
This caused text in the notifications popup to be right-aligned
in Monobook, because the stylesheet overriding this was ignored.

Change-Id: Ibf76465996abc7bc218dbf94f1d4a54e445d3693
2016-08-30 13:53:36 -07:00
jenkins-bot 76ea1746f9 Merge "Display a message when API fail due to session end" 2016-08-29 23:46:59 +00:00
Matthew Flaschen 090169fec3 Fix autoloader for I3a426b92892f4c00cab33a13f6a717751120367c
That changes the signature.

Change-Id: I1dc9f0240ae4b27e51e170f31911fea4f5225625
2016-08-29 19:05:10 -04:00
Roan Kattouw 191a3309eb Fix font size for notifications dotdotdot menu in Monobook
Change-Id: Ie75ad192204a652885a82b0021340410b69864f4
2016-08-29 15:22:44 -07:00
Roan Kattouw 68a344d59a Override white background on hover for links in Monobook
p-personal links have a white background on hover, and links
inside the notifications popup were inheriting that CSS rule.

Bug: T144063
Change-Id: I3868e418ab8cce8e5ff6f7cc10e042907cb1e8df
2016-08-29 14:41:54 -07:00