Commit graph

11617 commits

Author SHA1 Message Date
Alex Monk 51dd790710 Track ETag header responses in special event logging schema
Bug: T135171
Change-Id: I70d6db0897c3f08c28d5841302ba7e196f362e48
2016-05-26 23:29:02 +01:00
Alex Monk afd5944bde Followup I9280fe4d: Merge main case with default, they are identical
Change-Id: I280f0eba1c99f5e96ffe5466e8398115fbc5f4f8
2016-05-26 18:15:27 +01:00
jenkins-bot 3fbb170c7a Merge "Follow-up 1dc933be: Don't fatal when editing non-NS0/6/14 pages" 2016-05-26 17:03:34 +00:00
jenkins-bot 628e1098af Merge "Use insertContent with templates when range is collapsed" 2016-05-26 16:32:06 +00:00
Ed Sanders bc3edc7712 Use insertContent with templates when range is collapsed
We may be trying to insert a block into a paragraph. fixUpInsertion
handles this, but not if use a replace transactions.

Bug: T136279
Change-Id: I1401da52676e79f38ef835a32d2c76004b75fb4e
2016-05-26 17:10:52 +01:00
James D. Forrester 1b9427c5dd Follow-up 1dc933be: Don't fatal when editing non-NS0/6/14 pages
Change-Id: I9280fe4d771cf7ce1ee3874a34d7a14b672b222c
2016-05-26 09:07:07 -07:00
jenkins-bot 02a8369777 Merge "Clear save caches when toolbar is re-attached" 2016-05-26 16:00:08 +00:00
jenkins-bot 24d313c255 Merge "Append surface & toolbar components in the correct places" 2016-05-26 15:59:35 +00:00
Ed Sanders 67d24eb83f Clear save caches when toolbar is re-attached
Change-Id: I14ddcba9fa4fd5f39341312d241ce59980276a2b
2016-05-26 15:53:04 +00:00
Ed Sanders 1c5c1fc6b9 Append surface & toolbar components in the correct places
Use setSurface and setupToolbar to position the surface and the
toolbar save button in the DOM.

Change-Id: Ide634848f4e78501724c358bcb1fdab8abd491b9
2016-05-26 08:50:21 -07:00
jenkins-bot 6eac839150 Merge "Genericise target initialisation across namespaces" 2016-05-26 15:49:54 +00:00
Gergő Tisza 1f38c6bcfc Update mediawiki_api gem to 1.7.1
Required for selenium test compatibility with AuthManager

Bug: T135884
Change-Id: Iffc3e0aad539316bfcd71f3831ab8eda02916761
2016-05-26 16:05:16 +02:00
Translation updater bot 173067afe6 Localisation updates from https://translatewiki.net.
Change-Id: Ib0280407fd858e968666dc55308753b7beaf108a
2016-05-25 22:27:45 +02:00
Ed Sanders 1dc933bead Genericise target initialisation across namespaces
Define $editableContent on target construction, and mark
all non-ancestor nodes between that at the target container
as uneditable (50% opacity, no pointer events).

Bug: T58289
Change-Id: I7fe51104bd5aa1bd53ffc604e5f02752c7553578
2016-05-25 12:50:36 +01:00
jenkins-bot 5698e855e3 Merge "Update stylelint config version and make a pass" 2016-05-24 21:40:41 +00:00
Translation updater bot b0c0dd65f9 Localisation updates from https://translatewiki.net.
Change-Id: I513363bac0fcc34b0b7f5986b8eb6770dbb85342
2016-05-24 23:11:16 +02:00
Ed Sanders 88c8f2e389 Remove grunt-cli
Included by grunt.

Change-Id: Ibf76b74ff50d6011da3061b2634c2ef4d7a3c843
2016-05-24 17:30:12 +00:00
Ed Sanders 7b8931193a Update stylelint config version and make a pass
Change-Id: I58007c3976019c8cfe96fd1fc0474d9e80f99f64
2016-05-24 13:41:13 +01:00
Translation updater bot cc1eb58a61 Localisation updates from https://translatewiki.net.
Change-Id: Ia13b9d4cce942ff7577bf2effab35ae4eb178754
2016-05-23 22:28:45 +02:00
jenkins-bot e85d4574b0 Merge "Workaround for T135127: Generate replace transactions in MWTransclusionModel" 2016-05-23 16:16:11 +00:00
jenkins-bot dba8457986 Merge "Update VE core submodule to master (a8d9a9e)" 2016-05-23 14:35:26 +00:00
Translation updater bot 3c3f7e13d8 Localisation updates from https://translatewiki.net.
Change-Id: I2195b91a462d79c97370bcd35dc5d1cf4e1592b9
2016-05-22 22:29:12 +02:00
Bartosz Dziewoński a86cfc82d1 Remove Wikipedia logo from welcome dialog image
The editor can also be used on wikis that are not Wikipedia.

By the way, the logo was incorrectly flipped for the RTL version. Heh.

Bug: T135811
Change-Id: I5635da13e8335658079620a46ac265c4ed6bd167
2016-05-22 16:34:12 +02:00
Translation updater bot 25b339b430 Localisation updates from https://translatewiki.net.
Change-Id: I87ae46efa09146f9f6b65d851acbba0e0021da83
2016-05-21 22:25:18 +02:00
jenkins-bot 65f4ba7b21 Merge "Fix watch path for css" 2016-05-21 16:12:21 +00:00
James D. Forrester 4d580b1e6c Update VE core submodule to master (a8d9a9e)
New changes:
f50f6a9 Remove directy dependency on stylelint
c45cfeb Add <BDI> support
4e5d312 Update store hashes when modifying items in store during #sanitize
eadc310 build: Bump grunt-stylelint to v0.3.0
a55520f Fix watch path for css
f016c4d Re-clone linear data on each paste

Change-Id: I2a1340261ce1f457f28c34fb1aaec7d4966783ea
2016-05-20 23:20:31 +01:00
Translation updater bot 89866241ef Localisation updates from https://translatewiki.net.
Change-Id: I49c245ddb88cbd50279036adb7ce6cbaada7a9b1
2016-05-20 22:32:43 +02:00
Ed Sanders 91c990993a Fix watch path for css
Change-Id: I451c161c80b9185454b94557950f5b9bc1de117d
2016-05-20 13:55:41 +01:00
jenkins-bot 87ede998cf Merge "build: Bump grunt-stylelint to v0.3.0" 2016-05-20 12:25:52 +00:00
Ed Sanders 61d592bab1 Workaround for T135127: Generate replace transactions in MWTransclusionModel
Change-Id: I1d202c3b2e980f1ea52ef90d028886135b0cb748
2016-05-20 10:54:56 +01:00
jenkins-bot c21229c20a Merge "Don't show tab preference dialog again if it's already been shown" 2016-05-20 08:32:09 +00:00
Alex Monk 8c3dc0887d Don't show tab preference dialog again if it's already been shown
Bug: T135534
Change-Id: Ifecac607acccc0e18e61b07e8456566d4671aa1b
2016-05-20 02:36:25 +01:00
Translation updater bot cd37cc8cbb Localisation updates from https://translatewiki.net.
Change-Id: I2235d89637874bac660b6eaeef086f4fa8db50dd
2016-05-19 23:13:02 +02:00
James D. Forrester 94fcafb684 build: Bump grunt-stylelint to v0.3.0
Change-Id: I8e6eb487a1ae181c9279aaf2c0aec5cccc8d9427
2016-05-19 19:04:10 +01:00
Ed Sanders 4729078593 Remove .csslintrc
Change-Id: Id631a9ae6d468a388cfc23da8f557c00d5f824f9
2016-05-19 17:40:46 +01:00
Alex Monk c40070b5cf Debug log strange-looking ETags being sent to RB
Bug: T135171
Change-Id: Ie127cfbd515cd217abd272cb7a81566b91e13f4d
2016-05-19 03:33:40 +01:00
jenkins-bot 709e53189c Merge "Update VE core submodule to master (eeaf1e2)" 2016-05-18 09:55:21 +00:00
James D. Forrester 8c7ed92288 Update VE core submodule to master (eeaf1e2)
New changes:
c54a48a build: Fix watch list (csslint -> stylelint)
58ba3d9 Add stylelint rules for @-rules
3f8c75a Stylelint: Add rule for unsupported browser features
3b96ff3 Fix minimum Opera version (15 -> 12)
9a1110b Stylelint: No ID selectors
9800bb8 build: Remove remaining references to csslint
b6ab14a stylelint: Re-enable features by names
6cc1f3c Move stylelint to npm
1d15fa0 build: Bump stylelint version to v0.2.0
ccc1724 stylelint: Use the preset rather than extending

Change-Id: I22fa8098592338a5e912aba9ad21131b21d9c0ea
2016-05-18 07:06:53 +01:00
Translation updater bot 29148d0e49 Localisation updates from https://translatewiki.net.
Change-Id: I10eee6216d5dd63d53aacca6d41e20c8b9080113
2016-05-17 22:25:27 +02:00
Ed Sanders 1dc780bcbd build: Use grunt-stylelint from npm
Add .stylelintrc as a symlink

Change-Id: I3c6d3f7f988f59b12655627e67ffb61fc7f882cd
2016-05-17 16:24:39 +01:00
jenkins-bot d2c995594a Merge "Remove remaining references to csslint" 2016-05-17 12:41:48 +00:00
Ed Sanders 8d749518ec stylelint: Comment uses of 'unsupported' browser CSS features
Change-Id: Ia88575d3fe71c22551cc601f03d8f4dea6d7fe16
2016-05-17 12:28:07 +00:00
Ed Sanders df49e5deb9 Remove remaining references to csslint
Change-Id: I1b5177bf746985a199bcc1ec713f886164c74760
2016-05-17 13:27:47 +01:00
jenkins-bot 224b75472c Merge "build: Replace csslint with stylelint" 2016-05-16 21:46:18 +00:00
Ed Sanders 99d3320573 build: Replace csslint with stylelint
For now just use the rules file in lib/ve, but eventually
this will be a preset.

Change-Id: I7fd79d3e1dce37aef066d416cd969e5fff1e962f
Depends-On: I17e0d23ddfedf64985495ab35d113ea08c03b1df
2016-05-16 22:30:49 +01:00
jenkins-bot 8aef98d01e Merge "Update VE core submodule to master (12ad256)" 2016-05-16 21:26:59 +00:00
Translation updater bot abe98d1eeb Localisation updates from https://translatewiki.net.
Change-Id: Icba1843fe760a436a980a42d9df31d39f10eca97
2016-05-16 22:46:21 +02:00
James D. Forrester 90fe9c980b Update VE core submodule to master (12ad256)
New changes:
df692b6 SurfaceFragment: Use #getCoveringRange for linear actions
2b1a8f0 SurfaceFragment: Remove clone flag in getSelection
38b9574 build: Use stylelint instead of csslint
ae2e7e6 FindAndReplaceDialog: Check initialFragment is set when closing dialog
fb7e483 Add more colour rules to stylelint
44f0a87 Add font rules to stylelint
396a5f0 Add whitespace rules to stylelint
05453e6 Add single quotes rule to stylelint
6100ea0 Remove -ms-repeating-linear-gradient rules
d03657b Add duplicate property rule to stylelint
5540c99 Add block formatting rules to stylelint
53162ab Add selector whitespace and double colon rules to styleline
29f9c7c Add whitespace rules for media sections
c653d01 Enforce tabs and file-level whitespace (newlines)
6c69798 Disallow duplicate selectors with stylelint
3593be9 Require animations to exist using stylelint
ace2230 Disable browser hacks for unsupported browsers
5f81262 Enforce ascending specificity with stylelint
f4cdf1b Disable !important in stylelint

Change-Id: I10a4e46927fa8ff4545c7ec84a072585f6e9606c
2016-05-16 21:20:41 +01:00
jenkins-bot 7a69ae68ab Merge "[BREAKING CHANGE] Evalute block/inline state when inserting a transclusion node" 2016-05-16 08:27:52 +00:00
Ed Sanders 236e3d1241 [BREAKING CHANGE] Evalute block/inline state when inserting a transclusion node
Make some of the methods we currently use to render the node
static so we can re-use them before inserting. We do the evaluation
without inserting the node so as not to dirty the document and
transcation history.

In the unlikely case the request fails, just fallback to inline.

This only handles insertions for now as type changes on edit will be
very rare.

This changes the signature of insertTransclusionNode, which is used
in Cite and Citoid extensions.

Bug: T51784
Change-Id: Ibc2fc66e6866084b0a4deeb082c8a1ca412febb2
2016-05-16 09:19:13 +01:00