mirror of
https://github.com/joomla/joomla-cms.git
synced 2024-06-20 19:15:27 +00:00
Bump to version 4.1.0-alpha1
This commit is contained in:
parent
25221667b6
commit
e8c1f5fe7a
|
@ -11,7 +11,7 @@ Overview
|
|||
---------------------
|
||||
* This is the source of Joomla! 4.x.
|
||||
* Joomla's [Official website](https://www.joomla.org).
|
||||
* Joomla! 4.0 [version history](https://docs.joomla.org/Special:MyLanguage/Joomla_4.0_version_history).
|
||||
* Joomla! 4.1 [version history](https://docs.joomla.org/Special:MyLanguage/Joomla_4.1_version_history).
|
||||
* Detailed changes are in the [changelog](https://github.com/joomla/joomla-cms/commits/4.0-dev).
|
||||
|
||||
What is Joomla?
|
||||
|
|
|
@ -3,7 +3,7 @@ Joomla! CMS™
|
|||
1- Overview
|
||||
* This is a Joomla! 4.x installation/upgrade package.
|
||||
* Joomla! Official site: https://www.joomla.org
|
||||
* Joomla! 4.0 version history - https://docs.joomla.org/Special:MyLanguage/Joomla_4.0_version_history
|
||||
* Joomla! 4.1 version history - https://docs.joomla.org/Special:MyLanguage/Joomla_4.1_version_history
|
||||
* Detailed changes in the Changelog: https://github.com/joomla/joomla-cms/commits/4.0-dev
|
||||
|
||||
2- What is Joomla?
|
||||
|
|
|
@ -82,7 +82,7 @@ class HtmlView extends BaseHtmlView
|
|||
* Setting if the date should be displayed relative to the current date.
|
||||
*
|
||||
* @var boolean
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.1.0
|
||||
*/
|
||||
protected $dateRelative = false;
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ define('_JOOMLA_UPDATE', 1);
|
|||
* effect. This is affirmed by the cryptographically signed commits in the Git repository containing
|
||||
* this file, the copyright messages and this notice here.
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
class ZIPExtraction
|
||||
{
|
||||
|
@ -46,7 +46,7 @@ class ZIPExtraction
|
|||
* How much data to read at once when processing files
|
||||
*
|
||||
* @var int
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private const CHUNK_SIZE = 524288;
|
||||
|
||||
|
@ -62,7 +62,7 @@ class ZIPExtraction
|
|||
* something is broken. A value between 3 and 7 seconds is, therefore, recommended.
|
||||
*
|
||||
* @var int
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private const MAX_EXEC_TIME = 4;
|
||||
|
||||
|
@ -87,7 +87,7 @@ class ZIPExtraction
|
|||
* Lower values make it less likely to overshoot MAX_EXEC_TIME when extracting large files.
|
||||
*
|
||||
* @var int
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private const RUNTIME_BIAS = 90;
|
||||
|
||||
|
@ -109,7 +109,7 @@ class ZIPExtraction
|
|||
* hosting. It's a happy medium which works for the majority (~90%) of commercial servers out there.
|
||||
*
|
||||
* @var int
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private const MIN_EXEC_TIME = 3;
|
||||
|
||||
|
@ -117,7 +117,7 @@ class ZIPExtraction
|
|||
* Internal state when extracting files: we need to be initialised
|
||||
*
|
||||
* @var int
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private const AK_STATE_INITIALIZE = -1;
|
||||
|
||||
|
@ -125,7 +125,7 @@ class ZIPExtraction
|
|||
* Internal state when extracting files: no file currently being extracted
|
||||
*
|
||||
* @var int
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private const AK_STATE_NOFILE = 0;
|
||||
|
||||
|
@ -133,7 +133,7 @@ class ZIPExtraction
|
|||
* Internal state when extracting files: reading the file header
|
||||
*
|
||||
* @var int
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private const AK_STATE_HEADER = 1;
|
||||
|
||||
|
@ -141,7 +141,7 @@ class ZIPExtraction
|
|||
* Internal state when extracting files: reading file data
|
||||
*
|
||||
* @var int
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private const AK_STATE_DATA = 2;
|
||||
|
||||
|
@ -149,7 +149,7 @@ class ZIPExtraction
|
|||
* Internal state when extracting files: file data has been read thoroughly
|
||||
*
|
||||
* @var int
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private const AK_STATE_DATAREAD = 3;
|
||||
|
||||
|
@ -157,7 +157,7 @@ class ZIPExtraction
|
|||
* Internal state when extracting files: post-processing the file
|
||||
*
|
||||
* @var int
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private const AK_STATE_POSTPROC = 4;
|
||||
|
||||
|
@ -165,7 +165,7 @@ class ZIPExtraction
|
|||
* Internal state when extracting files: done with this file
|
||||
*
|
||||
* @var int
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private const AK_STATE_DONE = 5;
|
||||
|
||||
|
@ -173,7 +173,7 @@ class ZIPExtraction
|
|||
* Internal state when extracting files: finished extracting the ZIP file
|
||||
*
|
||||
* @var int
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private const AK_STATE_FINISHED = 999;
|
||||
|
||||
|
@ -181,7 +181,7 @@ class ZIPExtraction
|
|||
* Internal logging level: debug
|
||||
*
|
||||
* @var int
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private const LOG_DEBUG = 1;
|
||||
|
||||
|
@ -189,7 +189,7 @@ class ZIPExtraction
|
|||
* Internal logging level: information
|
||||
*
|
||||
* @var int
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private const LOG_INFO = 10;
|
||||
|
||||
|
@ -197,7 +197,7 @@ class ZIPExtraction
|
|||
* Internal logging level: warning
|
||||
*
|
||||
* @var int
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private const LOG_WARNING = 50;
|
||||
|
||||
|
@ -205,7 +205,7 @@ class ZIPExtraction
|
|||
* Internal logging level: error
|
||||
*
|
||||
* @var int
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private const LOG_ERROR = 90;
|
||||
|
||||
|
@ -213,7 +213,7 @@ class ZIPExtraction
|
|||
* Singleton instance
|
||||
*
|
||||
* @var null|self
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private static $instance = null;
|
||||
|
||||
|
@ -221,7 +221,7 @@ class ZIPExtraction
|
|||
* Debug log file pointer resource
|
||||
*
|
||||
* @var null|resource|boolean
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private static $logFP = null;
|
||||
|
||||
|
@ -229,7 +229,7 @@ class ZIPExtraction
|
|||
* Debug log filename
|
||||
*
|
||||
* @var null|string
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private static $logFilePath = null;
|
||||
|
||||
|
@ -237,7 +237,7 @@ class ZIPExtraction
|
|||
* The total size of the ZIP archive
|
||||
*
|
||||
* @var integer
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
public $totalSize = 0;
|
||||
|
||||
|
@ -245,7 +245,7 @@ class ZIPExtraction
|
|||
* Which files to skip
|
||||
*
|
||||
* @var array
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
public $skipFiles = [];
|
||||
|
||||
|
@ -253,7 +253,7 @@ class ZIPExtraction
|
|||
* Current tally of compressed size read
|
||||
*
|
||||
* @var integer
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
public $compressedTotal = 0;
|
||||
|
||||
|
@ -261,7 +261,7 @@ class ZIPExtraction
|
|||
* Current tally of bytes written to disk
|
||||
*
|
||||
* @var integer
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
public $uncompressedTotal = 0;
|
||||
|
||||
|
@ -269,7 +269,7 @@ class ZIPExtraction
|
|||
* Current tally of files extracted
|
||||
*
|
||||
* @var integer
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
public $filesProcessed = 0;
|
||||
|
||||
|
@ -277,7 +277,7 @@ class ZIPExtraction
|
|||
* Maximum execution time allowance per step
|
||||
*
|
||||
* @var integer
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private $maxExecTime = null;
|
||||
|
||||
|
@ -285,7 +285,7 @@ class ZIPExtraction
|
|||
* Timestamp of execution start
|
||||
*
|
||||
* @var integer
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private $startTime;
|
||||
|
||||
|
@ -293,7 +293,7 @@ class ZIPExtraction
|
|||
* The last error message
|
||||
*
|
||||
* @var string|null
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private $lastErrorMessage = null;
|
||||
|
||||
|
@ -301,7 +301,7 @@ class ZIPExtraction
|
|||
* Archive filename
|
||||
*
|
||||
* @var string
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private $filename = null;
|
||||
|
||||
|
@ -309,7 +309,7 @@ class ZIPExtraction
|
|||
* Current archive part number
|
||||
*
|
||||
* @var boolean
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private $archiveFileIsBeingRead = false;
|
||||
|
||||
|
@ -317,7 +317,7 @@ class ZIPExtraction
|
|||
* The offset inside the current part
|
||||
*
|
||||
* @var integer
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private $currentOffset = 0;
|
||||
|
||||
|
@ -325,7 +325,7 @@ class ZIPExtraction
|
|||
* Absolute path to prepend to extracted files
|
||||
*
|
||||
* @var string
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private $addPath = '';
|
||||
|
||||
|
@ -333,7 +333,7 @@ class ZIPExtraction
|
|||
* File pointer to the current archive part file
|
||||
*
|
||||
* @var resource|null
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private $fp = null;
|
||||
|
||||
|
@ -341,7 +341,7 @@ class ZIPExtraction
|
|||
* Run state when processing the current archive file
|
||||
*
|
||||
* @var integer
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private $runState = self::AK_STATE_INITIALIZE;
|
||||
|
||||
|
@ -349,7 +349,7 @@ class ZIPExtraction
|
|||
* File header data, as read by the readFileHeader() method
|
||||
*
|
||||
* @var stdClass
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private $fileHeader = null;
|
||||
|
||||
|
@ -357,7 +357,7 @@ class ZIPExtraction
|
|||
* How much of the uncompressed data we've read so far
|
||||
*
|
||||
* @var integer
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private $dataReadLength = 0;
|
||||
|
||||
|
@ -366,7 +366,7 @@ class ZIPExtraction
|
|||
* extracted.
|
||||
*
|
||||
* @var array
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private $ignoreDirectories = [];
|
||||
|
||||
|
@ -374,7 +374,7 @@ class ZIPExtraction
|
|||
* Internal flag, set when the ZIP file has a data descriptor (which we will be ignoring)
|
||||
*
|
||||
* @var boolean
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private $expectDataDescriptor = false;
|
||||
|
||||
|
@ -382,7 +382,7 @@ class ZIPExtraction
|
|||
* The UNIX last modification timestamp of the file last extracted
|
||||
*
|
||||
* @var integer
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private $lastExtractedFileTimestamp = 0;
|
||||
|
||||
|
@ -390,7 +390,7 @@ class ZIPExtraction
|
|||
* The file path of the file last extracted
|
||||
*
|
||||
* @var string
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private $lastExtractedFilename = null;
|
||||
|
||||
|
@ -399,7 +399,7 @@ class ZIPExtraction
|
|||
*
|
||||
* Sets up the internal timer.
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
|
@ -413,7 +413,7 @@ class ZIPExtraction
|
|||
* Singleton implementation.
|
||||
*
|
||||
* @return static
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
public static function getInstance(): self
|
||||
{
|
||||
|
@ -432,7 +432,7 @@ class ZIPExtraction
|
|||
* call to shutdown() first so any open files are closed first.
|
||||
*
|
||||
* @return string The serialised data, potentially base64 encoded.
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
public static function getSerialised(): string
|
||||
{
|
||||
|
@ -451,7 +451,7 @@ class ZIPExtraction
|
|||
* @param string $serialised The serialised data, potentially base64 encoded, to deserialize.
|
||||
*
|
||||
* @return static|null The instance of the object, NULL if it cannot be deserialised.
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
public static function unserialiseInstance(string $serialised): ?self
|
||||
{
|
||||
|
@ -487,7 +487,7 @@ class ZIPExtraction
|
|||
* - Seek to the correct offset of the file.
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
* @internal
|
||||
*/
|
||||
public function __wakeup(): void
|
||||
|
@ -512,7 +512,7 @@ class ZIPExtraction
|
|||
* Enforce the minimum execution time.
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
public function enforceMinimumExecutionTime()
|
||||
{
|
||||
|
@ -571,7 +571,7 @@ class ZIPExtraction
|
|||
* @param string $value The filepath to the archive. Only LOCAL files are allowed!
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
public function setFilename(string $value)
|
||||
{
|
||||
|
@ -593,7 +593,7 @@ class ZIPExtraction
|
|||
* @param string $addPath The path where the archive will be extracted.
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
public function setAddPath(string $addPath): void
|
||||
{
|
||||
|
@ -613,7 +613,7 @@ class ZIPExtraction
|
|||
* @param array $skipFiles A list of files to skip when extracting the ZIP archive
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
public function setSkipFiles(array $skipFiles): void
|
||||
{
|
||||
|
@ -626,7 +626,7 @@ class ZIPExtraction
|
|||
* @param array $ignoreDirectories The list of directories to ignore.
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
public function setIgnoreDirectories(array $ignoreDirectories): void
|
||||
{
|
||||
|
@ -637,7 +637,7 @@ class ZIPExtraction
|
|||
* Prepares for the archive extraction
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
public function initialize(): void
|
||||
{
|
||||
|
@ -666,7 +666,7 @@ class ZIPExtraction
|
|||
* Executes a step of the archive extraction
|
||||
*
|
||||
* @return boolean True if we are done extracting or an error occurred
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
public function step(): bool
|
||||
{
|
||||
|
@ -770,7 +770,7 @@ class ZIPExtraction
|
|||
* Get the most recent error message
|
||||
*
|
||||
* @return string|null The message string, null if there's no error
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
public function getError(): ?string
|
||||
{
|
||||
|
@ -781,7 +781,7 @@ class ZIPExtraction
|
|||
* Gets the number of seconds left, before we hit the "must break" threshold
|
||||
*
|
||||
* @return float
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function getTimeLeft(): float
|
||||
{
|
||||
|
@ -793,7 +793,7 @@ class ZIPExtraction
|
|||
* long Akeeba Engine has been processing data
|
||||
*
|
||||
* @return float
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function getRunningTime(): float
|
||||
{
|
||||
|
@ -806,7 +806,7 @@ class ZIPExtraction
|
|||
* This invalidates OPcache for .php files. Also applies the correct permissions and timestamp.
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function processLastExtractedFile(): void
|
||||
{
|
||||
|
@ -835,7 +835,7 @@ class ZIPExtraction
|
|||
* @param string|null $lastExtractedFilename The last extracted filename
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function setLastExtractedFilename(?string $lastExtractedFilename): void
|
||||
{
|
||||
|
@ -848,7 +848,7 @@ class ZIPExtraction
|
|||
* @param int $lastExtractedFileTimestamp The timestamp
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function setLastExtractedFileTimestamp(int $lastExtractedFileTimestamp): void
|
||||
{
|
||||
|
@ -859,7 +859,7 @@ class ZIPExtraction
|
|||
* Sleep function, called whenever the class is serialized
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
* @internal
|
||||
*/
|
||||
private function shutdown(): void
|
||||
|
@ -885,7 +885,7 @@ class ZIPExtraction
|
|||
* @param string|null $string The binary data to get the length for
|
||||
*
|
||||
* @return integer
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function binStringLength(?string $string): int
|
||||
{
|
||||
|
@ -908,7 +908,7 @@ class ZIPExtraction
|
|||
* @param string $error Error message
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function setError(string $error): void
|
||||
{
|
||||
|
@ -922,7 +922,7 @@ class ZIPExtraction
|
|||
* @param int|null $length The volume of data to read, in bytes
|
||||
*
|
||||
* @return string The data read from the file
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function fread($fp, ?int $length = null): string
|
||||
{
|
||||
|
@ -943,7 +943,7 @@ class ZIPExtraction
|
|||
* Read the header of the archive, making sure it's a valid ZIP file.
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function readArchiveHeader(): void
|
||||
{
|
||||
|
@ -983,7 +983,7 @@ class ZIPExtraction
|
|||
*
|
||||
* @return boolean True if reading the file was successful, false if an error occurred or we
|
||||
* reached end of archive.
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function readFileHeader(): bool
|
||||
{
|
||||
|
@ -1215,7 +1215,7 @@ class ZIPExtraction
|
|||
* Creates the directory this file points to
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function createDirectory(): void
|
||||
{
|
||||
|
@ -1247,7 +1247,7 @@ class ZIPExtraction
|
|||
* it's finished processing the file data.
|
||||
*
|
||||
* @return boolean True if processing the file data was successful, false if an error occurred
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function processFileData(): bool
|
||||
{
|
||||
|
@ -1299,7 +1299,7 @@ class ZIPExtraction
|
|||
* Opens the next part file for reading
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function openArchiveFile(): void
|
||||
{
|
||||
|
@ -1336,7 +1336,7 @@ class ZIPExtraction
|
|||
* Returns true if we have reached the end of file
|
||||
*
|
||||
* @return boolean True if we have reached End Of File
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function isEOF(): bool
|
||||
{
|
||||
|
@ -1354,7 +1354,7 @@ class ZIPExtraction
|
|||
* @param string $path A path to a file
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function setCorrectPermissions(string $path): void
|
||||
{
|
||||
|
@ -1385,7 +1385,7 @@ class ZIPExtraction
|
|||
* @param string $shortFilename The relative path of the file/directory in the package
|
||||
*
|
||||
* @return boolean True if it belongs in an ignored directory
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function isIgnoredDirectory(string $shortFilename): bool
|
||||
{
|
||||
|
@ -1398,7 +1398,7 @@ class ZIPExtraction
|
|||
* Process the file data of a directory entry
|
||||
*
|
||||
* @return boolean
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function processTypeDir(): bool
|
||||
{
|
||||
|
@ -1412,7 +1412,7 @@ class ZIPExtraction
|
|||
* Process the file data of a link entry
|
||||
*
|
||||
* @return boolean
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function processTypeLink(): bool
|
||||
{
|
||||
|
@ -1470,7 +1470,7 @@ class ZIPExtraction
|
|||
* Processes an uncompressed (stored) file
|
||||
*
|
||||
* @return boolean
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function processTypeFileUncompressed(): bool
|
||||
{
|
||||
|
@ -1573,7 +1573,7 @@ class ZIPExtraction
|
|||
* Processes a compressed file
|
||||
*
|
||||
* @return boolean
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function processTypeFileCompressed(): bool
|
||||
{
|
||||
|
@ -1664,7 +1664,7 @@ class ZIPExtraction
|
|||
* Set up the maximum execution time
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function setupMaxExecTime(): void
|
||||
{
|
||||
|
@ -1679,7 +1679,7 @@ class ZIPExtraction
|
|||
* If it's not defined or it's zero (infinite) we use a fake value of 10 seconds.
|
||||
*
|
||||
* @return integer
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function getPhpMaxExecTime(): int
|
||||
{
|
||||
|
@ -1701,7 +1701,7 @@ class ZIPExtraction
|
|||
* @param int $priority The message's log priority
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function debugMsg(string $message, int $priority = self::LOG_INFO): void
|
||||
{
|
||||
|
@ -1748,7 +1748,7 @@ class ZIPExtraction
|
|||
* @param string $logPath The path where the log file will be written to
|
||||
*
|
||||
* @return void
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
private function initializeLog(string $logPath): void
|
||||
{
|
||||
|
@ -1778,7 +1778,7 @@ if (defined('_JOOMLA_UPDATE_TESTING'))
|
|||
* @param string $file The filepath to clear from OPcache
|
||||
*
|
||||
* @return boolean
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
function clearFileInOPCache(string $file): bool
|
||||
{
|
||||
|
@ -1811,7 +1811,7 @@ function clearFileInOPCache(string $file): bool
|
|||
* @param string $user The user submitted value to check
|
||||
*
|
||||
* @return boolean True if the two strings are identical.
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*
|
||||
* @see http://blog.ircmaxell.com/2014/11/its-all-about-time.html
|
||||
*/
|
||||
|
@ -1846,7 +1846,7 @@ function timingSafeEquals($known, $user)
|
|||
* the request.
|
||||
*
|
||||
* @return array|null The configuration parameters to use. NULL if this is an invalid request.
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.0.4
|
||||
*/
|
||||
function getConfiguration(): ?array
|
||||
{
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
*
|
||||
* IMPORTANT! DO NOT REMOVE THIS FILE.
|
||||
*
|
||||
* This file is required for updating from Joomla 3.x and older 4.x versions to __DEPLOY_VERSION__
|
||||
* This file is required for updating from Joomla 3.x and older 4.x versions to 4.0.4
|
||||
* and later versions.
|
||||
*
|
||||
* The reason is that old versions of Joomla use an older version of Joomla Update which is still
|
||||
|
|
|
@ -76,7 +76,7 @@ class TagsController extends AdminController
|
|||
*
|
||||
* @return string The JSON-encoded amount of published articles
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.1.0
|
||||
*/
|
||||
public function getQuickiconContent()
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<extension client="administrator" type="language" method="upgrade">
|
||||
<name>English (en-GB)</name>
|
||||
<tag>en-GB</tag>
|
||||
<version>4.0.4</version>
|
||||
<version>4.1.0</version>
|
||||
<creationDate>September 2021</creationDate>
|
||||
<author>Joomla! Project</author>
|
||||
<authorEmail>admin@joomla.org</authorEmail>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<metafile client="administrator">
|
||||
<name>English (en-GB)</name>
|
||||
<version>4.0.4</version>
|
||||
<version>4.1.0</version>
|
||||
<creationDate>September 2021</creationDate>
|
||||
<author>Joomla! Project</author>
|
||||
<authorEmail>admin@joomla.org</authorEmail>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<authorUrl>www.joomla.org</authorUrl>
|
||||
<copyright>(C) 2019 Open Source Matters, Inc.</copyright>
|
||||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
|
||||
<version>4.0.4-dev</version>
|
||||
<version>4.1.0-alpha1</version>
|
||||
<creationDate>September 2021</creationDate>
|
||||
<description>FILES_JOOMLA_XML_DESCRIPTION</description>
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<extension type="package" method="upgrade">
|
||||
<name>English (en-GB) Language Pack</name>
|
||||
<packagename>en-GB</packagename>
|
||||
<version>4.0.4.1</version>
|
||||
<version>4.1.0.1</version>
|
||||
<creationDate>September 2021</creationDate>
|
||||
<author>Joomla! Project</author>
|
||||
<authorEmail>admin@joomla.org</authorEmail>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<extension client="api" type="language" method="upgrade">
|
||||
<name>English (en-GB)</name>
|
||||
<tag>en-GB</tag>
|
||||
<version>4.0.4</version>
|
||||
<version>4.1.0</version>
|
||||
<creationDate>September 2021</creationDate>
|
||||
<author>Joomla! Project</author>
|
||||
<authorEmail>admin@joomla.org</authorEmail>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<metafile client="api">
|
||||
<name>English (en-GB)</name>
|
||||
<version>4.0.4</version>
|
||||
<version>4.1.0</version>
|
||||
<creationDate>September 2021</creationDate>
|
||||
<author>Joomla! Project</author>
|
||||
<authorEmail>admin@joomla.org</authorEmail>
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
<arg value="--template" />
|
||||
<arg value="joomla" />
|
||||
<arg value="--title" />
|
||||
<arg value="Joomla! CMS 4.0 API" />
|
||||
<arg value="Joomla! CMS 4.1 API" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ class HtmlView extends BaseHtmlView
|
|||
* Should we show Save As Copy button?
|
||||
*
|
||||
* @var boolean
|
||||
* @since __DEPLOY_VERSION__
|
||||
* @since 4.1.0
|
||||
*/
|
||||
protected $showSaveAsCopy = false;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<metafile client="installation">
|
||||
<name>English (United Kingdom)</name>
|
||||
<version>4.0.4</version>
|
||||
<version>4.1.0</version>
|
||||
<creationDate>September 2021</creationDate>
|
||||
<author>Joomla! Project</author>
|
||||
<copyright>(C) 2005 Open Source Matters, Inc.</copyright>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<extension client="site" type="language" method="upgrade">
|
||||
<name>English (en-GB)</name>
|
||||
<tag>en-GB</tag>
|
||||
<version>4.0.4</version>
|
||||
<version>4.1.0</version>
|
||||
<creationDate>September 2021</creationDate>
|
||||
<author>Joomla! Project</author>
|
||||
<authorEmail>admin@joomla.org</authorEmail>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<metafile client="site">
|
||||
<name>English (en-GB)</name>
|
||||
<version>4.0.4</version>
|
||||
<version>4.1.0</version>
|
||||
<creationDate>September 2021</creationDate>
|
||||
<author>Joomla! Project</author>
|
||||
<authorEmail>admin@joomla.org</authorEmail>
|
||||
|
|
|
@ -61,7 +61,7 @@ final class Version
|
|||
* @var string
|
||||
* @since 3.8.0
|
||||
*/
|
||||
const EXTRA_VERSION = 'dev';
|
||||
const EXTRA_VERSION = 'alpha1';
|
||||
|
||||
/**
|
||||
* Development status.
|
||||
|
@ -69,7 +69,7 @@ final class Version
|
|||
* @var string
|
||||
* @since 3.5
|
||||
*/
|
||||
const DEV_STATUS = 'Development';
|
||||
const DEV_STATUS = 'Alpha';
|
||||
|
||||
/**
|
||||
* Code name.
|
||||
|
@ -77,7 +77,7 @@ final class Version
|
|||
* @var string
|
||||
* @since 3.5
|
||||
*/
|
||||
const CODENAME = 'Furaha';
|
||||
const CODENAME = 'Kuamini';
|
||||
|
||||
/**
|
||||
* Release date.
|
||||
|
@ -85,7 +85,7 @@ final class Version
|
|||
* @var string
|
||||
* @since 3.5
|
||||
*/
|
||||
const RELDATE = '24-August-2021';
|
||||
const RELDATE = '28-September-2021';
|
||||
|
||||
/**
|
||||
* Release time.
|
||||
|
@ -93,7 +93,7 @@ final class Version
|
|||
* @var string
|
||||
* @since 3.5
|
||||
*/
|
||||
const RELTIME = '22:15';
|
||||
const RELTIME = '18:00';
|
||||
|
||||
/**
|
||||
* Release timezone.
|
||||
|
|
Loading…
Reference in New Issue
Block a user