Commit graph

6685 commits

Author SHA1 Message Date
jenkins-bot 691c79072b Merge "WatchlistChange: Include namespace in presentation" 2022-08-24 05:38:27 +00:00
Bartosz Dziewoński 54c27e5763 Fix notification dynamic actions outside of the dropdown
* Event handler was not registered for the non-dropdown version
* Clicks would be handled by both the action and by the default link

Also remove returning false to prevent default and stop propagation,
this is not supported by OOUI events and did nothing. Handling a
'click' event always returns false to jQuery (so this was not needed),
handling 'choose' event never does (hence my other fix was needed).

Change-Id: Ia8a21749a8edc20f34b2a3e445278ea6922b9109
2022-08-24 00:28:54 +02:00
Bartosz Dziewoński 84843d3619 Standardize dynamic action notification styling
* Remove custom light grey color on the body, on mobile the
  notifications are shown on dark grey background, making them
  unreadable
* Remove increased font size for the title, it looks weird,
  particularly on mobile

Change-Id: I08651d2eab19904c19072f186cd2a96fb44e93ec
2022-08-23 23:42:48 +02:00
Translation updater bot 2edc60a8f1 Localisation updates from https://translatewiki.net.
Change-Id: Ib6bf0c0ad373f3cb9c1e7ccf399095eb9196cfe1
2022-08-22 08:22:44 +02:00
jenkins-bot d8df7743ae Merge "Simplify linking to fragments of Special:Preferences" 2022-08-22 00:13:55 +00:00
Translation updater bot a39c6cc203 Localisation updates from https://translatewiki.net.
Change-Id: Idea3c71c24db1686b0bb93deb709317799e8b4fb
2022-08-19 08:29:25 +02:00
Translation updater bot dd1f6d0629 Localisation updates from https://translatewiki.net.
Change-Id: I025d2ad22cc1bf8c656e075ed226356190c598f1
2022-08-17 08:24:16 +02:00
essexigyan 0659331111 Echo mobile: add CSS media query class - bug fix
Bug: T280839
Change-Id: Id2b26aab650fbb48c9fe8310e96dae12b354849e
2022-08-17 00:33:47 +00:00
Translation updater bot 73aba17518 Localisation updates from https://translatewiki.net.
Change-Id: I7f6ae74c5504f745f6cf38ef9f40a529f888c81e
2022-08-16 08:34:14 +02:00
Translation updater bot ed638b5c9b Localisation updates from https://translatewiki.net.
Change-Id: I4f8b59366b11492c7da2ed8f54676b5fb5aee3ab
2022-08-15 08:26:11 +02:00
samtar 985d9bb7a0 extension.json: Make mention-success a message notification
Set `mention-success` to a `message` type Echo notification, by
setting `section` to `message` in extension.json

Bug: T314695
Change-Id: Ic860f5db61acb5d64e7b451c5ec198ea39bfe534
2022-08-12 14:52:24 +00:00
Translation updater bot 2b225b0381 Localisation updates from https://translatewiki.net.
Change-Id: Ic6328d264d56b2c6f8a6626dbe9ffe14a7c54985
2022-08-12 08:43:02 +02:00
Translation updater bot 121b9ce0d8 Localisation updates from https://translatewiki.net.
Change-Id: I6e0cb310e2273ded76a7023a0669fbc617c4d666
2022-08-11 08:50:26 +02:00
jenkins-bot fa445d3271 Merge "schema: Remove IF EXISTS from DROP FOREIGN KEY" 2022-08-11 03:56:25 +00:00
Translation updater bot 7359ecd86e Localisation updates from https://translatewiki.net.
Change-Id: Ief870ae734721a270732e53a15f8d04b68995658
2022-08-10 08:23:20 +02:00
Translation updater bot 50cdc2befd Localisation updates from https://translatewiki.net.
Change-Id: I49b054c61e709fd8977e3f1d114b735ebb20f050
2022-08-09 08:19:37 +02:00
Umherirrender 90639411fa schema: Remove IF EXISTS from DROP FOREIGN KEY
It is not supported by mysql, but supported by mariadb
Use one of the new index to detect, if the schema update was not running
yet

https://dev.mysql.com/doc/refman/8.0/en/alter-table.html
https://dev.mysql.com/doc/refman/8.0/en/create-index.html
https://dev.mysql.com/doc/refman/8.0/en/drop-index.html

Bug: T314779
Follow-Up: I4bd29a6d0f9515e1a678c2a967799b90ef22f7b9
Change-Id: I820d79285afee854f086ca8c1590948393f496bc
2022-08-08 21:25:33 +02:00
Translation updater bot 649c7c7742 Localisation updates from https://translatewiki.net.
Change-Id: Id421de0b5ff6567ff419cfbb4c3e81e3d5caa516
2022-08-08 08:58:29 +02:00
Umherirrender f837f5663e Simplify linking to fragments of Special:Preferences
Change-Id: I0950000edd402020a1e0179b8e4829640ad33835
2022-08-06 00:54:37 +02:00
Translation updater bot 053d0c75e0 Localisation updates from https://translatewiki.net.
Change-Id: I44ef9956318550109f26ecbea33a366713e76343
2022-08-04 08:42:38 +02:00
jenkins-bot 5d8db192fa Merge "Run clean ups with removeOrphanedEvents in major batches" 2022-08-02 20:10:19 +00:00
Translation updater bot 0c6b4417d4 Localisation updates from https://translatewiki.net.
Change-Id: Ice38b99578c97dc8805f506f7ae85e5bf096d26a
2022-08-02 08:13:24 +02:00
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