Commit graph

183 commits

Author SHA1 Message Date
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
jenkins-bot de09ddd4d9 Merge "Add push subscription management" 2020-06-02 18:21:42 +00:00
Michael Holloway a3674974f1 Add push subscription management
Adds DB tables for storing push subscriptions, some DB interaction code
for retrieving them within MediaWiki, and a set of API modules for
managing them from the outside world.

When testing this patch, be sure to run maintenance/update.php to create
the new tables, and set $wgEchoEnablePush = true in LocalSettings.php
to enable the API new API module.

N.B. The current DB schema is centered on app push subscriptions. Web
push subscriptions require slightly different handling, since they are
provided by browsers as a JSON blob rather than a token string. How to
handle web push subscriptions is a question we can defer until the time
comes to add web push support.

Subscription data is stored in the echo_push_subscription table, with
provider names normalized into the echo_push_provider table. We expect to
be looking up subscriptions by central user ID, so that column is indexed.
The subscription data also includes a column to store SHA256 digests of
the subscriber tokens. This is for use as a unique key constraint, since
we expect every push token to be univerally unique, and the token values
themselves may be too large to reasonably index in MySQL.

Bug: T252899
Change-Id: I3928761b3fba12e54ff4850e9a05c68ec7772f62
2020-06-02 13:40:00 -04:00
Translation updater bot dc948eaa0f Localisation updates from https://translatewiki.net.
Change-Id: Ib79f7d3cbb3d18984e6826e47ccf3783d7ea7556
2020-06-01 09:57:06 +02:00
Translation updater bot c56f992a72 Localisation updates from https://translatewiki.net.
Change-Id: I277f4e3f21f7257de5a6a011bb304c7b769ec098
2020-05-29 08:32:18 +02:00
Roan Kattouw 28f432b150
Add dynamic secondary action to mute/unmute page-linked notifications
Also adds an API module for muting and unmuting pages (and users).

Bug: T46787
Bug: T115264
Change-Id: Icf4e4bfa9fd7fa27b4c40892e3d5ce000eb22d5a
2020-05-27 15:20:08 +02:00
Translation updater bot 1b229d84f8 Localisation updates from https://translatewiki.net.
Change-Id: I3f3273f4afa02d9204e441afa28daf0385abdd8f
2020-05-13 08:42:29 +02:00
Translation updater bot 304e0273a4 Localisation updates from https://translatewiki.net.
Change-Id: I7d9d9714cbeb5be3f3b5c14898031c68e87b0fc8
2020-04-30 08:37:46 +02:00
Translation updater bot c2c9846c33 Localisation updates from https://translatewiki.net.
Change-Id: I810646b307d3d80f3402ceb2a59df884b0b1156d
2020-04-23 08:42:57 +02:00
Translation updater bot 7ca12c2dcb Localisation updates from https://translatewiki.net.
Change-Id: If1792b34ddffb1982c31ac0841322e499ac1bcaa
2020-04-22 08:56:04 +02:00
Translation updater bot bb47d976ed Localisation updates from https://translatewiki.net.
Change-Id: I10b912d8b143409270cb57c6f6b55c6a0d1c97c8
2020-04-07 08:39:52 +02:00
Translation updater bot bf230f58f1 Localisation updates from https://translatewiki.net.
Change-Id: I2a6d78051746544fb365329eae132b83eb468444
2020-02-24 09:02:23 +01:00
Translation updater bot eeeb5843a2 Localisation updates from https://translatewiki.net.
Change-Id: I151b03b248187f581002406f82598c74ca733c0b
2020-02-14 08:25:39 +01:00
Translation updater bot c45ac7617c Localisation updates from https://translatewiki.net.
Change-Id: Ib9726e6b3e9cc90f88c62761bebc6d04d3c246e2
2020-02-11 08:19:14 +01:00
Translation updater bot 705313d9f1 Localisation updates from https://translatewiki.net.
Change-Id: I0209575ddba9057197d17fc379793a3a72f7159f
2020-01-22 08:29:53 +01:00
Translation updater bot cefda97b4d Localisation updates from https://translatewiki.net.
Change-Id: Ia7b11080460d6d370e78ea28d7aac52e104e01a8
2020-01-13 09:10:21 +01:00
Translation updater bot bf4d612eca Localisation updates from https://translatewiki.net.
Change-Id: I0f2c776fed27d822076cf77da08ec7109d7b0bb3
2020-01-10 08:34:19 +01:00
Translation updater bot 971d7b3891 Localisation updates from https://translatewiki.net.
Change-Id: I3c535d6002fc86fe3589e53a79484ec0a40dbc15
2020-01-09 08:28:54 +01:00
jenkins-bot 8f5fc3d6ee Merge "Set apihelp message for wikis parameter of echomarkread" 2020-01-08 09:09:51 +00:00
Translation updater bot 25d0e85c8a Localisation updates from https://translatewiki.net.
Change-Id: I6dea07592108a0e6cc61ad1fd48323bd1f92a884
2020-01-02 08:58:16 +01:00
Translation updater bot 0369c3999d Localisation updates from https://translatewiki.net.
Change-Id: I753f93213a3770686e1ec167f8bf72026919a226
2019-12-29 20:40:29 +01:00
Translation updater bot b1c36dcf05 Localisation updates from https://translatewiki.net.
Change-Id: If601cb67dd171458cc9a923fdeedd56934abbb3e
2019-12-18 09:25:16 +01:00
Translation updater bot 448f6f1ba0 Localisation updates from https://translatewiki.net.
Change-Id: I0c21bbf81df1a8d2ddfb52a145e5f85f0d018da0
2019-12-10 09:29:35 +01:00
Translation updater bot 0704644ee0 Localisation updates from https://translatewiki.net.
Change-Id: I4fbe0c28e664851490b158b477a32f72bf6ab162
2019-11-29 09:28:16 +01:00
Umherirrender 5c1de126cb Set apihelp message for wikis parameter of echomarkread
It is set by a trait, but each module using the trait defines its own
message for it, so adding a new one for this module

Bug: T238520
Change-Id: Id247a40296960f3c95d3fc95bd046113e07dc0ff
2019-11-18 20:12:24 +01:00
Translation updater bot 44f83d5b79 Localisation updates from https://translatewiki.net.
Change-Id: I7c609c50d7d2ef92739b96f78858a787cb1889fe
2019-11-04 09:30:15 +01:00
Translation updater bot adc1b066d8 Localisation updates from https://translatewiki.net.
Change-Id: I2e1801b12da63cc8fe7f269f917aca010f930c29
2019-10-29 09:38:32 +01:00
Translation updater bot 97a04c65ab Localisation updates from https://translatewiki.net.
Change-Id: I2af040469fa0ebe1c79857e598ddd3205934846c
2019-10-28 16:33:56 +01:00
Translation updater bot 96421a16a2 Localisation updates from https://translatewiki.net.
Change-Id: Id3a6c8126ae4106990fd3a1bd053d9ebd1f49602
2019-10-24 10:43:58 +02:00
Translation updater bot 634515077c Localisation updates from https://translatewiki.net.
Change-Id: Ifbc3cb603b01f9b8a7edf45bd99aecfedeb3e690
2019-09-10 09:37:14 +02:00
Translation updater bot 0740de0605 Localisation updates from https://translatewiki.net.
Change-Id: Id01a5f6bb03641191590ff399c08785959477fdb
2019-09-09 09:26:07 +02:00
Translation updater bot 3e063ff6c0 Localisation updates from https://translatewiki.net.
Change-Id: I11dd8de2dd01de62b6c8adcce7c70936dc0f9c3c
2019-08-21 10:03:22 +02:00
Translation updater bot 83c55388fd Localisation updates from https://translatewiki.net.
Change-Id: Id815f0ee931d9f15b4b3c5aa2971f8d74335225a
2019-08-13 09:15:44 +02:00
Translation updater bot ba607772dc Localisation updates from https://translatewiki.net.
Change-Id: I956a55722aa78ab32e62282bf7288fbf6a7c0f7c
2019-07-12 08:43:20 +02:00
Translation updater bot 3c067d044e Localisation updates from https://translatewiki.net.
Change-Id: Iab8c0fde92f482f05ed09301f2bf3a0f008e7840
2019-06-10 22:54:32 +02:00
Translation updater bot 70a56e2814 Localisation updates from https://translatewiki.net.
Change-Id: I991c1141ec1c7cccfbf3c46b42687425ba98eaa4
2019-06-06 22:48:23 +02:00
Translation updater bot 6410100d69 Localisation updates from https://translatewiki.net.
Change-Id: I413e3724bb3bd44071e72797956d7824721c7091
2019-06-02 22:29:38 +02:00
Translation updater bot 47bc762290 Localisation updates from https://translatewiki.net.
Change-Id: Ic1b8aafbe257cd4926fc41176ff19c8e8b35f17b
2019-04-12 08:31:58 +02:00
Translation updater bot 2fc4e801ea Localisation updates from https://translatewiki.net.
Change-Id: I3191fb6a38304eb9b3cb49860a79a5df4537fbce
2019-03-23 10:22:43 +01:00
Translation updater bot 2d2b68e323 Localisation updates from https://translatewiki.net.
Change-Id: I3614c24ca1ba6c05aa846d209939de8a86c1f292
2019-03-10 22:27:34 +01:00
Translation updater bot 3eb4302592 Localisation updates from https://translatewiki.net.
Change-Id: Ifa50762226ee0f9da0a4a3f4fbd59b7a0e8b79f7
2019-03-07 22:40:44 +01:00
Translation updater bot c9e9024cd1 Localisation updates from https://translatewiki.net.
Change-Id: I55578d3c3145be734db8010a4e49c02dfa2081e8
2019-01-20 22:35:50 +01:00
Translation updater bot cf1406d42e Localisation updates from https://translatewiki.net.
Change-Id: I3b153d4c8d0eb56795c05868cf4980dcf368eab1
2019-01-06 22:30:15 +01:00
Translation updater bot 16f0d41e2f Localisation updates from https://translatewiki.net.
Change-Id: Iafbb9e5399c81b64a3cf549bd84058f29f9bbbf1
2019-01-03 22:52:17 +01:00
Translation updater bot a193185a1f Localisation updates from https://translatewiki.net.
Change-Id: I0fc664629690d42b716b5494ef7b9dfe46190894
2018-10-17 23:44:07 +02:00
Translation updater bot dd02b4b5e6 Localisation updates from https://translatewiki.net.
Change-Id: I30891370deeb9cb1070e88b75fb8a94b43f1d4e8
2018-10-16 22:17:20 +02:00
Translation updater bot 615ff2eb57 Localisation updates from https://translatewiki.net.
Change-Id: I78d8fdcae73a6ae8246f9189c317763f0335764b
2018-09-08 10:39:14 +02:00
Translation updater bot 8bcc8107b0 Localisation updates from https://translatewiki.net.
Change-Id: Ice770c990b7fb6e907b607637e8f4074039c5ba6
2018-08-23 23:25:58 +02:00
Translation updater bot 8d93d64f5e Localisation updates from https://translatewiki.net.
Change-Id: I2b43351561c4789e2a73272957c375a497f26cc2
2018-08-18 22:16:34 +02:00
Translation updater bot 4cbeac9024 Localisation updates from https://translatewiki.net.
Change-Id: I74caafcb55f67d89b7522f91dd0375965af532a5
2018-08-06 22:21:42 +02:00
Translation updater bot b3e09bf3e7 Localisation updates from https://translatewiki.net.
Change-Id: I6aacc55f44f936a579087dc44c62e9eef904288d
2018-07-17 22:13:49 +02:00
Translation updater bot d956799dbf Localisation updates from https://translatewiki.net.
Change-Id: I2806e0d9d21b5393e427e2e83e8fbb5c06980d03
2018-06-27 22:18:51 +02:00
Translation updater bot 5c60c9419b Localisation updates from https://translatewiki.net.
Change-Id: Idc7d16e9573059a654787bf81bd1f2783786fab3
2018-06-15 22:35:41 +02:00
Translation updater bot 08e6ea82d1 Localisation updates from https://translatewiki.net.
Change-Id: Iefb4bb4a304f435b9889eeca06cda47082a6425b
2018-05-28 22:42:07 +02:00
Translation updater bot b3dd092832 Localisation updates from https://translatewiki.net.
Change-Id: I4ff6b767edf3f9c806dcc1e49a0f60a4e07497a9
2018-05-17 22:19:37 +02:00
Translation updater bot 664a0d0c07 Localisation updates from https://translatewiki.net.
Change-Id: I61fa4eb9f0d7e887f63e4256fe0bb3f4f0d6f6f8
2018-04-24 22:22:33 +02:00
Translation updater bot ce4e621db8 Localisation updates from https://translatewiki.net.
Change-Id: Ifdebee52ff0dfecc028256d9c665a3d280f86eb1
2018-04-21 22:15:32 +02:00
Translation updater bot 6d00265c59 Localisation updates from https://translatewiki.net.
Change-Id: I5f006c4a934a6f80e51c7007816795b3619c72b6
2018-04-09 23:16:56 +02:00
Translation updater bot 0269e931b2 Localisation updates from https://translatewiki.net.
Change-Id: I973cd6768512d57f0d78ce2d40dd9a863af21d90
2018-03-31 09:22:20 +02:00
Translation updater bot 36bc342c10 Localisation updates from https://translatewiki.net.
Change-Id: I6f4ba274368ab5f93c1e204c0410241c7a442812
2018-03-27 22:09:31 +02:00
Translation updater bot 2c40a11a15 Localisation updates from https://translatewiki.net.
Change-Id: I05f2c38d07bfb160caafcfd1931529879b3f4511
2018-03-26 22:19:04 +02:00
Translation updater bot 4ce3719736 Localisation updates from https://translatewiki.net.
Change-Id: Ibff6f04489dd1a816ff7d14c5287629498b65a38
2018-03-21 22:32:00 +01:00
Translation updater bot b1855c158a Localisation updates from https://translatewiki.net.
Change-Id: I1801efa0ac675e1f7da4d945dc0a826f48109e65
2018-03-10 22:14:11 +01:00
Translation updater bot f975316639 Localisation updates from https://translatewiki.net.
Change-Id: Ia03168cd87d02449d1f3295812a3f90985df5c21
2018-02-23 23:01:29 +01:00
Translation updater bot 72ffe58f26 Localisation updates from https://translatewiki.net.
Change-Id: Ib63aaf25ab3e3d56e6ad61f70982d74208938a77
2018-02-07 22:17:25 +01:00
Translation updater bot 14380fd4a5 Localisation updates from https://translatewiki.net.
Change-Id: I9b2e7ec16f7f71f80ba4ccbcd358f3956351fd06
2018-01-31 22:20:03 +01:00
Translation updater bot 22c04d7ff6 Localisation updates from https://translatewiki.net.
Change-Id: I9fe8c1c2cedce6f1efafdce4aa98fc374bbabbfe
2018-01-26 22:36:34 +01:00
Translation updater bot 0b26eb06bb Localisation updates from https://translatewiki.net.
Change-Id: Iaa4dd1df19666e756f564acdf2fbec990373e3bf
2018-01-20 14:42:40 +01:00
Translation updater bot ce8d0423bc Localisation updates from https://translatewiki.net.
Change-Id: I0849c1c78c286135c120b8f6ad67ccfd07e7cb8e
2018-01-18 22:49:21 +01:00
Translation updater bot 2566eb677c Localisation updates from https://translatewiki.net.
Change-Id: If8a9eaf88dc3c7e9a523ad20d5aa291c6937075e
2018-01-08 22:35:39 +01:00
Translation updater bot f9fa579a4b Localisation updates from https://translatewiki.net.
Change-Id: I96f567c25bc7cf15bbe4a7da5d9c4bb78e1415ea
2017-12-07 23:07:24 +01:00
Translation updater bot 96203989b0 Localisation updates from https://translatewiki.net.
Change-Id: I0de33d929ed6638c1c198554ec957ce53d1f957f
2017-12-05 09:40:28 +01:00
Translation updater bot 40ed9e7a28 Localisation updates from https://translatewiki.net.
Change-Id: I54f9644d7aa36492400768d00ba3c3382d6e8bf7
2017-11-22 22:25:30 +01:00
Translation updater bot c762e54496 Localisation updates from https://translatewiki.net.
Change-Id: I57237b5326136c7a4a2dfcb031cdda56b513ecd3
2017-11-10 22:35:03 +01:00
Translation updater bot df7166674d Localisation updates from https://translatewiki.net.
Change-Id: Iab5354028842438d4f57e07638922fda1df68ced
2017-11-01 22:35:22 +01:00
Translation updater bot e135bb30ae Localisation updates from https://translatewiki.net.
Change-Id: I6fe5ab018fdb958fd2d5c5c5feac1a389113c035
2017-10-17 22:42:51 +02:00
Translation updater bot 6d4113f1dc Localisation updates from https://translatewiki.net.
Change-Id: I15035b13a28af20418cab7a28fde8fbea7e9a696
2017-09-17 22:23:32 +02:00
Translation updater bot d0530a7414 Localisation updates from https://translatewiki.net.
Change-Id: Ide1b09427116460e2d57813c92c030a70436208b
2017-09-14 23:14:14 +02:00
Translation updater bot 3455e5689c Localisation updates from https://translatewiki.net.
Change-Id: Iddf1ac6de8ac3cfadce3bb10d19c60c02f533e92
2017-09-13 22:36:45 +02:00
Translation updater bot 32af6dae0c Localisation updates from https://translatewiki.net.
Change-Id: Ia8ea7c44b2941b7be3333c2acfdc151e2b2975dd
2017-09-07 23:21:32 +02:00
Translation updater bot 17fb14a023 Localisation updates from https://translatewiki.net.
Change-Id: I56d2251a9f7b26c546733408b3fa0e1a0069e846
2017-09-03 08:56:57 +02:00
Translation updater bot 4696f3fb4d Localisation updates from https://translatewiki.net.
Change-Id: Id271df7ef610dd8a5616b17222413f87beb237b1
2017-08-29 08:43:49 +02:00
Translation updater bot 4b580f2c9e Localisation updates from https://translatewiki.net.
Change-Id: I7e365285b2a49b88f6700b30d7e0314296f59fed
2017-08-23 09:09:46 +02:00
Translation updater bot 0f2b9c1e75 Localisation updates from https://translatewiki.net.
Change-Id: Ice2e84b5053c68345fc70a4037550da62b0b145a
2017-08-07 22:22:57 +02:00
Translation updater bot 770f2b12bf Localisation updates from https://translatewiki.net.
Change-Id: I3e8756d8c047def66097d0e00944e62c5e74b3d9
2017-08-06 22:30:46 +02:00
Translation updater bot 53b9bd9ee2 Localisation updates from https://translatewiki.net.
Change-Id: I3bc0cd7e29e20825080512fea22d5c16697b1269
2017-08-03 22:49:24 +02:00
Translation updater bot 5fd92eb4b0 Localisation updates from https://translatewiki.net.
Change-Id: I0a086d2a64d6d12108679acd5d7633ad68a95aef
2017-08-01 22:42:54 +02:00
Translation updater bot 9edf91d49a Localisation updates from https://translatewiki.net.
Change-Id: Id50d7fec284cea092564463ae655e3f134b3e281
2017-07-31 22:42:58 +02:00
Translation updater bot 189c1a4eec Localisation updates from https://translatewiki.net.
Change-Id: Ie8da3710a821c943871dc518fc7dac20735fd7a1
2017-07-26 22:31:26 +02:00
Translation updater bot f235953806 Localisation updates from https://translatewiki.net.
Change-Id: Ic29493a74f87f2bac7e0e57fce45d0756865ed28
2017-07-24 22:54:46 +02:00
Translation updater bot ce2392b6b1 Localisation updates from https://translatewiki.net.
Change-Id: If3b1f1f370da2bb84feb14c3612e48a6b95fe395
2017-07-22 22:34:23 +02:00
Translation updater bot d6f304fdc6 Localisation updates from https://translatewiki.net.
Change-Id: I8a8eb9cb1566916b0ed9d90a516856c1c1208e0f
2017-07-21 22:33:23 +02:00