Commit graph

6442 commits

Author SHA1 Message Date
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
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
Matěj Suchánek ce32984e39 Only call hasMinorRevision once per event
The code would repeatedly read primary, always getting
the same result. Let's avoid this and do the query
at most once.

Change-Id: I4c09b92cac5e4dc7fd8d36f9751be4f9149181cb
2022-06-19 17:06:55 +02:00
Umherirrender 54b57bcf26 Use ::class for class name resolution
Change-Id: I9e7d92d92901ecf1195bce652e77741e1c592d59
2022-06-16 22:36:46 +02:00
Translation updater bot f2e2316471 Localisation updates from https://translatewiki.net.
Change-Id: I4cba6762cb795b9178c42f659b0f57c0ea55be6b
2022-06-16 09:24:27 +02:00
Umherirrender d35c502b60 schema: Drop foreign keys from table echo_push_subscription
MediaWiki does not use foreign keys in the database schema

Additional changes to the schema:
- Mysql and sqlite creates index for each foreign keys, keep the index
  to allow fast joins with this columns by explicit statement on new
  wikis
- Explicit create statement for the UNIQUE index on column
  eps_token_sha256 to make the index more visible on the sql file
- Rename existing index to match the prefix for existing indexes

Bug: T306473
Change-Id: I4bd29a6d0f9515e1a678c2a967799b90ef22f7b9
2022-06-14 23:29:48 +02:00
jenkins-bot 3f26904026 Merge "Pass Echo configuration to mobile" 2022-06-13 17:08:14 +00:00
Jon Robson 6767e52d8c Pass Echo configuration to mobile
When Echo moved to packageFiles it broke the mobile
unread counter behaviour

Follow up to I03f9a3953aa97ead1a29c13a992a02404a6d0b68
which presumably happened when Minerva's Echo code was
in a different code repository.

Bug: T310358
Change-Id: Ife6705d69d248bcd4efde1a996dbcc0353c7f40d
2022-06-13 16:01:05 +00:00
Translation updater bot 393fc5e459 Localisation updates from https://translatewiki.net.
Change-Id: I244916cdd162dd109112015851bb9fd6abcaafe3
2022-06-13 08:27:58 +02:00
Umherirrender 0a387990a5 schema: Move all sql files to own folder
Change-Id: Icb227fb5c23eabba8df9e06833779d009218755b
2022-06-11 08:26:48 +02:00
Translation updater bot e515e47392 Localisation updates from https://translatewiki.net.
Change-Id: I4b284e770c8a49db794602b2884f0e9a537d43a6
2022-06-10 08:49:32 +02:00
Translation updater bot 5ce2cd5fd8 Localisation updates from https://translatewiki.net.
Change-Id: I3ae1c3ffc449a63b3d8265da9baf8c2144d225cb
2022-06-08 08:26:58 +02:00
Translation updater bot 1111c5b39e Localisation updates from https://translatewiki.net.
Change-Id: I1e18613346913d9ed640a69bd68ca0432dbe6fd7
2022-06-06 09:25:39 +02:00
Umherirrender c81dad3efc Replace deprecated WikiPage::factory/newFromID
Replaced WikiPage::newFromID with newFromTitle,
because a Title object exists and could be reused

Bug: T297688
Change-Id: Ide30f259477ed8e0b48df31f5a23cafeb38d7316
2022-06-03 23:25:37 +02:00
Translation updater bot a5f5710aff Localisation updates from https://translatewiki.net.
Change-Id: Ica375b59b249ced376b5bf8681d2d6523dad8b15
2022-06-03 08:57:31 +02:00
Translation updater bot e00c4dace1 Localisation updates from https://translatewiki.net.
Change-Id: I7a90b03c101b88d216ea891867cc5680098fe30a
2022-05-30 09:23:00 +02:00
Umherirrender b0f33729d9 Bump minimum required version for upgrade to 1.31
Change-Id: Ib02f8b37f22238b878dafacc1337dc371ea9d192
2022-05-27 19:20:29 +02:00
Translation updater bot b030223432 Localisation updates from https://translatewiki.net.
Change-Id: I09aea889be9d0add16367e07209d60a37cf51985
2022-05-27 10:25:44 +02:00
libraryupgrader 867ff0b67c build: Updating grunt to 1.5.3
Change-Id: I7935ef106f04fe2303b3b89fe84a03ea34ff6561
2022-05-26 10:21:32 +00:00
Translation updater bot de73e09394 Localisation updates from https://translatewiki.net.
Change-Id: I7daf85562f41b62174a84d7fd2a17835fee8131d
2022-05-26 08:51:18 +02:00
jenkins-bot 75087f51f5 Merge "Use new ResourceLoader namespace" 2022-05-25 12:05:36 +00:00
Translation updater bot 52232d6a14 Localisation updates from https://translatewiki.net.
Change-Id: Iec54e9a6d8d25742edcc0f82a47e9c5363657483
2022-05-25 08:32:00 +02:00