Commit graph

6613 commits

Author SHA1 Message Date
Amir Sarabadani 6d0e181bf4 Run clean ups with removeOrphanedEvents in major batches
It's already wrapped in a small batch but if the table is large, this
would not work.

Adding a major batch to limit the rows scanned drastically makes it
faster. I have been running this in production and it works like a charm
on a table with > 300M rows

Bug: T310428
Change-Id: I7f63d2d76fea0db64e48dbcc1f95419df4492e7d
2022-08-01 16:49:13 +02:00
Translation updater bot e20d88532e Localisation updates from https://translatewiki.net.
Change-Id: Ibeda9787168fb9d5fbd8163c587ae3f8e8892aaf
2022-08-01 08:22:12 +02:00
Translation updater bot 65d262801c Localisation updates from https://translatewiki.net.
Change-Id: I666490c9dd4447bc3524548472bdadec656b3f3b
2022-07-29 08:53:00 +02:00
Translation updater bot fe1044cec6 Localisation updates from https://translatewiki.net.
Change-Id: I3ca1982508ebee6639ceb6956552ba38257a791d
2022-07-28 08:56:54 +02:00
Translation updater bot a4ea07ba44 Localisation updates from https://translatewiki.net.
Change-Id: If2d393833460c94271ae4e9d2eb046b85839407e
2022-07-27 08:26:08 +02:00
Translation updater bot 3a7c679e47 Localisation updates from https://translatewiki.net.
Change-Id: I5d68d773e4889f565055bd2840d01619d6577949
2022-07-26 08:25:02 +02:00
Translation updater bot 4570422f3c Localisation updates from https://translatewiki.net.
Change-Id: I6d5d9cdf83e8b463d7d8f31c7f8f7fc622134cf7
2022-07-25 08:36:17 +02:00
jenkins-bot e6008edda9 Merge "Echo mobile: add CSS media query class" 2022-07-21 10:18:53 +00:00
suecarmol f83acdf5d3 Echo mobile: add CSS media query class
Added a new media query to fix an error in the Special:Notification preferences button.

Bug: T280839
Change-Id: I1a4cdc9111c6ada3c79f6ec1f1fa2e40dc240238
2022-07-20 17:51:03 -05:00
Translation updater bot 35f8c20449 Localisation updates from https://translatewiki.net.
Change-Id: I49dfcae0dd8c3315046ba22fa6b4de5c2adf3f64
2022-07-20 08:27:38 +02:00
jenkins-bot 1c812bddc0 Merge "EchoPlainTextEmailFormatter: correctly handle getPrimaryLink() returning false" 2022-07-19 20:03:13 +00:00
jenkins-bot 2b8ab8200e Merge "postgres: Convert timestamp in EchoUnreadWikis" 2022-07-19 14:49:14 +00:00
Translation updater bot b6fe892c83 Localisation updates from https://translatewiki.net.
Change-Id: I08b60b4213b06dfea4b66791c308765324ea1ab7
2022-07-19 08:16:24 +02:00
Translation updater bot e3d93fd5bf Localisation updates from https://translatewiki.net.
Change-Id: Ie295f3e881e00e6411a6cc8b2b075541067f4c27
2022-07-18 08:14:30 +02:00
Umherirrender 3536de166e postgres: Convert timestamp in EchoUnreadWikis
The compare with DEFAULT_TS_DB does not work, because postgres using
different timestamp format on the database

Bug: T244898
Change-Id: I81fe88f78d94499ae9082a4fb6b1191bd432f977
2022-07-16 16:33:40 +00:00
Translation updater bot 97acba3cb5 Localisation updates from https://translatewiki.net.
Change-Id: Ieca9e9639662ac05dd7748b5e4555b33f19f32b9
2022-07-15 08:43:15 +02:00
jenkins-bot 327239d8bf Merge "Remove some repetition in EchoGetBundleRules hook handler" 2022-07-14 23:03:41 +00:00
Translation updater bot 59b954c513 Localisation updates from https://translatewiki.net.
Change-Id: Ib68567c505ea55d9aa13de614aa7f9015a10766c
2022-07-14 08:47:56 +02:00
jenkins-bot c7f6c1daad Merge "Convert to abstract schema" 2022-07-13 15:50:40 +00:00
jenkins-bot a3af2dcf89 Merge "schema: Drop foreign keys from table echo_push_subscription" 2022-07-13 15:50:37 +00:00
jenkins-bot c75396d7f3 Merge "schema: Move all sql files to own folder" 2022-07-13 15:26:25 +00:00
jenkins-bot aae35b8344 Merge "Bump minimum required version for upgrade to 1.31" 2022-07-13 15:24:16 +00:00
jenkins-bot 48436ddc70 Merge "Make interface compatible with RecursiveIterator" 2022-07-13 08:36:12 +00:00
Translation updater bot bc4294760e Localisation updates from https://translatewiki.net.
Change-Id: I34939906a8cb7f45ec777a7156d401cc0145158f
2022-07-12 08:14:47 +02:00
Translation updater bot 219f8bace0 Localisation updates from https://translatewiki.net.
Change-Id: Ic8521155dd23863ff63614806707f69bce908574
2022-07-11 09:49:30 +02:00
Mark A. Hershberger 43d004fc3d
Make interface compatible with RecursiveIterator
Seen when running phpunit tests.

Bug: T289879
Change-Id: I6f05b2cf21cd7c51b6d3234e6e0356c8a563202a
2022-07-09 22:48:39 -04:00
Kunal Mehta 4cc56d1b26 Remove some repetition in EchoGetBundleRules hook handler
I kept the "watchlist-change" and "minor-watchlist-change" rules
separate for now since while those are the same pattern the $bundleString
prefix isn't exactly the event type.

Change-Id: I360849870793d7730385dec0f57c92cdabf549d1
2022-07-09 17:31:22 -07:00
Universal Omega 7b2bed7cce EchoPlainTextEmailFormatter: correctly handle getPrimaryLink() returning false
It is declared to be able to, but is not checked here expecting an array, resulting in `PHP Notice: Trying to access array offset on value of type bool` if false.

Change-Id: I8b3ebdd3b5e6fea9c84816b890198194951ea5c0
2022-07-09 16:34:37 +00:00
Matěj Suchánek 3395037c54 Replace Maintenance::error calls with ::fatalError
Calling Maintenance::error() with the exit code has
been deprecated since 1.31.

Change-Id: I21d5c0a928b6e17db3239c31377e10d906ff95ca
2022-07-08 11:02:45 +02:00
Translation updater bot f290323c92 Localisation updates from https://translatewiki.net.
Change-Id: I603427cc95f6042eca28131dc92ea353f5e17cdf
2022-07-08 08:52:27 +02:00
Umherirrender a9511f4180 Convert to abstract schema
This adds the postgres schema to the extension

Bug: T259375
Change-Id: Ib0dca100c9885b12bc53228eddac72a5fb855d26
2022-07-05 21:00:41 +00:00
Translation updater bot 1600fa3599 Localisation updates from https://translatewiki.net.
Change-Id: Ic1ade8e3da486a889c4813901fb1bdb94881b920
2022-07-05 08:38:09 +02:00
Translation updater bot 0442d1ca15 Localisation updates from https://translatewiki.net.
Change-Id: I181c4bbf53ed47fc6417e171e43dbd61754542f7
2022-07-04 08:22:00 +02:00
Reedy b86fb539fa Add return type to jsonSerialize()
Bug: T311919
Change-Id: Ie16d4e175250b5239e33026046adfb4ab9097bd1
2022-07-02 15:35:42 +00:00
jenkins-bot 0678db2336 Merge "Add return type to EchoFilteredSequentialIterator::getIterator()" 2022-07-01 12:43:29 +00:00
Translation updater bot 173aa6bd04 Localisation updates from https://translatewiki.net.
Change-Id: Ie7008541a0f38ad57062bb6178524e04654d92d4
2022-06-29 08:35:04 +02:00
Translation updater bot 8c9cdb895b Localisation updates from https://translatewiki.net.
Change-Id: Ia75a01439ab166847f8a1776520eadc7001b07a1
2022-06-28 08:39:27 +02:00
Reedy aae5cb2579 Add return type to EchoFilteredSequentialIterator::getIterator()
Bug: T311448
Change-Id: I600135064aaaf05019da09e6dc610b8759ce0913
2022-06-27 21:04:48 +00:00
Translation updater bot e276fc8ac1 Localisation updates from https://translatewiki.net.
Change-Id: I08d95d373c34e1895003fdd9249b83c2e5d4921b
2022-06-27 08:17:55 +02:00
jenkins-bot b826472459 Merge "Do minor code cleanup" 2022-06-24 11:47:27 +00:00
Matěj Suchánek d8168ca071 Do minor code cleanup
Change-Id: I0beba40920e5ddc0abbf49f9765a1ef9e3d3d1e5
2022-06-24 13:25:43 +02:00
Translation updater bot 51513b5ccf Localisation updates from https://translatewiki.net.
Change-Id: I38f8276eb0649c0a7726754fc753d9ca6a5f9b55
2022-06-24 09:30:39 +02:00
Translation updater bot 00f39260aa Localisation updates from https://translatewiki.net.
Change-Id: I4713fe5a811b5d69ba14aa1ac6673ebcb09c1963
2022-06-23 09:02:51 +02:00
Jon Robson a7dd4a9d5c Drop SkinMinervaReplaceNotificationsBadge hook
This is now dead code that was removed in
Id611cc07aebfb94e50bde8902cbc0627393fa926

Bug: T309748
Change-Id: Ic4f9881301aa313e7c380d602c6742aff1a886db
2022-06-22 15:36:11 +00:00
jenkins-bot b913376885 Merge "build: Updating got to 11.8.5" 2022-06-22 08:07:44 +00:00
Translation updater bot 8734bb01f7 Localisation updates from https://translatewiki.net.
Change-Id: Ib6e05e5d9f262b3da631913ce4e0a33d278129cb
2022-06-22 08:13:17 +02:00
libraryupgrader 1723f70d45 build: Updating got to 11.8.5
* https://github.com/advisories/GHSA-pfrx-2q88-qq97

Change-Id: I49d7fa002a5f230fa55593538aaf2c959bdf8861
2022-06-22 06:01:55 +00:00
Translation updater bot 3810eccdea Localisation updates from https://translatewiki.net.
Change-Id: I552636b93b70b9e1f611cec50602837ec233fc34
2022-06-21 08:30:33 +02:00
jenkins-bot 598c879c6f Merge "Only call hasMinorRevision once per event" 2022-06-20 11:08:23 +00:00
Translation updater bot b4cef8cfe6 Localisation updates from https://translatewiki.net.
Change-Id: I7f17b63b3a0257c03a76fba768ff84aef66d42c9
2022-06-20 08:16:47 +02:00