Commit graph

19 commits

Author SHA1 Message Date
Bartosz Dziewoński fd11b87c5d Remove "hrefPrefix" from tests
Bug: T206357
Change-Id: I8728f63084902c76d1c61193be4367939b069f1a
2019-04-03 20:09:59 +00:00
Kunal Mehta 0395035789 build: Set "root": true, in .eslintrc.json
This ensures that each repository's "npm test" command is fully
independent of wherever it might be in the filesystem.

Bug: T206485
Change-Id: I54d052bed4ceed175a938896154fd6ad5c89f964
2018-12-18 10:47:31 +00:00
Ed Sanders eb7bed046b Template reflist: Re-render when converting for preview (e.g. visual diff)
Bug: T202324
Change-Id: I33dfb26a8f033f5ee5a89b2c1ad9aa081d3a55d1
2018-09-13 21:04:47 +01:00
Ed Sanders 6c38c009d7 Add preview mode converter tests
Change-Id: I2e9dc615a82b725d4061b39e6bdc56350e5d3d1d
Depends-On: I3f1a4772cbf67091b5fd52bab610390ebd9b16ef
2018-05-31 16:27:14 +01:00
Ed Sanders 475d825918 Use MWPreviewElement in view mode, instead of building a view node
Also "unwrap" paragraphs using CSS instead of DOM manipulation.

Change-Id: I5565c2c43580d5d47bc65ee06d9d14fccace90c6
Depends-On: Ibbf989dcebf2d21fd2ac481f17062f366ff29e41
Depends-On: I284bcd5dd25cdbb883427ebacb41af1bbf50b60f
2018-05-13 20:01:19 +01:00
Thiemo Mättig bbc1f2c91d Use standard form for @license tags
See https://spdx.org/licenses/

Change-Id: Ic091ebc3844abcd6de90b3241382fb4732200a6d
2018-03-20 03:18:37 +00:00
Ed Sanders 3590446c2c Fix detection of template-generated ref lists
Bug: T188898
Change-Id: I77333323d8e6a324b1655c10c94ae397aad241b3
2018-03-05 16:11:03 +00:00
Ed Sanders 495d9420f0 Treat template-generated reference lists as real ones
This will allow them to auto-update, and be used in the
visual diff.

We record a templateGenerated attribute to prevent them
being edited, and to ensure they roundtrip back to
templates.

Bug: T52769
Change-Id: I4460d2c98166581e942e35921b20091990f5f6c7
2018-02-07 10:48:57 +00:00
Ed Sanders f1d1cf38f5 Render ref list from CE node when converterting for clipboard
Bug: T186407
Depends-On: Iee635eaf42e3780da4e46e3c0f12417aa331655b
Depends-On: I1500f42dc0bf761f495e25c2d3d047157292df7d
Change-Id: Ia3b2549eb246fc0af56446a7d6a32ec0f54f4099
2018-02-06 16:47:07 +00:00
Ed Sanders dd2aeb641d Remove metadata from unit tests
Metadata is being removed from VE.

Change-Id: Icc614ed7a9792b7d9475d7a804bb8eea48424043
2018-01-22 14:31:44 -08:00
jenkins-bot 6b1e7e126f Merge "doc: Bump copyright year" 2018-01-03 19:18:07 +00:00
James D. Forrester 0999d771b6 doc: Bump copyright year
Also make the overly-terse statement clearer.

Change-Id: I752bb82444bf7cb41480076bace42331dc35a598
2018-01-02 17:05:50 -08:00
Ed Sanders 366d44926a MWReferenceNode: Generate 'sup' tags by default
Bug: T45094
Change-Id: I8973328095f36cce2cebbf335ee7421187eedfad
2018-01-02 15:39:08 +00:00
Ed Sanders a3a4bd945b VE: Support 'responsive' attribute
Bug: T53260
Change-Id: I1e0ae39e8c30653b7ba0f537723a4bcd79ac3162
2017-09-19 17:03:39 +01:00
David Chan 2efa23e5b5 Fix expected remove data to match actual remove data exactly
Change-Id: I0fb294265fc41015da842f7505bdedb39db7b91a
2017-08-13 11:41:30 -04:00
Thalia 1a5d90b4e3 Visual diff: Show correct reference indices in diff
Bug: T162819
Change-Id: I7eec4ee12a24ff99388cc0c95a24d50f321511f9
2017-06-26 19:19:03 +00:00
James D. Forrester 0d20873fa6 doc: Bump copyright year notice, 'team' name
Change-Id: Ia090c417a1aa716b255613199b5e49616bf0517a
2017-04-20 16:50:43 +00:00
Ed Sanders 61a624584b Send better HTML to the clipboard
Change-Id: Id8539697e6b30fd98e672452eda9b9c792c3c366
2017-03-20 13:42:03 +00:00
Ed Sanders 8b0e9c728c VisualEditor: Bring in unit tests from VE
Change-Id: I7da5f25f61d0c7f2331ab927c35d8f6a975041b8
2016-02-05 13:41:43 -08:00