Commit graph

15158 commits

Author SHA1 Message Date
Translation updater bot 8440f7951d Localisation updates from https://translatewiki.net.
Change-Id: I69f470b018450fbf17367ae18da629d0a672c4fc
2018-09-04 22:19:55 +02:00
jenkins-bot 4dafa321a9 Merge "Cleanup setEditorPreference: Always return promises, never deferreds." 2018-09-04 16:25:45 +00:00
Bartosz Dziewoński eefcb7957d Add another test case for stripping RESTBase IDs
Bug: T108506
Change-Id: If46d09364bff9b7e2b4839df183fa2cb3ed25243
2018-09-04 15:44:34 +00:00
Bartosz Dziewoński b5ca05a322 Update VE core submodule to master (a72861b26)
New changes:
c5fdeffc9 Keep count of how many windows are open before toggling the mobile overlay
d2fc6ea83 Localisation updates from https://translatewiki.net.
ba766c47c Cleanup: Don't assume commands exist when building list
fd07cdf0a Remove unnecessary "eslint-disable-next-line new-cap"
888a2459d ve.ce.Surface: Consistently sanitize external pastes
3591f7d56 ve.ce.Surface: Fix a test case
c4c3349b7 ve.ce.Surface: Make a check for pasted "important elements" faster

Bug: T108506
Bug: T203280
Bug: T203282
Change-Id: I4286098695d14bdc17095297c0f71dac37060c66
2018-09-04 15:27:24 +02:00
Esanders a21e95b67a Revert "Revert "Follow-up I38eda4a: Add unit tests for lang/dir in target init""
Re-enable tests, but disable setEditorPreference API calls in setup.

This reverts commit d5fe71fd6e.

Change-Id: Ib6f0f18acc1ccb40cb6c055609dc1484b381bc8f
2018-09-04 13:45:52 +01:00
Ed Sanders 8ac5a03a05 Cleanup setEditorPreference: Always return promises, never deferreds.
Change-Id: I59a5fdc29ee64abe422610da835e6f089ad7267a
2018-09-04 13:45:52 +01:00
jenkins-bot 05dae065c9 Merge "Revert "Follow-up I38eda4a: Add unit tests for lang/dir in target init"" 2018-09-03 22:56:52 +00:00
Bartosz Dziewoński d5fe71fd6e Revert "Follow-up I38eda4a: Add unit tests for lang/dir in target init"
Causes random failures in other unit tests due to API requests.
This reverts commit 031d2dd50e.

Bug: T203412
Change-Id: Ia94b090687ba8d6023060e6dbe10b6a45035e76a
2018-09-03 22:39:27 +00:00
jenkins-bot dbbb29a3a7 Merge "Remove unnecessary "eslint-disable-next-line new-cap"" 2018-09-03 22:29:35 +00:00
Bartosz Dziewoński efd1a957f5 Remove unnecessary "eslint-disable-next-line new-cap"
Change-Id: I94f31ef934f9a0192ac906cada5dba05214d259e
2018-09-03 23:11:29 +02:00
Translation updater bot 5f91dd2845 Localisation updates from https://translatewiki.net.
Change-Id: I08a9d446bb035c5fd5fa42a6f8591458ee8ca66e
2018-09-03 22:15:45 +02:00
jenkins-bot 31ee84540b Merge "Follow-up I38eda4a: Add unit tests for lang/dir in target init" 2018-09-03 16:18:46 +00:00
jenkins-bot 15df919bc1 Merge "Replace jQuery.grep with Array.prototype.filter" 2018-09-03 15:40:49 +00:00
jenkins-bot 3023ca8e90 Merge "Match width of template lookupMenu to input" 2018-09-03 15:40:44 +00:00
jenkins-bot 3f55b7432e Merge "Fix: Apply placeholder colour style to first child, not parent" 2018-09-03 15:06:51 +00:00
libraryupgrader fec1e679fd build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
Change-Id: Idfe6493936b621cd244723e802c272def8916f08
2018-09-02 21:52:54 +00:00
Translation updater bot dcd40cb852 Localisation updates from https://translatewiki.net.
Change-Id: Ia93ff5cab3ee3f389f8f6ceffa7ded9cc62b5e00
2018-09-01 22:33:48 +02:00
libraryupgrader 55f32570aa build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
Change-Id: I6cebd9c602f118636e2afbafbf07cd1ec3feb372
2018-09-01 05:25:11 +00:00
jenkins-bot 4914787e62 Merge "Don't assume commandGroup has a demote property set" 2018-08-31 23:31:45 +00:00
Ed Sanders 222ad828bd Don't assume commandGroup has a demote property set
Bug: T203282
Change-Id: Ic67dcfb2a473559d5e5d457072cda101844fe1e9
2018-08-31 22:20:36 +01:00
Translation updater bot f1abc938dd Localisation updates from https://translatewiki.net.
Change-Id: I21c1d9b08a6ab8d5ffc70c5b15b554b78822dd00
2018-08-31 22:17:32 +02:00
jenkins-bot 048ac8193e Merge "Remove unnecessary IE10 blacklist" 2018-08-31 18:30:07 +00:00
jenkins-bot 1ffcd41519 Merge "Add description link message for gallery dialog" 2018-08-31 17:00:24 +00:00
Thalia 58f6fb8910 Add description link message for gallery dialog
Bug: T203262
Change-Id: Ic9ab5ffe5c4f8ea60cb7e9abf6ebea210aeef645
2018-08-31 17:38:42 +01:00
Ed Sanders ed047b6cdd Fix: Apply placeholder colour style to first child, not parent
This ensures any colour applied to branch nodes is overridden.

Change-Id: Ib6f5d2509021ba0ba085050bc1fe993e7d887b3e
2018-08-31 16:59:54 +01:00
Ed Sanders 031d2dd50e Follow-up I38eda4a: Add unit tests for lang/dir in target init
Change-Id: I426f88ce3982deb850c4cedb110b87c9a59157ef
2018-08-31 14:45:54 +01:00
Ed Sanders 22f3075b52 Fix typo in mw.Target#setupSurface
Bug: T203213
Change-Id: I38eda4aac48b3363c6211e225b8f0cadf6b40853
2018-08-31 13:16:21 +01:00
Bartosz Dziewoński b958cfbe38 Update VE core submodule to master (8097e44c1)
New changes:
fcd37bf61 Cleanup: Rename addAttributesToNode to addAttributesToElement
64f059112 ve.dm.Document: Remove incorrect handling for combining characters in #fixupInsertion
99de355d7 Simplify hasOwn call
a3c7ae7ed Invalidate tableNode cache if node has been detached

Bug: T85093
Bug: T203150
Change-Id: Ieec61133dbbcaeffb8cfd2d78a9ba6ba5a39f601
2018-08-30 22:21:07 +00:00
Translation updater bot f5ab502590 Localisation updates from https://translatewiki.net.
Change-Id: I6293c40ee46bb38858ebf90525e2ef7384075fcb
2018-08-30 23:38:17 +02:00
Ed Sanders 10ce48a57e Remove unnecessary IE10 blacklist
IE10 support was dropped from MediaWiki core in 1.31.

Change-Id: I1c8c790428df5afe019e10a65ba5e891f5895dfb
2018-08-30 19:01:59 +01:00
Translation updater bot 94251cb03f Localisation updates from https://translatewiki.net.
Change-Id: Iedb97c1e69ab1a7a31f272bde45efd7b63e9d879
2018-08-29 22:28:36 +02:00
Ed Sanders 76d0b95af3 Re-order MWCommandHelpDialog and promote/demote insert tools
Change-Id: I3ac4e556e06e2ab899d8bc07ca79d847146952e6
Depends-On: Ic12bc1c3ac96a1feb79e277e65aaf2d29af4f03f
2018-08-29 10:51:00 +00:00
jenkins-bot 919f74f10b Merge "Don't wait for surface to blur before hiding pageToolbar" 2018-08-29 01:58:14 +00:00
Translation updater bot bd8ce5854e Localisation updates from https://translatewiki.net.
Change-Id: If60d5fd150ac3bcde5937cc9e4dc20a6388d572e
2018-08-28 22:23:16 +02:00
Ed Sanders eea7b93895 Don't wait for surface to blur before hiding pageToolbar
Bug: T202986
Change-Id: Ia25dd7aab7c72f6888fab1fcec0185fe0b4111b5
2018-08-28 12:08:09 +00:00
jenkins-bot bf9d3c1b06 Merge "Template dialog: Lazy resize multiline text inputs on first focus" 2018-08-27 20:43:38 +00:00
Translation updater bot 922208b55e Localisation updates from https://translatewiki.net.
Change-Id: Id4e26d739fa08e8b1deaf0967318e7ff13e82798
2018-08-27 22:18:01 +02:00
James D. Forrester d111511e0b Update VE core submodule to master (532c982b9)
New changes:
55e9fd096 Localisation updates from https://translatewiki.net.
bb17b19f2 build: Update files generated with new l10n language 'mni'
f3141c1eb Fix rendering of nails in input debug mode
9adc6d721 Persist state of 'input debugging' button

Change-Id: I2078ffa9ac55de78ccc7bc0de865d5e7d256d423
2018-08-27 09:24:54 -07:00
jenkins-bot da3500c21f Merge "Move link styling into overridable method for CX" 2018-08-27 16:01:56 +00:00
Ed Sanders 1703cc6361 Move link styling into overridable method for CX
Change-Id: I5c349d15ecc0df29827d41c9cc408bb826924447
2018-08-27 12:26:05 +01:00
Translation updater bot 31f49a9ce0 Localisation updates from https://translatewiki.net.
Change-Id: I5b0fff3300e903e9ce30e73e37ca5a9d021a97fc
2018-08-26 22:33:06 +02:00
Ed Sanders d15094c27d Update VE core submodule to master (7443791cf)
New changes:
7bdf15b76 Cleanup: Allow a DM surface to be used to construct a UI surface
27b36e04d Cleanup: Move setSynchronizer from view to model

Change-Id: I6b13dadcdaf4107fbf5b7ca50d9b5a52767a32ec
2018-08-25 23:22:09 +01:00
jenkins-bot c09c9a408a Merge "Update VE core submodule to master (e69a4a07c)" 2018-08-25 22:13:19 +00:00
Ed Sanders 7bf56a3bd4 Update VE core submodule to master (e69a4a07c)
New changes:
3b62827b8 Remove negative margin from mobile context action buttons
694705894 Implement a simple notification system to fill in for mw.notify
461283560 Validate history start when applying/unapplying change

Bug: T202514
Change-Id: I203dc5101bc31988df2d3986da4300a318e5e889
2018-08-25 18:08:48 +01:00
Ed Sanders e67f870922 Fixup Ie40baad: Avoid triggering surfaceReady when adding dummy surface
Change-Id: I01f77633a11c6c5b8d484836940ea10b975c7a9e
2018-08-25 18:06:37 +01:00
jenkins-bot 99485b7cbb Merge "Cleanup: Get rid of surfaceReady callback" 2018-08-25 13:48:37 +00:00
Ed Sanders 07e05c7954 Cleanup: Get rid of surfaceReady callback
Just call the method after surface init.

Also move all the post-dm building code into
an #addSurface override.

Change-Id: Ie40baadfa6cd826a92f8fb7d928f4d995286f69f
2018-08-25 14:04:00 +01:00
Kunal Mehta 01433dc393 Configure phan-taint-check-plugin
The plugin checks and flags potential security issues (XSS, SQLi, etc.)
using static analysis.

See <https://www.mediawiki.org/wiki/Phan-taint-check-plugin> for more
details.

Change-Id: I6628c3faddd240024fa8f96967e3541e96ea0ff3
2018-08-24 21:34:28 -07:00
petarpetkovic 30f099382a Replace jQuery.grep with Array.prototype.filter
Change-Id: I912fb68060d88b618cb2a2502417c1bccc5fecec
2018-08-25 00:11:30 +02:00
jenkins-bot e7f462de32 Merge "WelcomeDialog: Check at least one editor is available" 2018-08-24 15:37:35 +00:00