Commit graph

15937 commits

Author SHA1 Message Date
David Lynch e32f460a5c Extra logging for link inspectors
Bug: T221249
Change-Id: I4e5991f7aa90d08598d5ba7ac14839956bee9b94
2019-07-09 10:12:33 +00:00
Bartosz Dziewoński 9ba3255c26 MWLinkAnnotationInspector: Work around annoying syntax highlighting bug in Gerrit
Wrap a regexp in parentheses to avoid confusing Gerrit's New UI syntax
highlighter, which goes crazy if a line starts with a regexp.
https://github.com/highlightjs/highlight.js/issues/1962

Change-Id: I7e4ca4d5c4d449925af7168147016ed2fb8a6e33
2019-07-09 10:08:23 +02:00
James D. Forrester a0aacd89e1 Update VE core submodule to master (d49575d46)
New changes:
3bc3dfd87 build: Upgrade various devDependencies to latest and make pass
a0165b985 Fix visible whitespace rendering in source mode
261535e2d Avoid jQuery.map
bf1398cc3 Remove unused :visible check

Bug: T226478
Change-Id: I9b6a79ea0fdb1679036372b46b8df3b885ffb135
2019-07-08 11:17:16 -07:00
Translation updater bot e6c654c6e4 Localisation updates from https://translatewiki.net.
Change-Id: I6cfaabf68d29c794391986bde37d09a18a22145c
2019-07-07 22:42:02 +02:00
James D. Forrester 24a017e980 Update VE core submodule to master (89805a657)
New changes:
ee6c423cf Add transition to iOS menu bar hack
f11192b6d Localisation updates from https://translatewiki.net.
22eb0e4ca Replace #serialize methods with #toJSON
1fe8a1afb Provide defaults for ve.dm.Change constructor
ce0123260 Explicitly pass store length argument to pushTransaction
89805a657 Set max width on mobile demo

Change-Id: Ic2de7c5d5ab9f8d416a4de01a5125128533abe64
2019-07-05 15:51:01 -07:00
jenkins-bot 454a4da6b1 Merge "Log editor switches to visualeditorfeatureuse" 2019-07-04 19:30:42 +00:00
David Lynch 38e3c3fbdb Log editor switches to visualeditorfeatureuse
Depends lightly on a patch to WikiEditor, which will hook up the logging there
for the case where the switch is happening from WikiEditor to VisualEditor on
the same pageload.

Bug: T221191
Change-Id: Ibafec77b2eabd3b3b3767472b7b5a40e3312bf18
2019-07-03 23:58:30 -05:00
James D. Forrester 56df3cc4cb Update VE core submodule to master (75510a515)
New changes:
a3d860daf Localisation updates from https://translatewiki.net.
0421bf6f0 Gather annotations from clicked node where possible
2d2491877 Change#squash: Compact multiple transactions into one
dc0e4650e Fix documentation of ve.dm.Change#serialize
a40f8314f Fix contexedAnnotations equality check
ec62ccb34 Use 16px font size on SA mobile demo
57984c072 Update OOUI to v0.33.1

Add lib/ve/src/dm/ve.dm.TransactionSquasher.js to debugScripts.

Bug: T188026
Bug: T226708
Change-Id: I6eb4ab50ef2c6774963f692f600f059662bf0ac3
2019-07-04 00:31:57 +00:00
Translation updater bot ecffdff814 Localisation updates from https://translatewiki.net.
Change-Id: Ida828f4de44f39ada7a05f43813d21604eed8913
2019-07-03 22:46:50 +02:00
jenkins-bot a5e87bca9a Merge "Pass newRevId through to MobileFrontend" 2019-07-02 19:16:07 +00:00
jenkins-bot bad500da7b Merge "ArticleTarget: saveSuccess wasn't receiving expected arguments" 2019-07-02 19:16:03 +00:00
jenkins-bot 1d2b9d20cf Merge "Dialogs: Use close flag for close actions" 2019-07-02 19:01:36 +00:00
David Lynch 4d3ddb07e0 Pass newRevId through to MobileFrontend
Bug: T226847
Change-Id: I22daf4e7637c412aa444d98ec971bb294e4ade06
2019-07-01 15:59:55 -05:00
jenkins-bot 7796b569c9 Merge "MobileArticleTarget: Prevent unwanted page zooming on focus on iOS" 2019-07-01 16:14:35 +00:00
David Lynch c898838585 ArticleTarget: saveSuccess wasn't receiving expected arguments
Way back in 2c24efae in 2015 this got disconnected, which resulted in
saveComplete logging not having the expected updated revision_id.

Bug: T226847
Change-Id: I6dc14bb4b2dacedbe27493a97fa25c9b0542818c
2019-07-01 11:06:16 -05:00
Bartosz Dziewoński 2563bb3d89 MobileArticleTarget: Prevent unwanted page zooming on focus on iOS
Bug: T216446
Change-Id: I48beb1e120b5b087533b0827904212be9286529f
2019-07-01 15:53:29 +02:00
jenkins-bot 98c5db96aa Merge "Update VE core submodule to master (681aa3fbc)" 2019-07-01 13:12:43 +00:00
Translation updater bot e7d8c89010 Localisation updates from https://translatewiki.net.
Change-Id: I00d571201b4ad4212bdd69fd8e364eac0ca69178
2019-06-30 22:40:07 +02:00
James D. Forrester 3f38f54a12 Update VE core submodule to master (681aa3fbc)
New changes:
9cbe6ed65 Use 'unLink' icon for unlinking
e6f489f8d Dialogs: Use close flag for close actions
f2260bc47 Update RangeFix 0.2.7 -> 0.2.8

Bug: T225021
Bug: T225725
Change-Id: I36f27fe4b2b7a2fffa319cbff0b160b4435e806b
2019-06-28 13:36:18 -07:00
jenkins-bot d1c47b38a4 Merge "Remove citefromid alias support" 2019-06-28 18:50:55 +00:00
jenkins-bot d1b9844300 Merge "Simplify pulsating dot to one DOM node using :before/:after" 2019-06-28 16:40:05 +00:00
jenkins-bot 8f4c75bc1f Merge "Update VE core submodule to master (f93b871a6)" 2019-06-27 21:31:53 +00:00
James D. Forrester 928153f268 Update VE core submodule to master (f93b871a6)
New changes:
33c9871e4 ve.ce.Surface: Clear active annotation highlight when blurring on mobile
24e442efc Enhanced instrumentation for context items and inspectors
17e0a80ea Localisation updates from https://translatewiki.net.
39ba2e196 Update OOUI to v0.33.0

Bug: T221252
Change-Id: I06eb0f99557dbada022bcad44fff48ec0709e004
2019-06-27 10:43:03 -07:00
Ed Sanders 3f892fe368 Simplify pulsating dot to one DOM node using :before/:after
Change-Id: I81af08d58a33b6d3751bfc5012217b9bd98e69dc
2019-06-27 15:35:50 +01:00
James D. Forrester 34158b8568 Stop loading oojs-ui.styles.textures, gone as of OOUI 0.33.0
Change-Id: I38aa1ce529bed43175d2ecdcecd1c6a2a0ed603f
2019-06-26 20:54:49 -07:00
jenkins-bot 72418fea56 Merge "Update VE core submodule to master (cf99ae2e0)" 2019-06-26 21:44:26 +00:00
jenkins-bot 3e13dd7af6 Merge "build: Upgrade stylelint-config-wikimedia from 0.5.0 to 0.6.0" 2019-06-26 21:44:22 +00:00
James D. Forrester 97484d3b7a Update VE core submodule to master (cf99ae2e0)
New changes:
2c8676497 Rename call to deprecated scrollCursorIntoView
f04991f64 Fix missing resize handles in dist

Bug: T182312
Change-Id: I90e3672780356d352f2b08c824c59905e8936b6d
2019-06-26 14:11:06 -07:00
James D. Forrester 22344dae69 build: Upgrade stylelint-config-wikimedia from 0.5.0 to 0.6.0
Additionally a bump to grunt-image and grunt itself for security
reasons. Also, commit package-lock.json, which is what we do now.

Change-Id: I2beab15d7f5b1453ccbb3c46b6dd0800c78ed15b
2019-06-26 14:11:06 -07:00
jenkins-bot 2699566577 Merge "iOS browser menu bar tap stealing hack for bottom contexts" 2019-06-26 20:38:47 +00:00
Ed Sanders 5c62ae20ef Clear edit summary when switching section and discarding changes
Bug: T191590
Change-Id: I1d3c4528dd07fcff90ffa378ade1d6982fc68791
2019-06-26 19:51:16 +00:00
jenkins-bot b57aaa59cd Merge "MW link inspector: Empty before appending" 2019-06-26 19:23:12 +00:00
jenkins-bot 401a15dc53 Merge "Update VE core submodule to master (39b766b3a)" 2019-06-26 19:13:08 +00:00
jenkins-bot 886c5b47a2 Merge "Fix link normalization when opening inspector" 2019-06-26 19:13:05 +00:00
Ed Sanders d4bd5d14c8 Fix link normalization when opening inspector
Move fix for I92ffc19eab4e to getInsertionData as getTextFromAnnotation
is also used when populating internal link search field.

Bug: T226645
Change-Id: I60806932b00a742dae52651fb7931caf07413361
2019-06-26 16:16:17 +01:00
James D. Forrester ddfa58243b Update VE core submodule to master (39b766b3a)
New changes:
7bec2244a Localisation updates from https://translatewiki.net.
61ea6f413 Remove iOS context scroll fix
5b78a078f Move logic for new mobile contexts to mouse down handler
83301862f Check argument to getNodeFromOffset is a number

Bug: T202723
Bug: T226073
Change-Id: Iffa0ccdb40f8f505b460eadf84dc1cefdacdcfa2
2019-06-25 12:03:37 -07:00
jenkins-bot 10de6f2c2f Merge "Update VE core submodule to master (35a2d0629)" 2019-06-24 15:40:53 +00:00
Translation updater bot fd9bd2ed32 Localisation updates from https://translatewiki.net.
Change-Id: Ic656031b4196efe128fd0c005d56b3b32c378b11
2019-06-24 08:40:34 +02:00
Ed Sanders 239e592d15 MW link inspector: Empty before appending
We don't inherit any root DOM structure from the parent,
so explicitly clear it.

Change-Id: If4c034e8230ccaf721a8e3667f29c6783c94a8bb
2019-06-23 16:58:04 +01:00
jenkins-bot 552c5e3331 Merge "Improve debug bar margins on mobile" 2019-06-22 21:14:23 +00:00
James D. Forrester 5b5979cfe2 Update VE core submodule to master (35a2d0629)
New changes:
35a2d0629 ce.LinearSelection: Don't crash when surface is not attached

Bug: T226281
Change-Id: I5a0a3acdabddcea2949f333ff54f5259f770a4c5
2019-06-21 18:41:37 -07:00
Ed Sanders e83e80f42e Show edit summary on preview page
Bug: T199582
Change-Id: Ia8c2322706e8e635498c447dddb3b4b98040e27e
2019-06-21 12:54:13 +01:00
James D. Forrester 92a600d5a2 Update VE core submodule to master (599facff7)
New changes:
7f002809d Localisation updates from https://translatewiki.net.
599facff7 Restore inline slugs in source mode for cursoring

Bug: T225546
Change-Id: I28a08113d0c8b3b64b32c06b225b0b4038140758
2019-06-20 15:58:09 -07:00
jenkins-bot 115382f4db Merge "Prevent text on save/publish button from wrapping on mobile" 2019-06-20 19:20:51 +00:00
Bartosz Dziewoński 0af3ea84de Prevent text on save/publish button from wrapping on mobile
If the translations of save/publish button messages like
'visualeditor-savedialog-label-publish-short-start' contain spaces
(e.g. in Bengali 'bn'), the button on mobile would wrap over two
or more lines, due to weird styles we have for the mobile toolbar.

Change-Id: Ieb439ae489ab7110b81382ffdcf0d3d3ad2f84ac
2019-06-20 20:29:52 +02:00
jenkins-bot 916a8e21aa Merge "Update VE core submodule to master (1cf71b3f3)" 2019-06-20 16:54:36 +00:00
Ed Sanders 20561e7e10 Remove citefromid alias support
Change-Id: I74d67a2ea5118ee18c462ccfea06a72cc73c627b
2019-06-20 16:06:07 +01:00
Ed Sanders 421ef465b9 Update VE core submodule to master (1cf71b3f3)
New changes:
f99a7cd43 Apply desktop contexts' line-wrapping to new mobile contexts
fad2671d3 Localisation updates from https://translatewiki.net.
262c84128 scrollSelectionIntoView: Code simplifications
a13c86033 scrollSelectionIntoView: Fix mobile logic
04774b03c Allow passing a pre-existing HashValueStore to getModelFromDom
1cf71b3f3 Catch errors from getNodeAndOffset

Bug: T202723
Change-Id: I41cf726dad38d4fe6647a1b760d66126fcee393f
2019-06-20 13:39:59 +01:00
Ed Sanders ad87c6c009 Improve debug bar margins on mobile
Change-Id: I6fd8b89dd44d5d8d933822851499264e4d0f4585
2019-06-20 13:15:52 +01:00
Timo Tijhof 45f3b5644c trackSubscriber: Remove use of 'ext.eventLogging.subscriber' alias
Deprecated in favour of 'ext.eventLogging'.

Bug: T221281
Change-Id: I16ca136be84b9c50208c4e702ec75d7ca33afd96
2019-06-20 00:57:17 +01:00