Commit graph

14977 commits

Author SHA1 Message Date
Thalia 88875b1b8f Improve the gallery dialog layout for mobile
Bug: T203477
Change-Id: I0adc851b71362267d1d06d9a8b5483c1ee114c26
2018-10-12 16:58:48 +01:00
Bartosz Dziewoński e354092417 Update VE core submodule to master (f9afaa3e4)
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
2018-10-09 11:06:23 +01:00
jenkins-bot 1afd5651ab Merge "Don't add body attribute to an extension node with an empty body" 2018-10-08 23:16:16 +00:00
Translation updater bot b7017e9969 Localisation updates from https://translatewiki.net.
Change-Id: If3cff67496bf43559dfdce3e6131ceac8c1d6baf
2018-10-08 23:20:10 +02:00
Thalia 1d845aab1c Don't add body attribute to an extension node with an empty body
Map nodes with an empty body don't have a body property on their
'mw' attribute; so don't add one when checking if the node has
been modified.

Bug: T206473
Change-Id: I24fb8d5f012c417996c8d420fa25af9d13528d18
2018-10-08 17:29:58 +01:00
jenkins-bot 93523f5a15 Merge "Wrap editPanel & searchPanel in a StackLayout" 2018-10-08 16:17:54 +00:00
Translation updater bot 2fe9378008 Localisation updates from https://translatewiki.net.
Change-Id: I226c5414d253e82f1ee478d6c555762bcc012119
2018-10-07 22:30:27 +02:00
jenkins-bot fab1df58a4 Merge "Mobile target improvements" 2018-10-07 14:32:45 +00:00
Ed Sanders d44e7fb3e8 Mobile target improvements
Change-Id: If55097a45ae812b712a74f41af350bfaa69f6135
2018-10-07 12:47:53 +01:00
Translation updater bot 9c46be470d Localisation updates from https://translatewiki.net.
Change-Id: Ie63301f6d5409f69f1ee3f8fa4c65172d916e1f6
2018-10-06 22:35:43 +02:00
Ed Sanders bb369a0b48 Wrap editPanel & searchPanel in a StackLayout
Change-Id: Ib069a41c7855647b1cd85546fc83b30d65b27443
2018-10-05 22:17:14 +01:00
Translation updater bot d020a50b59 Localisation updates from https://translatewiki.net.
Change-Id: I1ed284e27570fa7f7d15df428fad82a453d2aec9
2018-10-05 22:59:29 +02:00
jenkins-bot 95eb279cc6 Merge "ve.ui.MWGalleryDialog: Fix setting of expanded/scrollable panels" 2018-10-04 21:45:24 +00:00
jenkins-bot c43f1589d4 Merge "ve.ui.MWGalleryDialog: Switch innerMenuPanel/innerContentPanel" 2018-10-04 21:38:41 +00:00
Ed Sanders 485b257278 ve.ui.MWGalleryDialog: Fix setting of expanded/scrollable panels
There are 4 scrollable panels:
* Image list content
* Edit panel
* Search panel
* Options panel

Remove non-existent 'expandable' property.

Change-Id: Ia0d0a66be8a2bcb243a39ef632151d7fb99486ef
2018-10-04 21:23:10 +00:00
Ed Sanders 61cfce8c32 ve.ui.MWGalleryDialog: Switch innerMenuPanel/innerContentPanel
These two panels were named the wrong way around.

Also change 'inner' prefix to 'imageList'.

Change-Id: Ie1c3e2160c81b898795fb1fd4d0a027e8f06c4d4
2018-10-04 21:22:05 +00:00
jenkins-bot 0a4cee1cd6 Merge "Use correct OOUI hierarchy in gallery dialog" 2018-10-04 20:41:13 +00:00
jenkins-bot 737278220c Merge "Localisation updates from https://translatewiki.net." 2018-10-04 20:29:30 +00:00
Translation updater bot 9b5242d836 Localisation updates from https://translatewiki.net.
Change-Id: I6080aca55b55cc53901853055e79fbb0eb8cf726
2018-10-04 22:24:31 +02:00
jenkins-bot a661e7aa54 Merge "Update VE core submodule to master (527d45433)" 2018-10-04 20:14:56 +00:00
Translation updater bot 1e3c40c9fe Localisation updates from https://translatewiki.net.
Change-Id: I6b48a9c3b71ecaa1a66f429963a6af4edb1d74dd
2018-10-04 14:24:35 +02:00
James D. Forrester ad948dc550 Update VE core submodule to master (527d45433)
New changes:
30bac7d29 ve.dm.ModelRegistry: Fix extra spaces in rel="" attributes preventing matching
65636c913 Localisation updates from https://translatewiki.net.
da16d82c2 Make visual diff dialog sidebar narrower on narrow screens
80211b920 Update target widget styles and add focus styles

Bug: T203476
Change-Id: Ice36387ea64480ffbf4fed1ae0017b6f25d11182
2018-10-03 15:17:34 -07:00
jenkins-bot 577c2c7a03 Merge "Move 'done' tool out of static config" 2018-10-03 22:09:39 +00:00
jenkins-bot 0ace073662 Merge "Fix OOUI->MW theme mappings in extension.json" 2018-10-03 22:09:36 +00:00
jenkins-bot 40f03a3b0f Merge "Use correct OOUI hierarchy in media dialog" 2018-10-03 21:59:44 +00:00
jenkins-bot 03023758d8 Merge "Refactor media dialog initialize method" 2018-10-03 21:56:59 +00:00
Ed Sanders e176ecceae Move 'done' tool out of static config
Bug: T206132
Change-Id: I3319fc56209cab303448f7abe1e6334c50100947
2018-10-03 22:37:48 +01:00
Thalia f422ae2dcc Use correct OOUI hierarchy in gallery dialog
Make sure fieldset layouts contain field layouts. Also remove
meaningless parameter icons.

Bug: T205615
Change-Id: Ia104cd60ffa9f5d636bee5611f265a2bb5ac0051
2018-10-03 22:22:25 +01:00
Ed Sanders 29b277260f Fix OOUI->MW theme mappings in extension.json
Bug: T206002
Change-Id: I1fcafa397d1054f4d380a60e0ba46c4ece34c7f0
2018-10-03 22:17:49 +01:00
Thalia a4f033a1e6 Use correct OOUI hierarchy in media dialog
In the "advanced settings" tab, make sure widgets are wrapped in
field layouts, then fieldset layouts.

Bug: T205615
Change-Id: I141f9954e482f9d5afd84bfa63384b90a2911d00
2018-10-03 21:54:41 +01:00
jenkins-bot 3f1626c4f9 Merge "Make RDF attribute splits more robust" 2018-10-03 20:12:10 +00:00
Thalia 56cd18e674 Refactor media dialog initialize method
Change-Id: Ida7b50a89ab454ba023334cd2203d2e2e6150931
2018-10-03 20:50:36 +01:00
Translation updater bot 706f3c2dfc Localisation updates from https://translatewiki.net.
Change-Id: I81a2d420b82f94bd1ab6ff89baabd888e1c4feb5
2018-10-03 18:53:59 +02:00
David Lynch e2cf367a95 Make RDF attribute splits more robust
Split on regexp for whitespace instead of a single space. Avoids multiple-
spaces causing `'foo  bar'` to become `['foo', '', 'bar']`.

See also: I1f467f51017e2deae30905163bf5e6b07048cecf

Change-Id: Id7a887a20fac99715b79045f01e861b4efe9f2c7
2018-10-02 16:11:58 -05:00
jenkins-bot 542004dcb9 Merge "Require Parsoid HTML 2.0.0, and handle its <audio> tags" 2018-10-02 20:47:59 +00:00
James D. Forrester 22b40aeb2c Update VE core submodule to master (1191c3687)
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
2018-10-02 12:18:50 -07:00
Ed Sanders d5d23ee4be Require Parsoid HTML 2.0.0, and handle its <audio> tags
Bug: T201081
Depends-On: I6514b9b0a85588c7eaae5e6989789656cfc3253a
Change-Id: I6052dcf3e414d9506ff7ec7a6b5d8f4eeb4a703a
2018-10-02 12:15:45 -07:00
Bartosz Dziewoński 7a18889ddd ve.ui.MWMediaDialog: Remove unused CSS
This rule was being overridden by a more specific rule from OOUI with
the selector `.oo-ui-fieldLayout.oo-ui-labelElement`. I don't think
the margin tweak would be useful.

Change-Id: If6321ba7ea1cfad83f65f137b2a440957bf2fea6
2018-10-02 00:02:03 +02:00
Bartosz Dziewoński d094bfa0d0 ext.visualEditor.mwlanguage: Actually load all of the code
Follow-up to bbed4307d7.

Bug: T205834
Change-Id: Idb2febd210891b62976919cd7c6a04784c156807
2018-10-01 20:37:04 +02:00
Bartosz Dziewoński 0e6cf92204 Update VE core submodule to master (e9becf4d0)
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
2018-10-01 16:09:32 +02:00
Thalia dc6e7027a8 Make extension dialog done action messages match other dialogs
Bug: T205807
Change-Id: Icd7e4fddcee8687d9c3dbbda144aa0989d659ac8
2018-09-30 21:18:18 +01:00
jenkins-bot 04689a37f9 Merge "ve.ui.MWMediaDialog: Remove unused widget and messages" 2018-09-27 20:37:43 +00:00
Ed Sanders 349c2f3638 Avoid jQuery in ve.dm.Model.static.describeChange(s)
Change-Id: Ide3ad119f8c111b78b9adfe4a07079d143070fd1
2018-09-27 20:26:47 +01:00
Ed Sanders cd720b92d2 Update VE core submodule to master (5742a48a3)
New changes:
d6cfa9d85 Remove deprecated domNodeArray branch
afc4e2b6a Avoid jQuery in ve.dm.Model.static.describeChange(s)
9e9ed87e7 eslint: Disable browser/jquery environment expectations in Node code

Bug: T195111
Change-Id: I224f2c79f3f68f1752fdff37d59a3576ac7bb4d5
2018-09-27 20:25:41 +01:00
Bartosz Dziewoński 9cf5515ccb ve.ui.MWMediaDialog: Remove unused widget and messages
* visualeditor-dialog-media-size-originalsize-error
  Unused since 37b3c07b26.

* visualeditor-dialog-media-originaldimensions
  Never used (introduced in 4947420650).

Change-Id: I22f37b457cc6fbac03593fece003e97f4f5a2ccf
2018-09-27 18:31:20 +02:00
Bartosz Dziewoński b581d4c64c Update VE core submodule to master (4888f7664)
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
2018-09-27 16:22:27 +02:00
Thalia 9813d876e1 Enable the media dialog on mobile visual editor
Also make improvements to the layout, so that the dialog works
in desktop and mobile - most importantly, change from booklet
to index layout.

Bug: T190885
Bug: T118710
Change-Id: I1915d06c9b0e4b7907136e645f60be96e30cc287
2018-09-27 13:21:15 +01:00
Bartosz Dziewoński 42ebd10090 Correct some doc comments' syntax
I ran Closure Compiler over the codebase just to see what would happen,
and it printed some useful warnings.

Change-Id: I56d40b11e6d1dd7ce68a5e59da511f66e928647f
2018-09-26 14:49:52 +02:00
Translation updater bot 048736b1b5 Localisation updates from https://translatewiki.net.
Change-Id: I2f561ff3a463a190ab35f7752e623d57109281f1
2018-09-26 13:46:43 +02:00
jenkins-bot f6cea616ef Merge "Remove #ca-edit from required skin elements on edit pages" 2018-09-26 11:27:22 +00:00