Commit graph

1315 commits

Author SHA1 Message Date
Bartosz Dziewoński d9a99e89a2 Update VE core submodule to master (8bac83777)
New changes:
8a5b36cd2 Localisation updates from https://translatewiki.net.
15cb24580 Localisation updates from https://translatewiki.net.
1ec0304ef Localisation updates from https://translatewiki.net.
e9f9f3f51 Localisation updates from https://translatewiki.net.
8bac83777 Localisation updates from https://translatewiki.net.

Change-Id: Id346e2a99c7b6b681129051e0bca55ae4d354f5b
2024-09-06 22:32:29 +00:00
Bartosz Dziewoński 4f76d3fef7 Update VE core submodule to master (be8847993)
New changes:
cf83d253d Use safe access (hasOwnProperty) for selection stores
c2ee0773b alphabetize scripts in package.json
3206d1e9e fix jsdoc warning
682a9bc0a Handle right-click-delete in Firefox programmatically
435d81879 ve.dm.TransactionProcessor: Use ve.compare
70cce6bb0 Update OOUI to v0.50.3
227cfd31a i18n: Use localized digits in VE's find and replace dialog
4daaf826f Localisation updates from https://translatewiki.net.
4e34a2b05 Localisation updates from https://translatewiki.net.
a4186823b Localisation updates from https://translatewiki.net.
4d129d953 Update OOUI to v0.50.4
44e1bfb1f Localisation updates from https://translatewiki.net.
79dfba95c Localisation updates from https://translatewiki.net.
4a2e52396 Localisation updates from https://translatewiki.net.
cca20d203 Follow-up 79dfba95ce4: build: Update languages to add 'sjd'
c2c5b7a56 ve.ui.AuthorItemWidget: Fix color picker
9b5f854b6 Localisation updates from https://translatewiki.net.
62cbcaf56 Localisation updates from https://translatewiki.net.
b03c13815 Localisation updates from https://translatewiki.net.
be8847993 Localisation updates from https://translatewiki.net.

Bug: T220629
Bug: T368198
Change-Id: Ib2b1a5db75598f7cf627e6fbaf0c19f53b49c925
2024-08-06 23:48:17 +02:00
James D. Forrester f244532f0f Update VE core submodule to master (3edaeb30e)
New changes:
61cf3d475 LinearContext: make context items aware when they're being refreshed
3edaeb30e Update OOUI to v0.50.2

Bug: T324735
Change-Id: Ia042ef8a57e4951867f17a4d1170a2857d2db108
2024-07-01 22:21:43 +01:00
David Lynch 391addbfe4 Update VE core submodule to master (84477b4b9)
New changes:
dcfbd7125 Add more detail to support: comments
aa7c38662 build: Updating npm dependencies
4eb62c924 Make ve.ce.Surface#afterMutations understand updateTagName
909c9330a Re-enable mutation observer
0a179ccf1 build: Updating npm dependencies
443567c63 Localisation updates from https://translatewiki.net.
86f1f84ec rename .jsdoc.json to jsdoc.json
44f820380 styles: Use Codex color tokens for Mobile Editor
8d815c331 build: Update jsdoc-wmf-theme to 1.1.0
fd6ca89bf Suppress eslint warning about fs in test harness script
580a3cf52 Provide ve.entries, for browsers without Object.entries
7abf224ca Localisation updates from https://translatewiki.net.
15f3ccefd Use ve.cloneObject instead of OO.cloneObject
84477b4b9 Localisation updates from https://translatewiki.net.

Bug: T230323
Bug: T365052
Bug: T368081
Bug: T368082
Bug: T368116
Change-Id: Ia35231be8a0325671f329fbd71a72da826505587
2024-07-01 12:06:25 -05:00
Ed Sanders 80a13bdd0b Update VE core submodule to master (3137295a5)
New changes:
63f1fb28d ToolbarDialogs: Create a separate window manager for each position
7fc271f10 ToolbarDialogs: Allow side border to be turned off
622a5ec51 Collab: Don't scroll to this user's cursor when applying remote changes
abffb11c3 collab: Set width/height on splash image
39dba5ac8 build: Make LESS imports relative to /dist folder in dist
06fc0a1a8 build: Use fixPaths to fix cssUrlEmbed paths
c2bf9893c Use Codex design tokens for custom styles
3515c2bfd ve.collab: Prompt for username and pass to server
3137295a5 Localisation updates from https://translatewiki.net.

Added files:
- lib/codex-design-tokens/theme-wikimedia-ui.less

Bug: T360659
Bug: T360662
Bug: T361378
Bug: T366197
Change-Id: Ibdfeb69c7c6f9dbf0e237c04c7f0f38a8306629a
2024-06-20 14:48:06 +01:00
Bartosz Dziewoński 4c93b27c7d Update VE core submodule to master (65e536c1c)
New changes:
3135ad109 Update OOUI to v0.50.0
0eb93c340 Localisation updates from https://translatewiki.net.
2e23d8cac ve.ui.Surface: Improve documentation of surface padding
d42086d50 Allow TableCellableNode to span multiple DOM elements
65e536c1c Localisation updates from https://translatewiki.net.

Local changes:
* Allow MWTransclusionTableCellNode to span multiple DOM elements

Bug: T366984
Bug: T367061
Change-Id: I67239ac72f29b9729b73c7604ee3680ceb1b8475
2024-06-17 20:06:18 +02:00
Ed Sanders 841f3182ed Update VE core submodule to master (6d3f534d7)
New changes:
7c075f0c0 Localisation updates from https://translatewiki.net.
d78377076 Track how refs are pasted

Bug: T362358
Change-Id: Ib6bee6698d1a0cf6df3fcebf35a453f6565759cf
2024-06-11 16:08:00 +01:00
Ed Sanders 24ac11d85b Update VE core submodule to master (f7805878d)
New changes:
668eb6408 Localisation updates from https://translatewiki.net.
179c007bd Tests: Fix actual/expected in TransactionBuilder tests
4031b35b1 Tests: Fix typo in TransactionBuilder tests
c9b374cca build: Update linters
6a783c7a6 build: Fix stylelint config and downgrade
e123d688d Localisation updates from https://translatewiki.net.
d1f1df426 build: Upgrade stylelint-config-wikimedia to v0.17.1 and make pass
5fcd06482 eslint: Remove no-op config
b2b1aaf0c Localisation updates from https://translatewiki.net.
f7805878d TransactionBuilder: Handle preserved metaitems correctly

Bug: T366214
Change-Id: I182d0ddf8befe5d951099926339bdce0c63e23df
2024-06-10 23:18:39 +01:00
Ed Sanders 1274d03c5d Update VE core submodule to master (4e956f400)
New changes:
c82195c52 JSDoc: convert @cfg to @param
204f48a3e ve.ui.FindAndReplaceDialog: Use flexbox instead of tables
9205fbc97 Tests: Use spread syntax on string literals
84be2efbd Avoid Array.concat
4e956f400 Localisation updates from https://translatewiki.net.

Bug: T250843
Change-Id: Ic68fd49b00d87306a264f4a2d31cbe8955b03f16
2024-05-31 18:42:08 +01:00
Bartosz Dziewoński b498d2bfd3 Update VE core submodule to master (e3298c4a5)
New changes:
7ff4a9eac Use arrow functions in tests
2d0800ea6 Tests: Use variadic args
f399101cf ve.ce.TestRunner: Fix return type documentation
e29d42433 Allow ES2018 syntax in tests
f675c0ad7 Test: Use (assert,caseItem) signature for test runners
adc47cb9b Localisation updates from https://translatewiki.net.
88abebb2b Update OOUI to v0.49.2
b4c8921aa build: Updating grunt-banana-checker to 0.13.0
7c31e4f25 Run TableAction/ListAction tests with a full view
24340c13b Localisation updates from https://translatewiki.net.
8ae691114 ESLint: Autofix no-var violations
043558ab3 ESLint: Manually fix remaining no-var errors
5f88cf5eb Move let/const declarations closer to usage
06b7b0da8 ESLint: Enforce prefer-const
4c654dca5 Prefer arrow callbacks in build, collab, demos & rebaser
e3298c4a5 Remove unnecessary context variables

Bug: T365052
Change-Id: I9e8e6287ca077e21f74bd4fbd8d9c0993cceb653
2024-05-24 22:05:05 +02:00
Ed Sanders d5f9b15e39 Update VE core submodule to master (27296e0e3)
New changes:
8a1eda8af build: Updating jsdoc-wmf-theme to 1.0.1
7e2e7ebaa JSDoc: Fix generated documentation of Storage objects
2a0229ea1 JSDoc: Fix more warnings
227a38f79 JSDoc: Use upstream version of externals plugin
e1b2cbc3b Localisation updates from https://translatewiki.net.
a588efb7c Convert inline functions to arrow functions so context variables can be removed
2a12cfd15 Localisation updates from https://translatewiki.net.
27296e0e3 Disable MutationObserver in ve.ce.Surface

Deleted files:
- build/jsdoc-externals.js

Bug: T230323
Bug: T365052
Change-Id: Ia9710a52cf407c1b1cc11216ed9e54cf89e3478d
2024-05-16 18:34:25 +01:00
James D. Forrester 73f31545cc Update VE core submodule to master (273812741)
New changes:
7f2382ade Convert local functions to arrow functions and remove `this` bindings
273812741 build: Update grunt-banana-checker to 0.12.0

Change-Id: I816e212d3d83da464e83620a02e4eb39dd1b7d4f
2024-05-07 14:07:59 +01:00
James D. Forrester 0d48df9927 Update VE core submodule to master (55a4050b9)
New changes:
14e855b40 README.md: Update doc link; add coverage; drop live demo
074cc8bde README.md: Fix Coverage/Code coverage link name split
f94cae724 JSDoc: Load all theme plugins
608c8194c README.md: Mark [[mw:VisualEditor/Setup]] link, as JSDoc doesn't autolink
9e65bfde3 eslint: Switch all code from jsduck to jsdoc mode
fdc0addee Prefer short arrow functions
5bbdc2f3e JSDoc: Fix some missing complex returns types
00b5bcdc4 Use ES6 variadic arguments
0a4a7e3a7 JSDoc: {Mixed} -> {any}
419162782 LanguageInputWidget: Fix logic for checking if language exists
2bc827327 Use more variadic args

Change-Id: I40fdc33b7b46fb38c597308e2615a37c89406378
2024-05-04 18:33:44 +03:00
James D. Forrester fc51a44169 Update VE core submodule to master (9d641c0f4)
New changes:
f654f54a4 Localisation updates from https://translatewiki.net.
dab6ad7d7 General external links for OO/OOJS dynamically
a27e99c9d JSDoc externals: Load config correctly
511dba52e JSDoc externals: Support prefixMapIgnore
9d641c0f4 JSDoc externals: Parse complex types

Added files:
- build/jsdoc-externals.js

Change-Id: Ia62089f656ccf808e9109c130be63ac5004043f5
2024-04-29 19:21:53 +01:00
James D. Forrester b518e55ef9 docs: Replace JSDuck with JSDoc (and pull-through VE with said change)
This is not great, but it's a start (and unblocks other pull-throughs).

New changes:
c401efc98 build: Replace jsduck with jsdoc for documentation
16ba162a0 JSDoc: @mixins -> @mixes
9e0a1f53b JSDoc: Fix complex return types
449b6cc0f Prefer arrow function callbacks
1539af2c8 Remove 'this' bindings in arrow functions
b760f3b14 Use arrow functions in OO.ui.Process steps
57c24109e Use arrow functions in jQuery callbacks
9622ccef9 Convert some remaining functions callbacks to arrow functions
f6c885021 Remove useless local variable
1cd800020 Clear branch node cache when rebuilding tree

Bug: T250843
Bug: T363329
Change-Id: I0f4878ca84b95e3f388b358b943f105637e455f9
2024-04-29 16:16:50 +01:00
James D. Forrester f97b812fb2 Update VE core submodule to f428c59fadb27b0cdd79830eb3db79ccd30b2d82
New changes:
841103234 Localisation updates from https://translatewiki.net.
ed71cf839 Fix rebaser demo to work with LESS
d5b32df6b Use LESS functions for color calculations
3e06b9f21 Localisation updates from https://translatewiki.net.
ea99cd9b3 Use LESS variables for dimension calculations
e34322127 ve.dm.ProtocolServer#welcomeClient: Fix rebaser demo
976c3861b CommandHelpDialog: Remove unused clear:right
f32ab7c9c Remove group property from FindAndReplaceDialog
ff915550d HelpCompletionAction: Allow character skipping in input
40b53053e Localisation updates from https://translatewiki.net.
1cd1b89ef Add langauge->language to typos.json
570674754 Use fast-glob to improve CI performance
e822cc23f LanguageInputWidget: Document that lang and dir can be null
37c482ee4 Fix cursoring off focused block nodes with shift
707da5208 Localisation updates from https://translatewiki.net.
231787a06 Localisation updates from https://translatewiki.net.
0c7642e9f Update OOUI to v0.49.1
9590d6bbc Localisation updates from https://translatewiki.net.
440e63473 Localisation updates from https://translatewiki.net.
c2d7ce249 ve.init.platform: Add #hasLanguageCode
62238cca1 Instruct developers to set FIREFOX_BIN in their environment during setup
836dae588 Use transitionend events instead of hard coding animation time
f52df2ca0 ve.ce.Surface: Use transitionend events
76e93fd07 Make slug animation skin-agnostic
d7fe7b56b Localisation updates from https://translatewiki.net.
e0d43475c Use mutation observer to detect structural deletions
0414276bc build: Updating eslint-config-wikimedia to 0.27.0
0f4edf247 Localisation updates from https://translatewiki.net.
f428c59fa Localisation updates from https://translatewiki.net.

Bug: T131361
Bug: T230323
Bug: T361490
Bug: T362333
Change-Id: Ie74d580fbc7da40a8b8252fbc7f6404a7d57a1a5
2024-04-29 13:05:42 +01:00
Ed Sanders b6a7d8c8da Update VE core submodule to master (70279c60a)
New changes:
70279c60a Refactor SpecialCharacterPage into SymbolListPage + SymbolListBookletLayout

Local changes:
* Use new special character layout

Added files:
- src/ui/layouts/ve.ui.SymbolListBookletLayout.js
- src/ui/pages/ve.ui.SymbolListPage.js
- src/ui/styles/layouts/ve.ui.SymbolListBookletLayout.less

Deleted files:
- src/ui/pages/ve.ui.SpecialCharacterPage.js

Bug: T120512
Change-Id: I357595ae490b36bcf5dd477a95c5684f3a246753
2024-03-19 20:03:40 +01:00
Ed Sanders b446420306 Update VE core submodule to master (e32eea10e)
New changes:
91410d266 Localisation updates from https://translatewiki.net.
6fc7ff406 ve.collab: Make dialogs closeable
f5572e584 Ensure GeneratedContentNodes have at least one non-void element
c33a7f9d1 Support LESS files
a9a139518 Rename all CSS files to LESS
f7925398d Nest LESS files

Added files:
- demos/ve/demo.less
- lib/less/less.js
- src/ce/styles/nodes/ve.ce.ActiveNode.less
- src/ce/styles/nodes/ve.ce.AlienNode.less
- src/ce/styles/nodes/ve.ce.BranchNode.less
- src/ce/styles/nodes/ve.ce.CheckListNode.less
- src/ce/styles/nodes/ve.ce.FocusableNode.less
- src/ce/styles/nodes/ve.ce.ParagraphNode.less
- src/ce/styles/nodes/ve.ce.ResizableNode.less
- src/ce/styles/nodes/ve.ce.RootNode.less
- src/ce/styles/nodes/ve.ce.SectionNode.less
- src/ce/styles/nodes/ve.ce.TableCellNode.less
- src/ce/styles/nodes/ve.ce.TableNode.less
- src/ce/styles/ve.ce.Surface.less
- src/init/sa/styles/ve.init.sa.Platform.less
- src/themes/apex.less
- src/themes/wikimediaui.less
- src/ui/styles/contextitems/ve.ui.LinearContextItem.less
- src/ui/styles/contextitems/ve.ui.LinkContextItem.less
- src/ui/styles/dialogs/ve.ui.CommandHelpDialog.less
- src/ui/styles/dialogs/ve.ui.FindAndReplaceDialog.less
- src/ui/styles/dialogs/ve.ui.ProgressDialog.less
- src/ui/styles/dialogs/ve.ui.SpecialCharacterDialog.less
- src/ui/styles/dialogs/ve.ui.TableDialog.less
- src/ui/styles/dialogs/ve.ui.ToolbarDialog.less
- src/ui/styles/elements/ve.ui.DiffElement.less
- src/ui/styles/inspectors/ve.ui.FragmentInspector.less
- src/ui/styles/inspectors/ve.ui.LanguageInspector.less
- src/ui/styles/tools/ve.ui.FormatTool.less
- src/ui/styles/ve.ui.DebugBar.less
- src/ui/styles/ve.ui.DesktopContext.less
- src/ui/styles/ve.ui.Overlay.less
- src/ui/styles/ve.ui.Surface.less
- src/ui/styles/ve.ui.TableLineContext.less
- src/ui/styles/ve.ui.Toolbar.less
- src/ui/styles/widgets/ve.ui.AuthorItemWidget.less
- src/ui/styles/widgets/ve.ui.CompletionWidget.less
- src/ui/styles/widgets/ve.ui.ContextOptionWidget.less
- src/ui/styles/widgets/ve.ui.DimensionsWidget.less
- src/ui/styles/widgets/ve.ui.LanguageInputWidget.less
- src/ui/styles/widgets/ve.ui.LanguageSearchWidget.less
- src/ui/styles/widgets/ve.ui.TargetWidget.less

Deleted files:
- demos/ve/demo.css
- src/ce/styles/nodes/ve.ce.ActiveNode.css
- src/ce/styles/nodes/ve.ce.AlienNode.css
- src/ce/styles/nodes/ve.ce.BranchNode.css
- src/ce/styles/nodes/ve.ce.CheckListNode.css
- src/ce/styles/nodes/ve.ce.FocusableNode.css
- src/ce/styles/nodes/ve.ce.ParagraphNode.css
- src/ce/styles/nodes/ve.ce.ResizableNode.css
- src/ce/styles/nodes/ve.ce.RootNode.css
- src/ce/styles/nodes/ve.ce.SectionNode.css
- src/ce/styles/nodes/ve.ce.TableCellNode.css
- src/ce/styles/nodes/ve.ce.TableNode.css
- src/ce/styles/ve.ce.Surface.css
- src/init/sa/styles/ve.init.sa.Platform.css
- src/themes/apex.css
- src/themes/wikimediaui.css
- src/ui/styles/contextitems/ve.ui.LinearContextItem.css
- src/ui/styles/contextitems/ve.ui.LinkContextItem.css
- src/ui/styles/dialogs/ve.ui.CommandHelpDialog.css
- src/ui/styles/dialogs/ve.ui.FindAndReplaceDialog.css
- src/ui/styles/dialogs/ve.ui.ProgressDialog.css
- src/ui/styles/dialogs/ve.ui.SpecialCharacterDialog.css
- src/ui/styles/dialogs/ve.ui.TableDialog.css
- src/ui/styles/dialogs/ve.ui.ToolbarDialog.css
- src/ui/styles/elements/ve.ui.DiffElement.css
- src/ui/styles/inspectors/ve.ui.FragmentInspector.css
- src/ui/styles/inspectors/ve.ui.LanguageInspector.css
- src/ui/styles/tools/ve.ui.FormatTool.css
- src/ui/styles/ve.ui.DebugBar.css
- src/ui/styles/ve.ui.DesktopContext.css
- src/ui/styles/ve.ui.Overlay.css
- src/ui/styles/ve.ui.Surface.css
- src/ui/styles/ve.ui.TableLineContext.css
- src/ui/styles/ve.ui.Toolbar.css
- src/ui/styles/widgets/ve.ui.AuthorItemWidget.css
- src/ui/styles/widgets/ve.ui.CompletionWidget.css
- src/ui/styles/widgets/ve.ui.ContextOptionWidget.css
- src/ui/styles/widgets/ve.ui.DimensionsWidget.css
- src/ui/styles/widgets/ve.ui.LanguageInputWidget.css
- src/ui/styles/widgets/ve.ui.LanguageSearchWidget.css
- src/ui/styles/widgets/ve.ui.TargetWidget.css

Bug: T359893
Change-Id: If2f2c73b43901f478d9c905a2d626cc692d2a192
2024-03-19 11:10:55 +00:00
Ed Sanders 9967e3dca7 Update VE core submodule to master (504b8d5e8)
New changes:
d1910f79b Localisation updates from https://translatewiki.net.
310cf7138 build: Updating follow-redirects to 1.15.6
8742925c4 Delete deprecated utilities (2)
767bbc05e styles: Update error colors from #d33

Bug: T343239
Change-Id: I104889d103d0120b1ed5721eba9d9215cdee18f6
2024-03-15 17:45:48 -07:00
Ed Sanders 231e298eb2 Update VE core submodule to master (8f877e995)
New changes:
3766b45aa Localisation updates from https://translatewiki.net.
92c5ae023 Localisation updates from https://translatewiki.net.
88f619bc0 Add quotes to rel="stylesheet" in demos
8f877e995 ve.ce.Surface#deactivate: Don't blur after timeout if surface re-activated

Bug: T360045
Change-Id: I278aac22bf8bc928c4c136b7cc9640108bbffc3b
2024-03-13 13:02:34 -07:00
David Lynch 4e12ab34b5 Update VE core submodule to master (00520124a)
New changes:
12a9f5a52 Localisation updates from https://translatewiki.net.
69a70c7a5 Localisation updates from https://translatewiki.net.
34d8ee042 Localisation updates from https://translatewiki.net.
8d4714dce ve.collab: Fix alignment of userList group
083cc4cb4 ve.collab: Change icon and label of tool, move to help group so always visible
140f34b16 ve.collab: i18n for automatic usernames
3ae6c3b1f ve.collab: Use query string for collabSession
add402f02 ve.collab: Apply strikethrough after toolbar is re-setup
fcea35ece ve.collab: Remove sideloading infrastructure
501dafff3 ve.collab: Move copylayout to host dialog
cf7feefc0 ve.collab: Resize toolbar properly after adding authorList
00520124a ve.collab: Use platform username over auto-generated one

Deleted files:
- demos/ve/ve-collab-sideLoad.js

Change-Id: Ie9c1519c045bea7ee0a494482c676c3759474063
2024-03-06 09:41:37 -06:00
Ed Sanders 1e2f3de820 Update VE core submodule to master (4a15803e4)
New changes:
312c00e61 Localisation updates from https://translatewiki.net.
e2e1ef8d3 build: Updating follow-redirects to 1.15.5
f91e074c6 ve.dm.Node: Add test coverage for resetAttributes
bd1bffcc1 Localisation updates from https://translatewiki.net.
f71d3b4ff Localisation updates from https://translatewiki.net.
4a15803e4 Reset wrapper paragraph padding as well as margin

Bug: T358248
Change-Id: I32bef113fa2e9863922a6fb07d9f7d43c955422e
2024-02-22 18:50:59 +00:00
Bartosz Dziewoński b119b633cf Update VE core submodule to master (58a24a62c)
New changes:
f5fe845bc ve.collab UI and bookmarklet
e096b57e9 Localisation updates from https://translatewiki.net.
5ed427d39 FocusableNode: Try to redraw highlights during setup
d966cf7be Exclude OOUI from generated JSDuck documentation
4abb6dfa6 Update OOUI to v0.49.0

Local changes:
* Exclude OOUI from generated JSDuck documentation
* ve.ui.MWConfirmationDialog: Remove copied documentation

Added files:
- .jsduck/external-ooui.js
- collab/ve.ui.CollabProcessDialog.js
- collab/ve.ui.CollabTool.js

Bug: T185396
Bug: T250843
Bug: T356983
Change-Id: I8fcacbbf4f9f213e58af91cc79ef8e89b65895b4
2024-02-08 20:46:40 +01:00
Ed Sanders 3938f89b7b Update VE core submodule to master (4ec4a75e4)
New changes:
a28d52ee0 ve.ce.Surface#drawSelections: Always set class attribute
0199cbea0 Localisation updates from https://translatewiki.net.
804d94dbd Zero out padding in source mode paragraphs as well

Bug: T352875
Bug: T355805
Bug: T356093
Change-Id: Icc6340ad48ff18ae156225d2abe41e812274aabd
2024-02-05 21:40:10 +00:00
Bartosz Dziewoński 14f9f67b26 Update VE core submodule to master (7e6f20f81)
New changes:
c926791f8 Localisation updates from https://translatewiki.net.
1bddfacb7 Localisation updates from https://translatewiki.net.
71aef21f2 Localisation updates from https://translatewiki.net.
144c989be Localisation updates from https://translatewiki.net.
9aaec7c45 Localisation updates from https://translatewiki.net.
b8f8b95e3 Localisation updates from https://translatewiki.net.
4a38cd94c build: Update languages to add 'cv' and 'mag'
49d98ff58 Update OOUI to v0.48.4
097627de6 build: Upgrade svgo from 3.0.5 to 3.2.0 and re-crush
907ecc317 Localisation updates from https://translatewiki.net.
59920d034 Localisation updates from https://translatewiki.net.
b37194f0e Rebaser: Improve export output of checklists
cf93e0a74 Delete deprecated utilities and methods (1)
1f91e0220 Localisation updates from https://translatewiki.net.
473d74ad3 WindowAction: Wait for 'closed' promise before re-activating
8ba6db852 ve.dm.Node: Add a "resetAttributes" mode to getCloneElements
44cbaef22 Localisation updates from https://translatewiki.net.
7c2c7b262 CheckListItemNode: Use handlesOwnChildren to inject checkbox into text wrapper
d606206fd Test: Create ce(Wrapper)Paragraph helpers
c47f4b072 Tests: Use existing CE HTML helpers
3d08f0414 Tweak slug animation values

Bug: T355889
Change-Id: Id6cb9b81c39427e69ca4a70dbb389de0704841e0
2024-01-29 23:29:07 +01:00
Reedy b6ac79b462 foreign-resources.yaml: Fix SPDX licenses
* DOMPurify: matches 9dd85f475b
* spark-md5: matches 0ecf4dcf84
* Universal Language Selector data: matches 847a3aa7cf

Bug: T355005
Change-Id: Ie98290df530c981873d5987933fd7640645b3a65
2024-01-15 14:02:17 +00:00
Ed Sanders d39f3c140c Update VE core submodule to master (4b3fa495f)
New changes:
14d84cde2 Revert "Put zero-width space after inline focusable nodes"
4b3fa495f Revert "Fix English Gboard backspace over aliens"

Bug: T325129
Bug: T330284
Bug: T353578
Change-Id: Ieba0bb75811ce568c5ce50bc7e3aab8d7058af28
2023-12-18 17:43:01 +00:00
Ed Sanders 30530fd4f7 Update VE core submodule to master (a30185526)
New changes:
a6c8d13d7 Replace deprecated ve.(add/remove)PassiveEventListener calls
fab9a0054 ve.dm.Surface: Remove deprecated methods
211daffeb Localisation updates from https://translatewiki.net.
764a51fc6 Localisation updates from https://translatewiki.net.
10a6e236f HashValueStore: Avoid deprecated #clone method
a30185526 Localisation updates from https://translatewiki.net.

Change-Id: I25fbdefcac31b89d221f0071da2285116743d411
2023-12-18 16:28:47 +00:00
James D. Forrester 1b24057d8e Update VE core submodule to master (45dd9b115)
New changes:
45dd9b115 Don't use ve.init.sa.Target in ve.init.Target tests

Change-Id: Iad3bcb3cede6405d7f9415d9b9f230460d846248
2023-12-08 15:06:16 -05:00
Ed Sanders b19883e8d8 Update VE core submodule to master (c788040b1)
New changes:
ace73e1dd Show selection size in merge cells context item
a5a3c576d build: Run npm audit --fix as of 2023-12-07
1fd5de1cf build: Upgrade svgo from 3.0.2 to 3.0.5 and re-run

New i18n keys:
visualeditor-table-selection-dimensions

New files:
src/ui/styles/contextitems/ve.ui.MergeCellsContextItem.css

Change-Id: I30653d829ae77b5f356eba00e476ccdeba65d621
2023-12-08 16:40:03 +00:00
Ed Sanders fda355fe2e Update VE core submodule to master (402570007)
New changes:
cb1338d26 Localisation updates from https://translatewiki.net.
132bfc47b Move verbose copyright message to AUTHORS.txt
5f71215f4 Fix English Gboard backspace over aliens
3ed672344 Put zero-width space after inline focusable nodes
eb4d327dd Localisation updates from https://translatewiki.net.
404b3d340 Only update cursor holders if they're not already correct.
74ea95db2 Update OOUI to v0.48.3
ee54f0bc8 ve.ce.Surface: Remove some mentions of IE in "support" comments
190d81f1c Make headings of different levels "un-mergeable"
2b5cae3c2 DiffElement: Replace custom warning with MessageWidget:type=warning
58c4345fd DiffElement: Remove oldDoc and newDoc properties
d88122919 FormatAction: Use forEach loops
d0272af9f Don't convert empty-selected paragraphs
0fc4ee93f LinearArrowKeyDownHandler: Fix typo in tests

Bug: T261662
Bug: T325129
Bug: T330284
Bug: T52419
Bug: T54770
Change-Id: I6dfc372c9f3bdb2bef882226a49693e08de30383
2023-12-07 17:46:36 +00:00
Ed Sanders 46ab52dc53 Update VE core submodule to master (de810d614)
New changes:
994d81e02 Localisation updates from https://translatewiki.net.
2c2b7e62a Localisation updates from https://translatewiki.net.
f7d242e0d build: Add new language file
75c80c713 build: Fix patterns for grunt:tyops
28391560f build: Update ESLint to 0.26.0 and autofix
e207c05c8 Localisation updates from https://translatewiki.net.
ca7b4fd7a Refactor dm.Document getNearestFocusableNode to use a generic helper
de810d614 Visual diff mobile: Apply compact styles sooner and reduce margins

New files:
i18n/gur.json
i18n/kus.json

Bug: T346949
Change-Id: I1f90995e06d7f5387075fd65e0215e99aaa97b3e
2023-12-02 09:57:26 +00:00
Bartosz Dziewoński 1428ba02aa Update VE core submodule to master (1947f053c)
New changes:
eb4927054 ve.dm.InternalList#sortGroupIndexes: Fix merge conflict
26568bce9 Localisation updates from https://translatewiki.net.
709068c56 Update language lists
1947f053c Use annotations from view when pasting

New files:
i18n/dga.json
i18n/mos.json

Bug: T296905
Bug: T351549
Change-Id: I1da9f594ea00a242b8f1143544c1a2872376b3c5
2023-11-21 14:57:58 +01:00
Ed Sanders 8d1e86a00f Update VE core submodule to master (5b5119dd8)
New changes:
e717a74b3 Localisation updates from https://translatewiki.net.
5b5119dd8 CompletionWidget: Fix scrollable-gutter in CSS-disabled clippable element

Bug: T351448
Change-Id: If213d44c7604273bcbea44e70c4f6893d8395d3e
2023-11-17 16:00:18 +00:00
Ed Sanders 34a8841759 Update VE core submodule to master (5a692bdf1)
New changes:
621250374 Localisation updates from https://translatewiki.net.
e78dacd08 List diffs: Restore list items that were split while flattening
4e0cfba4e List diffs: Handle 'listNodeAttributeChange' before 'depthChange'
06b8eeb80 List diffs: Fix overwriting top-level list when nested item added
c8e7fd1aa List diffs: Handle 'depthChange' together with 'listItemAttributeChange'
4d0d384ac List diffs: Try to handle list type changes when the list node is gone
c79d087e5 List diffs: Fix losing track of already processed list type changes

Bug: T324354
Bug: T345891
Change-Id: Ibab91409c0db772a12643ae2e0085a827f83bc1f
2023-11-14 16:29:04 +00:00
Ed Sanders 90f7a2579e Update VE core submodule to master (4ed104936)
New changes:
a6865a3b5 Remove unused message visualeditor-table-caption
fb93ae3cf Fake PeerJS class, for convenient debugging.
2dc3a0645 ve.dm.ProtocolServer: support non-zero client startLength
aa4249fb4 ve.dm.SurfaceSynchronizer: explicitly serialize submitted change
160dd441d ve.collab: peerjs-based collaborative editing
b7b108819 ve.ce.Surface: Fix typo in CSS class name
a705ee3f8 Document generated CSS classes
379e5f6e6 Localisation updates from https://translatewiki.net.
b4a5f76b1 InternalList#sortGroupIndexes: Guard against firstNodes being unset
4ed104936 InternalList: Skip placeholder nodes when sorting

Bug: T332799
Bug: T350902
Change-Id: I13c47077b58f8ed1b8d77feb3661bec9f0ce4348
2023-11-10 18:07:29 +00:00
Bartosz Dziewoński 89545d2b53 Update VE core submodule to master (df7099eab)
New changes:
b3a237415 Grunt: Simplify ignore pattern for node_modules
78bbdf1d4 Localisation updates from https://translatewiki.net.
538d8ad4d Make VisualDiff#compareNodes static
8652432c4 Tree diffs: Add failing test case for templates in table diff
79eebb566 Tree diffs: Use VisualDiff#compareNodes
32d8c3180 Tree diffs: Use compareElementsUnannotated when comparing structural nodes
53970774a Visual diff: Describe list type changes
23cd3d886 Update diff-match-patch, removing cleanupSemanticLossless

Bug: T332791
Bug: T337698
Bug: T346424
Bug: T350032
Change-Id: I1707d50b06703aae74c654e354cce95541ac5a96
2023-11-07 21:41:49 +01:00
Bartosz Dziewoński ef0d37cc97 Update VE core submodule to master (af9ff31db)
New changes:
ea961803e Localisation updates from https://translatewiki.net.
c886092d3 Attach content to teleport target instead of <body>
bacf54a22 Localisation updates from https://translatewiki.net.
c1562081b Consistent usage of header/title in toolbar groups
f8a25c2ca Remove unused messages
af9ff31db Fix remaining uses of 'parent'->'super'

Local changes:
* Remove references to unused messages

Bug: T120821
Bug: T348288
Change-Id: I82dbbc5a8f82ca6bb5b225cb1c2e1734470ed9c8
2023-11-02 23:11:44 +01:00
David Lynch 4594a8acf2 Update VE core submodule to master (22943abff)
New changes:
3e1096ac0 Update OOUI to v0.48.2
045f8036f build: Update QUnit from 2.19.4 to 2.20.0

Change-Id: I2f281b5a94d3ccb001d9dcdd468e839ff3c5969a
2023-10-26 11:21:16 -05:00
Ed Sanders 1fcf167028 Template dialog: Use wrapping/expanding input for "line" inputs
Bug: T348482
Change-Id: I5cbbd84723c042dee176be8d77a7beec7d86e226
2023-10-26 09:16:24 -05:00
David Lynch 5dc7179d95 Update VE core submodule to master (8328d7330)
New changes:
5982328d9 DiffElement: Remove unnecessary duplicate variable
7ab6f7500 Localisation updates from https://translatewiki.net.
8328d7330 Fragment inspector: Don't apply padding to hidden panels

Bug: T348994
Change-Id: I9cfba6c2f28217ddb9191bd7d1eebb71e99ce2d4
2023-10-16 11:15:45 -05:00
Ed Sanders b30b886bf1 Update VE core submodule to master (9deab94e2)
New changes:
fce188dd0 Localisation updates from https://translatewiki.net.
2c64caab0 Use white-space:break-spaces where appropriate
07a9fd1fb Strip bold from headings when pasting
a310aac44 Localisation updates from https://translatewiki.net.
9deab94e2 Fix logic for unwrapping wrapper paragraphs next to inline nodes

Bug: T348006
Bug: T348467
Change-Id: I3930c712ddcd152d0149c0e0b272f52c880028f1
2023-10-13 10:22:37 +01:00
David Lynch 177f07a759 Update VE core submodule to master (ca5f6c26d)
New changes:
ff87fe63c TableNode: Remove hack for ancient browser (FF39)
45516acbd Remove ve.isPassiveEventsSupported
f1cc17fb3 ve.ce.Surface: Remove IE support in copy/paste code
59b572c89 Localisation updates from https://translatewiki.net.
ab2524e41 RebaserTarget toolbar: use findIndex
599ffff20 Localisation updates from https://translatewiki.net.
b6b0b2f01 Localisation updates from https://translatewiki.net.
1c5dce24a build: Update linters
64fa7d401 Localisation updates from https://translatewiki.net.
8e6468945 Localisation updates from https://translatewiki.net.
169f721fc Localisation updates from https://translatewiki.net.
81d298f58 Localisation updates from https://translatewiki.net.
22527ef88 Localisation updates from https://translatewiki.net.
5560459a3 Only log context-shows if they're on a non-null fragment
b8cab4086 .gitreview: Swap to track=1
629b48057 Localisation updates from https://translatewiki.net.
2a2665a0d Localisation updates from https://translatewiki.net.
506d4c01f ve.repeatString: Use native implementation
c6dcc87b3 Localisation updates from https://translatewiki.net.
8cf97e8c8 ChromeHeadless: Do not pass a spurious empty flag
61990513c Provide alternate keyboard shortcut for toolbar search for mac Firefox
ca5f6c26d Localisation updates from https://translatewiki.net.

Bug: T324735
Bug: T341603
Bug: T347380
Change-Id: Ic1172a3eee32f688f2fab32a3a8eaf6dc829e600
2023-10-02 16:46:25 -05:00
Ed Sanders c9ab1d148e Update VE core submodule to master (d90ae3a9c)
New changes:
88fe7eef7 Localisation updates from https://translatewiki.net.
54d9ce473 Localisation updates from https://translatewiki.net.
ddb809ba1 Implement PersistentContextItems
7fd68cde3 Add a "review mode" to the surface view
850d0655c Localisation updates from https://translatewiki.net.
d90ae3a9c Localisation updates from https://translatewiki.net.

Change-Id: I4439a413045125972d9756a5a6f149d7abf82f82
2023-08-10 13:59:51 -04:00
Bartosz Dziewoński cbc750206d Update VE core submodule to master (c1420586c)
New changes:
3455d232c Localisation updates from https://translatewiki.net.
1eaffb772 Tests: Add missing close tag
f1a3a4da3 Localisation updates from https://translatewiki.net.
2b3eaa29d Localisation updates from https://translatewiki.net.
02007e7f0 i18n: Add new langauge
d80bb492e Revert "Patch WindowManager fix for multiple window managers"
ae097d2ad Follow-up I8701829: Manually move focus when tab/shift+tab pressed
67a3fac86 ve.ce.Surface: Move some vars closer to usage
ad7651f5a Handle clicking on a focusable node that is already focused
bec0946f2 Make Language and ClearAnnotation tools part of the textStyle group

Bug: T341681
Bug: T341687
Change-Id: I1752db8ff2f683b6cc0631324df6d4f25fd522fd
2023-07-31 13:05:24 +02:00
David Lynch fde414149e Update VE core submodule to master (8cd2c4933)
New changes:
4ac9b4290 Localisation updates from https://translatewiki.net.
5db1e6972 Localisation updates from https://translatewiki.net.
439b29f3e PreviewElement: Remove slugs and nails using JS instead of CSS

Bug: T341901
Change-Id: I5da36fe06bd6631f17172029261b1c18daa72bf4
2023-07-17 10:38:04 -05:00
Bartosz Dziewoński 8091b5ce26 Update VE core submodule to master (245923176)
New changes:
4ca24a453 Fix ContextItem documentation
9135b868c ve.ce.Surface: Implement hasNativeCursorSelection
953ffb066 Mobile demo: Use 16px font ssize for global overlays as well
44f347a6b Provide alternate keyboard shortcut for toolbar search for Firefox
245923176 CompletionWidget: Add isolateInput mode

Bug: T341603
Change-Id: Iafedee8fc08fde5dbe82f8e1cc35162d5954c5a7
2023-07-11 23:14:12 +02:00
Bartosz Dziewoński 78cf118735 Update VE core submodule to master (7c9bc68c3)
New changes:
f8858de70 Localisation updates from https://translatewiki.net.
1f6be5ce3 Localisation updates from https://translatewiki.net.
adfd84332 Slightly increase DimensionsWidget input fields width
9d36c897b Add an allowed error offset when merging rectangles
614cd6647 Localisation updates from https://translatewiki.net.
7c9bc68c3 Update OOUI to v0.47.4

Change-Id: I7c8bccebf87cbef0237505745dc00383cb1ac618
2023-07-11 18:53:31 +02:00
Bartosz Dziewoński 51b1d7eca7 Update VE core submodule to master (ba83e8451)
New changes:
18b02fdc2 Remove deprecated ve-ce-surface-enabled class
669699d6b Rename generated distribution file to desktop-dist-wikimediaui.html

Bug: T340124
Change-Id: I5b173a96817f4217824d8b132c96c8082c568b17
2023-06-29 20:40:08 +02:00
Bartosz Dziewoński c245eeca17 Update VE core submodule to master (67a675fec)
New changes:
c46173a95 Localisation updates from https://translatewiki.net.
7cf3264b3 Localisation updates from https://translatewiki.net.
64a30dd23 Update language lists
eaf8355e0 Localisation updates from https://translatewiki.net.
4d3a8104a Make better use of toolbar groups

Bug: T340751
Change-Id: Iddab40b928944cfb43846e5d0b22b01c2df2d213
2023-06-29 18:58:02 +02:00