Commit graph

2783 commits

Author SHA1 Message Date
Matthias Mullie 4715b55471 Add GENDER support to 'View changes'
Change-Id: I42b8b253b8b865c081ba1aec62848afadd21e0f4
2016-02-23 17:56:16 +01:00
Matthias Mullie 6be71f2fae Delete rows in echo_unread_wikis if there are no unread notifs
It used to be like this, but in order to get the messages badge to show
in the correct circumstances, I had to know if the user had ever had
foreign messages before & I also needed euw_messages_ts even if those
messages had already been read.

Now that we're unconditionally showing messages, we no longer need these
0-value rows.

Bug: T127731
Change-Id: I1fc13bf0e5133ae39224f66d1b5a59c769bfcee2
2016-02-23 16:21:28 +01:00
Stephane Bisson 860404eded Notification: use speechBubbles icon for all talk pages
Bug: T56433
Change-Id: I14e1af9dda1c08e1526fde59072f93189ab0b0d0
2016-02-23 06:53:55 -05:00
Kunal Mehta 7fbec72803 Always show the messages flyout icon
Bug: T127731
Bug: T124372
Change-Id: Ie97229b7ef34cd807f16c76ceae0682c425c53b4
2016-02-23 01:21:28 -08:00
jenkins-bot 6b36375ded Merge "Display human-readable wiki names for cross-wiki notifications" 2016-02-22 21:22:25 +00:00
jenkins-bot 6c73bb5c50 Merge "Keep group open on click" 2016-02-22 20:44:36 +00:00
Translation updater bot 9ff7ef776f Localisation updates from https://translatewiki.net.
Change-Id: I8f173cc414a855e3db4cceb2a239fa33c5b22cd3
2016-02-22 21:38:30 +01:00
Moriel Schottlender 5a3928e009 Keep group open on click
The toggle-collapse process should be applied only when we click the
actual notification content/body and not the bundle items. This will
make it possible to middle-click (or right-click) a bundled item and
open it in a new window without resulting in collapsing the bundle.

Bug: T127416
Change-Id: Iaa06d5db8a1d5f9032874a800cafb6d5a4268876
2016-02-22 12:32:05 -08:00
Matthias Mullie 3979919087 Display human-readable wiki names for cross-wiki notifications
Bug: T121936
Change-Id: Ic14fe65f4ecc6db94fc6774ca0c39d1c2a47db9d
2016-02-22 20:09:53 +01:00
jenkins-bot 076d7f021d Merge "Fix Cucumber tags for Selenium tests" 2016-02-22 14:16:56 +00:00
Željko Filipin 189d606fe0 Fix Cucumber tags for Selenium tests
no_javascript.feature was not running for Chrome, but it works fine.
Fixed.

We are no longer running any Echo tests in Internet Explorer. Fixed.

All scenarios run just fine when targeting mediawiki-vagrant machine
with echo role, so I have added @vagrant tag to both feature files.

Bug: T94152
Change-Id: I2c206048c615583bacc9d6c5f5c2e6ffeaea3462
2016-02-22 13:51:17 +00:00
Roan Kattouw 583f9bf999 Fix typo: @inherits->@extends
Change-Id: I860adb672b75923a32d6f63cbc397429fbccf05a
2016-02-21 23:17:45 -08:00
Translation updater bot 22d7b90728 Localisation updates from https://translatewiki.net.
Change-Id: If41ea5f7685fb0c334b492544164573c21e6ebf0
2016-02-21 22:25:40 +01:00
Ori Livneh 6001f47231 Compress PNGs with zopflipng
Zopfli is the most efficient DEFLATE compression algorithm, trading run-time
performance for file sizes that are typically 3-8% smaller than those produced
by zlib with the maximum compression setting. Its output is Deflate-compatible,
so no specialized decoder is needed.

This change was created by running zopflipng against all the PNG files in this
repository. The exact invocation was:

  git ls-files --exclude-per-directory=.gitignore -- '*.png' \|
    parallel zopflipng -m -y {} {} \;

Files which zopflipng was not able to compress more efficiently were left unmodified.

Bug: T127608
Change-Id: I4bdef5e1b8e9ba63a3f13c7c475274e89f05ddc6
2016-02-21 01:05:45 +00:00
jenkins-bot a1f2edb7e8 Merge "Use more granular oojs-ui dependencies" 2016-02-21 00:32:07 +00:00
Ori Livneh 3f36dfab56 Compress PNGs with zopflipng
Zopfli is the most efficient DEFLATE compression algorithm, trading run-time
performance for file sizes that are typically 3-8% smaller than those produced
by zlib with the maximum compression setting. Its output is Deflate-compatible,
so no specialized decoder is needed.

This change was created by running zopflipng against all the PNG files in this
repository. The exact invocation was:

  git ls-files --exclude-per-directory=.gitignore -- '*.png' \|
    parallel zopflipng -m -y {} {} \;

Files which zopflipng was not able to compress more efficiently were left unmodified.

Bug: T127608
Change-Id: I1f01ac23c10d57edb8471f43ba01bf3cc8de5969
2016-02-21 00:12:15 +00:00
Roan Kattouw b8ed4c36a8 Use more granular oojs-ui dependencies
This allows us to not load oojs-ui-windows and oojs-ui-toolbars,
which saves 83KB of JS (before gzip). oojs-ui-widgets is another 85KB,
but we can't drop it because we use ButtonSelectWidget for
secondary links.

Bug: T114012
Change-Id: I8db1c7a0c100fbb320d9ea271a4b56bbc4372b1f
2016-02-19 20:25:05 -08:00
Translation updater bot 8411b9b899 Localisation updates from https://translatewiki.net.
Change-Id: I05b0bfb2ad8d4dbec972f3f3208b2a4713669b13
2016-02-19 22:06:49 +01:00
jenkins-bot 09334deed3 Merge "Adjust mark as read icon size" 2016-02-19 20:09:54 +00:00
jenkins-bot 75282786fd Merge "Fix hasMessages result when inconsistently enabling cross-wiki" 2016-02-19 20:09:25 +00:00
Justin Du 3b12d96449 Adjust mark as read icon size
Bug: T124025
Change-Id: I9b6e86e3cf59c8a6fbeb06c894d5d180c9bf467f
2016-02-19 20:02:05 +00:00
Matthias Mullie 9f203c560f Fix hasMessages result when inconsistently enabling cross-wiki
Current situation: cross-wiki can be enabled on certain wikis &
disabled on others.
Code used to check if cross-wiki was enabled before fetching the
status of unread messages on foreign wikis. However, it would then
write that result to a shared memcached key.

The cross-wiki check should not happen before data is stored to
cache: what is stored should always be for all wikis. Only when
we fetch it, should we check if cross-wiki is enabled. And if it's
not, we can't use the cross-wiki data - we have to hack around it
ourselves...

Bug: T124372
Change-Id: I3d3d54fc3cbfbf73b51e97acfd8d355dd0cea36d
2016-02-19 11:37:16 -08:00
Matthew Flaschen 4b316438a5 Fix 'Undefined index' PHP warning so XDebug doesn't complain
Change-Id: Id8f8113bcdc454d5df09a20175c7698791b71fba
2016-02-19 05:09:45 +00:00
Translation updater bot 158a9b620a Merge "Localisation updates from https://translatewiki.net." 2016-02-18 21:20:53 +00:00
Translation updater bot 99c002cec9 Localisation updates from https://translatewiki.net.
Change-Id: I432df3171d8fd1b6addb0735e8172d134731f1ea
2016-02-18 22:15:25 +01:00
Stephane Bisson 7dc87b9f7a Allow setting the unread counts to 0 in the echo_unread_wikis
Bug: T127331
Change-Id: I90342c9d64277faa77a905b227148d3102d049cb
2016-02-18 15:31:55 -05:00
jenkins-bot 4b68e4842d Merge "Truncate secondary link labels" 2016-02-18 18:13:26 +00:00
Stephane Bisson 74879c39fb Truncate secondary link labels
Bug: T121822
Change-Id: I3e36a6cd4bc8da96879158e1d7b65fd3a1d582fb
2016-02-18 06:55:36 -05:00
Translation updater bot 2901417a58 Localisation updates from https://translatewiki.net.
Change-Id: If9d05b6da132d409a907195db6127bb4aceb9028
2016-02-17 22:48:19 +01:00
Translation updater bot 8b2dfd57d1 Localisation updates from https://translatewiki.net.
Change-Id: I080fff835c68ffb0e5bf328dd45c94abe4a498bd
2016-02-16 23:10:41 +01:00
jenkins-bot e75f4c523f Merge "Add 'userSpeechBubble' icon" 2016-02-16 18:09:22 +00:00
jenkins-bot d1830041af Merge "Include reason in user-rights notification body" 2016-02-16 17:59:12 +00:00
Stephane Bisson 683100ab40 Add 'userSpeechBubble' icon
This is used as secondary link icon by
'flow-enabled-on-talkpage' notification.

Bug: T121950
Change-Id: I1bc255627c9d9082a8bcd81758276c2358a784d6
2016-02-16 09:39:38 -08:00
jenkins-bot 4a34710fbe Merge "Increase space between notification header and body" 2016-02-16 04:56:23 +00:00
jenkins-bot c229a033bb Merge "Truncate section names to 50 char" 2016-02-16 04:55:59 +00:00
jenkins-bot b3cde86899 Merge "Increase contrast between header and body text in notifications" 2016-02-16 04:55:56 +00:00
Stephane Bisson dff7e8072b Include reason in user-rights notification body
Bug: T126277
Depends-On: Ib9bb28a7a77602e3e729fd0bf13ab8259e15b006
Change-Id: I4941c4ba16ee95798767d858792090609b47b4e4
2016-02-16 01:51:07 +00:00
Stephane Bisson 98861d059a Truncate section names to 50 char
Bug: T121822
Change-Id: I6220fdfb2ad20cfe9935895a2f5a16727d6cbc01
2016-02-15 15:59:00 -05:00
Stephane Bisson 98d428df71 Increase space between notification header and body
Bug: T125968
Change-Id: Ifec5f819fa687637d7421fb062b7345621a83428
2016-02-15 15:56:59 -05:00
Stephane Bisson f969250b27 Increase contrast between header and body text in notifications
Bug: T125964
Change-Id: Id597f10a624e8b4e92bfc1c1c8c79857f23b598c
2016-02-15 15:45:43 -05:00
Translation updater bot 982e76e045 Localisation updates from https://translatewiki.net.
Change-Id: Ia20f7a297928512e26331d4d10442d69afb6fe93
2016-02-15 21:39:10 +01:00
Stephane Bisson 467eeaf2e9 generateSampleNotifications.php: Generate OpenStackManager notifications
Change-Id: Iaddfa08e42735fd6befbe4c7b3e54b3f4e7f62d9
2016-02-15 19:55:47 +00:00
jenkins-bot f188f792df Merge "Avoiding the use of {{SITENAME}}" 2016-02-15 08:22:45 +00:00
Alangi Derick 9820d20512 Avoiding the use of {{SITENAME}}
Removing locations where {{SITENAME}} was used which are not necessary
as filed by the following bugs;

Bug: T126876
Bug: T126875
Change-Id: Ia355185656a8fa2d9caf36d580e37e82f0b7e22b
2016-02-14 22:28:16 +01:00
Translation updater bot f4bba1ab1a Localisation updates from https://translatewiki.net.
Change-Id: Ife70805c8afe152ef2371d0d19e448cdf0dd0e60
2016-02-14 21:29:48 +01:00
Translation updater bot 6e32a73b63 Localisation updates from https://translatewiki.net.
Change-Id: Ie617a84a7804cd5e63ac2ea1e6ebc0f1900c4de1
2016-02-13 23:00:21 +01:00
jenkins-bot 3068f25bb9 Merge "Generate bundled page-linked notifications in test script" 2016-02-13 20:28:54 +00:00
jenkins-bot 523f4c4089 Merge "Run scripts/gen-autoload.php" 2016-02-13 07:25:53 +00:00
jenkins-bot 2bf38f6c37 Merge "Get rid of pre-5.4 CallbackFilterIterator implementation" 2016-02-13 07:25:50 +00:00
jenkins-bot 33ee3ebf80 Merge "Have EventPresentationModel implement JsonSerializable" 2016-02-13 07:23:50 +00:00