Commit graph

13281 commits

Author SHA1 Message Date
James D. Forrester 40d115c806 Follow-up fa2efb9e5 part II: Don't try to call a private function
Change-Id: Icd7c15830c524b4492d0acc0528694cbc9a4f424
2017-05-08 16:42:20 -07:00
James D. Forrester a7f56f02e6 Follow-up fa2efb9e5: Also mount the service in ApiVisualEditorEdit
Whoops.

Change-Id: If1eac7fc745e8b21b47fbc6a8d40c3e45f4f52df
2017-05-08 14:42:21 -07:00
jenkins-bot d4c9638508 Merge "ApiVisualEditor: Move RESTbase initiation from construct() to execute()" 2017-05-08 21:20:42 +00:00
Translation updater bot 4296814235 Localisation updates from https://translatewiki.net.
Change-Id: I24e0b7ee282f937c0e7b1c44798a78439d723b63
2017-05-08 23:01:19 +02:00
Translation updater bot 3e31b869e8 Localisation updates from https://translatewiki.net.
Change-Id: I768ab6f09c49c7d3cdee0f0764a59ac0164bd445
2017-05-06 23:07:00 +02:00
Translation updater bot 021c91811e Localisation updates from https://translatewiki.net.
Change-Id: If05c18f72c4fb8276676c13e145ade05ec309739
2017-05-05 22:54:40 +02:00
jenkins-bot db73a1419c Merge "Run screenshot tests in series" 2017-05-05 15:55:41 +00:00
jenkins-bot a354bc3bf5 Merge "build: Update eslint to 0.4.0 and make pass" 2017-05-04 21:54:07 +00:00
Ed Sanders a866678c36 build: Update eslint to 0.4.0 and make pass
Change-Id: Id02a26bad70504cfe90bee6aab0fa3ea646b15d7
2017-05-04 21:28:17 +00:00
Translation updater bot 6f96b1e9d1 Localisation updates from https://translatewiki.net.
Change-Id: Id74033215796baa8238a3635d8cba3fc1b08e0a2
2017-05-04 23:11:44 +02:00
jenkins-bot 75b762d5c4 Merge "Specify suggested parent node types for tables" 2017-05-04 18:50:48 +00:00
jenkins-bot 20465377db Merge "Allow headings in divs" 2017-05-04 18:49:09 +00:00
jenkins-bot 6edf1522b4 Merge "Allow welcome dialog to be variable height" 2017-05-04 18:47:55 +00:00
jenkins-bot ea97f2ba85 Merge "Export publish-short message for mobile" 2017-05-04 18:09:52 +00:00
jenkins-bot a6f304c347 Merge "Un-blacklist the lintid parameter" 2017-05-04 14:56:51 +00:00
Ed Sanders 9d83efc747 Specify suggested parent node types for tables
This won't do anything useful until T164017 is resolved.

Bug: T164016
Change-Id: I39bffe2dc59a97888b81bdbe990e55ba95b0dd94
2017-05-04 14:50:49 +00:00
Ed Sanders 485a159037 Allow welcome dialog to be variable height
Bug: T164056
Change-Id: I277a709545151dbd51f92c21d6317a45b1088db2
2017-05-04 13:08:33 +01:00
Ed Sanders 8e6105fec8 Allow headings in divs
Bug: T164453
Change-Id: I986b1b376a592095c94d29a102278d4fde0a621f
2017-05-04 12:43:36 +01:00
Ed Sanders 9ea4dc2ad1 Export publish-short message for mobile
Bug: T164472
Change-Id: I143bc119583d73590a776bc0b1a43f90e19f513c
2017-05-04 12:41:21 +01:00
jenkins-bot 9b86ebae7f Merge "Follow-up 57a06a6: Use the same attribute name on read and on write" 2017-05-02 22:00:40 +00:00
James D. Forrester 486bbd7609 Follow-up 57a06a6: Use the same attribute name on read and on write
Bug: T164054
Change-Id: I6770f6c91248fcd9ab39322413874e20a1b65552
2017-05-02 14:42:22 -07:00
Translation updater bot eafe281fa3 Localisation updates from https://translatewiki.net.
Change-Id: Ic48e5776fde9b30c47656b01718bbbf764e6b2da
2017-05-02 23:22:42 +02:00
James D. Forrester fa2efb9e50 ApiVisualEditor: Move RESTbase initiation from construct() to execute()
There's no need e.g. in API documention queries to actually create the
RESTbase service connection, and it's quite an expensive operation to
do there.

Change-Id: I114fe0718338db7233ed94e4ffa90861b4e9ff50
2017-05-02 11:42:31 -07:00
Ed Sanders 54fc920622 Captcha improvements
* Fix focus and resize/scroll into view after the
  captcha has loaded (so after the image has loaded
  for FancyCaptch).
* Add margin between input and captcha
* Enable enter-to-submit on captch input field.
* Unify code for simple/math/questy and correctly
  render math as HTML (by looking at the mime type)

Change-Id: I10433cefbfea8569674c120dde5b489570e20966
2017-05-02 17:49:12 +01:00
Ed Sanders 998ae22b2d Follow-up I488fd7e74: Adjust saveFail calls for new function signature
Bug: T164157
Change-Id: I41b946af5a8b80211b0672d7012835f2c9e1dc2b
2017-05-02 16:39:04 +01:00
James D. Forrester f016f3dc9a Un-blacklist the lintid parameter
Bug: T160102
Depends-On: I59a7e0a3e8be32e4689cbf41c4904970902c4dff
Change-Id: Ie0e8d82db2dc3589c58a90a600ac0feb06159ed3
2017-05-02 07:41:11 -07:00
jenkins-bot a94535e1a1 Merge "Re-sync tests from VE-core into ext.visualEditor.test" 2017-05-01 22:46:24 +00:00
jenkins-bot 68d00a6a42 Merge "init: Fix checks for required skin elements to avoid false positives" 2017-05-01 22:37:16 +00:00
James D. Forrester 314bb053c7 Re-sync tests from VE-core into ext.visualEditor.test
Newly added:
* 'lib/ve/tests/ve.EventSequencer.test.js'
* 'lib/ve/tests/ve.Scheduler.test.js'
* 'lib/ve/tests/ve.Range.test.js'
* 'lib/ve/tests/dm/ve.dm.Annotation.test.js'
* 'lib/ve/tests/dm/ve.dm.TransactionBuilder.test.js'
* 'lib/ve/tests/dm/ve.dm.SourceSurfaceFragment.test.js'
* 'lib/ve/tests/dm/ve.dm.Scalable.test.js'
* 'lib/ve/tests/dm/selections/ve.dm.LinearSelection.test.js'
* 'lib/ve/tests/dm/selections/ve.dm.NullSelection.test.js'
* 'lib/ve/tests/dm/selections/ve.dm.TableSelection.test.js'
* 'lib/ve/tests/ce/ve.ce.RangeState.test.js'
* 'lib/ve/tests/ce/ve.ce.TextState.test.js'
* 'lib/ve/tests/ce/nodes/ve.ce.TableNode.test.js'
* 'lib/ve/tests/ui/ve.ui.Trigger.test.js'
* 'lib/ve/tests/ui/ve.ui.DiffElement.test.js'
* 'lib/ve/tests/ui/actions/ve.ui.ContentAction.test.js'
* 'lib/ve/tests/ui/actions/ve.ui.TableAction.test.js'
* 'lib/ve/tests/ui/ve.ui.DataTransferHandlerFactory.test.js'

Moved:
* 'lib/ve/tests/dm/ve.dm.LinkAnnotation.test.js' (up)
* 'lib/ve/tests/dm/ve.dm.LinearData.test.js' (down)

Ones skipped because they're currently broken:
* 'lib/ve/tests/dm/ve.dm.Change.test.js',
* 'lib/ve/tests/dm/ve.dm.TestRebaseClient.js',
* 'lib/ve/tests/dm/ve.dm.TestRebaseServer.js',
* 'lib/ve/tests/dm/ve.dm.RebaseServer.test.js',
* 'lib/ve/tests/init/ve.init.sa.Platform.test.js',
* 'lib/ve/tests/ui/dialogs/ve.ui.FindAndReplaceDialog.test.js'

Change-Id: I8343a67ffdb7255710e70bb9c822b9b006ae5aa7
2017-05-01 15:24:56 -07:00
James D. Forrester 84ec8739e3 Update VE core submodule to master (3b8a164a3)
New changes:
c61044a89 tests: Cover LinkAnnotation#getFragment()
a18e7bd75 tests: Cover <bdi> tags
4e6b991e2 VisualDiff: Don't describe internalItem changes
572ca6d09 VisualDiff: Don't try to render empty node changes
f794e511e LinkAnnotation: fix getFragment behavior
a5deb2b73 tests: Test rich annotations' describeChange()
88e1493a9 [BREAKING CHANGE] QUnit: Remove all code for counting tests
bbabdc425 Remove eslint:fix
31e6b40ce ve.dm.ElementLinearData.test: Cover getAnnotationIndexesFromOffset
97f7eda77 Transaction#isNoOp: Simple code is simple
dd97c627b MergeCellsContextItem: Make sure we're on a TableSelection

Bug: T163945
Bug: T164199
Change-Id: Iba64f64373e05f2dbe56d07dc9e8a8fe282887a9
2017-05-01 11:31:21 -07:00
jenkins-bot 089d765c0e Merge "Avoid global variables in tests and build" 2017-05-01 15:56:58 +00:00
jenkins-bot dc8935ae41 Merge "MWSignatureNode/Tool: Avoid global variables" 2017-05-01 15:49:37 +00:00
jenkins-bot 13307dd556 Merge "Fix minor lint errors and typos" 2017-05-01 15:49:35 +00:00
jenkins-bot c6a6ecbb79 Merge "eslint: Remove duplicate rule (no-alert)" 2017-05-01 15:47:59 +00:00
Bartosz Dziewoński a02e68374e init: Fix checks for required skin elements to avoid false positives
* Do not try to load the editor on protected pages, or if the user
  doesn't have permission to edit pages.
* Move the check for required DOM elements after the check for
  pages without the editor (T162411) and after DOM ready (T163307).

Bug: T162411
Bug: T163307
Change-Id: I8149694ba8155682701f2cda6ca212d60f446caa
2017-05-01 11:24:01 +00:00
Translation updater bot 99656bae30 Localisation updates from https://translatewiki.net.
Change-Id: I3e87b5b23666918a904d77111c76160fbe3d0a74
2017-04-29 23:31:44 +02:00
Ed Sanders 59b3f2e0dc Avoid global variables in tests and build
Change-Id: I44dd3c3980f88e660798962c4aa0229b62760796
2017-04-29 12:37:53 +01:00
Ed Sanders ede81b493e MWSignatureNode/Tool: Avoid global variables
Change-Id: I0596b33e797830f3718f4edbe34075fdaced0831
2017-04-29 12:37:28 +01:00
Ed Sanders 7c0fc8d3b9 Fix minor lint errors and typos
* Commas that should be semicolons
* Unnecessary 'call's

Change-Id: I11a80702b5396a36e3deecc6e706a397cc354bd8
2017-04-29 12:36:17 +01:00
Ed Sanders 2d0e580c56 eslint: Remove duplicate rule (no-alert)
Change-Id: I040689ddf8fa67c89f8b7bf154be8c1ceff2e5b8
2017-04-29 12:21:40 +01:00
Translation updater bot 26e155035e Localisation updates from https://translatewiki.net.
Change-Id: Iccbb936fb34cf928fa72cf5d56c1654fe8ce86f4
2017-04-29 00:09:45 +02:00
jenkins-bot bcb62d7907 Merge "Synchronise VE availability checks in frontend and backend" 2017-04-28 17:02:54 +00:00
Ed Sanders cd8b059e7d Synchronise VE availability checks in frontend and backend
Adds better support for NWE loading on action=edit.

Change-Id: I35208cce0696607377378a1b58d426e914a3ba7d
2017-04-28 17:45:27 +01:00
jenkins-bot ce3232dd48 Merge "QUnit: Remove all code for counting tests" 2017-04-28 16:22:23 +00:00
Ed Sanders afa6c518d6 Remove eslint:fix
Not very useful now rules are stable.

Change-Id: I934dbae211f4c34f9a28385b125eaba2edda191d
2017-04-28 17:08:40 +01:00
Ed Sanders 381f143a27 QUnit: Remove all code for counting tests
Change-Id: Ifc20282a4da1aed9be2a9215c13f9a4e3e30168f
2017-04-28 17:03:20 +01:00
jenkins-bot 323f2479ea Merge "Add basic support for Parsoid HTML5 video/audio" 2017-04-28 15:26:44 +00:00
Ed Sanders 63d711dd48 Run screenshot tests in series
Use one test context, and store language as a property.

Change-Id: I4809c41331c4d70a024eec48f30eef207a09a098
2017-04-28 16:01:22 +01:00
Ed Sanders 0c2bb3da9c Add basic support for Parsoid HTML5 video/audio
Change-Id: I30b787261c57e912e571170d8aa2d04726b6aa3a
2017-04-28 14:08:18 +01:00
Translation updater bot c198ea287d Localisation updates from https://translatewiki.net.
Change-Id: If183c1f7a7ddffa4dd2c61a6921ca5ad6f4b6bbe
2017-04-27 22:59:54 +02:00