Commit graph

8097 commits

Author SHA1 Message Date
Krenair 046979ae80 Show wikitext warnings in the reference and media caption dialogs
Bug: 56213
Change-Id: I9da0ae627a990864cc8b9466d97c4419f315f65e
2014-06-18 16:12:02 +00:00
jenkins-bot dc81adeb36 Merge "Update displaytitle on save" 2014-06-18 02:23:28 +00:00
jenkins-bot e9ad209592 Merge "Add more authors from git shortlog -s -n" 2014-06-18 02:14:59 +00:00
Roan Kattouw d9ae4447cf Update VE core submodule to master (52dc4e8)
New changes:
8420735 Test cases for annotating handles own children nodes
a3395ae Improve equalRange assertion and use in more places
52ee587 Block item drag and drop
dfe6d9f Drag and drop of arbitrary selections
11ffd9a Defer focusableNode selection fix until after native selection change

Change-Id: Iffebd8c7e8fbb7c17e25984d69e692b0c0980950
2014-06-17 18:47:44 -07:00
jenkins-bot f2c7788522 Merge "Use registered target, instead of ve.init.Target" 2014-06-18 01:45:01 +00:00
jenkins-bot 66834d2e97 Merge "Revert "Media search dialog: Only try to abort request if possible"" 2014-06-18 01:36:17 +00:00
Krinkle d16c615bb2 Revert "Media search dialog: Only try to abort request if possible"
Per bug 59604. The TypeError isn't coming from calling ".abort". That
method is always there and part of every jqXHR object, always.

This reverts commit c5dbc13c65.

Change-Id: I43bb53d8c98ca83688020c029d9a3db2c34d54ee
2014-06-18 01:34:15 +00:00
jenkins-bot 115c1b6be9 Merge "Remove display:inline-block highlight hacks" 2014-06-17 23:27:10 +00:00
Ed Sanders b7343b5e07 Update VE core submodule to master (4c599b0)
Fix ContentBranchNode tests for getClientRects change.

New changes:
9bbd259 Create highlight elements on demand
a711c6d Indent demo HTML
b1b6562 Use cached surfaceView
d4b48b1 Replace <cite> with <span rel="ve:Alien">
ee5b697 Shields are dead, long live getClientRects
4c599b0 Remove repositionOnly argument from update

Change-Id: Ifa65c46d09864f214ece9349b990f7d8c07d416b
2014-06-17 16:18:29 -07:00
jenkins-bot 970a39e74b Merge "Insert inline image inside list to the existing paragraph" 2014-06-17 19:49:36 +00:00
Ed Sanders c70d32c017 Use registered target, instead of ve.init.Target
Depends on I468d4eb4 in core.

Uses various hacks to trick the test runner into thinking
an MW target is in use, when in fact we still use SA targets.

Change-Id: If4611307d5d7aaee4af84f86ef82faf9078043b6
2014-06-17 20:41:01 +01:00
jenkins-bot 5c68803a58 Merge "Media search dialog: Only try to abort request if possible" 2014-06-17 17:29:56 +00:00
jenkins-bot f4bc61d9ee Merge "Followup 00af434: only tear down debug bar if it exists" 2014-06-17 17:19:37 +00:00
Krenair c5dbc13c65 Media search dialog: Only try to abort request if possible
Sometimes we have to load images in a way that we can't abort.
In that case, don't bother trying to abort, it just creates annoying console
messages.

Bug: 59604
Change-Id: Idb675f57284d9ffa1fe69c87806009a31711dabe
2014-06-17 17:07:00 +00:00
Cmcmahon d0ad8076a9 [BrowserTest] new locator for page content after Save
Change-Id: I1f9f9542cc5c7da40f0e219ccc393255f2233535
2014-06-17 06:59:01 -07:00
Roan Kattouw ee1bea701e Followup 00af434: only tear down debug bar if it exists
Bug: 66692
Change-Id: I3ec8cf9579da785327abbab5dd3618bb3f20895f
2014-06-16 15:54:12 -07:00
Ed Sanders 00af43495b Update VE core submodule to master (155f4ab)
Use new setupToolbar and setupDebugbar methods in base target.

New changes:
7ff523d Localisation updates from https://translatewiki.net.
3815224 [BREAKING CHANGE] Debug bar refactor
155f4ab Edit HTML mode in demo

Change-Id: I554ce51eae872ab0f741a913bf10394c2a8c3e52
2014-06-16 14:52:48 -07:00
jenkins-bot e085a963ea Merge "Update VE core submodule to master (89820e5)" 2014-06-16 20:11:29 +00:00
Ed Sanders 0688aa7b02 Update VE core submodule to master (89820e5)
Remove clickable node mixins.

New changes:
65e2e22 [BREAKING CHANGE] Make all focusable nodes clickable

Change-Id: I24403e12621e5b789e0b8c99f54f1d1b8fa802cc
2014-06-16 12:59:37 -07:00
Translation updater bot 142ba6a53e Merge "Localisation updates from https://translatewiki.net." 2014-06-16 19:58:04 +00:00
Translation updater bot ebafa4b5b3 Localisation updates from https://translatewiki.net.
Change-Id: I9bd537c311bc5d3c003d98550f1d907fb8091dd8
2014-06-16 19:56:42 +00:00
Roan Kattouw ac8bf28677 Update VE core submodule to b16dbb52
New changes:
c5d2909 Fix alien demo
c5fe8d7 Alien node styling
25c791a Localisation updates from https://translatewiki.net.
ff326d4 Localisation updates from https://translatewiki.net.
230800c Localisation updates from https://translatewiki.net.
91ec366 Remove margins from paragraphs inside table cells
fe72fdc Localisation updates from https://translatewiki.net.
97edf35 Fix shield CSS broken by Parsoid styles
21cddae Trigger endRelocation on focusable drag end
05d7d00 Revert "Fix shield CSS broken by Parsoid styles"

Change-Id: Ie33e187dfdacebb0dc399fbd1d78953cde72cc90
2014-06-16 12:46:17 -07:00
jenkins-bot ea9d65653e Merge "Don't use jQuery show() or toggle()" 2014-06-16 19:11:03 +00:00
Ed Sanders c761a20cef Don't use jQuery show() or toggle()
These set display explicitly to block, which overrides the CSS
style of display: table-caption.

Change-Id: Id987d6e8da9c875a120a4f07560fa8a97bef10b6
2014-06-16 20:05:36 +01:00
Ed Sanders 15bbcc6d63 Remove display:inline-block highlight hacks
With getClientRects these are no longer necessary.

Depends on I09f1c0850 in core.

Bug: 51708
Change-Id: I7e6c6528f4dd23aee7fa61ecb38eb658e11a8356
2014-06-16 11:52:37 +01:00
Translation updater bot bd97d0bd3d Localisation updates from https://translatewiki.net.
Change-Id: I098dbf6f5aa8000b05e8481f151578b8b425a0e5
2014-06-15 19:54:17 +00:00
Ed Sanders 71395e1fa4 Wait for onDocumentFocus to happen before setting section range
Bug: 65928
Change-Id: If76408b6b89541f0ecb065d4860e0652b6bdebb5
2014-06-15 13:07:32 +01:00
Translation updater bot 1c0f331c70 Localisation updates from https://translatewiki.net.
Change-Id: I521ac84afbfbbca298d81321c9f0ec9a709c17bc
2014-06-14 19:17:46 +00:00
Moriel Schottlender e2105be50b Insert inline image inside list to the existing paragraph
When converting from block to inline image inside a list, insert
the image into the existing paragraph instead of wrapping it in
a new paragraph.

Bug: 65924
Change-Id: Iefbb2a9ae536f51987bdd1aa8b7269bf6245d2b0
2014-06-13 18:07:24 -04:00
Translation updater bot a55c322ecd Merge "Localisation updates from https://translatewiki.net." 2014-06-13 20:52:58 +00:00
Translation updater bot d99a9e8a88 Localisation updates from https://translatewiki.net.
Change-Id: I8df8b7c3ef7f2a56e0bca988dca29401c3f99994
2014-06-13 20:52:02 +00:00
Ed Sanders 8bbd8f6d47 Add targets missing from jquery.i18n libraries
Bug: 66594
Change-Id: I6e1024b0f636b3a18d1073f5c38b9feea340b583
2014-06-13 18:53:02 +01:00
Cmcmahon a006cf0724 [BrowserTest] update ruby gems
This is to pick up the latest mediawiki-selenium gem. We have
removed the HTTP:Persistent gem, which should make builds
slightly slower but also more reliable.

Change-Id: I8d6bfb32e2ed4196186db563838bc025d4c378f6
2014-06-13 08:36:08 -07:00
Amir E. Aharoni 241fb7f26c Add more authors from git shortlog -s -n
Change-Id: I1a7e0c00118d16e9dc2734a274e13f57a907748a
2014-06-12 14:58:28 -07:00
Translation updater bot a1984590b3 Localisation updates from https://translatewiki.net.
Change-Id: Ib68a8d95cdf59d9a629597de027a9938d683b84d
2014-06-12 21:40:14 +00:00
Krenair dedc89b5ff Update displaytitle on save
Also fix a couple of missing param docs

Bug: 50341
Change-Id: I1e73153dca5eb9343bbcda1fc2f9799e72f6f03c
2014-06-12 22:21:35 +01:00
Ed Sanders 0791d86b77 Update VE core submodule to master (4d919d2)
Implement new language platform functions.

Also remove unused MWLanguageSearchDialog and MWLanguageSearchWidget.

New changes:
4d919d2 [BREAKING CHANGE] Move language functions to the platform

Change-Id: I54c0a8e5816a3c81851f95f1d3062a6091a9f4a3
2014-06-12 19:42:35 +00:00
jenkins-bot a20e54c20a Merge "Update VE core submodule to master (356f325)" 2014-06-12 19:38:59 +00:00
jenkins-bot 82696bcc5d Merge "Provide a script to automatically list recent commits for pre-deployment review" 2014-06-12 19:36:23 +00:00
Roan Kattouw ad2793f6e6 Update VE core submodule to master (356f325)
New changes:
d36f233 Don't refocus the document in onModelSelect
d22d183 Rebuild .html files for ContextWidget addition
1035ecc Update OOjs UI to v0.1.0-pre (c5ae888f67)
356f325 Improved layout of language input widget

Change-Id: I9620d8dc985ec4aceedf70ee342e0537c44dfceb
2014-06-12 12:35:34 -07:00
James D. Forrester 967d69c930 Provide a script to automatically list recent commits for pre-deployment review
Change-Id: I248ff783e5686d1646fb0814651d8f48d906230f
2014-06-12 12:29:18 -07:00
Ed Sanders 1169ebf801 Update eg-iframe with build script
Change-Id: Id8c943d14f9292cba33a4a06c319bfa83a9e344f
2014-06-12 20:27:54 +01:00
jenkins-bot f716ba7314 Merge "[BrowserTest] create a Template at run time" 2014-06-12 17:05:49 +00:00
Cmcmahon d82a0eabd8 [BrowserTest] create a Template at run time
For the case of a bare wiki, make a page Template:Seleniumtest
so that something will show up when typing into the lookahead
box in the Template inspector

Note that it may take a small amount of time for the new
Template to be available to VE. If this test fails on
the first run in a bare wiki, it should pass on the
second run ,once the Template is indexed by the
search back end.
Change-Id: I70d1ff39c2fd01bb0aeee89d3c090d372b427f5b
2014-06-12 09:24:08 -07:00
Krenair 638ad9e985 Wrap external URL protocols regex in brackets.
Bug: 65547
Change-Id: Ie69bfa2bbf3db01b89242655c8aa36c2483e7265
2014-06-12 17:05:43 +01:00
Krenair 0abbc2b02b Allow VE users to change displaytitle in advanced settings dialog
Some parts of this are heavily based on how the existing defaultsort stuff works.

Relies on I9bb80b01 and Iba2fff95

Bug: 56868
Change-Id: I5f0ce2ec36e82b04d9e1357b14046867c1dd3b60
2014-06-12 01:27:57 +00:00
Trevor Parscal 06f00d73ae [BREAKING CHANGE] Update VE core submodule to master (43a48cb) for window process cleanup
* Update size of save dialog earlier on, and swap back to save panel in
  save dialog on setup instead of ready to avoid scaling and sizing
  simultaneously
* Update use of closing/closed/opening/open events to use
  setup/ready/teardown events instead

New changes:
43a48cb [BREAKING CHANGE] Update OOjs UI to v0.1.0-pre (9f4f250f88) for window process cleanup

Bug: 65705
Bug: 65343
Bug: 60843
Change-Id: Idf6f85ae12f6ca80fde57a400cb5b11270938c1a
2014-06-12 00:42:13 +00:00
Roan Kattouw 7575ee6db3 Update VE core submodule to cf1945f60e3d1d7bc54c9ef5f90ac3ebd1f3d42b
New changes:
6fecd98 Better measurement of focusable node for context menu
9166bcd Special case for shielding of generated content wrappers
77903da Centre callout on context menu for small focusable nodes
1f8ac6d Make highlighting of context widget items less loud
48c57d3 Localisation updates from https://translatewiki.net.
a00d8ac Check language's direction rather than global direction in LanguageAnnotation description
7923e6d toLowerCase language code when searching for autonym
8eb4a71 Re-enable apply button in action dialog on close

Change-Id: I56bd961110d9fa505db1d7472caa1fd93519d284
2014-06-11 17:32:52 -07:00
jenkins-bot 134b4255b4 Merge "Remove setValue call from live extension setup" 2014-06-11 23:45:41 +00:00
jenkins-bot 502e02e360 Merge "[BrowserTest] Update login tests to use api" 2014-06-11 23:27:26 +00:00