Commit graph

13313 commits

Author SHA1 Message Date
James D. Forrester ace9bb6348 Update VE core submodule to master (5d7b23762)
New changes:
34999f2ce Move linear model -> source text conversion to ElementLinearData
a2ab4fa95 build: Bump grunt clean and stylelint to latest
dab49847a Fix infinite loop in ve.BranchNode#getNodeFromOffset
b4319e29d LanguageInputWidget: optionally suppress directionality input

Change-Id: I800085eb3a5f7332eab356b62a34bfc603a29839
2017-07-07 16:15:27 -07:00
jenkins-bot cc08633012 Merge "build: Bump a couple of devDependencies to latest" 2017-07-06 21:07:41 +00:00
jenkins-bot 1ca4f1453d Merge "Update VE core submodule to master (1934b77e7)" 2017-07-06 21:07:39 +00:00
jenkins-bot 2e62ebe05b Merge "build: Exclude /vendor from stylelint to avoid errors" 2017-07-06 21:07:38 +00:00
Translation updater bot b67d8d5da9 Localisation updates from https://translatewiki.net.
Change-Id: Iab72a6b6f3236203dce7ea6bf8ec3c1b7bd96acb
2017-07-06 23:04:57 +02:00
James D. Forrester f7e5ebb845 build: Bump a couple of devDependencies to latest
grunt-banana-checker   0.5.0  →   0.6.0
 grunt-stylelint        0.7.0  →   0.8.0

Added stylelint peerdependency directly.

Change-Id: Ib5da82ae60f4f49e572459c8e53f9125ad422ee8
2017-07-06 13:40:38 -07:00
James D. Forrester 37088376d4 Update VE core submodule to master (1934b77e7)
New changes:
2ffadb015 ui.FormatAction: fixup selection for empty conversions
eb1c82b57 Minimal demo: update deprecated TextInputWidget
e9951799c Localisation updates from https://translatewiki.net.
7e80419bb ve.fixBase: Fix protocol-relative base href for Chrome
6b0fa8b40 Localisation updates from https://translatewiki.net.
a4a0be2da ve.ui.TableLineContext: restore the z-index hack

Bug: T151594
Bug: T167936
Bug: T169389
Change-Id: If9c8208f4c549800488acc799c677875bd233283
2017-07-06 13:40:38 -07:00
James D. Forrester 3a19558d6e build: Exclude /vendor from stylelint to avoid errors
Change-Id: I0505925ada34d951fd8d0cc810b47ebeccadf6bb
2017-07-06 13:40:38 -07:00
jenkins-bot eb94174561 Merge "ve.ui.MWWikitextSwitchConfirmDialog: Remove broken "evil hack"" 2017-07-06 14:53:34 +00:00
Translation updater bot db2921281e Localisation updates from https://translatewiki.net.
Change-Id: I964c0d70f0ad7e953de2ba7d4a77613d81c55785
2017-07-05 22:47:29 +02:00
Bartosz Dziewoński 4c3c8b3d1e ve.ui.MWWikitextSwitchConfirmDialog: Remove broken "evil hack"
The promise #getTeardownProcess is trying to resolve/reject no longer
exists, causing exceptions. The code has been unnecessary for a while,
as we do all the work in #getActionProcess. (In the case that we do
switch, the teardown code isn't even called, since we navigate away.)

Cancelling the switch to wikitext works correctly after removing this
code.

Bug: T169588
Change-Id: I1b9b12edf12a0b91f06c13aa53024efb80868387
2017-07-04 21:49:15 +02:00
jenkins-bot 16f5bc609e Merge "TextInputWidgets: update for deprecated multiline behavior" 2017-07-03 21:21:20 +00:00
David Lynch cfe1d6c0c9 TextInputWidgets: update for deprecated multiline behavior
Remove config option `multiline` and change to MultilineTextInputWidget as
appropriate.

Bug: T169272
Change-Id: I45565f01de76a88d64d7b0691d1e7279354f375d
2017-07-03 22:09:58 +01:00
Translation updater bot af7c3a71c9 Localisation updates from https://translatewiki.net.
Change-Id: I4f1851f6c388dec8ab6be4510607c8f1e8784a33
2017-07-03 22:52:23 +02:00
Ed Sanders dd54c9c95d Return truthy object when image info not found
A missing image should return some data to say the
image is missing, not just reject the promise.

Bug: T169337
Change-Id: Ib41a64a783c1baca88f428417c98e7fb913d14a1
2017-07-03 18:01:33 +00:00
Ed Sanders 915e818356 Clear all gallery state on teardown
Change-Id: I90662d02bd2d9768bdcf27e532ed8b8792f764c3
2017-07-03 17:48:06 +00:00
David Lynch 12f681a19d Update VE core submodule to master (65ea4cf36)
New changes:
7b9f264b6 Localisation updates from https://translatewiki.net.
52e9cc349 Update OOjs UI to v0.22.2
65ea4cf36 ui.WhitespacePreservingTextInputWidget: inherit from MultilineTextInputWidget

Bug: T169272
Change-Id: I37987fec09a340a14eedd3535fcb48bea265823c
2017-07-03 17:12:12 +00:00
jenkins-bot 73a0574452 Merge "Normalize to template namespace when comparing" 2017-07-03 16:50:44 +00:00
Ed Sanders b3d44c1ccd Normalize to template namespace when comparing
Bug: T169307
Change-Id: Ic3524819fb026713b27b193e4a03338fffd97229
2017-07-03 16:41:08 +00:00
jenkins-bot baf1908b99 Merge "DesktopArticleTarget: Regenerate title in all non-view page scenarios" 2017-07-03 16:25:51 +00:00
Translation updater bot 9986166cfb Localisation updates from https://translatewiki.net.
Change-Id: Ia03ad93b311249dc73b38b69ea085ecfbf75985d
2017-07-02 22:54:36 +02:00
Ed Sanders af25311201 DesktopArticleTarget: Regenerate title in all non-view page scenarios
Bug: T168236
Change-Id: I15f2aeb42b98855512970e2f07396fd7a7c97354
2017-07-01 17:27:07 +00:00
Kunal Mehta 32a4f3a88b build: Updating mediawiki/mediawiki-codesniffer to 0.10.0
Change-Id: I55e26c6763b09be16751491d43a4d5a927abc0b0
2017-07-01 08:49:44 +00:00
Translation updater bot 90841ca36c Localisation updates from https://translatewiki.net.
Change-Id: I87974d7d4cbd1f83e913953849d7583d5aa60fc0
2017-06-30 23:43:26 +02:00
Umherirrender 766c140536 Run stylelint for less file
File was added with I151fc9bab3d3032f50c8d11be6b54e45a06fcc34

Change-Id: I5ef55e47a39e7ec3ea7c6066a048b1c4747b25ad
2017-06-29 19:30:37 +00:00
jenkins-bot 59d74932b0 Merge "Update VE core submodule to master (b528a5321)" 2017-06-29 07:39:01 +00:00
jenkins-bot a328dd4085 Merge "Update VE core submodule to master (b528a5321)" 2017-06-28 22:30:19 +00:00
jenkins-bot abba5e227e Merge "Set onDiffViewHeader argument defaults = null" 2017-06-28 22:16:02 +00:00
Translation updater bot 1055bebefc Localisation updates from https://translatewiki.net.
Change-Id: I6b7d0c0b29a571c695078b8a00086470751df315
2017-06-28 23:18:21 +02:00
Mukunda Modell c14b1c46a9 Set onDiffViewHeader argument defaults = null
As suggested by Bartosz in https://gerrit.wikimedia.org/r/#/c/361938/
Just set a default value but keep the type hint. This should avoid
the logspam while retaining type safety.

Bug: T169132
Change-Id: I1221357746f5d4ba1430bcf0bfe773202484eebc
2017-06-28 16:16:20 -05:00
David Lynch 7e678dc81a Update VE core submodule to master (b528a5321)
New changes:
44d2d666c Remove custom icon sizing from block slugs
793d131f9 Ignore covering annotations when looking for plain text pastes
b0025f3ab dm.Document fixupInsertion: check suggestedParents as well
73ce638f1 ve.ui.TableLineContext: Fancier popups
9d54d531e Visual Diff: add internal list diff
4f4e121b5 DiffElement: Add hacky support for template-defined references

Local changes:

dm.SurfaceFragment tests: exercise fixupInsertion for mwHeadings

Core VE doesn't have any elements with suggestedParents, so make sure this is
properly tested.

Bug: T153315
Bug: T162819
Bug: T164017
Bug: T165865
Change-Id: I01489226d282abe71020e65358ead24fe07692f7
2017-06-28 20:57:19 +01:00
James D. Forrester 27467c32d4 VisualEditorHooks#onDiffViewHeader: Don't add type hint as the hook sucks
It'd be nice if the hook didn't.

Bug: T169132
Change-Id: Iabe75448bbedebf8164d9c8223a4d59d0281e66e
2017-06-28 20:42:37 +01:00
James D. Forrester d7747cb913 Update VE core submodule to master (b528a5321)
New changes:
44d2d666c Remove custom icon sizing from block slugs
793d131f9 Ignore covering annotations when looking for plain text pastes
b0025f3ab dm.Document fixupInsertion: check suggestedParents as well
73ce638f1 ve.ui.TableLineContext: Fancier popups
9d54d531e Visual Diff: add internal list diff
4f4e121b5 DiffElement: Add hacky support for template-defined references

Bug: T153315
Bug: T162819
Bug: T164017
Bug: T165865
Change-Id: Id7c434af397367f4f9e12a8f4cc282b1500c7054
2017-06-28 20:34:21 +01:00
jenkins-bot 05bc265198 Merge "Keep TOC in correct place in document" 2017-06-28 12:31:33 +00:00
jenkins-bot be808346c9 Merge "Fix TOC meta item detection" 2017-06-28 12:31:32 +00:00
Jforrester 71f9703414 Merge "Update VE core submodule to master (b3ce1967f)" 2017-06-27 17:16:20 +00:00
Jforrester 15c6011875 Merge "Ensure MWInlineImages get the ve-ce-leafNode class" 2017-06-27 17:15:44 +00:00
James D. Forrester 027259584d Update VE core submodule to master (b3ce1967f)
New changes:
217103924 ce.TextState#getChunks: Use instanceof to check for LeafNodes

Bug: T167009
Change-Id: Ic356ce49b4f12bcfc4f6f70361f929d3ec283a19
2017-06-27 16:47:42 +01:00
Bartosz Dziewoński cb193512ce Update VE core submodule to master (b3a7707)
New changes:
8ec8049 Make sure the toolbar is shown on top of surface contents even when not floating
16a0486 VisualDiff: Fix doc child replacement
43346ea Localisation updates from https://translatewiki.net.

Bug: T166801
Bug: T167616
Change-Id: Ie4f1f74a09493e4154eb865c757e9fc158a3c03d
2017-06-27 15:15:12 +00:00
jenkins-bot 50a8fedc3b Merge "build: Updating mediawiki/mediawiki-codesniffer to 0.9.0" 2017-06-27 08:33:31 +00:00
jenkins-bot 1b86c8aaf8 Merge "Include message for comment diff" 2017-06-27 08:33:30 +00:00
Translation updater bot 42ca5c6d1e Localisation updates from https://translatewiki.net.
Change-Id: Ibb3f2f38abf77af4872012fb32f73f89d94d0c7b
2017-06-26 23:08:30 +02:00
Thalia cbd7a579a7 Include message for comment diff
Bug: T149821
Change-Id: I6bfe77ecd53432e5c400f7efd60a1421d7917c4f
2017-06-26 13:32:55 -07:00
jenkins-bot 7f14f854c4 Merge "ve.init.mw.DesktopArticleTarget: Remove some hacks" 2017-06-26 20:27:09 +00:00
Umherirrender 23e7ccb6d4 build: Updating mediawiki/mediawiki-codesniffer to 0.9.0
Change-Id: I247c15b8b6c4ef9bfc5b96f1d6553cd186638fbb
2017-06-26 19:18:47 +02:00
Ed Sanders c4f93b1411 Ensure MWInlineImages get the ve-ce-leafNode class
Without this class, offset calculations fail and model/view
sync can be lost.

Bug: T167009
Change-Id: Ie7b6551ac5a532949c14122b9ee7584a794af0f2
2017-06-26 12:43:23 +00:00
jenkins-bot 0dee2be8d8 Merge "GalleryDialog: Re-order and make margins even" 2017-06-26 10:33:17 +00:00
jenkins-bot b2ae6ddcb8 Merge "GalleryDialog: Downstream fix for DraggableElement padding" 2017-06-26 10:32:07 +00:00
Translation updater bot 6623018b9d Localisation updates from https://translatewiki.net.
Change-Id: I97af6bed779e8435746a70ae0eba850ce4be1d2f
2017-06-25 23:21:18 +02:00
jenkins-bot ba3a5d85bd Merge "Show visual diffs on DiffPage" 2017-06-25 03:30:29 +00:00