Commit graph

1607 commits

Author SHA1 Message Date
jdlrobson 7a7f751b42 Create mobile thanks using the mobile library
The thanks icon had styling issues as it didn't use the mobile
icon and button fundamental components.

The icon should also be inside the button, the element should not
be both a button and an icon.

Bug: T229440
Change-Id: I0136466fe1452f904961b89ae7677fc1a511adab
2019-09-13 19:23:49 +00:00
Ammar eae0f237df Remove unneeded CSS for thanks toast link
Minerva now provides default styling for these links.
Also removing 'grunt-stylelint' package as there are no
CSS/LESS files in this extension any more.

Bug: T232102
Change-Id: I4e8b44d3159ab4a87103fa8471c7b1b145ac6016
2019-09-06 09:23:12 -07:00
Translation updater bot 5ad0464e25 Localisation updates from https://translatewiki.net.
Change-Id: Ia6d2c9d294a97c7250805ee63d426c5017af741a
2019-09-04 10:15:43 +02:00
Derick Alangi 649d070d22 Fix function name mismatch, wfWikiId() -> wfWikiID()
Change-Id: I78df6e6bbd19315bb4dc7bcb41b3506a182ce8bb
2019-08-31 21:07:14 +01:00
David Barratt c773e01787 Read the block status from the replicas for the 'thank' link
User::isBlocked() by default reads from the replicas;
PermissionManager::isBlockedFrom() reads from master by default. The
'thank' link is not critical so it should be read from the replicas.

Bug: T231617
Change-Id: I262ed63df82e97862a8dfc8da49fc09465ac8507
2019-08-30 13:28:59 +01:00
Translation updater bot 85ba384d05 Localisation updates from https://translatewiki.net.
Change-Id: Id09a4d2cd12ed3ad3c8fe00bbb9517b33a81c503
2019-08-28 10:53:49 +02:00
Matěj Suchánek 2c94ba17ed Replace $wgUser
Bug: T159299
Change-Id: I023c46a99b96ae9141ac75830c03979e90263ae0
2019-08-27 14:20:39 +02:00
Translation updater bot c4d7d38bde Localisation updates from https://translatewiki.net.
Change-Id: Ib0b853478f6959ddbafa5e679df3717a7f763cd5
2019-08-27 11:05:33 +02:00
libraryupgrader 1c7e5c3e0c build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I0a9e4a94efeacf82cc21f17a52b5fd7998839146
2019-08-23 06:47:37 +00:00
Translation updater bot 862c1193c7 Localisation updates from https://translatewiki.net.
Change-Id: I4b7d471c303cc4a3e863c07018581c4bee34b596
2019-08-22 10:10:18 +02:00
Translation updater bot b916ed95c4 Localisation updates from https://translatewiki.net.
Change-Id: I76c44a42d8947eee3fca72d0b6f3ccd447e8a745
2019-08-21 10:10:19 +02:00
Translation updater bot 8783305669 Localisation updates from https://translatewiki.net.
Change-Id: I2a1467f049e67df5a55c4333b16e8fa1e455c5a9
2019-08-20 10:27:07 +02:00
Translation updater bot 741098bbc7 Localisation updates from https://translatewiki.net.
Change-Id: I08e1d5b6a03fe9bd9a1172ff5c65e3df93aeb0e0
2019-08-18 09:33:34 +02:00
Translation updater bot 4752d81405 Localisation updates from https://translatewiki.net.
Change-Id: If1ad85c7bdd61b376f908fdab807a233207a306f
2019-08-15 09:16:56 +02:00
Translation updater bot f462c5bffd Localisation updates from https://translatewiki.net.
Change-Id: I7fb802cd3e7068cb52cf94705a6d9d52e63ae7cd
2019-08-10 22:50:10 +02:00
Translation updater bot 3add727c71 Localisation updates from https://translatewiki.net.
Change-Id: Ifc2eb9ed0f3ecf9c1e49e2b406a9d6af64b51b4c
2019-08-08 09:33:49 +02:00
jenkins-bot e044574c08 Merge "Improve EchoCoreThanksPresentationModel" 2019-08-06 23:14:51 +00:00
Matěj Suchánek 8a05d03f67 Improve EchoCoreThanksPresentationModel
Call EchoEvent::getRevision to use cache.

Don't hide notification about thanks for log
when just the comment was hidden.

Also simplify code using ternary ?:

Change-Id: I279291727ecd404db18dd68699744284e17a27ef
2019-08-06 10:28:15 +02:00
Translation updater bot 2dec9f8ede Localisation updates from https://translatewiki.net.
Change-Id: Ibdf0567e96b468733e9a46bb88f97bc3ecc85474
2019-08-06 09:11:39 +02:00
Timo Tijhof bfa2bd3f72 Merge jquery.findWithParent.js into 'ext.thanks.flowthank'
Never loaded directly as entry point, and only used by one module
as dependency. Does not need to be its own module bundle.

Bug: T202154
Change-Id: I8bfcdc82f96fac6e3e269fcef351a822acd860bd
2019-08-05 16:09:10 +01:00
Translation updater bot d6c8beb6da Localisation updates from https://translatewiki.net.
Change-Id: If835df5b97688d9b2bcec7dd083e0fe35a919d7a
2019-07-29 09:16:09 +02:00
Translation updater bot b724b864a1 Localisation updates from https://translatewiki.net.
Change-Id: I92dabdb83ff373126206dc6c19321131cc9d4cd8
2019-07-27 09:31:08 +02:00
libraryupgrader f10a681867 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* lodash: 4.17.11 → 4.17.14
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744
* set-value: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* union-value: 1.0.0 → 1.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* mixin-deep: 1.3.1 → 1.3.2
  * https://npmjs.com/advisories/1013
  * CVE-2019-10746

Change-Id: Ib56cfcea4fa6d8818a280ddbab673a245c54e36f
2019-07-16 03:05:19 +00:00
Translation updater bot 00d3e004cc Localisation updates from https://translatewiki.net.
Change-Id: I175e8788c71dc55507512a014459c68c22f23e3e
2019-07-12 08:44:42 +02:00
Martin Urbanec 003172c157 SECURITY: Do not let users thank for a log entry if actor was deleted
This prevents users from accessing information about the actor
by abusing uselang=qqx and the thank button.

Bug: T224240
Change-Id: I3f42d56874776cfa0c9d364217f43253efc14782
2019-07-11 15:39:16 -07:00
James D. Forrester ba50cab989 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I1afbea8038a4de900584e42eee77c96fdab99564
2019-07-09 14:18:55 -07:00
Translation updater bot 01a08b22c4 Localisation updates from https://translatewiki.net.
Change-Id: I53b7910eb1f9f36c0cee765f1a53cb10c9fcc4ab
2019-07-07 22:41:42 +02:00
Translation updater bot fb2341325a Localisation updates from https://translatewiki.net.
Change-Id: If4cc3b0727ffafcb75a3608e3fb62dae80cc47db
2019-07-03 22:46:35 +02:00
Translation updater bot eb625a9952 Localisation updates from https://translatewiki.net.
Change-Id: I21872a294dbf46c5fe56a9118545668aaae02bee
2019-06-30 22:39:41 +02:00
Translation updater bot bf72f01a6a Localisation updates from https://translatewiki.net.
Change-Id: I90bc135ec0ac005347daf40ca383e083992f5238
2019-06-24 08:40:00 +02:00
Translation updater bot 2679492902 Localisation updates from https://translatewiki.net.
Change-Id: Ic86c31e647b88c9274364a4d6bbd73f391915187
2019-06-17 22:34:17 +02:00
Translation updater bot 16db0bcff4 Localisation updates from https://translatewiki.net.
Change-Id: I155ee2009a76b4859628d5b870f3165d32ca418a
2019-06-16 22:36:45 +02:00
Translation updater bot d72b3b49d8 Localisation updates from https://translatewiki.net.
Change-Id: I8a9fa3d017be8f2c738c509d93d31cb279a7cf8d
2019-06-13 22:40:46 +02:00
Translation updater bot d6adcc74f6 Localisation updates from https://translatewiki.net.
Change-Id: Ibab6e0b3be8f125f818ff79f7a0d0785a90763ec
2019-06-10 22:55:59 +02:00
libraryupgrader 1b9dee5483 build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I50efea2259013931db0cc8976dc5b8395097645a
2019-06-10 12:01:31 +00:00
libraryupgrader 854a469788 build: Updating npm dependencies for security issues
* Updated stylelint-config-wikimedia to 0.6.0, addressing:
  * https://npmjs.com/advisories/786

Committed package-lock.json (T179229) too.

Change-Id: Icc29bdcf8161634d8ccbb8124356505ab69793fd
2019-06-09 01:08:29 +00:00
Translation updater bot a023dd3c57 Localisation updates from https://translatewiki.net.
Change-Id: I33a6a3e669718e74e68d51bc6ff9e6163fbee844
2019-06-06 22:49:04 +02:00
Translation updater bot b8c7262d14 Localisation updates from https://translatewiki.net.
Change-Id: I9bfb92ab453b893503d6f94920c979e345e5d186
2019-06-02 22:31:01 +02:00
Thalia a95e0e2b91 Use MediaWiki\Block\DatabaseBlock instead of Block
This follows the rename of the Block class in I6d96b63ca0.

Change-Id: I6c0244987a9b2b1d62efabc2da78b79711dad878
2019-05-31 16:44:56 +01:00
jenkins-bot 182fe138e0 Merge "Allow partially blocked users to use Thanks" 2019-05-30 21:02:03 +00:00
jenkins-bot c2a819520b Merge "Support for PermissionManager changes at https://gerrit.wikimedia.org/r/c/mediawiki/core/+/502484" 2019-05-28 11:39:07 +00:00
Vedmaka 6684b5aaaa Support for PermissionManager changes at
https://gerrit.wikimedia.org/r/c/mediawiki/core/+/502484

Change-Id: Ie4cedf457eaaa93ec3055c37539322855e02ce26
2019-05-28 09:33:32 +00:00
Translation updater bot 1e2913f818 Localisation updates from https://translatewiki.net.
Change-Id: Icdd2ad4f2f9f8ea98314b24bc15e79da66c25f3a
2019-05-28 08:56:23 +02:00
Thalia 810de9afbd Allow partially blocked users to use Thanks
Only prohibit users from using Thanks if they are blocked from the
associated page. This allows partially blocked users to use thanks
most of the time.

It also allows blocked users to thank on their own talk page, if
they are allowed to edit it, even if they are sitewide blocked.

Bug: T221371
Change-Id: Ic99ec38ea200e806963951b2dd67e56ecde63752
2019-05-22 22:05:33 +01:00
Translation updater bot 1300428d61 Localisation updates from https://translatewiki.net.
Change-Id: Ic018b7580b5b5b25d6aa4539288fe8f6c6aa03f1
2019-05-20 22:30:55 +02:00
James D. Forrester 496abf6ad9 build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: I2f89d9e9e9835128191c478cff23d539a79080d6
2019-05-19 13:36:20 +02:00
Translation updater bot 00f0df9fb0 Localisation updates from https://translatewiki.net.
Change-Id: Ide72028e97ed58f5b6371a62331520168639307f
2019-05-16 09:10:31 +02:00
Translation updater bot 209046eec5 Localisation updates from https://translatewiki.net.
Change-Id: I63069cc26889aa3f462451604af487239912230a
2019-05-15 09:14:51 +02:00
Translation updater bot 686b7c8a67 Localisation updates from https://translatewiki.net.
Change-Id: I5873025fcc7d0259d67b173f2cd7cf400bbcb09b
2019-05-10 09:21:02 +02:00
jenkins-bot 657ba16aa5 Merge "ApiCoreThank: Replace deprecated Revision::* methods" 2019-05-09 21:24:08 +00:00