From 52e4a3e645eaece47c3f9dddac7c1771a5bd7804 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Thu, 30 May 2024 20:23:31 +0300 Subject: [PATCH] release version 2.0.50 --- framework/BaseYii.php | 3 +- framework/CHANGELOG.md | 32 +++++++++---------- framework/base/Action.php | 1 - framework/base/ActionEvent.php | 1 - framework/base/ActionFilter.php | 1 - framework/base/Application.php | 1 - framework/base/ArrayAccessTrait.php | 1 - framework/base/Arrayable.php | 1 - framework/base/ArrayableTrait.php | 1 - framework/base/BaseObject.php | 1 - framework/base/Behavior.php | 1 - framework/base/BootstrapInterface.php | 1 - framework/base/Component.php | 1 - framework/base/Configurable.php | 1 - framework/base/Controller.php | 1 - .../base/DynamicContentAwareInterface.php | 1 - framework/base/DynamicContentAwareTrait.php | 1 - framework/base/DynamicModel.php | 1 - framework/base/ErrorException.php | 1 - framework/base/ErrorHandler.php | 1 - framework/base/Event.php | 1 - framework/base/Exception.php | 1 - framework/base/ExitException.php | 1 - framework/base/InlineAction.php | 1 - framework/base/InvalidArgumentException.php | 1 - framework/base/InvalidCallException.php | 1 - framework/base/InvalidConfigException.php | 1 - framework/base/InvalidParamException.php | 1 - framework/base/InvalidRouteException.php | 1 - framework/base/InvalidValueException.php | 1 - framework/base/Model.php | 1 - framework/base/ModelEvent.php | 1 - framework/base/Module.php | 1 - framework/base/NotSupportedException.php | 1 - framework/base/Request.php | 1 - framework/base/Response.php | 1 - framework/base/Security.php | 1 - framework/base/StaticInstanceInterface.php | 1 - framework/base/StaticInstanceTrait.php | 1 - framework/base/Theme.php | 1 - framework/base/UnknownClassException.php | 1 - framework/base/UnknownMethodException.php | 1 - framework/base/UnknownPropertyException.php | 1 - framework/base/UserException.php | 1 - framework/base/View.php | 2 +- framework/base/ViewContextInterface.php | 1 - framework/base/ViewEvent.php | 1 - framework/base/ViewNotFoundException.php | 1 - framework/base/ViewRenderer.php | 1 - framework/base/Widget.php | 1 - framework/base/WidgetEvent.php | 1 - framework/behaviors/AttributeBehavior.php | 1 - .../behaviors/AttributeTypecastBehavior.php | 1 - framework/behaviors/AttributesBehavior.php | 1 - framework/behaviors/BlameableBehavior.php | 1 - .../behaviors/CacheableWidgetBehavior.php | 1 - .../behaviors/OptimisticLockBehavior.php | 1 - framework/behaviors/SluggableBehavior.php | 1 - framework/behaviors/TimestampBehavior.php | 1 - framework/caching/ApcCache.php | 1 - framework/caching/ArrayCache.php | 1 - framework/caching/Cache.php | 1 - framework/caching/CacheInterface.php | 1 - framework/caching/CallbackDependency.php | 1 - framework/caching/ChainedDependency.php | 1 - framework/caching/DbCache.php | 1 - framework/caching/DbDependency.php | 1 - framework/caching/DbQueryDependency.php | 1 - framework/caching/Dependency.php | 1 - framework/caching/DummyCache.php | 1 - framework/caching/ExpressionDependency.php | 1 - framework/caching/FileCache.php | 1 - framework/caching/FileDependency.php | 1 - framework/caching/MemCache.php | 1 - framework/caching/MemCacheServer.php | 1 - framework/caching/TagDependency.php | 1 - framework/caching/WinCache.php | 1 - framework/caching/XCache.php | 1 - framework/caching/ZendDataCache.php | 1 - framework/captcha/Captcha.php | 1 - framework/captcha/CaptchaAction.php | 1 - framework/captcha/CaptchaAsset.php | 1 - framework/captcha/CaptchaValidator.php | 1 - framework/classes.php | 4 +-- framework/console/Application.php | 1 - framework/console/Controller.php | 1 - framework/console/ErrorHandler.php | 1 - framework/console/Exception.php | 1 - framework/console/ExitCode.php | 1 - framework/console/Markdown.php | 1 - framework/console/Request.php | 1 - framework/console/Response.php | 1 - framework/console/UnknownCommandException.php | 1 - .../console/controllers/AssetController.php | 1 - .../controllers/BaseMigrateController.php | 1 - .../console/controllers/CacheController.php | 1 - .../console/controllers/FixtureController.php | 1 - .../console/controllers/HelpController.php | 1 - .../console/controllers/MessageController.php | 1 - .../console/controllers/MigrateController.php | 1 - .../console/controllers/ServeController.php | 1 - framework/console/widgets/Table.php | 1 - framework/data/ActiveDataFilter.php | 1 - framework/data/ActiveDataProvider.php | 1 - framework/data/ArrayDataProvider.php | 1 - framework/data/BaseDataProvider.php | 1 - framework/data/DataFilter.php | 1 - framework/data/DataProviderInterface.php | 1 - framework/data/Pagination.php | 1 - framework/data/Sort.php | 1 - framework/data/SqlDataProvider.php | 1 - framework/db/ActiveQuery.php | 1 - framework/db/ActiveQueryInterface.php | 1 - framework/db/ActiveQueryTrait.php | 1 - framework/db/ActiveRecord.php | 1 - framework/db/ActiveRecordInterface.php | 1 - framework/db/ActiveRelationTrait.php | 1 - framework/db/AfterSaveEvent.php | 1 - framework/db/ArrayExpression.php | 1 - framework/db/BaseActiveRecord.php | 1 - framework/db/BatchQueryResult.php | 1 - framework/db/CheckConstraint.php | 1 - framework/db/ColumnSchema.php | 1 - framework/db/ColumnSchemaBuilder.php | 1 - framework/db/Command.php | 1 - framework/db/Connection.php | 1 - framework/db/Constraint.php | 1 - framework/db/ConstraintFinderInterface.php | 1 - framework/db/ConstraintFinderTrait.php | 1 - framework/db/DataReader.php | 1 - framework/db/DefaultValueConstraint.php | 1 - framework/db/Exception.php | 1 - framework/db/Expression.php | 1 - framework/db/ExpressionBuilder.php | 1 - framework/db/ExpressionBuilderInterface.php | 1 - framework/db/ExpressionBuilderTrait.php | 1 - framework/db/ExpressionInterface.php | 1 - framework/db/ForeignKeyConstraint.php | 1 - framework/db/IndexConstraint.php | 1 - framework/db/IntegrityException.php | 1 - framework/db/JsonExpression.php | 1 - framework/db/Migration.php | 1 - framework/db/MigrationInterface.php | 1 - framework/db/PdoValue.php | 1 - framework/db/PdoValueBuilder.php | 1 - framework/db/Query.php | 1 - framework/db/QueryBuilder.php | 1 - framework/db/QueryExpressionBuilder.php | 1 - framework/db/QueryInterface.php | 1 - framework/db/QueryTrait.php | 1 - framework/db/Schema.php | 1 - framework/db/SchemaBuilderTrait.php | 1 - framework/db/SqlToken.php | 1 - framework/db/SqlTokenizer.php | 1 - framework/db/StaleObjectException.php | 1 - framework/db/TableSchema.php | 1 - framework/db/Transaction.php | 1 - framework/db/ViewFinderTrait.php | 1 - framework/db/conditions/AndCondition.php | 1 - .../db/conditions/BetweenColumnsCondition.php | 1 - .../BetweenColumnsConditionBuilder.php | 1 - framework/db/conditions/BetweenCondition.php | 1 - .../db/conditions/BetweenConditionBuilder.php | 1 - .../db/conditions/ConditionInterface.php | 1 - .../db/conditions/ConjunctionCondition.php | 1 - .../ConjunctionConditionBuilder.php | 1 - framework/db/conditions/ExistsCondition.php | 1 - .../db/conditions/ExistsConditionBuilder.php | 1 - framework/db/conditions/HashCondition.php | 1 - .../db/conditions/HashConditionBuilder.php | 1 - framework/db/conditions/InCondition.php | 1 - .../db/conditions/InConditionBuilder.php | 1 - framework/db/conditions/LikeCondition.php | 1 - .../db/conditions/LikeConditionBuilder.php | 1 - framework/db/conditions/NotCondition.php | 1 - .../db/conditions/NotConditionBuilder.php | 1 - framework/db/conditions/OrCondition.php | 1 - framework/db/conditions/SimpleCondition.php | 1 - .../db/conditions/SimpleConditionBuilder.php | 1 - framework/db/cubrid/ColumnSchemaBuilder.php | 1 - framework/db/cubrid/QueryBuilder.php | 1 - framework/db/cubrid/Schema.php | 1 - .../conditions/LikeConditionBuilder.php | 1 - framework/db/mssql/ColumnSchema.php | 1 - framework/db/mssql/ColumnSchemaBuilder.php | 1 - framework/db/mssql/DBLibPDO.php | 1 - framework/db/mssql/PDO.php | 1 - framework/db/mssql/QueryBuilder.php | 1 - framework/db/mssql/Schema.php | 1 - framework/db/mssql/SqlsrvPDO.php | 1 - framework/db/mssql/TableSchema.php | 1 - .../mssql/conditions/InConditionBuilder.php | 1 - .../mssql/conditions/LikeConditionBuilder.php | 1 - framework/db/mysql/ColumnSchema.php | 1 - framework/db/mysql/ColumnSchemaBuilder.php | 1 - framework/db/mysql/JsonExpressionBuilder.php | 1 - framework/db/mysql/QueryBuilder.php | 1 - framework/db/mysql/Schema.php | 1 - framework/db/oci/ColumnSchemaBuilder.php | 1 - framework/db/oci/Command.php | 1 - framework/db/oci/QueryBuilder.php | 1 - framework/db/oci/Schema.php | 1 - .../db/oci/conditions/InConditionBuilder.php | 1 - .../oci/conditions/LikeConditionBuilder.php | 1 - framework/db/pgsql/ArrayExpressionBuilder.php | 1 - framework/db/pgsql/ArrayParser.php | 1 - framework/db/pgsql/ColumnSchema.php | 1 - framework/db/pgsql/JsonExpressionBuilder.php | 1 - framework/db/pgsql/QueryBuilder.php | 1 - framework/db/pgsql/Schema.php | 1 - framework/db/sqlite/ColumnSchemaBuilder.php | 1 - framework/db/sqlite/Command.php | 1 - framework/db/sqlite/QueryBuilder.php | 1 - framework/db/sqlite/Schema.php | 1 - framework/db/sqlite/SqlTokenizer.php | 1 - .../sqlite/conditions/InConditionBuilder.php | 1 - .../conditions/LikeConditionBuilder.php | 1 - framework/di/Container.php | 1 - framework/di/Instance.php | 1 - framework/di/NotInstantiableException.php | 1 - framework/di/ServiceLocator.php | 1 - framework/filters/AccessControl.php | 1 - framework/filters/AccessRule.php | 1 - framework/filters/AjaxFilter.php | 1 - framework/filters/ContentNegotiator.php | 1 - framework/filters/Cors.php | 1 - framework/filters/HostControl.php | 1 - framework/filters/HttpCache.php | 1 - framework/filters/PageCache.php | 1 - framework/filters/RateLimitInterface.php | 1 - framework/filters/RateLimiter.php | 1 - framework/filters/VerbFilter.php | 1 - framework/filters/auth/AuthInterface.php | 1 - framework/filters/auth/AuthMethod.php | 1 - framework/filters/auth/CompositeAuth.php | 1 - framework/filters/auth/HttpBasicAuth.php | 1 - framework/filters/auth/HttpBearerAuth.php | 1 - framework/filters/auth/HttpHeaderAuth.php | 1 - framework/filters/auth/QueryParamAuth.php | 1 - framework/grid/ActionColumn.php | 1 - framework/grid/CheckboxColumn.php | 1 - framework/grid/Column.php | 1 - framework/grid/DataColumn.php | 1 - framework/grid/GridView.php | 1 - framework/grid/GridViewAsset.php | 1 - framework/grid/RadioButtonColumn.php | 1 - framework/grid/SerialColumn.php | 1 - framework/helpers/ArrayHelper.php | 1 - framework/helpers/BaseArrayHelper.php | 1 - framework/helpers/BaseConsole.php | 1 - framework/helpers/BaseFileHelper.php | 1 - framework/helpers/BaseFormatConverter.php | 1 - framework/helpers/BaseHtml.php | 1 - framework/helpers/BaseHtmlPurifier.php | 1 - framework/helpers/BaseInflector.php | 1 - framework/helpers/BaseIpHelper.php | 1 - framework/helpers/BaseJson.php | 1 - framework/helpers/BaseMarkdown.php | 1 - framework/helpers/BaseStringHelper.php | 11 +++---- framework/helpers/BaseUrl.php | 1 - framework/helpers/BaseVarDumper.php | 1 - framework/helpers/Console.php | 1 - framework/helpers/FileHelper.php | 1 - framework/helpers/FormatConverter.php | 1 - framework/helpers/Html.php | 1 - framework/helpers/HtmlPurifier.php | 1 - framework/helpers/Inflector.php | 1 - framework/helpers/IpHelper.php | 1 - framework/helpers/Json.php | 1 - framework/helpers/Markdown.php | 1 - framework/helpers/ReplaceArrayValue.php | 1 - framework/helpers/StringHelper.php | 1 - framework/helpers/UnsetArrayValue.php | 1 - framework/helpers/Url.php | 1 - framework/helpers/VarDumper.php | 1 - framework/helpers/mimeAliases.php | 2 -- framework/helpers/mimeExtensions.php | 9 ++++-- framework/helpers/mimeTypes.php | 7 ++-- framework/i18n/DbMessageSource.php | 1 - framework/i18n/Formatter.php | 1 - framework/i18n/GettextFile.php | 1 - framework/i18n/GettextMessageSource.php | 1 - framework/i18n/GettextMoFile.php | 1 - framework/i18n/GettextPoFile.php | 1 - framework/i18n/I18N.php | 1 - framework/i18n/Locale.php | 1 - framework/i18n/MessageFormatter.php | 1 - framework/i18n/MessageSource.php | 1 - framework/i18n/MissingTranslationEvent.php | 1 - framework/i18n/PhpMessageSource.php | 1 - framework/log/DbTarget.php | 1 - framework/log/Dispatcher.php | 1 - framework/log/EmailTarget.php | 1 - framework/log/FileTarget.php | 1 - framework/log/LogRuntimeException.php | 1 - framework/log/Logger.php | 1 - framework/log/SyslogTarget.php | 1 - framework/log/Target.php | 1 - framework/mail/BaseMailer.php | 1 - framework/mail/BaseMessage.php | 1 - framework/mail/MailEvent.php | 1 - framework/mail/MailerInterface.php | 1 - framework/mail/MessageInterface.php | 1 - framework/mutex/DbMutex.php | 1 - framework/mutex/FileMutex.php | 1 - framework/mutex/Mutex.php | 1 - framework/mutex/MysqlMutex.php | 1 - framework/mutex/OracleMutex.php | 1 - framework/mutex/PgsqlMutex.php | 1 - framework/mutex/RetryAcquireTrait.php | 1 - framework/rbac/Assignment.php | 1 - framework/rbac/BaseManager.php | 1 - framework/rbac/CheckAccessInterface.php | 1 - framework/rbac/DbManager.php | 1 - framework/rbac/Item.php | 1 - framework/rbac/ManagerInterface.php | 1 - framework/rbac/Permission.php | 1 - framework/rbac/PhpManager.php | 1 - framework/rbac/Role.php | 1 - framework/rbac/Rule.php | 1 - framework/rest/Action.php | 1 - framework/rest/ActiveController.php | 1 - framework/rest/Controller.php | 1 - framework/rest/CreateAction.php | 1 - framework/rest/DeleteAction.php | 1 - framework/rest/IndexAction.php | 1 - framework/rest/OptionsAction.php | 1 - framework/rest/Serializer.php | 1 - framework/rest/UpdateAction.php | 1 - framework/rest/UrlRule.php | 1 - framework/rest/ViewAction.php | 1 - framework/test/ActiveFixture.php | 1 - framework/test/ArrayFixture.php | 1 - framework/test/BaseActiveFixture.php | 1 - framework/test/DbFixture.php | 1 - framework/test/FileFixtureTrait.php | 1 - framework/test/Fixture.php | 1 - framework/test/FixtureTrait.php | 1 - framework/test/InitDbFixture.php | 1 - framework/validators/BooleanValidator.php | 1 - framework/validators/CompareValidator.php | 1 - framework/validators/DateValidator.php | 1 - .../validators/DefaultValueValidator.php | 1 - framework/validators/EachValidator.php | 1 - framework/validators/EmailValidator.php | 1 - framework/validators/ExistValidator.php | 1 - framework/validators/FileValidator.php | 1 - framework/validators/FilterValidator.php | 1 - framework/validators/ImageValidator.php | 1 - framework/validators/InlineValidator.php | 1 - framework/validators/IpValidator.php | 1 - framework/validators/NumberValidator.php | 1 - framework/validators/PunycodeAsset.php | 1 - framework/validators/RangeValidator.php | 1 - .../validators/RegularExpressionValidator.php | 1 - framework/validators/RequiredValidator.php | 1 - framework/validators/SafeValidator.php | 1 - framework/validators/StringValidator.php | 1 - framework/validators/TrimValidator.php | 1 - framework/validators/UniqueValidator.php | 1 - framework/validators/UrlValidator.php | 1 - framework/validators/ValidationAsset.php | 1 - framework/validators/Validator.php | 1 - framework/web/Application.php | 1 - framework/web/AssetBundle.php | 1 - framework/web/AssetConverter.php | 1 - framework/web/AssetConverterInterface.php | 1 - framework/web/AssetManager.php | 1 - framework/web/BadRequestHttpException.php | 1 - framework/web/CacheSession.php | 1 - framework/web/CompositeUrlRule.php | 1 - framework/web/ConflictHttpException.php | 1 - framework/web/Controller.php | 1 - framework/web/Cookie.php | 1 - framework/web/CookieCollection.php | 1 - framework/web/DbSession.php | 1 - framework/web/ErrorAction.php | 1 - framework/web/ErrorHandler.php | 1 - framework/web/ForbiddenHttpException.php | 1 - framework/web/GoneHttpException.php | 1 - framework/web/GroupUrlRule.php | 1 - framework/web/HeaderCollection.php | 1 - framework/web/HeadersAlreadySentException.php | 1 - framework/web/HtmlResponseFormatter.php | 1 - framework/web/HttpException.php | 1 - framework/web/IdentityInterface.php | 1 - framework/web/JqueryAsset.php | 1 - framework/web/JsExpression.php | 1 - framework/web/JsonParser.php | 1 - framework/web/JsonResponseFormatter.php | 1 - framework/web/Link.php | 1 - framework/web/Linkable.php | 1 - .../web/MethodNotAllowedHttpException.php | 1 - framework/web/MultiFieldSession.php | 1 - framework/web/MultipartFormDataParser.php | 1 - framework/web/NotAcceptableHttpException.php | 1 - framework/web/NotFoundHttpException.php | 1 - .../web/RangeNotSatisfiableHttpException.php | 1 - framework/web/Request.php | 1 - framework/web/RequestParserInterface.php | 1 - framework/web/Response.php | 1 - framework/web/ResponseFormatterInterface.php | 1 - framework/web/ServerErrorHttpException.php | 1 - framework/web/Session.php | 2 +- framework/web/SessionIterator.php | 1 - .../web/TooManyRequestsHttpException.php | 1 - framework/web/UnauthorizedHttpException.php | 1 - .../web/UnprocessableEntityHttpException.php | 1 - .../web/UnsupportedMediaTypeHttpException.php | 1 - framework/web/UploadedFile.php | 1 - framework/web/UrlManager.php | 1 - framework/web/UrlNormalizer.php | 1 - .../web/UrlNormalizerRedirectException.php | 1 - framework/web/UrlRule.php | 1 - framework/web/UrlRuleInterface.php | 1 - framework/web/User.php | 1 - framework/web/UserEvent.php | 1 - framework/web/View.php | 1 - framework/web/ViewAction.php | 1 - framework/web/XmlResponseFormatter.php | 1 - framework/web/YiiAsset.php | 1 - framework/widgets/ActiveField.php | 1 - framework/widgets/ActiveForm.php | 1 - framework/widgets/ActiveFormAsset.php | 1 - framework/widgets/BaseListView.php | 1 - framework/widgets/Block.php | 1 - framework/widgets/Breadcrumbs.php | 1 - framework/widgets/ContentDecorator.php | 1 - framework/widgets/DetailView.php | 1 - framework/widgets/FragmentCache.php | 1 - framework/widgets/InputWidget.php | 1 - framework/widgets/LinkPager.php | 1 - framework/widgets/LinkSorter.php | 1 - framework/widgets/ListView.php | 1 - framework/widgets/MaskedInput.php | 1 - framework/widgets/MaskedInputAsset.php | 1 - framework/widgets/Menu.php | 1 - framework/widgets/Pjax.php | 1 - framework/widgets/PjaxAsset.php | 1 - framework/widgets/Spaceless.php | 1 - 440 files changed, 35 insertions(+), 468 deletions(-) diff --git a/framework/BaseYii.php b/framework/BaseYii.php index ff716b4d349..27aa4327d85 100644 --- a/framework/BaseYii.php +++ b/framework/BaseYii.php @@ -1,5 +1,4 @@ YII2_PATH . '/base/ModelEvent.php', 'yii\base\Module' => YII2_PATH . '/base/Module.php', 'yii\base\NotSupportedException' => YII2_PATH . '/base/NotSupportedException.php', - 'yii\base\Object' => YII2_PATH . '/base/Object.php', 'yii\base\Request' => YII2_PATH . '/base/Request.php', 'yii\base\Response' => YII2_PATH . '/base/Response.php', 'yii\base\Security' => YII2_PATH . '/base/Security.php', @@ -74,6 +72,7 @@ 'yii\caching\ArrayCache' => YII2_PATH . '/caching/ArrayCache.php', 'yii\caching\Cache' => YII2_PATH . '/caching/Cache.php', 'yii\caching\CacheInterface' => YII2_PATH . '/caching/CacheInterface.php', + 'yii\caching\CallbackDependency' => YII2_PATH . '/caching/CallbackDependency.php', 'yii\caching\ChainedDependency' => YII2_PATH . '/caching/ChainedDependency.php', 'yii\caching\DbCache' => YII2_PATH . '/caching/DbCache.php', 'yii\caching\DbDependency' => YII2_PATH . '/caching/DbDependency.php', @@ -81,7 +80,6 @@ 'yii\caching\Dependency' => YII2_PATH . '/caching/Dependency.php', 'yii\caching\DummyCache' => YII2_PATH . '/caching/DummyCache.php', 'yii\caching\ExpressionDependency' => YII2_PATH . '/caching/ExpressionDependency.php', - 'yii\caching\CallbackDependency' => YII2_PATH . '/caching/CallbackDependency.php', 'yii\caching\FileCache' => YII2_PATH . '/caching/FileCache.php', 'yii\caching\FileDependency' => YII2_PATH . '/caching/FileDependency.php', 'yii\caching\MemCache' => YII2_PATH . '/caching/MemCache.php', diff --git a/framework/console/Application.php b/framework/console/Application.php index 7d5a87d7b9f..1ec070a55d2 100644 --- a/framework/console/Application.php +++ b/framework/console/Application.php @@ -1,5 +1,4 @@ 'application/rtf', 'text/xml' => 'application/xml', diff --git a/framework/helpers/mimeExtensions.php b/framework/helpers/mimeExtensions.php index 8247ff28297..29472bfa88e 100644 --- a/framework/helpers/mimeExtensions.php +++ b/framework/helpers/mimeExtensions.php @@ -1,5 +1,4 @@ 'ez', 'application/applixware' => 'aw', @@ -1043,7 +1041,6 @@ 'model/vnd.dwf' => 'dwf', 'model/vnd.gdl' => 'gdl', 'model/vnd.gtw' => 'gtw', - 'model/vnd.mts' => 'mts', 'model/vnd.vtu' => 'vtu', 'model/vrml' => [ 'wrl', @@ -1167,6 +1164,12 @@ 'mj2', 'mjp2', ], + 'video/mp2t' => [ + 'ts', + 'm2t', + 'm2ts', + 'mts', + ], 'video/mp4' => [ 'mp4', 'mp4v', diff --git a/framework/helpers/mimeTypes.php b/framework/helpers/mimeTypes.php index c5ddb934900..ad7c9ce80a6 100644 --- a/framework/helpers/mimeTypes.php +++ b/framework/helpers/mimeTypes.php @@ -1,5 +1,4 @@ 'application/vnd.lotus-1-2-3', '3dml' => 'text/vnd.in3d.3dml', @@ -420,6 +418,8 @@ 'm1v' => 'video/mpeg', 'm21' => 'application/mp21', 'm2a' => 'audio/mpeg', + 'm2t' => 'video/mp2t', + 'm2ts' => 'video/mp2t', 'm2v' => 'video/mpeg', 'm3a' => 'audio/mpeg', 'm3u' => 'audio/x-mpegurl', @@ -505,7 +505,7 @@ 'msi' => 'application/x-msdownload', 'msl' => 'application/vnd.mobius.msl', 'msty' => 'application/vnd.muvee.style', - 'mts' => 'model/vnd.mts', + 'mts' => 'video/mp2t', 'mus' => 'application/vnd.musician', 'musicxml' => 'application/vnd.recordare.musicxml+xml', 'mvb' => 'application/x-msmediaview', @@ -820,6 +820,7 @@ 'tr' => 'text/troff', 'tra' => 'application/vnd.trueapp', 'trm' => 'application/x-msterminal', + 'ts' => 'video/mp2t', 'tsd' => 'application/timestamped-data', 'tsv' => 'text/tab-separated-values', 'ttc' => 'font/collection', diff --git a/framework/i18n/DbMessageSource.php b/framework/i18n/DbMessageSource.php index 155cbc3eccc..0686291d2a7 100644 --- a/framework/i18n/DbMessageSource.php +++ b/framework/i18n/DbMessageSource.php @@ -1,5 +1,4 @@