New changes:
7bd7f4143 Cache calls to ve.dm.Document#getBranchNodeFromOffset
870b49f1a .eslintrc: Enable and fix "max-statements-per-line": 1
aeb21bd1e Unit tests for TransportServer
158a8eeb3 Refactor ve.ce.*Selection#getDirectionality
10990294a Store and verify unique server ID
Bug: T208228
Change-Id: Ib9f4114ac2dbd966644eb55cbb1f7d1cd74ec0a7
New changes:
3d2ffae4e [BREAKING CHANGE] Have ve.htmlMsg return a node array instead of jQuery collection
Local changes:
* Have ve.init.mw.Platform#getHtmlMessage return a node array
Change-Id: Iabd823c851f94356f1902918278f88068dfe4d25
New changes:
0e923fe1b Use initClass in test class
900962720 Add ve.deepFreeze for detecting inadvertent data modification during testing
0761cd90c Localisation updates from https://translatewiki.net.
0e44545b7 Update .gitignore
82b6b80bb Use consistent method for finding nearest cursor offset
0b604de30 ve.ce.TableArrowKeyDownHandler.test: Remove eww gross FIXME
Bug: T202359
Change-Id: I73c46edfbf66a0c76bc719010c017ef71670931b
New changes:
7c9fe89b8 Simplify ve.test.utils.runSurfaceHandleSpecialKeyTest API
0e3c75e66 Add more tests to LinearArrowKeyDownHandler
058362830 LinearArrowKeyDownHandler: Test Selection#extend fallback
8c6617d90 Keydown test refactor
91a909d63 Assert defaultPrevented state in KeyDown tests
003dacf3b LinearDeleteKeyDownHandler: Test shift+delete
1872158c5 LinearDeleteKeyDownHandler: Test delete next to link
b2af2a2c3 LinearEnterKeyDownHandler: Add more tests
4e5efa956 KeyDownTests: Remove unused constructor calls for all static classes
1cafb7328 KeyDown tests: Add tests for missing cases to cover tab/escape/enter
58af8d497 Add tests for ve.ce.AnnotationFactory/NodeFactory
617bc24a4 Delete unused ve.ce.modelChangeFromContentChange
50704fa1c Keydown tests: run asynchronously
af9a01b97 Use native promises instead of jQuery promises
df212669a Localisation updates from https://translatewiki.net.
f6af901dc Fix test in Chrome 70
9cc6dae7e Remove broken checks for DM code coverage
ce3a9199a LinearEnterKeyDownHandler: Add test for edge case
0a9dd3636 Remove false coverage of TableNode/TableSelection code
16679a3c0 Remove setupToolbar from DummyTarget to avoid false code coverage
7ac88df77 Basic tests for getClientRects in ve.ce.Selection and FocusableNode
78f14ac1f ve.ce.Selection: Add getDirection tests
7ec7efff0 KeyDown tests: Remove unnecessary setTimeout
26e022d23 KeyDown tests: Un-nest functions
df1e0af6c KeyDown tests: rename defer -> then
f03a9f90b Allow ES6 in tests
0ee55022b ES6 eslint follow-up
6c288b44f ve.ce.Surface tests: Trim when asserting expected text
Local changes.
Bug: T207077
Bug: T207078
Bug: T207079
Bug: T207080
Bug: T207083
Bug: T207654
Change-Id: I2e1f664d6f657e2ac26a271f401dc790c2a8b193
New changes:
5b386d8da Move *KeyDownHandler tests into separate files
48ed2a670 Localisation updates from https://translatewiki.net.
e5a6d2a05 Move server.js to app.js
db38aa076 Separate Logger class
f1099fd48 Use service-runner
9d378d4cc Move util to /tools, make executable
Bug: T207287
Change-Id: I3163ed47c0bdeb72b229f6d4c0000e796e3d84fb
New changes:
01729d1ec Localisation updates from https://translatewiki.net.
c33dc3b44 Asynchronous document store
70ee7c343 Tracking: various annotation and dialog actions
Bug: T202656
Change-Id: I99add8d3a1a9ecf9eaa70522dd49d3c64909a34c
New changes:
3931cc33a Update OOUI to v0.29.1
5bcab0073 Move node-specific code into rebaser/
8aa80d88b Remove ES6 support for async/await
2536870f9 Separate files for protocol and transport server
b443b7a4f Update OOUI to v0.29.2
70b3ec210 Minor cleanup of ve.ui.MediaSizeWidget
Bug: T206236
Change-Id: Id3bbcd1a9ccb1563e4feb3572aa8f51932677693
New changes:
8a7a3f8a5 Fix margin override on block slug
786cb5266 ve.ui.MediaSizeWidget: Fix conditions for when we need error messages
1829982ed ve.ui.MediaSizeWidget: Remove "Make full size" button
1191c3687 ve.ui.MediaSizeWidget: Remove comments about full size button
Bug: T205645
Bug: T205874
Change-Id: I5c87c18088e754ec95bcf36775d046bb92870aa8
New changes:
ce7f4ff2a Refactor SourceSurfaceFragment tests to be async
06e55e5e5 Logger class
a4271f3fd Separate file for ProtocolServer
c429f2654 Revert "Separate file for ProtocolServer"
8e6e70250 Make table dialog done action message match other dialogs
b9cc48ca3 ve.dm.SourceConverter: Handle CRLF and CR newlines
411ef306e ve.ce.getOffsetOfSlug: Only match leaf/branch nodes when traversing
Bug: T202103
Bug: T205564
Bug: T205807
Change-Id: Id8ed0514aaf0dbcabe0adeed2f502ff4c954c2b4
New changes:
61f29af9b Follow-up I3a34b59c: Fix load page from location hash
80a510e70 Disable drag-resizing on mobile
23c5c0a6b Correct some doc comments' syntax
96a15c5a2 Make media size widget alignment configurable
Bug: T190885
Bug: T205480
Change-Id: I07e5cb70a0b87d645705e1b076d4779b5670a96b
New changes:
2915330a9 Avoid JSON strings in built demo files
62b0b1298 Move server files to /src
ddd99ab0c MediaSizeWidget: Add #updateDisabled() for disableable sub-widgets
Bug: T204185
Change-Id: Ied5b39608683ba7c9f056430a0a248f41e089d5a
New changes:
bdd52111a Collapse this.getSurface().getView() to this in ve.ce.Surface
012f77c87 Localisation updates from https://translatewiki.net.
c40692bf5 Use rooms instead of namespaces
31360982e Fix author list when reconnecting
c176f8bba Remove $.isPlainObject warning
ad9edb87a Separate core module into model/view/ui
4475785d5 Merge author name/color data, make naming consistent
8601509c4 Move whitespaceHtmlCharacters to ve.utils.js and rename
361e5d646 Call parent in DimensionsWidget#setDisabled
3a53ca899 Update eslint-plugin-html to 4.0.6
5f88a02bc Allow '/' in path
2ad8dc94d Separate out client-specific utils from ve.utils.js
e8eb8dc97 Fix ve.sanitize to only depend on utils
cdcd7f19b Update UnicodeJS to v0.2.2
689baa436 Report html indent errors
d613e9d48 Create get/setSessionObject methods for JSON storage
Bug: T195111
Bug: T205096
Bug: T205123
Change-Id: Ia519138734ca0c174c20fec2d42f1437c903b82d
New changes:
32b018075 Localisation updates from https://translatewiki.net.
bc640d904 Allow applyTo to guess a selection for undo
c94b51516 Scroll cursor into view after resize on mobile
Bug: T204197
Bug: T204388
Change-Id: Ie24708f0ef875fb9494debf0eeb97e1108c5fd30
New changes:
a273ba69c [BREAKING CHANGE] Implement a SourceConverter
Local changes:
* Use SourceConverter
* Handle `this.doc` being a string in source mode now
Bug: T203114
Bug: T203156
Change-Id: I7bce7b57668e0c1dd511803a54178ae69694a86d
New changes:
70c0aee6a Localisation updates from https://translatewiki.net.
7956e2d7b Check new node diff type in visual diff
6fe18c3af Use FORCE_BODY in sanitizeHtml
0896105b7 FocusableNode: Start listening to position events even if not focused
Bug: T201721
Bug: T203856
Depends-On: I59fa13324083bfd8c77862d0d88b9b3cea1cfeb8
Change-Id: I2c4b4f99a110147c6ac1d0c81dcbf4be84965700
New changes:
700fac731 Localisation updates from https://translatewiki.net.
3f0e01706 Add simple tests for getSourceText
b7aef1b81 Re-activate surface during event cycle
f7b958957 Fix alignment of context title and description
Bug: T203328
Bug: T203517
Change-Id: I5706b63b4034893fbc10198842a1b5c4422d5c63
New changes:
cd58dabe3 Update OOUI to v0.28.1
92b51ca09 Make columns responsive in visual editor command help dialog
562082b90 Cleanup ve.dm.Converter: Convert absolute references to relative ones
1c0a1f86d Add simple test case to SourceSurfaceFragment
e95c6f7ca Fix typos in ve.dm.SourceSurfaceFragment documentation
Bug: T203474
Change-Id: I46b582d921cea0157e80c4f56415fca739a62efd
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
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
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
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
New changes:
3ea0c7621 Fix calculation of scroll restoration in mobile window management
87ee219fa Update selectionBefore every time breakpoint is called
aece1dbea Localisation updates from https://translatewiki.net.
Bug: T191878
Bug: T202516
Change-Id: I0812ecaac059bf304ca7cf8b450635e3cbc45ff2
New changes:
a80089a36 Add missing command help registration for HR tool
330311722 Define command group order separately
35ea5b8f0 build: Bump `grunt-css-url-embed` and `karma` to latest to avoid security issues
31b134668 Cursor into table captions if present, instead of the first cell
Bug: T201870
Change-Id: I4e3a946a992a07215a3af8351c3b54ceae664d40
New changes:
6911f2c33 GeneratedContentNode: make rendered element filtering overridable
874470c1b ve.ce.LinearSelection: Guard against node=null in getNodeClientRectFromRange
Bug: T197563
Bug: T202525
Change-Id: Ib1465a532bd0e5feaa3df61ea8ac61e7bf9872a8
New changes:
e2c338cfa Bump dependency versions
b6077ef74 Author appearance tweaks
3f9480f9a Localisation updates from https://translatewiki.net.
bfce500be build: Temporarily disable qunit testing in Firefox due to CI issues
564e48ad0 Reactivate mobile surface in onModelSelect for native selections
510506739 Blur activateElement when deactivating the surface
Bug: T147304
Bug: T200347
Bug: T201329
Change-Id: Ifbaf21819b862f8dcaa557d0453086529b88aa04
New changes:
f64698dbb Localisation updates from https://translatewiki.net.
13268e629 Reactivate surface on toolbar close
d55e19e90 Make invisible icon button unfocusable
31ca7c558 Follow-up Ib463485: Get rid of broken ve.ui.Surface#isMobile
Bug: T198912
Bug: T201329
Change-Id: I3603be4c3cd19fdf33060d815e90e73c18f380d0
New changes:
3a1d9b70a Update OOUI to v0.28.0
fcae61794 Fix icons broken by OOUI update
30df9c4e3 Deactivate the surface when the toolbar is active
Bug: T109529
Bug: T201329
Change-Id: Id2af11f4bca968eba964d8685baa3e2e15d208ca
New changes:
b1e14c16a build: Update eslint-config-wikimedia to 0.7.2 and simplify config
e7fd43cfb Move DOM selection from a block slug even if model selection is unchanged
Bug: T201599
Change-Id: I7e53da897f6cb4910a180ff86cae18982a9453e4
New changes:
fa5d35054 Only re-use session token if docname matches
58d7cd280 Localisation updates from https://translatewiki.net.
d0716d8e7 Update files generated with new l10n language 'my'
2cc7a4423 Create unit tests for sequences
873fdd01e Upstream horizontalRule sequence and fix command
Local changes:
* Register unit test file for sequences
* Remove duplicate horizontal rule sequence
Change-Id: Ibc65cf5c086428bb0d13c8e2f2de5819e1e23d43
New changes:
b7e84c989 rebaser: Make create/edit button primary+progressive
316496c15 Localisation updates from https://translatewiki.net.
65fd7fb40 Update OOUI to v0.27.6
a7b2cb4e2 rebaser: Unpaint authors on disconnect
4b549306b ve.ce.Surface: Handle null native selections in #getSelectionState and #showSelectionState
76d1afe62 Localisation updates from https://translatewiki.net.
14d29a5c0 rebaser: Force user state back to active=true when connecting
8530b6762 rebaser: Methodise AuthorList/Widget
9c79de597 rebaser: Emit author colors as well as names in initDoc
5d44160eb rebaser: De-activate surface when author list popup is visible
243e02650 rebaser: Upstream storing username in session storage
22de08438 Remove unused second parameters to ve.ce.Document#getNodeAndOffset
Bug: T199011
Bug: T199754
Bug: T200128
Bug: T201017
Bug: T201244
Change-Id: I2f053c986a5720ddc66cb310ff642b33556e270c
New changes:
29331acd8 lib: Update jQuery.i18n to 1.0.5
9bb7abf84 libs/CLDRPluralRuleParser/README.md: Drop `x` flag from file
Change-Id: I7d6446bd3a4a87b77a8569d8279b3fc984b1529c
New changes:
9aecc6946 Add CheckList type
be0469524 Allow cursoring between active nodes
954b21f33 Localisation updates from https://translatewiki.net.
38e1e7667 Do not try searching outside of valid range when using regex
deec79971 ve.dm.TransactionProcessor: Fix edge case handling, avoid ES6 methods
Bug: T196521
Bug: T200455
Bug: T200525
Change-Id: Ie87e19d13c68425f5d46bd1be5121c9169c2ebf4
New changes:
3e46076f7 Localisation updates from https://translatewiki.net.
8ea59e50d ce.Surface: Debounce position events
17e3d3aa0 Amend `border-radius` to conform to Apex theme standard
c573f3513 docs: Replace fake ellipses with real ones (or in one case, a vertical one)
a4e24a992 Make mode for getting document data without metadata
Bug: T199298
Bug: T200429
Change-Id: I36dad61ed614f007b16d7e9f47fcbfd02347f239
New changes:
c60028546 Remove legacy transaction builder comment
d51e5e39e Localisation updates from https://translatewiki.net.
71aa3d159 Update files generated with new l10n language 'tw'
1681bb2f4 Rebaser: Fix changeName handling
44c2d0c71 Remove duplicate apex styles from rebaser demo
87918b3d2 Use opacity for comment annotation background
dd219f941 'pad' -> 'collabpad' logo
c7c75351d Remove extra whitespace
13356ebb6 Move 'canBeActive' to NailedAnnotation
3c660a12a ve.dm.Document: Make getNodesByType build the tree if needed
4c51ee9ec Localisation updates from https://translatewiki.net.
741f6d933 Fix rebaser documentation
6afdf63d0 Further rebaser documentation fixes
740285b11 rebaser: Prevent no-op changes from being sent
Change-Id: I8e5a1b27d5cba7630f71ddeb1af338cbbe6ae0db
New changes:
35eaf8209 Move annotation nail functionality to a mixin
d2a120e66 Rebaser: Create a multi-user flag on the surface model
Change-Id: Iffad3c90a9b8ac08f646721bfdbc0503cea2890b
New changes:
cd6932096 Fix rebaser dependecies
bdcbf8f81 Rebaser: make the server synchronous again
52e6873b1 Cleanup rebaser
31ef4c5ec Handle authentication and reconnection
22d6feea3 Squash Changes to use fewer transactions
4d93f0819 Fix confusion between #getSetupProcess and #getReadyProcess
8d0ab0587 Localisation updates from https://translatewiki.net.
Bug: T185745
Bug: T185944
Bug: T188026
Change-Id: Ie33d3dd4746c9c91fe676f140f416af72ac218b0