Commit graph

5808 commits

Author SHA1 Message Date
Translation updater bot e080bbbfd3 Localisation updates from https://translatewiki.net.
Change-Id: I26b4ac0bfdf946b0fabb3ea9362c9430cbad4e16
2020-07-02 08:40:38 +02:00
jenkins-bot d891751f11 Merge "Don't make unchecked method call on object that might be null" 2020-07-01 16:07:53 +00:00
Translation updater bot c0bbea4cd1 Localisation updates from https://translatewiki.net.
Change-Id: Ideb7c792f3e42645e346ad4fd5506054d4147ddd
2020-07-01 08:43:30 +02:00
jgiannelos 3ee9d2f634 Αdd column on eps_subscription table to store subscription metadata
Change-Id: I112749f4e2c85772e31c45c63bf518270cadfdbe
Bug: T255242
2020-06-30 16:01:08 +00:00
jenkins-bot a2c6b21925 Merge "Update hooks to use PageSaveComplete" 2020-06-30 10:40:51 +00:00
jenkins-bot f87a6a1a19 Merge "Remove unnecessary table markup announcement in notification item widget" 2020-06-30 00:06:40 +00:00
Translation updater bot 3346b366e6 Localisation updates from https://translatewiki.net.
Change-Id: I069ddf07dfcc9b1ff1a6515aa2521cbce1e091cd
2020-06-29 16:25:53 +02:00
Umherirrender 3c53d6acb9 phpcs: Break long lines
Use the codesniffer default of length = 120

Change-Id: Ifbfd56b20432e54805d3a9bce22cda888c1fc74d
2020-06-27 12:05:03 +02:00
DannyS712 28a5eafe8c Update hooks to use PageSaveComplete
Extension requires MW 1.35+, always available

Bug: T250566
Change-Id: I1131a50f03002337d6b6eac18fdcb6adaaa896ce
2020-06-26 15:59:04 +00:00
Translation updater bot 5c88677659 Localisation updates from https://translatewiki.net.
Change-Id: Ie00e8bab95e306e760f8e15db04cbbe876f76a6d
2020-06-26 09:19:49 +02:00
Ammar Abdulhamid 2a8b694ae9 Don't make unchecked method call on object that might be null
The final iteration of Ie41331f made it clear that ::getTarget()
method of the special page can be null other than User object.
Since we know this we should not make unchecked method call on it.

Bug: T251687
Change-Id: Ib36a6c947b58780171cf5e7343e79d8724414b83
2020-06-25 11:57:05 +01:00
jenkins-bot 9192e38c08 Merge "Selenium: Update to WebdriverIO v6" 2020-06-25 09:55:57 +00:00
Translation updater bot 5586d94417 Localisation updates from https://translatewiki.net.
Change-Id: I2bfc6d9ea6ed201815f04eda8c972fbca209009b
2020-06-25 08:56:34 +02:00
jenkins-bot 17b57a6f37 Merge "Echo: Add gender support for Mute user label" 2020-06-25 04:32:47 +00:00
Michael Holloway 4180c0c1a0 Change push notification preference column label to "Apps"
Bug: T251462
Change-Id: Ibdec818df6c605d1bc2d2bcb8edb72b62aa35005
2020-06-24 17:31:17 -04:00
vidhi-mody 03bc4d3650 Selenium: Update to WebdriverIO v6
Update NPM packages: @wdio/* and webdriverio.

Bug: T250610
Change-Id: Ib014fdcd908fe6521fc73e024b965ead94a39d36
2020-06-25 00:55:49 +05:30
Translation updater bot 8c6c89b1ec Localisation updates from https://translatewiki.net.
Change-Id: Ie6d81d6eb63e5a8d25caa00b678a418f47f08c21
2020-06-24 08:29:11 +02:00
bkudiess-msft 172fb93f14 Remove unnecessary table markup announcement in notification item widget
Bug: T253406
Change-Id: Ibc9d3101b86c4dfb534d37ac2ca42e965fa45ad3
2020-06-23 22:51:12 +00:00
jenkins-bot e41e1e1b02 Merge "Selenium: Update to WebdriverIO v5" 2020-06-23 11:09:05 +00:00
Translation updater bot 5db07fd935 Localisation updates from https://translatewiki.net.
Change-Id: I778229377e279cd1325e32b5702e63bc81f29897
2020-06-23 08:51:19 +02:00
vidhi-mody f25ed7e705 Selenium: Update to WebdriverIO v5
Update NPM packages: webdriverio, wdio-mediawiki.

Replace NPM packages:
- wdio-mocha-framework with @wdio/mocha-framework.
- wdio-spec-reporter with @wdio/spec-reporter.

New NPM packages: @wdio/cli, @wdio/local-runner, @wdio/sync.

Replace:
- `browser.element` with `$`.
- `chromeOptions` with `'goog:chromeOptions'`.
- `password` with `mwPwd`.
- `username` with `mwUser`.
- `waitForVisible()` with `waitForDisplayed()`.

Bug: T250610
Change-Id: If7a5ee9588f082be18f27ee45a051ae956c688f5
2020-06-22 15:54:30 +00: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 af19022557 Localisation updates from https://translatewiki.net.
Change-Id: I9254bb2da01bc1fd51b85447944928cc67ddaa60
2020-06-19 08:39:46 +02:00
Ammar Abdulhamid d029f18570 Echo: Add gender support for Mute user label
Bug: T251687
Depends-On: Ie41331fe37ba08dba343f2b229d2374c0443a074
Change-Id: I563f3f3df84cc12a4256feb158f2e1ccf7c69aad
2020-06-18 21:46:03 +01:00
jenkins-bot 8fe5e47b76 Merge "Push: Add additional job params for logging" 2020-06-18 10:55:37 +00:00
jenkins-bot b5f76bf65d Merge "Add ten millionth edit thank you notification, per demand on Facebook" 2020-06-18 10:39:34 +00:00
Translation updater bot 7eb55df5ed Localisation updates from https://translatewiki.net.
Change-Id: I8922e0b8678126e4443ab7e05321ed76c02ca74c
2020-06-18 08:37:11 +02:00
jdlrobson 1f995c93a3 self.hide is not a function
This is a factory function. self.hide is replaced with overlay.hide
and a local variable to correct.

Bug: T255630
Bug: T253045
Change-Id: I3dae26e798b0c2e7520c2f01b017c257cc81e995
2020-06-17 22:02:14 +00:00
Michael Holloway a2412732f6 Push: Add additional job params for logging
Adds additional job parameters to help diagnose the apparent issue of
jobs being performed twice on Beta.

Bug: T255068
Change-Id: Ib257a24056539487e1110fe286fa4535c3fec94a
2020-06-17 17:58:21 -04:00
James D. Forrester a1fb5d5d75 Add ten millionth edit thank you notification, per demand on Facebook
Change-Id: I26a0dd0954f7f3f61014cde371fa0c46c4db78cb
2020-06-17 19:39:39 +01:00
Translation updater bot 06b740c0f0 Localisation updates from https://translatewiki.net.
Change-Id: I601880ca59d1ed4fcd48c0634963d42c0db127ac
2020-06-17 08:47:56 +02:00
jenkins-bot 8fa804325d Merge "build: Update eslint-config-wikimedia to 0.16.1" 2020-06-16 09:50:10 +00:00
Ed Sanders ffe3363d09 build: Update eslint-config-wikimedia to 0.16.1
Change-Id: I2ce14429f9440e69e36fa349847f58fb32862f2a
2020-06-15 16:19:00 +01:00
jenkins-bot 12090e6b0c Merge "Push: Check that the event type is enabled before scheduling job" 2020-06-15 11:48:06 +00:00
Translation updater bot 51baf6cc43 Localisation updates from https://translatewiki.net.
Change-Id: Id2177aa1dd1af547045e25e3754909031fc3d5cd
2020-06-15 08:39:22 +02:00
jenkins-bot 33091d5c74 Merge "Parse messages in string context" 2020-06-15 01:19:01 +00:00
Michael Holloway 07c8c0afcf Push: Check that the event type is enabled before scheduling job
It is the notifier implementation's responsibility to check the user's
notification preferences before sending a notification. This adds the
check.

Change-Id: I4b7fd7ea444f5a6db6d79fadb48a440d4fdf0ac9
2020-06-12 16:30:29 -04:00
Translation updater bot 6bd34b6765 Localisation updates from https://translatewiki.net.
Change-Id: If23897f5a90e29778e01f7a03f6300b4f0ba13de
2020-06-12 08:37:43 +02:00
jenkins-bot a444d7bc16 Merge "Increase "euw_wiki" VARCHAR length from 30 to 64" 2020-06-11 17:44:43 +00:00
Paladox 374aeb5fa9 Increase "euw_wiki" VARCHAR length from 30 to 64
This is the same fix that has been done to Flow.

Database names are limited to 63 per [1], so by upping the limit
we allow longer db names (e.g db names longer than 30 characters).

[1] https://dev.mysql.com/doc/refman/5.7/en/mysql-cluster-limitations-database-objects.html

Change-Id: I0d26a77c1bb49719eebc6beead4d79a27fcd3826
2020-06-11 17:23:19 +00:00
libraryupgrader 80a95a0312 build: Updating mediawiki/minus-x to 1.1.0
Change-Id: I0531c37053ec9412d6d8f23532d634087cad041e
2020-06-11 17:11:16 +00:00
jenkins-bot c82226835b Merge "s/slave/replica/" 2020-06-11 01:01:49 +00:00
Michael Holloway 657e914513 Push: Bail out of notification job early if no subscriptions found
Change-Id: Ica8e5c0496171dba4315c27072c2d865eb747e78
2020-06-10 15:38:23 -04:00
Gergő Tisza 153db72ec4 Ensure an array is passed to ApiEchoMute::lookupIds()
The nicer approach would be setting the parameter default to [],
but that breaks ApiSandbox.

Bug: T254699
Change-Id: I6c553e27248ff7d6c696f116cb34eb238dade440
2020-06-10 13:47:05 +00:00
jenkins-bot ea200ace05 Merge "Remove overbroad DB error catching in ApiEchoPushSubscriptionsCreate" 2020-06-10 11:52:35 +00:00
Translation updater bot 3d9073cf6e Localisation updates from https://translatewiki.net.
Change-Id: Ib5b58fd9c7a9507f9f1f03aab2a9c67cc51d5f17
2020-06-10 08:28:37 +02:00
Michael Holloway c9a826190d Remove overbroad DB error catching in ApiEchoPushSubscriptionsCreate
Rather than catching all DB errors (and assuming they are duplicate
entry errors), ignore duplicate entry errors and use affectedRows() to
determine whether the subscription already existed.

Change-Id: I4d50cb8222e52cc1a4e1f0fb3f596f36cb565dbb
2020-06-09 23:48:12 -04:00
DannyS712 e4032e8e51 Remove use of the Revision object returned in WikiPage::doEditContent
Bug: T254952
Change-Id: I5ff763c0875fb1a7178deaa1c530a9fc1179c60c
2020-06-09 23:41:22 +00:00
jenkins-bot 2a38f60ab8 Merge "Push: Submit requests to configured service endpoint" 2020-06-09 17:08:31 +00:00
Reedy aa702c1471 s/slave/replica/
Bug: T254646
Change-Id: I4de3985fd8568ce07919623efe2981bc0b6c54e5
2020-06-09 02:09:44 +01:00