Commit graph

174 commits

Author SHA1 Message Date
Translation updater bot e147f4fa5c Localisation updates from https://translatewiki.net.
Change-Id: Ib2f4073cf980367efd1eb019e0de159ffcc1f31a
2021-02-15 10:05:01 +01:00
Translation updater bot 1d6a2bc5c7 Localisation updates from https://translatewiki.net.
Change-Id: I1a478f4849c3d75d514040656b2c03cf137aaa86
2021-02-08 08:40:36 +01:00
Translation updater bot 9211924c81 Localisation updates from https://translatewiki.net.
Change-Id: I5cc73e725e5d6320c739ba1099f1a643771605c1
2021-02-04 08:39:23 +01:00
libraryupgrader b49cebf8cb build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.Commenting.FunctionComment.WrongStyle

* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1
  The following rules are failing and were disabled:
  * compat/compat

Additional changes:
* Added the "composer phan" command to conveniently run phan.

Change-Id: Icc5ae88b205d4b122efef7aef2826eb334b27820
2021-01-29 10:19:37 +00:00
Translation updater bot 66ae6adafb Localisation updates from https://translatewiki.net.
Change-Id: If78ecd712f317ab8de73f72ac721749d431fe994
2021-01-28 08:35:45 +01:00
Translation updater bot f111dd9f60 Localisation updates from https://translatewiki.net.
Change-Id: I2af220037d6e638819a3fcbbe519982632106248
2021-01-27 08:34:16 +01:00
Translation updater bot 21963b88be Localisation updates from https://translatewiki.net.
Change-Id: I40957a12484298cda2c098295227e819784ee591
2021-01-18 08:37:44 +01:00
Translation updater bot 4aa9662221 Localisation updates from https://translatewiki.net.
Change-Id: I19d9a31d85aef9601c251f462a4d69488e311660
2021-01-05 08:27:46 +01:00
Translation updater bot 9973c22664 Localisation updates from https://translatewiki.net.
Change-Id: Iec633689227ceb2922bd36041d2d84ee689e55ad
2020-12-30 10:13:49 +01:00
Translation updater bot de49359608 Localisation updates from https://translatewiki.net.
Change-Id: Ic26389a4e2b674df4f8a1e9acbda06f3671233e3
2020-12-10 08:34:38 +01:00
Translation updater bot 21a34cbf2c Localisation updates from https://translatewiki.net.
Change-Id: I2fade4adbcaf6f83acbee981284bb05762995dfe
2020-12-04 08:33:04 +01:00
Translation updater bot c176283580 Localisation updates from https://translatewiki.net.
Change-Id: Ic2c8a6eb843ca630adb01a52bb07e0965501af85
2020-11-23 08:39:03 +01:00
Translation updater bot 8198d11fa4 Localisation updates from https://translatewiki.net.
Change-Id: Iafdd05cf7f973871b4c1b2cd9db198b0275f7aa2
2020-11-18 08:56:08 +01:00
Translation updater bot d74bc9ae54 Localisation updates from https://translatewiki.net.
Change-Id: I1d0ebd97e7376562d40799da56b941e584fc4bfb
2020-10-19 08:35:40 +02:00
Translation updater bot 96271c47fc Localisation updates from https://translatewiki.net.
Change-Id: I728061214e50d4d43bbb3c8a6a8e540a054966a6
2020-10-15 08:38:01 +02:00
Translation updater bot e1aa38d427 Localisation updates from https://translatewiki.net.
Change-Id: Ic905e948e095a29d7c52260ccd8b43daf8349a4d
2020-10-12 08:34:56 +02:00
Translation updater bot 686e330a1e Localisation updates from https://translatewiki.net.
Change-Id: Ibde976ea02baba38ede61e01faa196c957ca86d8
2020-10-07 08:35:41 +02:00
Translation updater bot be66cc9c9e Localisation updates from https://translatewiki.net.
Change-Id: I219f0c8574b914576b769afc077cba516859d15c
2020-09-16 09:07:03 +02:00
Translation updater bot 5340ca6552 Localisation updates from https://translatewiki.net.
Change-Id: I10414b68428ec1e31b5b86d49dfe11ba64672bd1
2020-08-28 10:23:39 +02:00
Translation updater bot ef800cc9f4 Localisation updates from https://translatewiki.net.
Change-Id: Id63488b5e45df19bbc9cfbe424ddd9720fa5c1fb
2020-08-27 09:51:41 +02:00
Translation updater bot c1bbdb63d8 Localisation updates from https://translatewiki.net.
Change-Id: I5210eefde11a71d6afbc9327c60c5700e4522da5
2020-08-26 09:50:51 +02:00
Translation updater bot 5bc1650c7d Localisation updates from https://translatewiki.net.
Change-Id: Ide0b2e94671749624e2b43c9a00870af209aaf32
2020-08-25 09:46:21 +02:00
Bernd Sitzmann e1c1e89ade Fix grammar in push notification delete api string
Follow-up from Ia6c17588ee94e6be74e5e3a75eb33e38f172fc93.

Change-Id: I7ae5a4fb9dad7dc89b0d0a7292c5f87aec225698
2020-08-24 11:33:20 -06:00
jenkins-bot 763e7ab1bb Merge "Create push subscription manager group/right to clean up dead subs" 2020-08-24 10:23:31 +00:00
Translation updater bot b938b53d97 Localisation updates from https://translatewiki.net.
Change-Id: I573a44734e9a288d0339efed53be8c4d91fc033a
2020-08-24 11:57:55 +02:00
Translation updater bot 007ada3a22 Localisation updates from https://translatewiki.net.
Change-Id: I4a7b14c3bbd33487f5e596502bf29c50286486d5
2020-08-21 08:40:48 +02:00
Michael Holloway 3513c642dd Create push subscription manager group/right to clean up dead subs
Creates a new push-subscription-manager group and an associated
right, manage-all-push-subscriptions. The purpose of this is to
allow privileged accounts to purge expired subscriptions from the
database on behalf of other users. A user with this right will be
permitted to delete any subscription from the DB based on the token
alone. For all other users, deletion requests will be limited to
those associated with the requesting user's central ID.

This right will be granted to a bot account on Metawiki associated
with the Wikimedia push notifications service, and the push
notifications service account will make push subscription delete
requests to the API for subscriptions for which vendor APIs return bad
subscription responses.

Additionally, the providertoken parameter to ApiPushSubscriptionDelete
is updated to allow multiple providertoken values.

Bug: T259148
Change-Id: Ia6c17588ee94e6be74e5e3a75eb33e38f172fc93
2020-08-20 17:08:48 -04:00
Translation updater bot d0493529af Localisation updates from https://translatewiki.net.
Change-Id: I2f5aebb831bfd0a32ce9b23c4ed5c2db4eb8f60a
2020-08-20 08:26:50 +02:00
Translation updater bot ea297783af Localisation updates from https://translatewiki.net.
Change-Id: I5b74f46671a63f7d05cf6a27ee0518b24030bbd3
2020-08-19 08:38:29 +02:00
Mateus Santos c188dac23f push: send apns topic when present
1) send apns topic when present in subscription metadata
2) check if subscription metadata is a valid JSON string
3) make epp_id column at echo_push_provider table auto_increment,
otherwise it will fail when trying to add a second row in the table

Bug: T259394
Change-Id: I785435e9f2d4ba9c14977d431d271f0fa2d0c795
2020-08-18 13:21:20 +00:00
Translation updater bot b7467e2f2b Localisation updates from https://translatewiki.net.
Change-Id: If771383b0b4663ecedb753ec9f7761edc2b35e23
2020-08-17 08:42:27 +02:00
Translation updater bot 7afe18f996 Localisation updates from https://translatewiki.net.
Change-Id: Ic394b009fe89406ed3d18bf7f705f9d7635f846d
2020-08-14 08:37:46 +02:00
Michael Holloway 15d48278be Create and enforce a config setting for max subscriptions per user
Creates a EchoPushMaxSubscriptionsPerUser config setting (default: 0)
that controls the maximum number of subscriptions a user may associate
with the user's central user ID.

The setting is enforced in EchoPush\SubscriptionManager::create().

To allow creating push subscriptions for development, set
$wgEchoPushMaxSubscriptionsPerUser to a positive integer value in
LocalSettings.php:

 $wgEchoPushMaxSubscriptionsPerUser = 10;

Bug: T259150
Change-Id: Ib97b6b6cbb8161dd75dad92c54b4fe4fff80c421
2020-08-12 17:58:11 -04:00
Translation updater bot 72519a3da5 Localisation updates from https://translatewiki.net.
Change-Id: I398842408dd32ee483d3f5d2f8468b777401810e
2020-07-22 08:26:22 +02:00
Translation updater bot a312b09731 Localisation updates from https://translatewiki.net.
Change-Id: I98a249f45de65ed737042d315c17805254c36e37
2020-07-21 09:11:19 +02:00
Translation updater bot af49551393 Localisation updates from https://translatewiki.net.
Change-Id: I8a592dde3857d724b007d46f1af96a67dc5140fe
2020-07-20 09:00:59 +02:00
Base ec8d947669 Fixing typo in apihelp-echopushsubscriptions+delete-example:
Unegister → Unregister

Please mark it as not requiring translations update.

Change-Id: Ib096a89818f3e0f7b76a8a884e0b35ecceb3d353
2020-07-17 19:59:00 +00:00
Translation updater bot 6501650155 Localisation updates from https://translatewiki.net.
Change-Id: I63228d13c53515d3359b0ed5fcba23c2a6d4cb50
2020-07-16 08:21:04 +02:00
Translation updater bot cab0559595 Localisation updates from https://translatewiki.net.
Change-Id: Id674903a152dbf812645e5450199026b27aa194e
2020-07-15 09:04:00 +02:00
Nikerabbit 84f473fe27 Revert "Localisation updates from https://translatewiki.net."
This reverts commit 42351da940.

Reason for revert: Broken export

Change-Id: I5fa3837b1134d5ac6bdd10df817267f3f3899b3b
2020-07-13 11:43:50 +00:00
Translation updater bot 42351da940 Localisation updates from https://translatewiki.net.
Change-Id: I9b31d3bec7971006e7eda215b8830548c272e1be
2020-07-13 08:42:14 +02:00
Translation updater bot 4cc13c88d8 Localisation updates from https://translatewiki.net.
Change-Id: Iad3938ac3c6dc61b4acb320fbc93ada15b0e684c
2020-07-08 09:10:39 +02:00
Translation updater bot 386037e219 Localisation updates from https://translatewiki.net.
Change-Id: Ibf1b76f9c2c698ac123845fe8ede27e7e0e262be
2020-07-06 09:51:25 +02:00
Translation updater bot 63a7da4e14 Localisation updates from https://translatewiki.net.
Change-Id: I372f8339bd630aeb956e38d437fb37d9d2402659
2020-07-03 08:32:51 +02:00
Translation updater bot 1afbf883c6 Localisation updates from https://translatewiki.net.
Change-Id: Iaf31642383d8627c8184b076cc86738362e187c9
2020-06-22 08:43:21 +02:00
Translation updater bot 7eb55df5ed Localisation updates from https://translatewiki.net.
Change-Id: I8922e0b8678126e4443ab7e05321ed76c02ca74c
2020-06-18 08:37:11 +02:00
Translation updater bot a145bd0cbe Localisation updates from https://translatewiki.net.
Change-Id: Iacfd69b430bd6941c59611ff085b4cfb9e87273c
2020-06-08 08:50:04 +02:00
Translation updater bot 4fe2dab5dd Localisation updates from https://translatewiki.net.
Change-Id: Ia4165ec17ca139170cccb50b2069b217f671d1ce
2020-06-05 08:52:59 +02:00
Translation updater bot 42bd8cf10b Localisation updates from https://translatewiki.net.
Change-Id: I252f3b97b45b3a60d3c7b3d454dd1bcedf3346da
2020-06-04 08:23:42 +02:00
Translation updater bot 2049b0a225 Localisation updates from https://translatewiki.net.
Change-Id: I712d7d95cee586f240110ca2584a098733973ed9
2020-06-03 08:30:00 +02:00