Commit graph

1238 commits

Author SHA1 Message Date
Bartosz Dziewoński e3730c1a5e Update VE core submodule to master (3b05386e0)
New changes:
db3ef6ee9 Localisation updates from https://translatewiki.net.
b2a22bde4 Localisation updates from https://translatewiki.net.
40c846f1d Update DOMPurify to 2.4.4

Bug: T279215
Change-Id: Ia41f3c47a03776e17ac20ee1067f8ab7eb351a50
2023-02-14 23:27:20 +01:00
James D. Forrester f6dcd98b38 Update VE core submodule to master (109c9a606)
New changes:
597ca6403 Localisation updates from https://translatewiki.net.
a938d5338 Update OOUI to v0.46.3
109c9a606 Try to prevent selections inside ref/template nodes on Firefox

Bug: T272207
Bug: T313162
Bug: T327086
Change-Id: I9b91729271e320576ea8425a68dc540a31d23a2e
2023-02-07 09:59:28 -05:00
Ed Sanders 722e639ccb Update VE core submodule to master (b5c670c7a)
New changes:
0cf02db3a [BREAKING CHANGE] Pass Target to UI Surface and use instead of ve.init.target

Local changes:
* Pass target to surface

Bug: T305762
Change-Id: I3412c53cc70346c8ba4b8b76976ba9c7535e945f
2023-02-02 23:19:40 +01:00
Bartosz Dziewoński 0e115d914c Update VE core submodule to master (b8cc71bdc)
New changes:
ed2db1808 Localisation updates from https://translatewiki.net.
fb7f38574 Pass surface to all dialogs, and use in CommandHelpDialog

Bug: T305762
Change-Id: If69cbdc87971b303d3e7255dca3b0c7c9ef8a2b2
2023-02-02 22:29:03 +01:00
Bartosz Dziewoński b5a0450567 Update VE core submodule to master (6ed9b00f1)
New changes:
37b26cd7a Minor fixes to AUTHORS.txt
24151ec02 ve.ui.CommandHelpDialog: Move populating of dialog to getSetupProcess
a099b59f5 Localisation updates from https://translatewiki.net.
b45f88fd5 Update papaparse to 5.3.2

Bug: T326946
Change-Id: I83e367d5d7fa5952f942d86e3d2965f4ebf489e8
2023-01-30 17:16:10 +01:00
Bartosz Dziewoński e40b73ef57 Update VE core submodule to master (b7ff5aac0)
New changes:
2201b350c Localisation updates from https://translatewiki.net.
da74736c1 Remove unused test code
d1b016e90 Minor test tweaks
551de4f0c Specify document base URLs in more test cases

Local changes:
* Specify document base URLs in more test cases

Change-Id: I0e301bef38d97fa2234aa901c787360d9fbde8a3
2023-01-23 15:57:59 +01:00
Ed Sanders 2df8a95ac3 Update VE core submodule to master (035756895)
New changes:
4355d697a Replace ListStorage with ConflictableStorage
978061f86 Update SafeStorage and ConflictableStorage with expiry functionality
79019ed88 ve.dm.Surface: Support storage expiry

Local changes:
* Pull through conflictable storage

Bug: T218663
Change-Id: I36e49c01e9f2ddb7d362d539b72a4beca925bcb7
2023-01-21 10:41:21 +01:00
Bartosz Dziewoński 8c297bca46 Update VE core submodule to master (5917667a6)
New changes:
1645353c7 Localisation updates from https://translatewiki.net.
153cc2971 Update eslint-config-wikimedia to 0.24.0
b1e205196 Update OOUI to v0.46.2
5917667a6 Localisation updates from https://translatewiki.net.

Change-Id: Ic3994d286e10ec06979a7a9d223fef3a1c6da4c5
2023-01-20 18:41:04 +01:00
James D. Forrester a3050b0d1e Update VE core submodule to master (225741274)
New changes:
366db6fce Localisation updates from https://translatewiki.net.
5b9f4957c Localisation updates from https://translatewiki.net.
c617d2a3c Localisation updates from https://translatewiki.net.
225741274 Update OOUI to v0.46.1

Bug: T325954
Change-Id: I337bbbc2b5887b73e91705c2b44b96b46ce2cdff
2023-01-12 13:39:27 -05:00
Bartosz Dziewoński 659b7989f0 Update VE core submodule to master (cb9c5fadc)
New changes:
9d0cd4d43 Rebuild demos with newly added language 'se'
274212549 Ignore 'origTitle' in tests
25dc9632c tests: Remove unused test data

Bug: T325766
Change-Id: Id05e7c72f1a24e108e9ea3062bd71992fe94a504
2023-01-04 19:57:51 +01:00
Bartosz Dziewoński aff1874418 Update VE core submodule to master (049fb828f)
New changes:
add00c1f5 Localisation updates from https://translatewiki.net.
930d7a40a ve.dm.SurfaceSynchronizer: Abstract out communication slightly
75b007dcf Remove obsolete browser support checks for HTML5 History API
dd7473296 Localisation updates from https://translatewiki.net.
29948421c Localisation updates from https://translatewiki.net.
049fb828f Localisation updates from https://translatewiki.net.

Change-Id: Ib78fb3c38c540957e4008efb6370b098017400e9
2023-01-02 19:11:21 +01:00
Bartosz Dziewoński 420b2a9382 Update VE core submodule to master (1a3a68a6b)
New changes:
5b8a37e40 Localisation updates from https://translatewiki.net.
414e8866f Localisation updates from https://translatewiki.net.
52e83e7df Localisation updates from https://translatewiki.net.
1a3a68a6b Localisation updates from https://translatewiki.net.

Change-Id: I1429f837dcaff3878c15e54ace40054593134bcc
2022-12-22 11:37:08 +01:00
Bartosz Dziewoński 9ca5c701f6 Update VE core submodule to master (1b0ea4928)
New changes:
84227ead9 Localisation updates from https://translatewiki.net.
1b0ea4928 Update OOUI to v0.46.0

Change-Id: If3dcd3f82736efb862251bcbb25ea7f20816a96c
2022-12-07 22:28:29 +01:00
Bartosz Dziewoński f1ca83aafd Update VE core submodule to master (56859eb96)
New changes:
364f0cef3 Fix eslint warnings
b07598a2c Add jsdoc for undocumented build functions
f5431894f Localisation updates from https://translatewiki.net.
56859eb96 Localisation updates from https://translatewiki.net.

Change-Id: I71a2dd10d9f0313b153854c93726cf5a9140228f
2022-12-01 22:34:46 +01:00
Ed Sanders 95b4bd1a4b Update VE core submodule to master (099b95023)
New changes:
e8c13e337 Localisation updates from https://translatewiki.net.
e59d14a98 Localisation updates from https://translatewiki.net.
347e09eac Localisation updates from https://translatewiki.net.
8592cdc07 Make use of native .map() in ve.ui.LanguageSearchWidget
6412add28 Localisation updates from https://translatewiki.net.
921892af2 Localisation updates from https://translatewiki.net.
a8aa6b475 Localisation updates from https://translatewiki.net.
69e6e5473 Localisation updates from https://translatewiki.net.
8ce65a801 Add test for use of ve.sanitize (DOMPurify) in external paste handler
e11290da1 Add unit tests for ve.sanitize
d248b851a Upgrade DOMPurify to 2.4.1
57eeb8b87 Sanitize href attribute in LinkContextItem and LinkAnnotation
099b95023 Localisation updates from https://translatewiki.net.

Local changes:
* Add ve.sanitize.test.js to test module

Bug: T322704
Change-Id: Ibb34f3cff9e9d891d6d9fd37151a704a67535ab0
2022-11-24 12:51:18 +00:00
Bartosz Dziewoński f1df46d6cf Update VE core submodule to master (d1bc0e528)
New changes:
8823a8f6e Localisation updates from https://translatewiki.net.
d1bc0e528 ve.init.Target: Make sure surface exists before setting padding

Bug: T321604
Change-Id: Ic6886f04509540e2eed45f0e35856e75a9eb394d
2022-10-26 00:59:09 +02:00
Bartosz Dziewoński 5804e07221 Update VE core submodule to master (65c6a2ff5)
New changes:
65c6a2ff5 Only inspect data when it is actually available

Bug: T321372
Change-Id: Ib45ea11a792fc02d5ce4b63c7d5be77cb276dbf9
2022-10-22 04:38:10 +02:00
Bartosz Dziewoński f69c187d6c Update VE core submodule to master (8fd8d1451)
New changes:
67c844d73 Localisation updates from https://translatewiki.net.
8e850303c Fix typo in unit tests
9d3ed760c Localisation updates from https://translatewiki.net.
ba0714b07 Verify key before removing node from InternalList
4f76184fa Revert "Verify key before removing node from InternalList"
09036aadf Localisation updates from https://translatewiki.net.
8fd8d1451 Add setTimeout to re-focus when opening SpecialCharacterDialog

Bug: T318720
Change-Id: I798445a46852fd03230b0532f2a792f41ee8107c
2022-10-20 21:16:08 +02:00
Bartosz Dziewoński 2b37b479ea Update VE core submodule to master (5dcc0f107)
New changes:
878ebf301 Localisation updates from https://translatewiki.net.
b56ad2792 Localisation updates from https://translatewiki.net.
a3a861bae Localisation updates from https://translatewiki.net.
754ee73dd Fix transformStyleAttributes tests on Firefox on Windows
5dcc0f107 build: Upgrade various devDependencies to latest and make pass

Bug: T319520
Change-Id: I3fa0175b69b6a97835c7edb856e4ab0af4cb61cc
2022-10-07 11:16:24 +02:00
Bartosz Dziewoński 78207ee45d Update VE core submodule to master (6b9937c19)
New changes:
945ca158b Localisation updates from https://translatewiki.net.
42ce721c8 build: Update language lists
dfeda8a1a Localisation updates from https://translatewiki.net.
d0d5771cb Localisation updates from https://translatewiki.net.
0b78ead3f build: Update language lists to add 'mrh'
13d8c8d4f Fixup Chromium's native Enter behaviour on Android Gboard
37bdbb860 Localisation updates from https://translatewiki.net.
6b9937c19 Update OOUI to v0.45.0

Bug: T312558
Change-Id: Icfb0c6f4e70ffd53533d3f0e8cf40ca43b3d8663
2022-09-29 01:28:40 +02:00
Bartosz Dziewoński 412567995c Update VE core submodule to master (f3cbff8b1)
New changes:
a4ab75072 Localisation updates from https://translatewiki.net.
b1b1c2656 Localisation updates from https://translatewiki.net.
817f0d532 Use improvements of jQuery 3.3
4faef86ad Localisation updates from https://translatewiki.net.
44b501e96 Remove unused message "visualeditor-commentinspector-edit"

Local changes:
* Remove unused message "visualeditor-commentinspector-edit"

Change-Id: Ib22ff31137f62943d01b7c1daf3f0ea1bc6c9536
2022-09-10 06:53:55 +02:00
Bartosz Dziewoński c047b7f098 Update VE core submodule to master (059f7d91d)
New changes:
b2817d12a Localisation updates from https://translatewiki.net.
a26f98f7b Don't enforce alphabetical order in i18n files
693d4f78d ve.ce.Surface: Fix scope typo in middle-click paste handling
882af5d8a ve.ce.Surface: Preserve internal paste data when doing fake middle-click paste

Bug: T315065
Bug: T316054
Change-Id: I3d13da9f45c8fe387181f1d236e1e053c184b918
2022-08-30 22:31:15 +02:00
Bartosz Dziewoński aee6223aed Update VE core submodule to master (d4c438548)
New changes:
b68da88fd Localisation updates from https://translatewiki.net.
f2995f346 Localisation updates from https://translatewiki.net.
862d8ee64 ve.ui.CompletionWidget: Fix showing with no items for latest OOUI

Bug: T316219
Change-Id: I5c4e6898adae492b19069266f161316309fa555b
2022-08-25 16:35:41 +02:00
Bartosz Dziewoński bd9c2f9eba Update VE core submodule to master (8ff9a5b44)
New changes:
39110f9ff Update OOUI to v0.44.3
d40634067 Localisation updates from https://translatewiki.net.
8ff9a5b44 ve.ui.LanguageInputWidget: Fix dialog becoming inert

Bug: T315636
Change-Id: Idb5a0c9446851e4667956a79c826cba3789317ec
2022-08-19 17:42:39 +02:00
Svantje Lilienthal d9fa6d4091 Update VE core submodule to master (439831778)
New changes:
082621501 Localisation updates from https://translatewiki.net.
98fc36e64 Localisation updates from https://translatewiki.net.
7cbaefc97 build: Update language lists to add 'tk'
a9a3cec89 Localisation updates from https://translatewiki.net.
13dd7a6c2 Pass empty string to unused argument of pushState/replaceState
065f72ea3 Localisation updates from https://translatewiki.net.
71ca140b7 Add missing ARIA labels to fields in VE maps dialog

Local changes:
* Add new dimension fields labels

Bug: T307993
Change-Id: Iab27f24627e80d34a8f1c201380492c88d2ab758
2022-08-17 00:59:01 +02:00
Bartosz Dziewoński b88bd21447 Update VE core submodule to master (2a60d67df)
New changes:
d0912cb0a Update OOUI to v0.44.2
2a60d67df Localisation updates from https://translatewiki.net.

Change-Id: I9d62494d5e1720dbde02c9a9acadd79b89583c46
2022-07-29 00:58:18 +02:00
Bartosz Dziewoński ea5597be83 Update VE core submodule to master (1ab6be70d)
New changes:
e34ab94c4 Localisation updates from https://translatewiki.net.
f6524d778 MobileActionsContextItem: Use 'copy' icon
a8ecafebe Localisation updates from https://translatewiki.net.
5bb6f2bec Localisation updates from https://translatewiki.net.
f7a8fad02 ve.init.Target: Don't generate actions toolbar when empty
9ecf20daa sa.Target: Move pageMenu to main toolbar

Bug: T312766
Change-Id: If2f381099d65058949d9b366d72e840b71c0064b
2022-07-26 17:21:21 +02:00
Bartosz Dziewoński 979b382d2b Update VE core submodule to master (1800c35de)
New changes:
14ab5f36c Localisation updates from https://translatewiki.net.
ffde59c5f build: Replace automatic 'grunt-svgmin' with manual 'svgo' script
6294cc572 Re-crush SVGs now we're on SVGO 2.x not 1.x
42e35e898 Visual diff: Use mix-blend-mode to improve opacity hacks for content in highlighted areas

Bug: T311903
Bug: T312013
Change-Id: I0428ca6038459087d6c6f79e20ffeaa32659c3db
2022-07-16 19:18:02 +02:00
Bartosz Dziewoński 54714ab7fc Update VE core submodule to master (38470f11e)
New changes:
bc81b354e Update OOUI to v0.44.1
38470f11e Revert "WindowManager: Simplify teardown"

Change-Id: I4468b8278c7fa546d31d9f9092a2b99dadae256a
2022-07-13 21:08:07 +02:00
Bartosz Dziewoński 2ed2fd7489 Update VE core submodule to master (71e970992)
New changes:
ce9a03c54 Fix middle click to paste behaviour
129debcdd Allow middle-click pasting to happen next to the current selection
3934a89a6 Don't create selection when middle-click pasting into empty paragraph
71e970992 Insert content at click coords when middle click pasting to a blurred surface

Bug: T311701
Bug: T311723
Bug: T311733
Change-Id: I6659825fa77e518169c7c97e34d7996bed44c97c
2022-07-07 23:16:27 +02:00
Bartosz Dziewoński 56ca592fc3 Update VE core submodule to master (0a909d09a)
New changes:
8db04423a Localisation updates from https://translatewiki.net.
a60817839 Localisation updates from https://translatewiki.net.
88f4bb181 Follow-up I61b477d1f: Only remove native ranges if the are inside the document

Bug: T293661
Bug: T311904
Change-Id: Ie8f4d1c9853a9510f1ce2245a0d32ea630d76579
2022-07-04 16:58:12 +02:00
Bartosz Dziewoński 61a7269261 Update VE core submodule to master (c5804af0a)
New changes:
a035f62f6 Localisation updates from https://translatewiki.net.
c5804af0a Handle Shift+Enter at the start/end of pre nodes too

Bug: T60773
Change-Id: I2fa0bda7ea2a831f62c5df428d0352bb31c4d823
2022-06-27 23:23:38 +02:00
Bartosz Dziewoński 5e58b97804 Update VE core submodule to master (2a341d152)
New changes:
83024d909 Add unit tests for ve.init.ListStorage
082df611e DummyPlatform: Mock system Storage object as well as SafeStorage wrapper
2a341d152 Localisation updates from https://translatewiki.net.

Change-Id: Id77d0efcebcf3a3a42d404fdc23bde23470ef645
2022-06-23 22:26:26 +02:00
Bartosz Dziewoński d2d3837616 Update VE core submodule to master (7170a0139)
New changes:
b9743a7e2 Localisation updates from https://translatewiki.net.
0e56678b2 Localisation updates from https://translatewiki.net.
5c0ffc786 build: Update language lists to add 'ks-arab'
0320dfd08 Swap out an existing toolbar $overlay when changing a surface

Change-Id: I9dddf14a181fdd3f0e76c9d30d2997479ee406bb
2022-06-22 19:34:34 +02:00
Bartosz Dziewoński aaf2bd051a Update VE core submodule to master (179bbdc9c)
New changes:
e916cad3b Make ListStorage a subclass of SafeStorage, instead of a wrapper
179bbdc9c ve.dm.Surface: Add setter for storage system

Change-Id: Ic5f645c926eaed42658ec03e6474f5126eca41f3
2022-06-16 01:47:55 +02:00
Bartosz Dziewoński 4fd59ed1b7 Update VE core submodule to master (2cbef5626)
New changes:
6f089defd Help dialog: Don't register as a documentCommand by default

Bug: T154626
Change-Id: I2cda78fcadf8225627afdc001cf31a38bb080a48
2022-06-16 00:45:45 +02:00
Bartosz Dziewoński 2e3541514c Update VE core submodule to master (1a871fab5)
New changes:
6c8270558 Localisation updates from https://translatewiki.net.
abf8a277e Create a 'cancel' command similar to the existing 'submit' command
1a871fab5 Surface cancel: Hide context before closing surface

Bug: T97350
Change-Id: I35dd21fe2844a707e7d99214665761482275560a
2022-06-15 21:23:53 +02:00
Bartosz Dziewoński e93e152e07 Update VE core submodule to master (78ab52b71)
New changes:
ab10516c0 Localisation updates from https://translatewiki.net.
06bc509b2 ve.js: Update ve.now() to match optimisation of MediaWiki core
83e064476 Localisation updates from https://translatewiki.net.
c375187c3 build: Update language lists
32c0cbfce ModeledFactory: Allow candidates to suppress other candidates when matching

Bug: T310290
Change-Id: Ia809d0e2e9cb29cfb4e3867130e4444fa6eb15b6
2022-06-09 16:57:12 +02:00
Bartosz Dziewoński 3e0323637d Update VE core submodule to master (c54b727ca)
New changes:
6f91b6a3d Localisation updates from https://translatewiki.net.
7f8df33f9 build: Update language lists to add 'tdd'
c54b727ca FocusableNode: Remove webkit columns hacks

Bug: T309037
Change-Id: I86026e8ea3952ecc903b66d2636161754cdf7cee
2022-06-04 13:54:35 +02:00
Bartosz Dziewoński f5ae9c2e59 Update VE core submodule to master (cd966e817)
New changes:
8a31adad3 SupportCheck: Call DOMParser directly
bb447f10e rebaser: Update dependencies
39e84e7b6 rebaser: Update deprecated option
e6505de76 rebaser: Update mongo driver to 4.6
8576a529f Localisation updates from https://translatewiki.net.
cd966e817 CompletionWidget: Wrap in a PopupWidget to keep within viewport

Bug: T307712
Change-Id: I16e96f1667dbe0105348c659ea303464fbd700f4
2022-05-31 22:36:48 +02:00
Bartosz Dziewoński c59cd12c0a Update VE core submodule to master (f52d9b046)
New changes:
0cdfa1c35 Localisation updates from https://translatewiki.net.
f52d9b046 Revert "DiffElement: Collapse tree diff with no described changes"

Change-Id: I65d1e9cbdc45bbf5e04b5c0f25e9254ee240d587
2022-05-26 23:14:32 +02:00
Bartosz Dziewoński 1fac5e1c1d Update VE core submodule to master (020488bd1)
New changes:
f4a94fef6 Remove some unnecessary newlines from source code
42900ef34 Fix wrong type hints for string hashes
ae6c7de73 Make some generic Array type hints more specific
020488bd1 Fix various mistakes in JSDoc documentation

Change-Id: I4b7657767b3239800218679104e2a453ea6b99cd
2022-05-21 17:45:54 +02:00
Ed Sanders 0e6c954230 Update VE core submodule to master (595380444)
New changes:
8ede5f447 ve.ui.Toolbar: Always hide keyboard shortcut hints on mobile
df426dd86 ve.ui.Surface: Attach mobile context to global overlay
bbd6c3efa Revert "Ensure mobile context appears above toolbar on mobile"

Bug: T293129
Bug: T307849
Bug: T308200
Change-Id: I530e92a90b95863a8903350d2e10ee335eda68d8
2022-05-21 14:23:23 +01:00
Bartosz Dziewoński 381381c005 Update VE core submodule to master (aeaac1e84)
New changes:
5c02fa398 DiffElement: Fix ClassAttributeNode tests and ImageNode behaviour
3fa5a0d9c VisualDiff: Consider values going from/to null as being set/unset

Change-Id: I5e17a098cd60831d2cb24ec2e1de06df37c2b7ee
2022-05-21 04:08:11 +02:00
Ed Sanders 726bbbdb05 Update VE core submodule to master (776219f4b)
New changes:
8030b7e93 Localisation updates from https://translatewiki.net.
fdf1a9201 ve.ce.Surface: Fix typos in documentation
776219f4b Follow-up Ic15dd21f: Fix typo width->height

Bug: T307527
Change-Id: I91149b7806124a3541550eaa7437ffdd9583fd7a
2022-05-20 12:02:28 +01:00
James D. Forrester 377a6523ae Update VE core submodule to master (849c2e8de)
New changes:
152633e2c Localisation updates from https://translatewiki.net.
849c2e8de Update OOUI to v0.44.0

Change-Id: I790613101b2c13a1c04ebcf87a776df834d26b4a
2022-05-17 17:45:02 -04:00
Bartosz Dziewoński aaef4584cc Update VE core submodule to master (f07b7e2cf)
New changes:
46eedcade Localisation updates from https://translatewiki.net.
86add3cf8 WindowManager: Simplify teardown
7f4bc9340 Ensure mobile context appears above toolbar on mobile

Bug: T308201
Bug: T308295
Change-Id: Ib3af733873f836db54c8eece864ae3bd04e8e657
2022-05-14 00:03:19 +02:00
Bartosz Dziewoński 4c90b310ea Update VE core submodule to master (af608e441)
New changes:
30aceee47 Use equivalent colours at 50% opacity for block level backgrounds

Bug: T307466
Change-Id: I262cfc1cb914f3e36b5d5723ce53f83f2b884b87
2022-05-11 23:28:16 +02:00
Bartosz Dziewoński 550c60dff8 Update VE core submodule to master (e54ef8d1c)
New changes:
bb90a1afd ve.dm.Node#hasMatchingAncestor: Use #traverseUpstream
61ebfd367 ve.dm.Surface: Emit context change when selection in node changes collapsed-ness
138360b1f ve.ui.ListAction#allWrapped: Use ve.dm.SurfaceFragment#hasMatchingAncestor
38d4e6c79 ve.dm.Node: Create findMatchingAncestor and factor out compareAttributes
e54ef8d1c ve.dm.SurfaceFragment: Add matchFirstAncestorOfType option

Bug: T217618
Bug: T306752
Bug: T306801
Change-Id: I51dfa902d14929bb28060492cd9e1dea28ed6cb4
2022-05-10 01:01:44 +02:00
Bartosz Dziewoński ad95513817 Update VE core submodule to master (5c075c883)
New changes:
0f594f38a Localisation updates from https://translatewiki.net.
58e060bdb AlienNode diff: Ensure types match before doing a complex comparison
c0c7d43b7 ve.ce.Surface#showModelSelection: Handle out-of-bounds nativeSelection
464f1204d ProgressDialog: Make non-escapable

Bug: T306218
Bug: T307875
Change-Id: I145f2d1454240ff01f1a9926b1a6f746be6d11df
2022-05-09 19:45:56 +02:00