From c92c348eee043940d90a1042499e04d7feb5fdf5 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Wed, 21 Nov 2018 12:49:46 +0100 Subject: [PATCH] updated core to 8.6.3 --- composer.lock | 12 +- core/.stylelintrc.json | 5 +- core/MAINTAINERS.txt | 2 +- core/UPDATE.txt | 148 +- core/assets/vendor/ckeditor/CHANGES.md | 562 +++--- core/assets/vendor/ckeditor/ckeditor.js | 1402 +++++++-------- core/assets/vendor/ckeditor/lang/af.js | 2 +- core/assets/vendor/ckeditor/lang/fa.js | 2 +- core/assets/vendor/ckeditor/lang/fr.js | 2 +- core/assets/vendor/ckeditor/lang/lv.js | 2 +- core/assets/vendor/ckeditor/lang/ro.js | 2 +- core/assets/vendor/ckeditor/lang/sk.js | 2 +- core/assets/vendor/ckeditor/plugins/icons.png | Bin 3210 -> 4252 bytes .../vendor/ckeditor/plugins/icons_hidpi.png | Bin 10811 -> 13842 bytes .../ckeditor/plugins/image2/dialogs/image2.js | 10 +- .../ckeditor/skins/moono-lisa/editor.css | 2 +- .../skins/moono-lisa/editor_gecko.css | 2 +- .../ckeditor/skins/moono-lisa/editor_ie.css | 2 +- .../ckeditor/skins/moono-lisa/editor_ie8.css | 2 +- .../skins/moono-lisa/editor_iequirks.css | 2 +- .../ckeditor/skins/moono-lisa/icons.png | Bin 3210 -> 4252 bytes .../ckeditor/skins/moono-lisa/icons_hidpi.png | Bin 10811 -> 13842 bytes core/authorize.php | 2 +- core/composer.json | 2 +- core/core.libraries.yml | 4 +- core/core.services.yml | 4 +- core/includes/bootstrap.inc | 16 +- core/includes/install.core.inc | 23 +- core/includes/install.inc | 17 + core/lib/Drupal.php | 4 +- .../DependencyInjection/PhpArrayContainer.php | 2 +- .../Component/Gettext/PoStreamReader.php | 2 +- .../SecuredRedirectResponse.php | 2 +- .../Component/Plugin/PluginManagerBase.php | 5 +- core/lib/Drupal/Core/Archiver/ArchiveTar.php | 6 +- .../Core/Cache/CacheBackendInterface.php | 2 +- core/lib/Drupal/Core/Cache/MemoryBackend.php | 4 +- .../Drupal/Core/Config/ConfigInstaller.php | 21 +- .../Core/Config/ConfigInstallerInterface.php | 3 +- .../Config/Entity/ConfigEntityInterface.php | 2 +- core/lib/Drupal/Core/Config/FileStorage.php | 8 +- .../Database/Driver/mysql/Install/Tasks.php | 2 +- .../Core/Database/Driver/pgsql/Connection.php | 2 +- .../lib/Drupal/Core/Database/Query/Select.php | 7 + .../Core/Database/StatementPrefetch.php | 12 +- .../Compiler/CorsCompilerPass.php | 2 +- core/lib/Drupal/Core/DrupalKernel.php | 8 +- .../Core/Entity/ContentEntityDeleteForm.php | 3 +- .../Entity/Element/EntityAutocomplete.php | 4 +- .../Core/Entity/EntityBundleListener.php | 1 + .../Drupal/Core/Entity/EntityFieldManager.php | 2 +- .../Drupal/Core/Entity/EntityStorageBase.php | 2 +- .../Plugin/DataType/EntityReference.php | 2 +- .../Entity/Sql/SqlContentEntityStorage.php | 2 +- .../Sql/SqlContentEntityStorageSchema.php | 30 +- .../KernelDestructionSubscriber.php | 5 +- .../FieldFormatter/TimestampAgoFormatter.php | 24 +- .../Drupal/Core/Form/ConfirmFormInterface.php | 8 +- core/lib/Drupal/Core/Form/FormBuilder.php | 2 +- core/lib/Drupal/Core/Form/FormState.php | 4 +- .../Core/Http/HandlerStackConfigurator.php | 2 +- .../Core/Http/TrustedHostsRequestFactory.php | 2 +- .../InstallProfileMismatchException.php | 2 +- core/lib/Drupal/Core/Mail/MailManager.php | 10 + .../Drupal/Core/Menu/LocalActionDefault.php | 27 +- .../Drupal/Core/Menu/LocalActionManager.php | 6 +- .../lib/Drupal/Core/Menu/LocalTaskDefault.php | 28 +- .../Core/Menu/MenuLinkTreeInterface.php | 2 +- .../PageCache/RequestPolicy/NoSessionOpen.php | 2 +- .../InboundPathProcessorInterface.php | 9 +- .../Drupal/Core/Plugin/Context/Context.php | 2 + .../Drupal/Core/ProxyBuilder/ProxyBuilder.php | 2 +- core/lib/Drupal/Core/Render/Element/Email.php | 2 + .../Drupal/Core/Render/Element/Password.php | 2 + .../Core/Render/Element/RenderElement.php | 2 +- core/lib/Drupal/Core/Render/Element/Tel.php | 2 + .../Drupal/Core/Render/Element/Textfield.php | 4 +- core/lib/Drupal/Core/Render/Element/Url.php | 2 + .../Core/Session/SessionConfiguration.php | 2 +- .../WriteSafeSessionHandlerInterface.php | 6 +- core/lib/Drupal/Core/State/State.php | 70 +- .../StreamWrapper/StreamWrapperInterface.php | 2 +- .../Core/TempStore/PrivateTempStore.php | 30 +- .../Core/TypedData/TypedDataManager.php | 2 +- .../lib/Drupal/Core/Update/UpdateRegistry.php | 2 +- core/lib/Drupal/Core/Updater/Module.php | 2 +- core/lib/Drupal/Core/Updater/Theme.php | 2 +- .../Core/Utility/UnroutedUrlAssembler.php | 1 - core/misc/announce.es6.js | 2 +- core/misc/autocomplete.es6.js | 2 +- core/misc/normalize-fixes.css | 2 +- core/misc/states.es6.js | 50 +- core/misc/states.js | 29 +- .../action/src/Plugin/Action/GotoAction.php | 2 +- core/modules/aggregator/src/ItemsImporter.php | 2 +- .../Plugin/migrate/destination/BlockedIp.php | 2 +- .../migrate/source/d6/BoxTranslation.php | 96 +- .../source/d7/BlockCustomTranslation.php | 99 ++ ...grateCustomBlockContentTranslationTest.php | 69 + .../source/d7/BlockCustomTranslationTest.php | 148 ++ .../book/tests/src/Functional/BookTest.php | 4 +- core/modules/ckeditor/js/ckeditor.es6.js | 2 +- .../src/Annotation/CKEditorPlugin.php | 4 + .../LlamaContextualAndButton.php | 2 +- .../CKEditorIntegrationTest.php | 62 +- core/modules/comment/comment.module | 3 +- .../modules/comment/migrations/d6_comment.yml | 14 +- .../modules/comment/migrations/d7_comment.yml | 14 +- .../comment/src/CommentFieldItemList.php | 2 +- core/modules/comment/src/CommentInterface.php | 5 +- .../src/Plugin/migrate/source/d6/Comment.php | 10 +- .../src/Plugin/migrate/source/d7/Comment.php | 17 +- .../source/d7/CommentEntityTranslation.php | 103 ++ .../src/Functional/CommentNonNodeTest.php | 2 +- .../Functional/Hal/CommentHalJsonAnonTest.php | 2 +- .../Functional/Rest/CommentJsonAnonTest.php | 2 +- .../Rest/CommentResourceTestBase.php | 2 +- .../Functional/Rest/CommentXmlAnonTest.php | 2 +- .../Kernel/Migrate/d6/MigrateCommentTest.php | 36 +- .../Kernel/Migrate/d7/MigrateCommentTest.php | 69 +- .../d6/CommentSourceWithHighWaterTest.php | 3 + .../Plugin/migrate/source/d6/CommentTest.php | 4 + .../d7/CommentEntityTranslationTest.php | 281 +++ .../ConfigInstallProfileOverrideTest.php | 11 +- .../ConfigUninstallViaCliImportTest.php | 2 +- ...instance_label_description_translation.yml | 57 + .../d6_field_instance_option_translation.yml | 178 ++ .../d6_field_option_translation.yml | 144 ++ .../d6_system_maintenance_translation.yml | 2 +- .../migrations/d6_system_site_translation.yml | 2 +- .../migrations/d6_user_mail_translation.yml | 2 +- .../d6_user_settings_translation.yml | 2 +- .../d7_system_maintenance_translation.yml | 17 + .../migrations/d7_system_site_translation.yml | 27 + .../migrations/d7_user_mail_translation.yml | 79 + .../d7_user_settings_translation.yml | 17 + .../src/FormElement/ElementInterface.php | 2 +- ...igrateSystemMaintenanceTranslationTest.php | 37 + .../d7/MigrateSystemSiteTranslationTest.php | 54 + .../d7/MigrateUserConfigsTranslationTest.php | 74 + .../src/Functional/ContactSitewideTest.php | 2 +- .../FieldWidget/ModerationStateWidget.php | 2 +- .../Field/ModerationStateFieldItemList.php | 18 +- .../ModerationStateConstraintValidator.php | 8 + .../ModerationStateFieldItemListTest.php | 63 +- .../d7_comment_entity_translation.yml | 28 + .../d7_custom_block_translation.yml | 50 + .../migrations/d7_node_entity_translation.yml | 4 + .../d7_taxonomy_term_entity_translation.yml | 32 + .../ContentTranslationController.php | 39 +- .../Plugin/migrate/source/I18nQueryTrait.php | 87 + .../ContentTranslationRouteSubscriber.php | 223 ++- .../Kernel/ContentTranslationSyncUnitTest.php | 2 +- core/modules/contextual/js/contextual.es6.js | 2 +- core/modules/contextual/js/contextual.js | 2 +- .../js/toolbar/views/AuralView.es6.js | 6 +- .../ContextualLinksTest.php | 15 + .../DateTimeTimeAgoFormatter.php | 151 +- .../datetime/src/Plugin/views/filter/Date.php | 2 +- .../src/Functional/DateTimeFieldTest.php | 8 +- .../DateTimeTimeAgoFormatterTest.php | 122 ++ .../datetime_range/datetime_range.module | 12 +- .../datetime_range_test.info.yml | 8 + .../datetime_range_test.module | 17 + .../Views/EntityTypeWithoutViewsDataTest.php | 43 + .../dblog/tests/src/Functional/DbLogTest.php | 49 - .../DblogFiltersAndFieldsUpgradeTest.php | 2 +- .../DblogNoLogsAvailableUpgradeTest.php | 2 +- .../DblogRecentLogsUsingViewsUpdateTest.php | 4 +- .../dblog/tests/src/Kernel/DbLogTest.php | 77 + core/modules/field/field.api.php | 2 +- .../d6/FieldInstanceOptionTranslation.php | 53 + .../process/d6/FieldOptionTranslation.php | 59 + .../d6/FieldInstanceOptionTranslation.php | 35 + .../d6/FieldLabelDescriptionTranslation.php | 60 + .../source/d6/FieldOptionTranslation.php | 78 + .../EntityReferenceTestTrait.php | 59 +- .../EntityReferenceAutoCreateTest.php | 2 +- .../EntityReferenceIntegrationTest.php | 2 +- .../EntityReferenceXSSTest.php | 2 +- .../field/tests/src/Kernel/DisplayApiTest.php | 2 +- .../EntityReferenceFormatterTest.php | 2 +- .../EntityReferenceItemTest.php | 2 +- .../EntityReferenceSettingsTest.php | 2 +- .../Views/EntityReferenceRelationshipTest.php | 11 +- ...grateFieldInstanceLabelDescriptionTest.php | 134 ++ ...rateFieldInstanceOptionTranslationTest.php | 75 + .../d6/MigrateFieldOptionTranslationTest.php | 84 + ...nstanceLabelDescriptionTranslationTest.php | 79 + .../d6/FieldInstanceOptionTranslationTest.php | 34 + .../source/d6/FieldOptionTranslationTest.php | 242 +++ .../src/Traits/EntityReferenceTestTrait.php | 64 + .../modules/field_layout/field_layout.install | 13 +- .../FunctionalJavascript/FieldLayoutTest.php | 34 + .../src/Kernel/FieldLayoutUninstallTest.php | 29 + core/modules/field_ui/field_ui.es6.js | 20 +- core/modules/field_ui/field_ui.js | 8 +- .../field_ui/src/Tests/ManageDisplayTest.php | 2 +- .../src/Functional}/FieldUIDeleteTest.php | 7 +- .../ManageFieldsFunctionalTest.php} | 29 +- .../tests/src/Traits/FieldUiTestTrait.php | 125 ++ core/modules/file/file.es6.js | 1 + core/modules/file/file.js | 1 + .../FileManagedFileElementTest.php | 99 +- .../FileManagedFileElementTest.php | 101 ++ .../Plugin/migrate/process/FilterIdTest.php | 16 +- .../filter/tests/src/Unit/FilterHtmlTest.php | 4 +- .../Normalizer/ContentEntityNormalizer.php | 2 +- .../EntityReferenceItemNormalizer.php | 2 +- core/modules/history/history.module | 3 +- .../Functional/ImageStylesPathAndUrlTest.php | 2 +- core/modules/language/language.module | 2 +- ...e_content_taxonomy_vocabulary_settings.yml | 53 + .../Config/LanguageConfigFactoryOverride.php | 2 +- ...guageContentSettingsTaxonomyVocabulary.php | 65 + .../LanguageUILanguageNegotiationTest.php | 46 +- .../d6/MigrateLanguageContentSettingsTest.php | 1 + ...eContentTaxonomyVocabularySettingsTest.php | 80 + .../d7/MigrateLanguageContentSettingsTest.php | 1 + ...eContentTaxonomyVocabularySettingsTest.php | 81 + .../src/Controller/ChooseBlockController.php | 3 + .../Entity/LayoutBuilderEntityViewDisplay.php | 39 +- .../src/Field/LayoutSectionItemList.php | 7 +- .../LayoutBuilderEntityViewDisplayForm.php | 10 +- .../src/Form/RevertOverridesForm.php | 4 - .../layout_builder/src/InlineBlockUsage.php | 6 +- .../src/Functional/LayoutBuilderTest.php | 68 + .../src/Functional/LayoutDisplayTest.php | 94 + .../tests/src/Unit/InlineBlockUsageTest.php | 28 + .../tests/src/Functional/LinkFieldUITest.php | 2 +- .../Functional}/Views/LinkViewsTokensTest.php | 4 +- core/modules/locale/locale.libraries.yml | 2 +- core/modules/locale/src/PluralFormula.php | 2 +- .../src/Controller/OEmbedIframeController.php | 8 +- core/modules/media/src/Entity/Media.php | 9 +- .../MediaSelection.php | 62 + .../Field/FieldFormatter/OEmbedFormatter.php | 2 +- .../media/src/Plugin/media/Source/OEmbed.php | 8 +- .../src/Functional/MediaTranslationUITest.php | 96 ++ .../FunctionalJavascript/MediaDisplayTest.php | 2 +- .../migrate/source/d6/MenuLinkTranslation.php | 40 +- core/modules/menu_ui/menu_ui.module | 10 +- core/modules/migrate/src/Plugin/Migration.php | 2 +- .../migrate/destination/EntityConfigBase.php | 2 +- .../destination/EntityFieldStorageConfig.php | 18 +- .../migrate/process/MigrationLookup.php | 2 +- .../Plugin/migrate/source/DummyQueryTrait.php | 2 +- .../Kernel/Plugin/MigrationPluginListTest.php | 2 +- .../tests/src/Unit/process/CallbackTest.php | 2 +- .../Plugin/MigrationWithFollowUpInterface.php | 2 +- .../source/d6/D6VariableTranslation.php | 32 + .../migrate/source/d6/VariableTranslation.php | 2 +- .../migrate/source/d7/VariableTranslation.php | 106 ++ .../migrate_drupal/tests/fixtures/drupal6.php | 420 ++++- .../migrate_drupal/tests/fixtures/drupal7.php | 1509 ++++++++++++++++- .../migrate/source/ContentEntityTest.php | 2 +- .../migrate/source/d6/i18nVariableTest.php | 1 + .../source/d7/VariableTranslationTest.php | 77 + .../Kernel/d6/MigrateDrupal6AuditIdsTest.php | 6 +- .../Kernel/d7/MigrateDrupal7AuditIdsTest.php | 6 +- .../source/d6/VariableTranslationTest.php | 1 + .../src/Batch/MigrateUpgradeImportBatch.php | 2 +- .../d6/MigrateUpgrade6ReviewPageTest.php | 2 +- .../src/Functional/d6/MigrateUpgrade6Test.php | 16 +- .../d7/MigrateUpgrade7NoMultilingualTest.php | 5 +- .../d7/MigrateUpgrade7ReviewPageTest.php | 23 + .../src/Functional/d7/MigrateUpgrade7Test.php | 13 +- core/modules/node/node.module | 3 +- .../src/Plugin/migrate/source/d7/Node.php | 3 +- .../source/d7/NodeEntityTranslation.php | 29 +- .../node/src/Tests/NodeRevisionsTest.php | 471 ----- core/modules/node/src/Tests/NodeTypeTest.php | 259 --- .../node/src/Tests/PagePreviewTest.php | 475 ------ .../Tests/Views/NodeContextualLinksTest.php | 118 -- .../tests/src/Functional/NodeEditFormTest.php | 2 +- .../src/Functional/NodeTranslationUITest.php | 1 + .../tests/src/Functional/PagePreviewTest.php | 2 +- .../src/Kernel/Migrate/d7/MigrateNodeTest.php | 47 +- .../source/d7/NodeEntityTranslationTest.php | 14 +- .../Plugin/migrate/source/d7/NodeTest.php | 163 ++ .../Field/FieldType/PathFieldItemList.php | 2 +- .../quickedit/src/Form/QuickEditFieldForm.php | 16 +- .../Tests/QuickEditAutocompleteTermTest.php | 2 +- .../QuickEditFileTest.php | 100 ++ .../QuickEditIntegrationTest.php | 2 +- .../modules/rdf/migrations/d7_rdf_mapping.yml | 13 +- .../Kernel/Field/EntityReferenceRdfaTest.php | 2 +- .../Migrate/d7/MigrateRdfMappingTest.php | 30 +- .../ResponsiveImageFieldDisplayTest.php | 26 +- .../Plugin/rest/resource/EntityResource.php | 24 +- .../EntityResourceValidationTrait.php | 18 +- .../tests/modules/rest_test/rest_test.module | 26 + .../Constraint/RestTestConstraint.php | 21 + .../RestTestConstraintValidator.php | 26 + .../EntityResource/EntityResourceTestBase.php | 35 + .../ModeratedNodeJsonAnonTest.php | 24 + .../ModeratedNodeJsonBasicAuthTest.php | 34 + .../ModeratedNodeJsonCookieTest.php | 29 + .../ModeratedNodeResourceTestBase.php | 74 + .../ModeratedNodeXmlAnonTest.php | 34 + .../ModeratedNodeXmlBasicAuthTest.php | 44 + .../ModeratedNodeXmlCookieTest.php | 39 + .../Functional/Views/StyleSerializerTest.php | 2 +- core/modules/search/search.module | 2 +- .../QuickEditIntegrationTest.php | 3 +- .../SettingsTrayBlockFormTest.php | 3 +- core/modules/simpletest/src/TestBase.php | 6 +- .../InstallationProfileModuleTestsTest.php | 2 +- .../src/Functional}/Views/IntegrationTest.php | 6 +- .../system/src/Form/ModulesListForm.php | 11 +- .../system/src/PathBasedBreadcrumbBuilder.php | 2 +- .../system/src/Tests/Ajax/CommandsTest.php | 159 -- .../system/src/Tests/Ajax/DialogTest.php | 216 --- .../system/src/Tests/Ajax/MultiFormTest.php | 98 -- .../src/Tests/Session/SessionHttpsTest.php | 2 +- core/modules/system/system.post_update.php | 9 + ...drupal-8.views-taxonomy-parent-2543726.php | 4 + .../src/AcceptHeaderMiddleware.php | 2 +- ...AcceptHeaderRoutingTestServiceProvider.php | 2 +- .../src/Controller/TestController.php | 2 +- .../src/EntityTestAccessControlHandler.php | 2 +- .../modules/form_test/form_test.routing.yml | 7 + .../src/Form/JavascriptStatesForm.php | 55 + .../mail_html_test/mail_html_test.info.yml | 6 + .../mail_html_test/mail_html_test.module | 17 + .../src/Plugin/Mail/TestHtmlMailCollector.php | 33 + .../menu_test/menu_test.links.action.yml | 12 + .../modules/menu_test/menu_test.routing.yml | 14 + .../menu_test/src/Access/AccessCheck.php | 14 + .../modules/session_test/session_test.module | 4 +- .../src/Controller/SystemTestController.php | 2 +- .../EventSubscriber/ThemeTestSubscriber.php | 2 +- .../tests/src/Functional/Common/UrlTest.php | 2 +- .../Condition/ConditionFormTest.php | 6 +- .../EntityReferenceSelectionAccessTest.php | 98 +- .../File/FileSaveHtaccessLoggingTest.php | 2 +- .../Form/ModulesListFormWebTest.php | 25 + .../tests/src/Functional/Mail/MailTest.php | 181 +- .../Menu/BreadcrumbFrontCacheContextsTest.php | 91 + .../src/Functional/Menu/MenuAccessTest.php | 2 +- .../Functional}/Page/DefaultMetatagsTest.php | 8 +- .../src/Functional}/Pager/PagerTest.php | 75 +- .../Render/HtmlResponseAttachmentsTest.php | 22 +- .../UrlBubbleableMetadataBubblingTest.php | 10 +- .../Functional}/Routing/DestinationTest.php | 19 +- .../Update/FilterHtmlUpdateTest.php | 2 +- ...ityReferenceSelectionReferenceableTest.php | 2 +- ...> InstallerDependenciesResolutionTest.php} | 9 +- .../PathBasedBreadcrumbBuilderTest.php | 27 +- .../d6_vocabulary_field_instance.yml | 15 + .../taxonomy/migrations/d7_taxonomy_term.yml | 1 + .../taxonomy/src/Entity/Vocabulary.php | 2 +- .../migrate/source/d6/VocabularyPerType.php | 22 + .../src/Plugin/migrate/source/d7/Term.php | 25 +- .../source/d7/TermEntityTranslation.php | 122 ++ .../taxonomy/src/TermStorageSchema.php | 2 +- .../taxonomy/src/Tests/TaxonomyTestBase.php | 2 +- .../Tests/TaxonomyTranslationTestTrait.php | 2 +- core/modules/taxonomy/taxonomy.install | 7 +- .../src/Functional}/RssTest.php | 8 +- .../TaxonomyTermIndentationTest.php | 33 +- .../tests/src/Functional/TaxonomyTestBase.php | 2 +- .../TaxonomyTranslationTestTrait.php | 2 +- .../src/Functional}/TermAutocompleteTest.php | 40 +- .../src/Functional}/TermTest.php | 38 +- .../src/Functional}/TermTranslationTest.php | 4 +- .../Views/TaxonomyIndexTidUiTest.php | 2 +- .../src/Functional/Views/TaxonomyTestBase.php | 2 +- .../d6/MigrateVocabularyFieldInstanceTest.php | 25 +- .../Migrate/d7/MigrateTaxonomyTermTest.php | 67 +- .../source/d7/TermEntityTranslationTest.php | 334 ++++ .../Plugin/migrate/source/d7/TermTest.php | 13 + .../src/Kernel/Views/TaxonomyTestBase.php | 2 +- .../FieldFormatter/TelephoneLinkFormatter.php | 17 +- .../src/Functional/TelephoneFieldTest.php | 60 +- core/modules/update/update.authorize.inc | 2 +- core/modules/user/src/AccountForm.php | 2 +- .../user/src/Plugin/Action/CancelUser.php | 2 +- .../user/src/Plugin/Block/UserLoginBlock.php | 2 +- .../UserSelection.php | 2 +- .../LanguageNegotiationUser.php | 5 +- .../LanguageNegotiationUserAdmin.php | 6 +- .../Plugin/migrate/process/UserLangcode.php | 2 +- .../src/Tests/UserResetEmailTestTrait.php | 7 + .../user_hooks_test/user_hooks_test.module | 3 +- .../src/Functional}/UserAdminLanguageTest.php | 6 +- .../src/Functional}/UserBlocksTest.php | 8 +- .../src/Functional}/UserCreateTest.php | 13 +- .../src/Functional/UserLoginHttpTest.php | 19 +- .../src}/Functional/UserPasswordResetTest.php | 2 +- .../src/Functional}/UserRegistrationTest.php | 8 +- .../UserPasswordResetTest.php | 2 +- .../src/Kernel}/UserAdminSettingsFormTest.php | 2 +- .../src/Kernel/UserEntityReferenceTest.php | 2 +- core/modules/user/user.api.php | 17 +- core/modules/user/user.module | 4 +- core/modules/user/user.views_execution.inc | 2 +- .../src/Plugin/views/field/EntityField.php | 6 + .../Plugin/views/field/FieldPluginBase.php | 2 +- .../field/MultiItemsFieldHandlerInterface.php | 2 +- .../Plugin/views/wizard/WizardPluginBase.php | 2 +- .../views/src/Tests/ViewKernelTestBase.php | 2 +- core/modules/views/src/ViewExecutable.php | 4 +- .../tests/src/Functional/DefaultViewsTest.php | 2 +- .../src/Functional}/FieldApiDataTest.php | 6 +- .../src/Functional/Handler/FieldWebTest.php | 2 +- .../Plugin/DisplayEntityReferenceTest.php | 4 +- .../Functional}/Plugin/DisplayFeedTest.php | 26 +- .../Plugin/ExposedFormCheckboxesTest.php | 2 +- .../src/Functional}/Plugin/StyleOpmlTest.php | 24 +- .../src/Functional/Wizard/TaggedWithTest.php | 2 +- .../views/tests/src/Kernel/ModuleTest.php | 4 +- .../tests/src/Kernel/ViewExecutableTest.php | 2 +- core/modules/views/views.views.inc | 10 +- core/modules/views_ui/js/views-admin.es6.js | 2 +- core/modules/views_ui/src/ViewUI.php | 2 +- .../src/Functional}/RowUITest.php | 17 +- .../src/Functional/TranslatedViewTest.php | 2 +- .../src/FunctionalJavascript/DisplayTest.php | 2 +- .../workspaces/css/workspaces.toolbar.css | 7 +- .../workspaces/src/EntityOperations.php | 4 +- .../modules/workspaces/src/FormOperations.php | 10 +- .../src/Kernel/WorkspaceIntegrationTest.php | 35 +- core/modules/workspaces/workspaces.info.yml | 2 +- core/package.json | 2 +- ...ntity_form_display.node.recipe.default.yml | 10 - ...e.entity_view_display.node.recipe.card.yml | 2 - ...y_view_display.node.recipe.card_common.yml | 2 - ...ew_display.node.recipe.card_common_alt.yml | 2 - ...ntity_view_display.node.recipe.default.yml | 2 - ...e.entity_view_display.node.recipe.full.yml | 2 - ...entity_view_display.node.recipe.teaser.yml | 2 - .../core.menu.static_menu_link_overrides.yml | 7 + .../field.field.node.article.field_tags.yml | 2 +- .../field.field.node.recipe.field_author.yml | 27 - .../field.field.node.recipe.field_tags.yml | 2 +- .../field.storage.node.field_author.yml | 19 - .../config/install/node.settings.yml | 1 + .../demo_umami/config/install/system.site.yml | 12 + .../taxonomy.vocabulary.recipe_category.yml | 2 +- .../config/install/user.role.anonymous.yml | 13 + .../install/user.role.authenticated.yml | 14 + .../config/install/user.settings.yml | 16 + core/profiles/demo_umami/demo_umami.install | 26 - .../default_content/LICENCE.txt | 2 + ...ve-your-oatmeal-the-ultimate-makeover.html | 43 + .../lets-hear-it-for-carrots.html | 2 +- ...mami-guide-to-our-favourite-mushrooms.html | 2 +- .../default_content/articles.csv | 1 + .../images/oatmeal-fruit-syrup-topping.jpg | Bin 0 -> 76171 bytes .../default_content/pages.csv | 2 +- .../veggie-pasta-bake-umami.html | 2 +- .../default_content/recipes.csv | 2 +- .../demo_umami_content/src/InstallHelper.php | 1 - .../src/Functional/DemoUmamiProfileTest.php | 3 + .../demo_umami/themes/umami/README.txt | 11 + .../demo_umami/themes/umami/css/base.css | 6 +- .../themes/umami/css/layout/layout-2-col.css | 2 +- .../demo_umami/themes/umami/favicon.ico | Bin 0 -> 5430 bytes .../themes/umami/images/svg/search.svg | 10 +- .../themes/umami/umami.libraries.yml | 4 +- core/profiles/testing/testing.info.yml | 2 +- .../testing_missing_dependencies.info.yml | 3 + .../testing_requirements.info.yml | 6 + .../testing_requirements.install | 23 + .../Ajax/CommandsTest.php | 130 ++ .../Ajax/DialogTest.php | 167 ++ .../Ajax/MultiFormTest.php | 139 ++ .../EntityReferenceAutocompleteWidgetTest.php | 2 +- .../FunctionalTests/BrowserTestBaseTest.php | 2 +- .../Datetime/TimestampAgoFormatterTest.php | 122 ++ ...lerExistingSettingsMismatchProfileTest.php | 2 +- .../InstallerProfileRequirementsTest.php | 38 + .../Update/UpdatePathTestBase.php | 52 +- .../KernelTests/Core/Ajax/CommandsTest.php | 103 ++ .../KernelTests/Core/Common/SizeTest.php | 76 +- .../Core/Config/ConfigImporterTest.php | 4 +- .../Config/Storage/ConfigStorageTestBase.php | 5 + .../Core/Database/PrefixInfoTest.php | 2 +- .../Core/Database/SelectCloneTest.php | 31 + .../Core/Entity/EntityBundleListenerTest.php | 35 + ...ntityDecoupledTranslationRevisionsTest.php | 2 +- .../Entity/EntityQueryRelationshipTest.php | 2 +- .../Core/Entity/EntityQueryTest.php | 4 +- .../Core/Entity/EntityReferenceFieldTest.php | 2 +- .../Core/Entity/EntitySchemaTest.php | 178 +- .../Core/Entity/EntityViewBuilderTest.php | 2 +- .../RevisionableContentEntityBaseTest.php | 4 +- .../ValidReferenceConstraintValidatorTest.php | 4 +- .../KernelTests/Core/File/MimeTypeTest.php | 2 +- .../Form/FormValidationMessageOrderTest.php | 2 +- .../Core/Menu/LocalActionManagerTest.php | 50 + .../KernelTests/Core/Path/AliasTest.php | 2 +- .../Core/Plugin/ContextTypedDataTest.php | 63 + .../Core/Routing/MatcherDumperTest.php | 4 +- .../Core/Routing/RouteProviderTest.php | 5 +- .../AnonymousPrivateTempStoreTest.php | 34 +- .../Drupal/Nightwatch/Tests/statesTest.js | 23 + core/tests/Drupal/Tests/BrowserTestBase.php | 17 +- .../Component/Datetime/DateTimePlusTest.php | 2 +- .../Plugin/PluginManagerBaseTest.php | 41 + .../StubPluginManagerBaseWithMapper.php | 22 + .../PhpTransliterationTest.php | 2 +- .../Tests/Core/Asset/CssOptimizerUnitTest.php | 2 +- .../DrupalKernel/ValidateHostnameTest.php | 2 +- .../Sql/SqlContentEntityStorageTest.php | 8 + .../Tests/Core/Extension/ThemeHandlerTest.php | 4 +- .../Core/Form/FormStateDecoratorBaseTest.php | 2 +- .../Core/Menu/LocalActionManagerTest.php | 79 +- .../Tests/Core/Menu/LocalTaskDefaultTest.php | 22 + .../Plugin/Context/ContextTypedDataTest.php | 62 - .../Core/Render/RendererBubblingTest.php | 3 +- .../Core/Utility/UnroutedUrlAssemblerTest.php | 4 +- .../Listeners/DeprecationListenerTrait.php | 8 + core/tests/Drupal/Tests/UiHelperTrait.php | 2 +- core/tests/Drupal/Tests/WebAssert.php | 2 +- core/tests/README.md | 5 + core/themes/bartik/css/components/form.css | 2 +- core/themes/seven/css/components/form.css | 4 +- core/themes/seven/css/components/tabs.css | 6 +- core/themes/seven/css/components/views-ui.css | 2 +- 521 files changed, 12199 insertions(+), 4578 deletions(-) create mode 100644 core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustomTranslation.php create mode 100644 core/modules/block_content/tests/src/Kernel/Migrate/d7/MigrateCustomBlockContentTranslationTest.php create mode 100644 core/modules/block_content/tests/src/Kernel/Plugin/migrate/source/d7/BlockCustomTranslationTest.php create mode 100644 core/modules/comment/src/Plugin/migrate/source/d7/CommentEntityTranslation.php create mode 100644 core/modules/comment/tests/src/Kernel/Plugin/migrate/source/d7/CommentEntityTranslationTest.php create mode 100644 core/modules/config_translation/migrations/d6_field_instance_label_description_translation.yml create mode 100644 core/modules/config_translation/migrations/d6_field_instance_option_translation.yml create mode 100644 core/modules/config_translation/migrations/d6_field_option_translation.yml create mode 100644 core/modules/config_translation/migrations/d7_system_maintenance_translation.yml create mode 100644 core/modules/config_translation/migrations/d7_system_site_translation.yml create mode 100644 core/modules/config_translation/migrations/d7_user_mail_translation.yml create mode 100644 core/modules/config_translation/migrations/d7_user_settings_translation.yml create mode 100644 core/modules/config_translation/tests/src/Kernel/Migrate/d7/MigrateSystemMaintenanceTranslationTest.php create mode 100644 core/modules/config_translation/tests/src/Kernel/Migrate/d7/MigrateSystemSiteTranslationTest.php create mode 100644 core/modules/config_translation/tests/src/Kernel/Migrate/d7/MigrateUserConfigsTranslationTest.php create mode 100644 core/modules/content_translation/migrations/d7_comment_entity_translation.yml create mode 100644 core/modules/content_translation/migrations/d7_custom_block_translation.yml rename core/modules/{node => content_translation}/migrations/d7_node_entity_translation.yml (80%) create mode 100644 core/modules/content_translation/migrations/d7_taxonomy_term_entity_translation.yml create mode 100644 core/modules/content_translation/src/Plugin/migrate/source/I18nQueryTrait.php create mode 100644 core/modules/datetime/tests/src/Functional/DateTimeTimeAgoFormatterTest.php create mode 100644 core/modules/datetime_range/tests/modules/datetime_range_test/datetime_range_test.info.yml create mode 100644 core/modules/datetime_range/tests/modules/datetime_range_test/datetime_range_test.module create mode 100644 core/modules/datetime_range/tests/src/Kernel/Views/EntityTypeWithoutViewsDataTest.php create mode 100644 core/modules/dblog/tests/src/Kernel/DbLogTest.php create mode 100644 core/modules/field/src/Plugin/migrate/process/d6/FieldInstanceOptionTranslation.php create mode 100644 core/modules/field/src/Plugin/migrate/process/d6/FieldOptionTranslation.php create mode 100644 core/modules/field/src/Plugin/migrate/source/d6/FieldInstanceOptionTranslation.php create mode 100644 core/modules/field/src/Plugin/migrate/source/d6/FieldLabelDescriptionTranslation.php create mode 100644 core/modules/field/src/Plugin/migrate/source/d6/FieldOptionTranslation.php create mode 100644 core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldInstanceLabelDescriptionTest.php create mode 100644 core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldInstanceOptionTranslationTest.php create mode 100644 core/modules/field/tests/src/Kernel/Migrate/d6/MigrateFieldOptionTranslationTest.php create mode 100644 core/modules/field/tests/src/Kernel/Plugin/migrate/source/d6/FieldInstanceLabelDescriptionTranslationTest.php create mode 100644 core/modules/field/tests/src/Kernel/Plugin/migrate/source/d6/FieldInstanceOptionTranslationTest.php create mode 100644 core/modules/field/tests/src/Kernel/Plugin/migrate/source/d6/FieldOptionTranslationTest.php create mode 100644 core/modules/field/tests/src/Traits/EntityReferenceTestTrait.php create mode 100644 core/modules/field_layout/tests/src/Kernel/FieldLayoutUninstallTest.php rename core/modules/field_ui/{src/Tests => tests/src/Functional}/FieldUIDeleteTest.php (96%) rename core/modules/field_ui/{src/Tests/ManageFieldsTest.php => tests/src/Functional/ManageFieldsFunctionalTest.php} (96%) create mode 100644 core/modules/field_ui/tests/src/Traits/FieldUiTestTrait.php rename core/modules/file/{src/Tests => tests/src/Functional}/FileManagedFileElementTest.php (72%) create mode 100644 core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php create mode 100644 core/modules/language/migrations/d6_language_content_taxonomy_vocabulary_settings.yml create mode 100644 core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettingsTaxonomyVocabulary.php create mode 100644 core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageContentTaxonomyVocabularySettingsTest.php create mode 100644 core/modules/language/tests/src/Kernel/Plugin/migrate/source/d6/LanguageContentTaxonomyVocabularySettingsTest.php create mode 100644 core/modules/layout_builder/tests/src/Functional/LayoutDisplayTest.php create mode 100644 core/modules/layout_builder/tests/src/Unit/InlineBlockUsageTest.php rename core/modules/link/{src/Tests => tests/src/Functional}/Views/LinkViewsTokensTest.php (96%) create mode 100644 core/modules/media/src/Plugin/EntityReferenceSelection/MediaSelection.php create mode 100644 core/modules/media/tests/src/Functional/MediaTranslationUITest.php create mode 100644 core/modules/migrate_drupal/src/Plugin/migrate/source/d6/D6VariableTranslation.php create mode 100644 core/modules/migrate_drupal/src/Plugin/migrate/source/d7/VariableTranslation.php create mode 100644 core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/d7/VariableTranslationTest.php delete mode 100644 core/modules/node/src/Tests/NodeRevisionsTest.php delete mode 100644 core/modules/node/src/Tests/NodeTypeTest.php delete mode 100644 core/modules/node/src/Tests/PagePreviewTest.php delete mode 100644 core/modules/node/src/Tests/Views/NodeContextualLinksTest.php create mode 100644 core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditFileTest.php rename core/modules/responsive_image/{src/Tests => tests/src/Functional}/ResponsiveImageFieldDisplayTest.php (95%) create mode 100644 core/modules/rest/tests/modules/rest_test/src/Plugin/Validation/Constraint/RestTestConstraint.php create mode 100644 core/modules/rest/tests/modules/rest_test/src/Plugin/Validation/Constraint/RestTestConstraintValidator.php create mode 100644 core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeJsonAnonTest.php create mode 100644 core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeJsonBasicAuthTest.php create mode 100644 core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeJsonCookieTest.php create mode 100644 core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeResourceTestBase.php create mode 100644 core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeXmlAnonTest.php create mode 100644 core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeXmlBasicAuthTest.php create mode 100644 core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeXmlCookieTest.php rename core/modules/statistics/{src/Tests => tests/src/Functional}/Views/IntegrationTest.php (95%) delete mode 100644 core/modules/system/src/Tests/Ajax/CommandsTest.php delete mode 100644 core/modules/system/src/Tests/Ajax/DialogTest.php delete mode 100644 core/modules/system/src/Tests/Ajax/MultiFormTest.php create mode 100644 core/modules/system/tests/modules/form_test/src/Form/JavascriptStatesForm.php create mode 100644 core/modules/system/tests/modules/mail_html_test/mail_html_test.info.yml create mode 100644 core/modules/system/tests/modules/mail_html_test/mail_html_test.module create mode 100644 core/modules/system/tests/modules/mail_html_test/src/Plugin/Mail/TestHtmlMailCollector.php rename core/modules/system/{src/Tests => tests/src/Functional}/Condition/ConditionFormTest.php (90%) create mode 100644 core/modules/system/tests/src/Functional/Menu/BreadcrumbFrontCacheContextsTest.php rename core/modules/system/{src/Tests => tests/src/Functional}/Page/DefaultMetatagsTest.php (74%) rename core/modules/system/{src/Tests => tests/src/Functional}/Pager/PagerTest.php (80%) rename core/modules/system/{src/Tests => tests/src/Functional}/Render/HtmlResponseAttachmentsTest.php (83%) rename core/modules/system/{src/Tests => tests/src/Functional}/Render/UrlBubbleableMetadataBubblingTest.php (72%) rename core/modules/system/{src/Tests => tests/src/Functional}/Routing/DestinationTest.php (76%) rename core/modules/system/tests/src/Kernel/Installer/{InstallerMissingDependenciesTest.php => InstallerDependenciesResolutionTest.php} (76%) create mode 100644 core/modules/taxonomy/src/Plugin/migrate/source/d7/TermEntityTranslation.php rename core/modules/taxonomy/{src/Tests => tests/src/Functional}/RssTest.php (92%) rename core/modules/taxonomy/{src/Tests => tests/src/Functional}/TaxonomyTermIndentationTest.php (68%) rename core/modules/taxonomy/{src/Tests => tests/src/Functional}/TermAutocompleteTest.php (82%) rename core/modules/taxonomy/{src/Tests => tests/src/Functional}/TermTest.php (95%) rename core/modules/taxonomy/{src/Tests => tests/src/Functional}/TermTranslationTest.php (97%) create mode 100644 core/modules/taxonomy/tests/src/Kernel/Plugin/migrate/source/d7/TermEntityTranslationTest.php rename core/modules/user/{src/Tests => tests/src/Functional}/UserAdminLanguageTest.php (98%) rename core/modules/user/{src/Tests => tests/src/Functional}/UserBlocksTest.php (96%) rename core/modules/user/{src/Tests => tests/src/Functional}/UserCreateTest.php (94%) rename core/modules/user/{src/Tests => tests/src}/Functional/UserPasswordResetTest.php (99%) rename core/modules/user/{src/Tests => tests/src/Functional}/UserRegistrationTest.php (99%) rename core/modules/user/{src/Tests => tests/src}/FunctionalJavascript/UserPasswordResetTest.php (98%) rename core/modules/user/{src/Tests => tests/src/Kernel}/UserAdminSettingsFormTest.php (97%) rename core/modules/views/{src/Tests => tests/src/Functional}/FieldApiDataTest.php (98%) rename core/modules/views/{src/Tests => tests/src/Functional}/Plugin/DisplayFeedTest.php (84%) rename core/modules/views/{src/Tests => tests/src/Functional}/Plugin/StyleOpmlTest.php (61%) rename core/modules/views_ui/{src/Tests => tests/src/Functional}/RowUITest.php (80%) create mode 100644 core/profiles/demo_umami/config/install/core.menu.static_menu_link_overrides.yml delete mode 100644 core/profiles/demo_umami/config/install/field.field.node.recipe.field_author.yml delete mode 100644 core/profiles/demo_umami/config/install/field.storage.node.field_author.yml create mode 100644 core/profiles/demo_umami/config/install/node.settings.yml create mode 100644 core/profiles/demo_umami/config/install/system.site.yml create mode 100644 core/profiles/demo_umami/config/install/user.role.anonymous.yml create mode 100644 core/profiles/demo_umami/config/install/user.role.authenticated.yml create mode 100644 core/profiles/demo_umami/config/install/user.settings.yml create mode 100644 core/profiles/demo_umami/modules/demo_umami_content/default_content/article_body/give-your-oatmeal-the-ultimate-makeover.html create mode 100644 core/profiles/demo_umami/modules/demo_umami_content/default_content/images/oatmeal-fruit-syrup-topping.jpg create mode 100644 core/profiles/demo_umami/themes/umami/README.txt create mode 100644 core/profiles/demo_umami/themes/umami/favicon.ico create mode 100644 core/profiles/testing_requirements/testing_requirements.info.yml create mode 100644 core/profiles/testing_requirements/testing_requirements.install create mode 100644 core/tests/Drupal/FunctionalJavascriptTests/Ajax/CommandsTest.php create mode 100644 core/tests/Drupal/FunctionalJavascriptTests/Ajax/DialogTest.php create mode 100644 core/tests/Drupal/FunctionalJavascriptTests/Ajax/MultiFormTest.php create mode 100644 core/tests/Drupal/FunctionalTests/Datetime/TimestampAgoFormatterTest.php create mode 100644 core/tests/Drupal/FunctionalTests/Installer/InstallerProfileRequirementsTest.php create mode 100644 core/tests/Drupal/KernelTests/Core/Ajax/CommandsTest.php create mode 100644 core/tests/Drupal/KernelTests/Core/Entity/EntityBundleListenerTest.php create mode 100644 core/tests/Drupal/KernelTests/Core/Menu/LocalActionManagerTest.php create mode 100644 core/tests/Drupal/KernelTests/Core/Plugin/ContextTypedDataTest.php create mode 100644 core/tests/Drupal/Nightwatch/Tests/statesTest.js create mode 100644 core/tests/Drupal/Tests/Component/Plugin/StubPluginManagerBaseWithMapper.php delete mode 100644 core/tests/Drupal/Tests/Core/Plugin/Context/ContextTypedDataTest.php diff --git a/composer.lock b/composer.lock index d3ff4d2b1..4c5e5f9c8 100644 --- a/composer.lock +++ b/composer.lock @@ -1639,16 +1639,16 @@ }, { "name": "drupal/core", - "version": "8.6.2", + "version": "8.6.3", "source": { "type": "git", "url": "https://github.com/drupal/core.git", - "reference": "356292934802bb1aecc478e88a3cba77442d7c62" + "reference": "9e9a1dd9e280ebaf10622217e54448b529167965" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/drupal/core/zipball/356292934802bb1aecc478e88a3cba77442d7c62", - "reference": "356292934802bb1aecc478e88a3cba77442d7c62", + "url": "https://api.github.com/repos/drupal/core/zipball/9e9a1dd9e280ebaf10622217e54448b529167965", + "reference": "9e9a1dd9e280ebaf10622217e54448b529167965", "shasum": "" }, "require": { @@ -1814,7 +1814,7 @@ "jcalderonzumba/gastonjs": "^1.0.2", "jcalderonzumba/mink-phantomjs-driver": "^0.3.1", "mikey179/vfsstream": "^1.2", - "phpspec/prophecy": "^1.4", + "phpspec/prophecy": "^1.7", "phpunit/phpunit": "^4.8.35 || ^6.5", "symfony/css-selector": "^3.4.0", "symfony/debug": "^3.4.0", @@ -1873,7 +1873,7 @@ "GPL-2.0-or-later" ], "description": "Drupal is an open source content management platform powering millions of websites and applications.", - "time": "2018-10-17T22:19:50+00:00" + "time": "2018-11-07T14:45:40+00:00" }, { "name": "drush/drush", diff --git a/core/.stylelintrc.json b/core/.stylelintrc.json index d9d0ede9f..87d152953 100644 --- a/core/.stylelintrc.json +++ b/core/.stylelintrc.json @@ -11,7 +11,10 @@ "no-duplicate-selectors": null, "no-unknown-animations": true, "media-feature-name-no-unknown": [true, { - "ignoreMediaFeatureNames": ["prefers-reduced-motion"] + "ignoreMediaFeatureNames": [ + "prefers-reduced-motion", + "min--moz-device-pixel-ratio" + ] }], "number-leading-zero": "always", "plugin/no-browser-hacks": [true, { diff --git a/core/MAINTAINERS.txt b/core/MAINTAINERS.txt index e4120cc3d..f56097cf3 100644 --- a/core/MAINTAINERS.txt +++ b/core/MAINTAINERS.txt @@ -113,7 +113,6 @@ CKEditor Classy - David Hernandez 'davidhernandez' https://www.drupal.org/u/davidhernandez -- Morten Birch Heide-Jørgensen 'mortendk' https://www.drupal.org/u/mortendk Color - ? @@ -475,6 +474,7 @@ their responsibilities. The initiative coordinators for Drupal 8 are: API-first Initiative - Wim Leers 'Wim Leers' https://www.drupal.org/u/wim-leers - Mateu Aguiló Bosch 'e0ipso' https://www.drupal.org/u/e0ipso +- Gabe Sullice 'gabesullice' https://www.drupal.org/u/gabesullice Admin UI & JavaScript Modernisation Initiative - Angela Byron 'webchick' https://www.drupal.org/u/webchick diff --git a/core/UPDATE.txt b/core/UPDATE.txt index ebc4e827e..efcb5e9dd 100644 --- a/core/UPDATE.txt +++ b/core/UPDATE.txt @@ -64,15 +64,51 @@ following the instructions in the INTRODUCTION section at the top of this file: Enable the "Put site into maintenance mode" checkbox and save the configuration. -3. Remove the 'core' and 'vendor' directories. Also remove all of the files - in the top-level directory, except any that you added manually. +3. Determine if your project is managed by Composer. - If you made modifications to files like .htaccess, composer.json, or - robots.txt you will need to re-apply them from your backup, after the new - files are in place. + On a typical Unix/Linux command line, this can be determined by running the + following command (replace /PATH/TO/composer with the appropriate location + for your system): - Sometimes an update includes changes to default.settings.php (this will be - noted in the release notes). If that's the case, follow these steps: + /PATH/TO/composer info drupal/core + + If this is successful, your project is managed by Composer. + + If you don't have Composer installed or access to the command line, you can + check the contents of composer.json. If "drupal/core" is present in the + "require" section of your composer.json file, then the project is managed by + Composer. + + If the project is not managed by Composer, follow the steps under "UPDATING + CODE WITHOUT COMPOSER", otherwise go to "UPDATING CODE WITH COMPOSER". + +UPDATING CODE WITH COMPOSER +--------------------------- +1. On a typical Unix/Linux command line, run the following command from the root + directory (replace /PATH/TO/composer with the appropriate location for your + system): + + /PATH/TO/composer update + + Note, if Composer is not installed you will need to install it in order to + update Drupal. + + Note, if you want to only update drupal/core the following command will + probably work: + + /PATH/TO/composer update drupal/core symfony/* --with-all-dependencies + +2. Check the release notes for the updated version of Drupal to find out if + there is a change to default.settings.php. + + You can find the release notes for your version at + https://www.drupal.org/project/drupal. At bottom of the project page under + "Downloads" use the link for your version of Drupal to view the release + notes. If your version is not listed, use the 'View all releases' link. From + this page you can scroll down or use the filter to find your version and its + release notes. + + If there is a change to default.settings.php, follow these steps: - Locate your settings.php file in the /sites/* directory. (Typically sites/default.) @@ -87,16 +123,32 @@ following the instructions in the INTRODUCTION section at the top of this file: database information, and you will also want to copy in any other customizations you have added. - You can find the release notes for your version at - https://www.drupal.org/project/drupal. At bottom of the project page under - "Downloads" use the link for your version of Drupal to view the release - notes. If your version is not listed, use the 'View all releases' link. From - this page you can scroll down or use the filter to find your version and its - release notes. +3. Determine if there are any modifications to files such as .htaccess or + robots.txt and re-apply them. The Drupal Scaffold composer plugin + (https://github.com/drupal-composer/drupal-scaffold) can help you with + excluding files you'd like to always preserve when updating Drupal. -4. Download the latest Drupal 8.x.x release from https://www.drupal.org to a - directory outside of your web root. Extract the archive and copy the files - into your Drupal directory. +4. Go to the "UPLOADING THE CODE" section + +UPDATING CODE WITHOUT COMPOSER +------------------------------ +1. Remove the 'core' and 'vendor' directories. Also remove all of the files + in the top-level directory, except any that you added manually. + + If you made modifications to files like .htaccess, composer.json, or + robots.txt you will need to re-apply them from your backup, after the new + files are in place. + + This should leave you with the modules, profiles, sites, and themes + directories. These directories should only contain code that you've used to + extend Drupal. + +2. Download the latest Drupal 8.x.x release from https://www.drupal.org/download + to a directory outside of your web root. Extract the archive and copy the + files into your Drupal directory. + + Copy all the files, but do not accidentally overwrite your modules, profiles, + sites, or themes directories. On a typical Unix/Linux command line, use the following commands to download and extract: @@ -110,13 +162,60 @@ following the instructions in the INTRODUCTION section at the top of this file: cp -R drupal-x.y.z/* drupal-x.y.z/.htaccess /path/to/your/installation If you do not have command line access to your server, download the archive - from https://www.drupal.org using your web browser, extract it, and then use - an FTP client to upload the files to your web root. + from https://www.drupal.org using your web browser and extract it locally. -5. Re-apply any modifications to files such as .htaccess, composer.json, or - robots.txt. +3. Check the release notes for the updated version of Drupal to find out if + there is a change to default.settings.php. -6. Run update.php by visiting http://www.example.com/update.php (replace + You can find the release notes for your updated version at + https://www.drupal.org/project/drupal. At bottom of the project page under + "Downloads" use the link for your updated version of Drupal to view the + release notes. If your updated version is not listed, use the 'View all + releases' link. From this page you can scroll down or use the filter to find + your updated version and its release notes. + + If there is a change to default.settings.php, follow these steps: + + - Locate your settings.php file in the /sites/* directory. (Typically + sites/default.) + + - Make a backup copy of your settings.php file, with a different file name. + + - Make a copy of the new default.settings.php file, and name the copy + settings.php (overwriting your previous settings.php file). + + - Copy the custom and site-specific entries from the backup you made into the + new settings.php file. You will definitely need the lines giving the + database information, and you will also want to copy in any other + customizations you have added. + +4. Re-apply any modifications to files such as .htaccess or robots.txt. + + If you have added requirements in composer.json, it is recommended that you + re-add the requirements using Composer instead of applying the changes by + hand. For example, on a typical Unix/Linux command line, to reinstall the + Address module and its dependencies run (replace /PATH/TO/composer with the + appropriate location for your system): + + /PATH/TO/composer require drupal/address + + If you do not have command line access to your server, you will need to run + the Composer commands locally before uploading the file system to your + server. + +5. Go to the "UPLOADING THE CODE" section + +UPLOADING THE CODE +------------------ +1. If you updated the code in a different environment from where it is running + you need to upload the files to your web root including the vendor/ + directory. + +2. Go to the "UPDATING THE DATABASE" section + +UPDATING THE DATABASE +--------------------- +1. Run update.php by visiting http://www.example.com/update.php (replace www.example.com with your domain name). This will update the core database tables. @@ -133,12 +232,11 @@ following the instructions in the INTRODUCTION section at the top of this file: - Once the update is done, $settings['update_free_access'] must be reverted to FALSE. -7. Go to Administration > Reports > Status report. Verify that everything is +2. Go to Administration > Reports > Status report. Verify that everything is working as expected. -8. Ensure that $settings['update_free_access'] is FALSE in settings.php. +3. Ensure that $settings['update_free_access'] is FALSE in settings.php. -9. Go to Administration > Configuration > Development > Maintenance mode. +4. Go to Administration > Configuration > Development > Maintenance mode. Disable the "Put site into maintenance mode" checkbox and save the configuration. - diff --git a/core/assets/vendor/ckeditor/CHANGES.md b/core/assets/vendor/ckeditor/CHANGES.md index 1205b92ad..95af6ed81 100644 --- a/core/assets/vendor/ckeditor/CHANGES.md +++ b/core/assets/vendor/ckeditor/CHANGES.md @@ -1,6 +1,36 @@ CKEditor 4 Changelog ==================== +## CKEditor 4.10.1 + +Fixed Issues: + +* [#2114](https://github.com/ckeditor/ckeditor-dev/issues/2114): Fixed: [Autocomplete](https://ckeditor.com/cke4/addon/autocomplete) cannot be initialized before [`instanceReady`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-instanceReady). +* [#2107](https://github.com/ckeditor/ckeditor-dev/issues/2107): Fixed: Holding and releasing the mouse button is not inserting an [autocomplete](https://ckeditor.com/cke4/addon/autocomplete) suggestion. +* [#2167](https://github.com/ckeditor/ckeditor-dev/issues/2167): Fixed: Matching in [Emoji](https://ckeditor.com/cke4/addon/emoji) plugin is not case insensitive. +* [#2195](https://github.com/ckeditor/ckeditor-dev/issues/2195): Fixed: [Emoji](https://ckeditor.com/cke4/addon/emoji) shows the suggestion box when the colon is preceded with other characters than white space. +* [#2169](https://github.com/ckeditor/ckeditor-dev/issues/2169): [Edge] Fixed: Error thrown when pasting into the editor. +* [#1084](https://github.com/ckeditor/ckeditor-dev/issues/1084) Fixed: Using the "Automatic" option with [Color Button](https://ckeditor.com/cke4/addon/colorbutton) on a text with the color already defined sets an invalid color value. +* [#2271](https://github.com/ckeditor/ckeditor-dev/issues/2271): Fixed: Custom color name not used as a label in the [Color Button](https://ckeditor.com/cke4/addon/image2) plugin. Thanks to [Eric Geloen](https://github.com/egeloen)! +* [#2296](https://github.com/ckeditor/ckeditor-dev/issues/2296): Fixed: [Color Button](https://ckeditor.com/cke4/addon/colorbutton) throws an error when activated on a content containing HTML comments. +* [#966](https://github.com/ckeditor/ckeditor-dev/issues/966): Fixed: Executing [`editor.destroy()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-destroy) during the [file upload](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_fileTools_uploadWidgetDefinition.html#property-onUploading) throws an error. Thanks to [Maksim Makarevich](https://github.com/MaksimMakarevich)! +* [#1719](https://github.com/ckeditor/ckeditor-dev/issues/1719): Fixed: Ctrl/Cmd + A inadvertently focuses inline editor if it is starting and ending with a list. Thanks to [theNailz](https://github.com/theNailz)! +* [#1046](https://github.com/ckeditor/ckeditor-dev/issues/1046): Fixed: Subsequent new links do not include the `id` attribute. Thanks to [Nathan Samson](https://github.com/nathansamson)! +* [#1348](https://github.com/ckeditor/ckeditor-dev/issues/1348): Fixed: [Enhanced Image](https://ckeditor.com/cke4/addon/image2) plugin aspect ratio locking uses an old width and height on image URL change. +* [#1791](https://github.com/ckeditor/ckeditor-dev/issues/1791): Fixed: [Image](https://ckeditor.com/cke4/addon/image) and [Enhanced Image](https://ckeditor.com/cke4/addon/image2) plugins can be enabled when [Easy Image](https://ckeditor.com/cke4/addon/easyimage) is present. +* [#2254](https://github.com/ckeditor/ckeditor-dev/issues/2254): Fixed: [Image](https://ckeditor.com/cke4/addon/image) ratio locking is too precise for resized images. Thanks to [Jonathan Gilbert](https://github.com/logiclrd)! +* [#1184](https://github.com/ckeditor/ckeditor-dev/issues/1184): [IE8-11] Fixed: Copying and pasting data in [read-only mode](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-readOnly) throws an error. +* [#1916](https://github.com/ckeditor/ckeditor-dev/issues/1916): [IE9-11] Fixed: Pressing the Delete key in [read-only mode](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-readOnly) throws an error. +* [#2003](https://github.com/ckeditor/ckeditor-dev/issues/2003): [Firefox] Fixed: Right-clicking multiple selected table cells containing empty paragraphs removes the selection. +* [#1816](https://github.com/ckeditor/ckeditor-dev/issues/1816): Fixed: Table breaks when Enter is pressed over the [Table Selection](https://ckeditor.com/cke4/addon/tableselection) plugin. +* [#1115](https://github.com/ckeditor/ckeditor-dev/issues/1115): Fixed: The `` tag is not preserved when proper configuration is provided and a style is applied by the [Font](https://ckeditor.com/cke4/addon/font) plugin. +* [#727](https://github.com/ckeditor/ckeditor-dev/issues/727): Fixed: Custom styles may be invisible in the [Styles Combo](https://ckeditor.com/cke4/addon/stylescombo) plugin. +* [#988](https://github.com/ckeditor/ckeditor-dev/issues/988): Fixed: ACF-enabled custom elements prefixed with `object`, `embed`, `param` are removed from the editor content. + +API Changes: + +* [#2249](https://github.com/ckeditor/ckeditor-dev/issues/1791): Added the [`editor.plugins.detectConflict()`](https://ckeditor.com/docs/ckeditor4/latest/CKEDITOR_editor_plugins.html#method-detectConflict) method finding conflicts between provided plugins. + ## CKEditor 4.10 New Features: @@ -8,7 +38,7 @@ New Features: * [#1751](https://github.com/ckeditor/ckeditor-dev/issues/1751): Introduced the **Autocomplete** feature that consists of the following plugins: * [Autocomplete](https://ckeditor.com/cke4/addon/autocomplete) – Provides contextual completion feature for custom text matches based on user input. * [Text Watcher](https://ckeditor.com/cke4/addon/textWatcher) – Checks whether an editor's text change matches the chosen criteria. - * [Text Match](https://ckeditor.com/cke4/addon/textMatch) – Allows to search [`CKEDITOR.dom.range`](https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_dom_range.html) for matching text. + * [Text Match](https://ckeditor.com/cke4/addon/textMatch) – Allows to search [`CKEDITOR.dom.range`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_range.html) for matching text. * [#1703](https://github.com/ckeditor/ckeditor-dev/issues/1703): Introduced the [Mentions](https://ckeditor.com/cke4/addon/mentions) plugin providing smart completion feature for custom text matches based on user input starting with a chosen marker character. * [#1746](https://github.com/ckeditor/ckeditor-dev/issues/1703): Introduced the [Emoji](https://ckeditor.com/cke4/addon/emoji) plugin providing completion feature for emoji ideograms. * [#1761](https://github.com/ckeditor/ckeditor-dev/issues/1761): The [Auto Link](https://ckeditor.com/cke4/addon/autolink) plugin now supports email links. @@ -17,22 +47,22 @@ Fixed Issues: * [#1458](https://github.com/ckeditor/ckeditor-dev/issues/1458): [Edge] Fixed: After blurring the editor it takes 2 clicks to focus a widget. * [#1034](https://github.com/ckeditor/ckeditor-dev/issues/1034): Fixed: JAWS leaves forms mode after pressing the Enter key in an inline editor instance. -* [#1748](https://github.com/ckeditor/ckeditor-dev/pull/1748): Fixed: Missing [`CKEDITOR.dialog.definition.onHide`](https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_dialog_definition.html#property-onHide) API documentation. Thanks to [sunnyone](https://github.com/sunnyone)! -* [#1321](https://github.com/ckeditor/ckeditor-dev/issues/1321): Ideographic space character (`\u3000`) is lost when pasting text. -* [#1776](https://github.com/ckeditor/ckeditor-dev/issues/1776): Empty caption placeholder of the [Image Base](https://ckeditor.com/cke4/addon/imagebase) plugin is not hidden when blurred. -* [#1592](https://github.com/ckeditor/ckeditor-dev/issues/1592): The [Image Base](https://ckeditor.com/cke4/addon/imagebase) plugin caption is not visible after paste. -* [#620](https://github.com/ckeditor/ckeditor-dev/issues/620): Fixed: The [`config.forcePasteAsPlainText`](https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_config.html#cfg-forcePasteAsPlainText) option is not respected in internal and cross-editor pasting. +* [#1748](https://github.com/ckeditor/ckeditor-dev/pull/1748): Fixed: Missing [`CKEDITOR.dialog.definition.onHide`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dialog_definition.html#property-onHide) API documentation. Thanks to [sunnyone](https://github.com/sunnyone)! +* [#1321](https://github.com/ckeditor/ckeditor-dev/issues/1321): Fixed: Ideographic space character (`\u3000`) is lost when pasting text. +* [#1776](https://github.com/ckeditor/ckeditor-dev/issues/1776): Fixed: Empty caption placeholder of the [Image Base](https://ckeditor.com/cke4/addon/imagebase) plugin is not hidden when blurred. +* [#1592](https://github.com/ckeditor/ckeditor-dev/issues/1592): Fixed: The [Image Base](https://ckeditor.com/cke4/addon/imagebase) plugin caption is not visible after paste. +* [#620](https://github.com/ckeditor/ckeditor-dev/issues/620): Fixed: The [`config.forcePasteAsPlainText`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-forcePasteAsPlainText) option is not respected in internal and cross-editor pasting. * [#1467](https://github.com/ckeditor/ckeditor-dev/issues/1467): Fixed: The resizing cursor of the [Table Resize](https://ckeditor.com/cke4/addon/tableresize) plugin appearing in the middle of a merged cell. API Changes: * [#850](https://github.com/ckeditor/ckeditor-dev/issues/850): Backward incompatibility: Replaced the `replace` dialog from the [Find / Replace](https://ckeditor.com/cke4/addon/find) plugin with a `tabId` option in the `find` command. -* [#1582](https://github.com/ckeditor/ckeditor-dev/issues/1582): The [`CKEDITOR.editor.addCommand()`](https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_editor.html#method-addCommand) method can now accept a [`CKEDITOR.command`](https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_command.html) instance as a parameter. -* [#1712](https://github.com/ckeditor/ckeditor-dev/issues/1712): The [`extraPlugins`](https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_config.html#cfg-extraPlugins), [`removePlugins`](https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_config.html#cfg-removePlugins) and [`plugins`](https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_config.html#cfg-plugins) configuration options allow whitespace. -* [#1802](https://github.com/ckeditor/ckeditor-dev/issues/1802): The [`extraPlugins`](https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_config.html#cfg-extraPlugins), [`removePlugins`](https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_config.html#cfg-removePlugins) and [`plugins`](https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_config.html#cfg-plugins) configuration options allow passing plugin names as an array. -* [#1724](https://github.com/ckeditor/ckeditor-dev/issues/1724): Added an option to the [`getClientRect()`](https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_dom_element.html#method-getClientRect) function allowing to retrieve an absolute bounding rectangle of the element, i.e. a position relative to the upper-left corner of the topmost viewport. -* [#1498](https://github.com/ckeditor/ckeditor-dev/issues/1498) : Added a new [`getClientRects()`](https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_dom_range.html#method-getClientRects) method to `CKEDITOR.dom.range`. It returns a list of rectangles for each selected element. -* [#1993](https://github.com/ckeditor/ckeditor-dev/issues/1993): Added the [`CKEDITOR.tools.throttle()`](http://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR_tools.html#method-throttle) function. +* [#1582](https://github.com/ckeditor/ckeditor-dev/issues/1582): The [`CKEDITOR.editor.addCommand()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-addCommand) method can now accept a [`CKEDITOR.command`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_command.html) instance as a parameter. +* [#1712](https://github.com/ckeditor/ckeditor-dev/issues/1712): The [`extraPlugins`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-extraPlugins), [`removePlugins`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-removePlugins) and [`plugins`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-plugins) configuration options allow whitespace. +* [#1802](https://github.com/ckeditor/ckeditor-dev/issues/1802): The [`extraPlugins`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-extraPlugins), [`removePlugins`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-removePlugins) and [`plugins`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-plugins) configuration options allow passing plugin names as an array. +* [#1724](https://github.com/ckeditor/ckeditor-dev/issues/1724): Added an option to the [`getClientRect()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_element.html#method-getClientRect) function allowing to retrieve an absolute bounding rectangle of the element, i.e. a position relative to the upper-left corner of the topmost viewport. +* [#1498](https://github.com/ckeditor/ckeditor-dev/issues/1498) : Added a new [`getClientRects()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_range.html#method-getClientRects) method to `CKEDITOR.dom.range`. It returns a list of rectangles for each selected element. +* [#1993](https://github.com/ckeditor/ckeditor-dev/issues/1993): Added the [`CKEDITOR.tools.throttle()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-throttle) function. Other Changes: @@ -79,9 +109,9 @@ New Features: * [Cloud Services](https://ckeditor.com/cke4/addon/cloudservices) * [Image Base](https://ckeditor.com/cke4/addon/imagebase) * [#1338](https://github.com/ckeditor/ckeditor-dev/issues/1338): Keystroke labels are displayed for function keys (like F7, F8). -* [#643](https://github.com/ckeditor/ckeditor-dev/issues/643): The [File Browser](https://ckeditor.com/cke4/addon/filebrowser) plugin can now upload files using XHR requests. This allows for setting custom HTTP headers using the [`config.fileTools_requestHeaders`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.config-cfg-fileTools_requestHeaders) configuration option. +* [#643](https://github.com/ckeditor/ckeditor-dev/issues/643): The [File Browser](https://ckeditor.com/cke4/addon/filebrowser) plugin can now upload files using XHR requests. This allows for setting custom HTTP headers using the [`config.fileTools_requestHeaders`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-fileTools_requestHeaders) configuration option. * [#1365](https://github.com/ckeditor/ckeditor-dev/issues/1365): The [File Browser](https://ckeditor.com/cke4/addon/filebrowser) plugin uses XHR requests by default. -* [#1399](https://github.com/ckeditor/ckeditor-dev/issues/1399): Added the possibility to set [`CKEDITOR.config.startupFocus`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.config-cfg-startupFocus) as `start` or `end` to specify where the editor focus should be after the initialization. +* [#1399](https://github.com/ckeditor/ckeditor-dev/issues/1399): Added the possibility to set [`CKEDITOR.config.startupFocus`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-startupFocus) as `start` or `end` to specify where the editor focus should be after the initialization. * [#1441](https://github.com/ckeditor/ckeditor-dev/issues/1441): The [Magic Line](https://ckeditor.com/cke4/addon/magicline) plugin line element can now be identified by the `data-cke-magic-line="1"` attribute. Fixed Issues: @@ -89,16 +119,16 @@ Fixed Issues: * [#595](https://github.com/ckeditor/ckeditor-dev/issues/595): Fixed: Pasting does not work on mobile devices. * [#869](https://github.com/ckeditor/ckeditor-dev/issues/869): Fixed: Empty selection clears cached clipboard data in the editor. * [#1419](https://github.com/ckeditor/ckeditor-dev/issues/1419): Fixed: The [Widget Selection](https://ckeditor.com/cke4/addon/widgetselection) plugin selects the editor content with the Alt+A key combination on Windows. -* [#1274](https://github.com/ckeditor/ckeditor-dev/issues/1274): Fixed: [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) does not match a single selected image using the [`contextDefinition.cssSelector`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.plugins.balloontoolbar.contextDefinition-property-cssSelector) matcher. +* [#1274](https://github.com/ckeditor/ckeditor-dev/issues/1274): Fixed: [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) does not match a single selected image using the [`contextDefinition.cssSelector`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_balloontoolbar_contextDefinition.html#property-cssSelector) matcher. * [#1232](https://github.com/ckeditor/ckeditor-dev/issues/1232): Fixed: [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) buttons should be registered as focusable elements. -* [#1342](https://github.com/ckeditor/ckeditor-dev/issues/1342): Fixed: [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) should be re-positioned after the [`change`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.editor-event-change) event. +* [#1342](https://github.com/ckeditor/ckeditor-dev/issues/1342): Fixed: [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) should be re-positioned after the [`change`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-change) event. * [#1426](https://github.com/ckeditor/ckeditor-dev/issues/1426): [IE8-9] Fixed: Missing [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) background in the [Kama](https://ckeditor.com/cke4/addon/kama) skin. Thanks to [Christian Elmer](https://github.com/keinkurt)! * [#1470](https://github.com/ckeditor/ckeditor-dev/issues/1470): Fixed: [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) is not visible after drag and drop of a widget it is attached to. * [#1048](https://github.com/ckeditor/ckeditor-dev/issues/1048): Fixed: [Balloon Panel](https://ckeditor.com/cke4/addon/balloonpanel) is not positioned properly when a margin is added to its non-static parent. * [#889](https://github.com/ckeditor/ckeditor-dev/issues/889): Fixed: Unclear error message for width and height fields in the [Image](https://ckeditor.com/cke4/addon/image) and [Enhanced Image](https://ckeditor.com/cke4/addon/image2) plugins. * [#859](https://github.com/ckeditor/ckeditor-dev/issues/859): Fixed: Cannot edit a link after a double-click on the text in the link. -* [#1013](https://github.com/ckeditor/ckeditor-dev/issues/1013): Fixed: [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) does not work correctly with the [`config.forcePasteAsPlainText`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.config-cfg-forcePasteAsPlainText) option. -* [#1356](https://github.com/ckeditor/ckeditor-dev/issues/1356): Fixed: [Border parse function](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.tools.style.parse-method-border) does not allow spaces in the color value. +* [#1013](https://github.com/ckeditor/ckeditor-dev/issues/1013): Fixed: [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) does not work correctly with the [`config.forcePasteAsPlainText`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-forcePasteAsPlainText) option. +* [#1356](https://github.com/ckeditor/ckeditor-dev/issues/1356): Fixed: [Border parse function](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_style_parse.html#method-border) does not allow spaces in the color value. * [#1010](https://github.com/ckeditor/ckeditor-dev/issues/1010): Fixed: The CSS `border` shorthand property was incorrectly expanded ignoring the `border-color` style. * [#1535](https://github.com/ckeditor/ckeditor-dev/issues/1535): Fixed: [Widget](https://ckeditor.com/cke4/addon/widget) mouseover border contrast is insufficient. * [#1516](https://github.com/ckeditor/ckeditor-dev/issues/1516): Fixed: Fake selection allows removing content in read-only mode using the Backspace and Delete keys. @@ -107,13 +137,13 @@ Fixed Issues: API Changes: -* [#1346](https://github.com/ckeditor/ckeditor-dev/issues/1346): [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) [context manager API](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.plugins.balloontoolbar.contextManager) is now available in the [`pluginDefinition.init()`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.pluginDefinition-method-init) method of the [requiring](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.pluginDefinition-property-requires) plugin. -* [#1530](https://github.com/ckeditor/ckeditor-dev/issues/1530): Added the possibility to use custom icons for [buttons](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR_ui_button.html). +* [#1346](https://github.com/ckeditor/ckeditor-dev/issues/1346): [Balloon Toolbar](https://ckeditor.com/cke4/addon/balloontoolbar) [context manager API](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.plugins.balloontoolbar.contextManager.html) is now available in the [`pluginDefinition.init()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_pluginDefinition.html#method-init) method of the [requiring](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_pluginDefinition.html#property-requires) plugin. +* [#1530](https://github.com/ckeditor/ckeditor-dev/issues/1530): Added the possibility to use custom icons for [buttons](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_ui_button.html.html). Other Changes: * Updated [SCAYT](https://ckeditor.com/cke4/addon/scayt) (Spell Check As You Type) and [WebSpellChecker](https://ckeditor.com/cke4/addon/wsc) (WSC) plugins: - * SCAYT [`scayt_minWordLength`](https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR_config.html#scayt_minWordLength) configuration option now defaults to 3 instead of 4. + * SCAYT [`scayt_minWordLength`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#scayt_minWordLength) configuration option now defaults to 3 instead of 4. * SCAYT default number of suggested words in the context menu changed to 3. * [#90](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/90): Fixed: Selection is lost on link creation if SCAYT highlights the word. * Fixed: SCAYT crashes when the browser `localStorage` is disabled. @@ -129,7 +159,7 @@ Other Changes: **Important Notes:** -* [#1249](https://github.com/ckeditor/ckeditor-dev/issues/1249): Enabled the [Upload Image](https://ckeditor.com/cke4/addon/uploadimage) plugin by default in standard and full presets. Also, it will no longer log an error in case of missing [`config.imageUploadUrl`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.config-cfg-imageUploadUrl) property. +* [#1249](https://github.com/ckeditor/ckeditor-dev/issues/1249): Enabled the [Upload Image](https://ckeditor.com/cke4/addon/uploadimage) plugin by default in standard and full presets. Also, it will no longer log an error in case of missing [`config.imageUploadUrl`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-imageUploadUrl) property. New Features: @@ -138,9 +168,9 @@ New Features: * [#468](https://github.com/ckeditor/ckeditor-dev/issues/468): [Edge] Introduced support for the Clipboard API. * [#607](https://github.com/ckeditor/ckeditor-dev/issues/607): Manually inserted Hex color is prefixed with a hash character (`#`) if needed. It ensures a valid Hex color value is used when setting the table cell border or background color with the [Color Dialog](https://ckeditor.com/cke4/addon/colordialog) window. * [#584](https://github.com/ckeditor/ckeditor-dev/issues/584): [Font size and Family](https://ckeditor.com/cke4/addon/font) and [Format](https://ckeditor.com/cke4/addon/format) drop-downs are not toggleable anymore. Default option to reset styles added. -* [#856](https://github.com/ckeditor/ckeditor-dev/issues/856): Introduced the [`CKEDITOR.tools.keystrokeToArray()`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.tools-method-keystrokeToArray) method. It converts a keystroke into its string representation, returning every key name as a separate array element. -* [#1053](https://github.com/ckeditor/ckeditor-dev/issues/1053): Introduced the [`CKEDITOR.tools.object.merge()`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.tools.object-method-merge) method. It allows to merge two objects, returning the new object with all properties from both objects deeply cloned. -* [#1073](https://github.com/ckeditor/ckeditor-dev/issues/1073): Introduced the [`CKEDITOR.tools.array.every()`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.tools.array-method-every) method. It invokes a given test function on every array element and returns `true` if all elements pass the test. +* [#856](https://github.com/ckeditor/ckeditor-dev/issues/856): Introduced the [`CKEDITOR.tools.keystrokeToArray()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools.html#method-keystrokeToArray) method. It converts a keystroke into its string representation, returning every key name as a separate array element. +* [#1053](https://github.com/ckeditor/ckeditor-dev/issues/1053): Introduced the [`CKEDITOR.tools.object.merge()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_object.html#method-merge) method. It allows to merge two objects, returning the new object with all properties from both objects deeply cloned. +* [#1073](https://github.com/ckeditor/ckeditor-dev/issues/1073): Introduced the [`CKEDITOR.tools.array.every()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_tools_array.html#method-every) method. It invokes a given test function on every array element and returns `true` if all elements pass the test. Fixed Issues: @@ -152,18 +182,18 @@ Fixed Issues: * [#842](https://github.com/ckeditor/ckeditor-dev/issues/842): Fixed: List style not restored when toggling list indent level in the [Indent List](https://ckeditor.com/cke4/addon/indentlist) plugin. * [#711](https://github.com/ckeditor/ckeditor-dev/issues/711): Fixed: Dragging widgets should only work with the left mouse button. * [#862](https://github.com/ckeditor/ckeditor-dev/issues/862): Fixed: The "Object Styles" group in the [Styles Combo](https://ckeditor.com/cke4/addon/stylescombo) plugin is visible only if the whole element is selected. -* [#994](https://github.com/ckeditor/ckeditor-dev/pull/994): Fixed: Typo in the [`CKEDITOR.focusManager.focus()`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.focusManager-method-focus) API documentation. Thanks to [benjy](https://github.com/benjy)! -* [#1014](https://github.com/ckeditor/ckeditor-dev/issues/1014): Fixed: The [Table Tools](https://ckeditor.com/cke4/addon/tabletools) Cell Properties dialog is now [Advanced Content Filter](https://docs.ckeditor.com/ckeditor4/docs/#!/guide/dev_acf) aware — it is not possible to change the cell width or height if corresponding styles are disabled. +* [#994](https://github.com/ckeditor/ckeditor-dev/pull/994): Fixed: Typo in the [`CKEDITOR.focusManager.focus()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_focusManager.html#method-focus) API documentation. Thanks to [benjy](https://github.com/benjy)! +* [#1014](https://github.com/ckeditor/ckeditor-dev/issues/1014): Fixed: The [Table Tools](https://ckeditor.com/cke4/addon/tabletools) Cell Properties dialog is now [Advanced Content Filter](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_acf.html) aware — it is not possible to change the cell width or height if corresponding styles are disabled. * [#877](https://github.com/ckeditor/ckeditor-dev/issues/877): Fixed: A list with custom bullets with exotic characters crashes the editor when [pasted from Word](https://ckeditor.com/cke4/addon/pastefromword). * [#605](https://github.com/ckeditor/ckeditor-dev/issues/605): Fixed: Inline widgets do not preserve trailing spaces. -* [#1008](https://github.com/ckeditor/ckeditor-dev/issues/1008): Fixed: Shorthand Hex colors from the [`config.colorButton_colors`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.config-cfg-colorButton_colors) option are not correctly highlighted in the [Color Button](https://ckeditor.com/cke4/addon/colorbutton) Text Color or Background Color panel. -* [#1094](https://github.com/ckeditor/ckeditor-dev/issues/1094): Fixed: Widget definition [`upcast`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.plugins.widget.definition-property-upcasts) methods are called for every element. +* [#1008](https://github.com/ckeditor/ckeditor-dev/issues/1008): Fixed: Shorthand Hex colors from the [`config.colorButton_colors`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-colorButton_colors) option are not correctly highlighted in the [Color Button](https://ckeditor.com/cke4/addon/colorbutton) Text Color or Background Color panel. +* [#1094](https://github.com/ckeditor/ckeditor-dev/issues/1094): Fixed: Widget definition [`upcast`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget_definition.html#property-upcasts) methods are called for every element. * [#1057](https://github.com/ckeditor/ckeditor-dev/issues/1057): Fixed: The [Notification](https://ckeditor.com/addon/notification) plugin overwrites Web Notifications API due to leakage to the global scope. -* [#1068](https://github.com/ckeditor/ckeditor-dev/issues/1068): Fixed: Upload widget paste listener ignores changes to the [`uploadWidgetDefinition`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.fileTools.uploadWidgetDefinition). +* [#1068](https://github.com/ckeditor/ckeditor-dev/issues/1068): Fixed: Upload widget paste listener ignores changes to the [`uploadWidgetDefinition`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.fileTools.uploadWidgetDefinition.html). * [#921](https://github.com/ckeditor/ckeditor-dev/issues/921): Fixed: [Edge] CKEditor erroneously perceives internal copy and paste as type "external". * [#1213](https://github.com/ckeditor/ckeditor-dev/issues/1213): Fixed: Multiple images uploaded using [Upload Image](https://ckeditor.com/cke4/addon/uploadimage) plugin are randomly duplicated or mangled. * [#532](https://github.com/ckeditor/ckeditor-dev/issues/532): Fixed: Removed an outdated user guide link from the [About](https://ckeditor.com/cke4/addon/about) dialog. -* [#1221](https://github.com/ckeditor/ckeditor-dev/issues/1221): Fixed: Invalid CSS loaded by [Balloon Panel](https://ckeditor.com/cke4/addon/balloonpanel) plugin when [`config.skin`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.config-cfg-skin) is loaded using a custom path. +* [#1221](https://github.com/ckeditor/ckeditor-dev/issues/1221): Fixed: Invalid CSS loaded by [Balloon Panel](https://ckeditor.com/cke4/addon/balloonpanel) plugin when [`config.skin`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-skin) is loaded using a custom path. * [#522](https://github.com/ckeditor/ckeditor-dev/issues/522): Fixed: Widget selection is not removed when widget is inside table cell with [Table Selection](https://ckeditor.com/cke4/addon/tableselection) plugin enabled. * [#1027](https://github.com/ckeditor/ckeditor-dev/issues/1027): Fixed: Cannot add multiple images to the table with [Table Selection](https://ckeditor.com/cke4/addon/tableselection) plugin in certain situations. * [#1069](https://github.com/ckeditor/ckeditor-dev/issues/1069): Fixed: Wrong shape processing by [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin. @@ -172,9 +202,9 @@ Fixed Issues: API Changes: -* [#1097](https://github.com/ckeditor/ckeditor-dev/issues/1097): Widget [`upcast`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.plugins.widget.definition-property-upcast) methods are now called in the [widget definition's](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.plugins.widget-property-definition) context. -* [#1118](https://github.com/ckeditor/ckeditor-dev/issues/1118): Added the `show` option in the [`balloonPanel.attach()`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.ui.balloonPanel-method-attach) method, allowing to attach a hidden [Balloon Panel](https://ckeditor.com/cke4/addon/balloonpanel) instance. -* [#1145](https://github.com/ckeditor/ckeditor-dev/issues/1145): Added the [`skipNotifications`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.fileTools.uploadWidgetDefinition-property-skipNotifications) option to the [`CKEDITOR.fileTools.uploadWidgetDefinition`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.fileTools.uploadWidgetDefinition), allowing to switch off default notifications displayed by upload widgets. +* [#1097](https://github.com/ckeditor/ckeditor-dev/issues/1097): Widget [`upcast`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget_definition.html#property-upcast) methods are now called in the [widget definition's](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_plugins_widget.html#property-definition) context. +* [#1118](https://github.com/ckeditor/ckeditor-dev/issues/1118): Added the `show` option in the [`balloonPanel.attach()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_ui_balloonPanel.html#method-attach) method, allowing to attach a hidden [Balloon Panel](https://ckeditor.com/cke4/addon/balloonpanel) instance. +* [#1145](https://github.com/ckeditor/ckeditor-dev/issues/1145): Added the [`skipNotifications`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_fileTools_uploadWidgetDefinition.html#property-skipNotifications) option to the [`CKEDITOR.fileTools.uploadWidgetDefinition`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.fileTools.uploadWidgetDefinition.html), allowing to switch off default notifications displayed by upload widgets. Other Changes: @@ -185,15 +215,15 @@ Other Changes: New Features: -* [#568](https://github.com/ckeditor/ckeditor-dev/issues/568): Added possibility to adjust nested editables' filters using the [`CKEDITOR.filter.disallowedContent`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.filter-property-disallowedContent) property. +* [#568](https://github.com/ckeditor/ckeditor-dev/issues/568): Added possibility to adjust nested editables' filters using the [`CKEDITOR.filter.disallowedContent`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_filter.html#property-disallowedContent) property. Fixed Issues: -* [#554](https://github.com/ckeditor/ckeditor-dev/issues/554): Fixed: [`change`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.editor-event-change) event not fired when typing the first character after pasting into the editor. Thanks to [Daniel Miller](https://github.com/millerdev)! +* [#554](https://github.com/ckeditor/ckeditor-dev/issues/554): Fixed: [`change`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#event-change) event not fired when typing the first character after pasting into the editor. Thanks to [Daniel Miller](https://github.com/millerdev)! * [#566](https://github.com/ckeditor/ckeditor-dev/issues/566): Fixed: The CSS `border` shorthand property with zero width (`border: 0px solid #000;`) causes the table to have the border attribute set to 1. * [#779](https://github.com/ckeditor/ckeditor-dev/issues/779): Fixed: The [Remove Format](https://ckeditor.com/cke4/addon/removeformat) plugin removes elements with language definition inserted by the [Language](https://ckeditor.com/cke4/addon/language) plugin. -* [#423](https://github.com/ckeditor/ckeditor-dev/issues/423): Fixed: The [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin pastes paragraphs into the editor even if [`CKEDITOR.config.enterMode`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.config-cfg-enterMode) is set to `CKEDITOR.ENTER_BR`. -* [#719](https://github.com/ckeditor/ckeditor-dev/issues/719): Fixed: Image inserted using the [Enhanced Image](https://ckeditor.com/cke4/addon/image2) plugin can be resized when the editor is in [read-only mode](https://docs.ckeditor.com/ckeditor4/docs/#!/guide/dev_readonly). +* [#423](https://github.com/ckeditor/ckeditor-dev/issues/423): Fixed: The [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin pastes paragraphs into the editor even if [`CKEDITOR.config.enterMode`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-enterMode) is set to `CKEDITOR.ENTER_BR`. +* [#719](https://github.com/ckeditor/ckeditor-dev/issues/719): Fixed: Image inserted using the [Enhanced Image](https://ckeditor.com/cke4/addon/image2) plugin can be resized when the editor is in [read-only mode](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_readonly.html). * [#577](https://github.com/ckeditor/ckeditor-dev/issues/577): Fixed: The "Delete Columns" command provided by the [Table Tools](https://ckeditor.com/cke4/addon/tabletools) plugin throws an error when trying to delete columns. * [#867](https://github.com/ckeditor/ckeditor-dev/issues/867): Fixed: Typing into a selected table throws an error. * [#817](https://github.com/ckeditor/ckeditor-dev/issues/817): Fixed: The [Save](https://ckeditor.com/cke4/addon/save) plugin does not work in [Source Mode](https://ckeditor.com/cke4/addon/sourcearea). @@ -202,14 +232,14 @@ Other Changes: * Updated the [WebSpellChecker](https://ckeditor.com/cke4/addon/wsc) plugin: * [#40](https://github.com/WebSpellChecker/ckeditor-plugin-wsc/issues/40): Fixed: IE10 throws an error when spell checking is started. -* [#800](https://github.com/ckeditor/ckeditor-dev/issues/800): Added the [`CKEDITOR.dom.selection.isCollapsed()`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.selection-method-isCollapsed) method which is a simpler way to check if the selection is collapsed. -* [#830](https://github.com/ckeditor/ckeditor-dev/issues/830): Added an option to define which dialog tab should be shown by default when creating [`CKEDITOR.dialogCommand`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dialogCommand). +* [#800](https://github.com/ckeditor/ckeditor-dev/issues/800): Added the [`CKEDITOR.dom.selection.isCollapsed()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_selection.html#method-isCollapsed) method which is a simpler way to check if the selection is collapsed. +* [#830](https://github.com/ckeditor/ckeditor-dev/issues/830): Added an option to define which dialog tab should be shown by default when creating [`CKEDITOR.dialogCommand`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.dialogCommand.html). ## CKEditor 4.7.2 New Features: -* [#455](https://github.com/ckeditor/ckeditor-dev/issues/455): Added [Advanced Content Filter](https://docs.ckeditor.com/ckeditor4/docs/#!/guide/dev_acf) integration with the [Justify](https://ckeditor.com/cke4/addon/justify) plugin. +* [#455](https://github.com/ckeditor/ckeditor-dev/issues/455): Added [Advanced Content Filter](https://ckeditor.com/docs/ckeditor4/latest/guide/dev_acf.html) integration with the [Justify](https://ckeditor.com/cke4/addon/justify) plugin. Fixed Issues: @@ -223,17 +253,17 @@ Fixed Issues: * [#491](https://github.com/ckeditor/ckeditor-dev/issues/491): Fixed: Unnecessary dependency on the [Editor Toolbar](https://ckeditor.com/cke4/addon/toolbar) plugin inside the [Notification](https://ckeditor.com/cke4/addon/notification) plugin. * [#646](https://github.com/ckeditor/ckeditor-dev/issues/646): Fixed: Error thrown into the browser console after opening the [Styles Combo](https://ckeditor.com/cke4/addon/stylescombo) plugin menu in the editor without any selection. * [#501](https://github.com/ckeditor/ckeditor-dev/issues/501): Fixed: Double click does not open the dialog for modifying anchors inserted via the [Link](https://ckeditor.com/cke4/addon/link) plugin. -* [#9780](https://dev.ckeditor.com/ticket/9780): [IE8-9] Fixed: Clicking inside an empty [read-only](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.editor-property-readOnly) editor throws an error. +* [#9780](https://dev.ckeditor.com/ticket/9780): [IE8-9] Fixed: Clicking inside an empty [read-only](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#property-readOnly) editor throws an error. * [#16820](https://dev.ckeditor.com/ticket/16820): [IE10] Fixed: Clicking below a single horizontal rule throws an error. -* [#426](https://github.com/ckeditor/ckeditor-dev/issues/426): Fixed: The [`range.cloneContents()`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.range-method-cloneContents) method selects the whole element when the selection starts at the beginning of that element. -* [#644](https://github.com/ckeditor/ckeditor-dev/issues/644): Fixed: The [`range.extractContents()`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.range-method-extractContents) method returns an incorrect result when multiple nodes are selected. -* [#684](https://github.com/ckeditor/ckeditor-dev/issues/684): Fixed: The [`elementPath.contains()`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.elementPath-method-contains) method incorrectly excludes the last element instead of root when the `fromTop` parameter is set to `true`. +* [#426](https://github.com/ckeditor/ckeditor-dev/issues/426): Fixed: The [`range.cloneContents()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_range.html#method-cloneContents) method selects the whole element when the selection starts at the beginning of that element. +* [#644](https://github.com/ckeditor/ckeditor-dev/issues/644): Fixed: The [`range.extractContents()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_range.html#method-extractContents) method returns an incorrect result when multiple nodes are selected. +* [#684](https://github.com/ckeditor/ckeditor-dev/issues/684): Fixed: The [`elementPath.contains()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_elementPath.html#method-contains) method incorrectly excludes the last element instead of root when the `fromTop` parameter is set to `true`. Other Changes: * Updated the [SCAYT](https://ckeditor.com/cke4/addon/scayt) (Spell Check As You Type) plugin: * [#148](https://github.com/WebSpellChecker/ckeditor-plugin-scayt/issues/148): Fixed: SCAYT leaves underlined word after the CKEditor Replace dialog corrects it. -* [#751](https://github.com/ckeditor/ckeditor-dev/issues/751): Added the [`CKEDITOR.dom.nodeList.toArray()`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.nodeList-method-toArray) method which returns an array representation of a [node list](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.nodeList). +* [#751](https://github.com/ckeditor/ckeditor-dev/issues/751): Added the [`CKEDITOR.dom.nodeList.toArray()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_nodeList.html#method-toArray) method which returns an array representation of a [node list](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.dom.nodeList.html). ## CKEditor 4.7.1 @@ -252,28 +282,28 @@ Fixed Issues: * [#424](https://github.com/ckeditor/ckeditor-dev/issues/424): Fixed: Error thrown by [Tab Key Handling](https://ckeditor.com/cke4/addon/tab) and [Indent List](https://ckeditor.com/cke4/addon/indentlist) plugins when pressing Tab with no selection in inline editor. * [#476](https://github.com/ckeditor/ckeditor-dev/issues/476): Fixed: Anchors inserted with the [Link](https://ckeditor.com/cke4/addon/link) plugin on collapsed selection cannot be edited. * [#417](https://github.com/ckeditor/ckeditor-dev/issues/417): Fixed: The [Table Resize](https://ckeditor.com/cke4/addon/tableresize) plugin throws an error when used with a table with only header or footer rows. -* [#523](https://github.com/ckeditor/ckeditor-dev/issues/523): Fixed: The [`editor.getCommandKeystroke()`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.editor-method-getCommandKeystroke) method does not obtain the correct keystroke. +* [#523](https://github.com/ckeditor/ckeditor-dev/issues/523): Fixed: The [`editor.getCommandKeystroke()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getCommandKeystroke) method does not obtain the correct keystroke. * [#534](https://github.com/ckeditor/ckeditor-dev/issues/534): [IE] Fixed: [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) does not work in Quirks Mode. -* [#450](https://github.com/ckeditor/ckeditor-dev/issues/450): Fixed: [`CKEDITOR.filter`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.filter) incorrectly transforms the `margin` CSS property. +* [#450](https://github.com/ckeditor/ckeditor-dev/issues/450): Fixed: [`CKEDITOR.filter`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.filter.html) incorrectly transforms the `margin` CSS property. ## CKEditor 4.7 **Important Notes:** -* [#13793](https://dev.ckeditor.com/ticket/13793): The [`embed_provider`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.config-cfg-embed_provider) configuration option for the [Media Embed](https://ckeditor.com/cke4/addon/embed) and [Semantic Media Embed](https://ckeditor.com/cke4/addon/embedsemantic) plugins is no longer preset by default. +* [#13793](https://dev.ckeditor.com/ticket/13793): The [`embed_provider`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-embed_provider) configuration option for the [Media Embed](https://ckeditor.com/cke4/addon/embed) and [Semantic Media Embed](https://ckeditor.com/cke4/addon/embedsemantic) plugins is no longer preset by default. * The [UI Color](https://ckeditor.com/cke4/addon/uicolor) plugin now uses a custom color picker instead of the `YUI 2.7.0` library which has some known vulnerabilities (it's a security precaution, there was no security issue in CKEditor due to the way it was used). New Features: * [#16755](https://dev.ckeditor.com/ticket/16755): Added the [Table Selection](https://ckeditor.com/cke4/addon/tableselection) plugin that lets you select and manipulate an arbitrary rectangular table fragment (a few cells, a row or a column). * [#16961](https://dev.ckeditor.com/ticket/16961): Added support for pasting from Microsoft Excel. -* [#13381](https://dev.ckeditor.com/ticket/13381): Dynamic code evaluation call in [`CKEDITOR.template`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.template) removed. CKEditor can now be used without the `unsafe-eval` Content Security Policy. Thanks to [Caridy Patiño](http://caridy.name)! +* [#13381](https://dev.ckeditor.com/ticket/13381): Dynamic code evaluation call in [`CKEDITOR.template`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.template.html) removed. CKEditor can now be used without the `unsafe-eval` Content Security Policy. Thanks to [Caridy Patiño](http://caridy.name)! * [#16971](https://dev.ckeditor.com/ticket/16971): Added support for color in the `background` property containing also other styles for table cells in the [Table Tools](https://ckeditor.com/cke4/addon/tabletools) plugin. * [#16847](https://dev.ckeditor.com/ticket/16847): Added support for parsing and inlining any formatting created using the Microsoft Word style system to the [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin. * [#16818](https://dev.ckeditor.com/ticket/16818): Added table cell height parsing in the [Paste from Word](https://ckeditor.com/cke4/addon/pastefromword) plugin. -* [#16850](https://dev.ckeditor.com/ticket/16850): Added a new [`config.enableContextMenu`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.config-cfg-enableContextMenu) configuration option for enabling and disabling the [context menu](https://ckeditor.com/cke4/addon/contextmenu). -* [#16937](https://dev.ckeditor.com/ticket/16937): The `command` parameter in [`CKEDITOR.editor.getCommandKeystroke()`](http://docs.ckeditor.dev/#!/api/CKEDITOR.editor-method-getCommandKeystroke) now also accepts a command name as an argument. -* [#17010](https://dev.ckeditor.com/ticket/17010): The [`CKEDITOR.dom.range.shrink()`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR.dom.range-method-shrink) method now allows for skipping bogus `
` elements. +* [#16850](https://dev.ckeditor.com/ticket/16850): Added a new [`config.enableContextMenu`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-enableContextMenu) configuration option for enabling and disabling the [context menu](https://ckeditor.com/cke4/addon/contextmenu). +* [#16937](https://dev.ckeditor.com/ticket/16937): The `command` parameter in [`CKEDITOR.editor.getCommandKeystroke()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_editor.html#method-getCommandKeystroke) now also accepts a command name as an argument. +* [#17010](https://dev.ckeditor.com/ticket/17010): The [`CKEDITOR.dom.range.shrink()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dom_range.html#method-shrink) method now allows for skipping bogus `
` elements. Fixed Issues: @@ -307,9 +337,9 @@ Fixed Issues: * [#14407](https://dev.ckeditor.com/ticket/14407): [IE] Fixed: Non-editable widgets can be edited. * [#16927](https://dev.ckeditor.com/ticket/16927): Fixed: An error thrown if a bundle containing the [Color Button](https://ckeditor.com/cke4/addon/colorbutton) plugin is run in ES5 strict mode. Thanks to [Igor Rubinovich](https://github.com/IgorRubinovich)! * [#16920](https://dev.ckeditor.com/ticket/16920): Fixed: Several plugins not using the [Dialog](https://ckeditor.com/cke4/addon/dialog) plugin as a direct dependency. -* [PR#336](https://github.com/ckeditor/ckeditor-dev/pull/336): Fixed: Typo in [`CKEDITOR.getCss()`](https://docs.ckeditor.com/ckeditor4/docs/#!/api/CKEDITOR-method-getCss) API documentation. Thanks to [knusperpixel](https://github.com/knusperpixel)! +* [PR#336](https://github.com/ckeditor/ckeditor-dev/pull/336): Fixed: Typo in [`CKEDITOR.getCss()`](https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR.html#method-getCss) API documentation. Thanks to [knusperpixel](https://github.com/knusperpixel)! * [#17027](https://dev.ckeditor.com/ticket/17027): Fixed: Command event data should be initialized as an empty object. -* Fixed the behavior of HTML parser when parsing `src`/`srcdoc` attributes of the `