...
 
Commits (598)

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

......@@ -25,15 +25,31 @@
*/
$url = parse_url($_SERVER['REQUEST_URI']);
if (file_exists('.' . $url['path'])) {
if (file_exists(__DIR__ . $url['path'])) {
// Serve the requested resource as-is.
return FALSE;
}
// The use of a router script means that a number of $_SERVER variables have to
// be updated to point to the index-file.
$index_file_absolute = $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'index.php';
$index_file_relative = DIRECTORY_SEPARATOR . 'index.php';
// Work around the PHP bug.
$path = $url['path'];
$script = 'index.php';
if (strpos($path, '.php') !== FALSE) {
// Work backwards through the path to check if a script exists. Otherwise
// fallback to index.php.
do {
$path = dirname($path);
if (preg_match('/\.php$/', $path) && is_file(__DIR__ . $path)) {
// Discovered that the path contains an existing PHP file. Use that as the
// script to include.
$script = ltrim($path, '/');
break;
}
} while ($path !== '/' && $path !== '.');
}
// Update $_SERVER variables to point to the correct index-file.
$index_file_absolute = $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $script;
$index_file_relative = DIRECTORY_SEPARATOR . $script;
// SCRIPT_FILENAME will point to the router script itself, it should point to
// the full path of index.php.
......@@ -45,5 +61,5 @@
$_SERVER['SCRIPT_NAME'] = $index_file_relative;
$_SERVER['PHP_SELF'] = $index_file_relative;
// Require the main index.php and let core take over.
require $index_file_absolute;
// Require the script and let core take over.
require $_SERVER['SCRIPT_FILENAME'];
Please read core/INSTALL.txt for detailed installation instructions for your
Drupal web site.
......@@ -72,7 +72,7 @@ More about installation profiles and distributions:
* Download contributed installation profiles and distributions:
https://www.drupal.org/project/distributions
* Develop your own installation profile or distribution:
https://www.drupal.org/developing/distributions
https://www.drupal.org/docs/8/creating-distributions
APPEARANCE
......@@ -87,7 +87,7 @@ More about themes:
* Download contributed themes to /themes to modify Drupal's appearance:
https://www.drupal.org/project/themes
* Develop your own theme:
https://www.drupal.org/documentation/theme
https://www.drupal.org/docs/8/theming
DEVELOPING FOR DRUPAL
---------------------
......
......@@ -2,7 +2,7 @@
"name": "drupal/drupal",
"description": "Drupal is an open source content management platform powering millions of websites and applications.",
"type": "project",
"license": "GPL-2.0+",
"license": "GPL-2.0-or-later",
"require": {
"composer/installers": "^1.0.24",
"wikimedia/composer-merge-plugin": "^1.4"
......@@ -28,7 +28,7 @@
"include": [
"core/composer.json"
],
"recurse": false,
"recurse": true,
"replace": false,
"merge-extra": false
},
......@@ -52,7 +52,7 @@
"post-autoload-dump": "Drupal\\Core\\Composer\\Composer::ensureHtaccess",
"post-package-install": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup",
"post-package-update": "Drupal\\Core\\Composer\\Composer::vendorTestCodeCleanup",
"post-install-cmd": "Drupal\\Core\\Composer\\Composer::upgradePHPUnit",
"drupal-phpunit-upgrade-check": "Drupal\\Core\\Composer\\Composer::upgradePHPUnit",
"drupal-phpunit-upgrade": "@composer update phpunit/phpunit --with-dependencies --no-progress",
"phpcs": "phpcs --standard=core/phpcs.xml.dist --runtime-set installed_paths $($COMPOSER_BINARY config vendor-dir)/drupal/coder/coder_sniffer --",
"phpcbf": "phpcbf --standard=core/phpcs.xml.dist --runtime-set installed_paths $($COMPOSER_BINARY config vendor-dir)/drupal/coder/coder_sniffer --"
......
This diff is collapsed.
......@@ -4,16 +4,14 @@
"stylelint-no-browser-hacks/lib"
],
"rules": {
"color-hex-case": null,
"color-hex-length": null,
"comment-empty-line-before": null,
"declaration-block-no-duplicate-properties": null,
"declaration-block-no-shorthand-property-overrides": null,
"function-linear-gradient-no-nonstandard-direction": null,
"function-whitespace-after": null,
"no-empty-source": null,
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"no-unknown-animations": true,
"number-leading-zero": null,
"number-leading-zero": "always",
"plugin/no-browser-hacks": [true, {
"browsers": [
"ie >= 9",
......@@ -28,7 +26,7 @@
"rule-empty-line-before": null,
"selector-pseudo-element-colon-notation": null,
"shorthand-property-no-redundant-values": null,
"unit-whitelist": ["deg", "em", "ex", "ms", "rem", "%", "s", "px"]
"unit-whitelist": ["deg", "em", "ex", "ms", "rem", "%", "s", "px", "vw", "vh"]
},
"ignoreFiles": [
"assets/vendor/**/*.css",
......
This diff is collapsed.
......@@ -266,7 +266,7 @@ INSTALLATION
this optional security measure, from a Unix/Linux command line you can use
the following command:
chmod a-r CHANGELOG.txt
chmod a-r core/CHANGELOG.txt
Note that the example only affects CHANGELOG.txt. To completely hide all
documentation files from public view, repeat this command for each of the
......
......@@ -33,7 +33,6 @@ Framework managers
Frontend
- Lauri Eskola 'lauriii' https://www.drupal.org/u/lauriii
- Scott Reeves 'Cottser' https://www.drupal.org/u/cottser
Release managers
- Nathaniel Catchpole 'catch' https://www.drupal.org/u/catch
......@@ -49,7 +48,6 @@ subsystems. See https://www.drupal.org/contribute/core-maintainers for more
information on their responsibilities, and to find out how to become a subsystem
maintainer. Current subsystem maintainers for Drupal 8:
Actions
- ?
......@@ -82,7 +80,7 @@ Basic Auth
- Juampy Novillo Requena 'juampy' https://www.drupal.org/u/juampy
Batch API
- ?
- John Cook 'John Cook' https://www.drupal.org/u/john-cook
BigPipe
- Wim Leers 'Wim Leers' https://www.drupal.org/u/wim-leers
......@@ -109,6 +107,7 @@ Cache
- Nathaniel Catchpole 'catch' https://www.drupal.org/u/catch
CKEditor
- Henrik Danielsson 'TwoD' https://www.drupal.org/u/TwoD
- Wim Leers 'Wim Leers' https://www.drupal.org/u/wim-leers
- Marek 'mlewand' Lewandowski https://www.drupal.org/u/mlewand
......@@ -136,7 +135,7 @@ Configuration UI
Configuration Translation
- Gábor Hojtsy 'Gábor Hojtsy' https://www.drupal.org/u/gábor-hojtsy
- Tobias Stöckler 'tstoeckler' https://www.drupal.org/u/tstoeckler
- Tobias Zimmermann 'tstoeckler' https://www.drupal.org/u/tstoeckler
- Vijayachandran Mani 'vijaycs85' https://www.drupal.org/u/vijaycs85
Contact
......@@ -190,6 +189,7 @@ Dynamic Page Cache
- Wim Leers 'Wim Leers' https://www.drupal.org/u/wim-leers
Editor
- Henrik Danielsson 'TwoD' https://www.drupal.org/u/TwoD
- Wim Leers 'Wim Leers' https://www.drupal.org/u/wim-leers
Entity API
......@@ -197,7 +197,7 @@ Entity API
- Hristo Chonov 'hchonov' https://www.drupal.org/u/hchonov
- Sascha Grossenbacher 'Berdir' https://www.drupal.org/u/berdir
- Francesco Placella 'plach' https://www.drupal.org/u/plach
- Tobias Stöckler 'tstoeckler' https://www.drupal.org/u/tstoeckler
- Tobias Zimmermann 'tstoeckler' https://www.drupal.org/u/tstoeckler
Extension API
- ?
......@@ -245,7 +245,6 @@ Interface Translation (locale)
JavaScript
- Théodore Biadala 'nod_' https://www.drupal.org/u/nod_
- Kay Leung 'droplet' https://www.drupal.org/u/droplet
- Matthew Grill 'drpal' https://www.drupal.org/u/drpal
- Sally Young 'justafish' https://www.drupal.org/u/justafish
......@@ -351,11 +350,11 @@ Seven
- ?
Shortcut
- Tobias Stöckler 'tstoeckler' https://www.drupal.org/u/tstoeckler
- Tobias Zimmermann 'tstoeckler' https://www.drupal.org/u/tstoeckler
- Jibran Ijaz 'jibran' https://www.drupal.org/u/jibran
Stable
- Scott Reeves 'Cottser' https://www.drupal.org/u/cottser
- ?
Stark
- John Albin Wilkins 'JohnAlbin' https://www.drupal.org/u/johnalbin
......@@ -424,6 +423,7 @@ Views
Workflows
- Sam Becker 'Sam152' https://www.drupal.org/u/sam152
Topic maintainers
-----------------
......@@ -446,8 +446,9 @@ Usability
Provisional membership: None at this time.
Security team
-----------------
-------------
To report a security issue, see:
https://www.drupal.org/security-team/report-issue
......@@ -459,6 +460,7 @@ The security team lead is:
- Michael Hess 'mlhess' https://www.drupal.org/u/mlhess
Initiative coordinators
-----------------------
......@@ -471,6 +473,11 @@ API-first Initiative
- Wim Leers 'Wim Leers' https://www.drupal.org/u/wim-leers
- Mateu Aguiló Bosch 'e0ipso' https://www.drupal.org/u/e0ipso
JavaScript Modernization Initiative
- Angela Byron 'webchick' https://www.drupal.org/u/webchick
- Matthew Grill 'drpal' https://www.drupal.org/u/drpal
- Sally Young 'justafish' https://www.drupal.org/u/justafish
Layout Initiative
- Tim Plunkett 'tim.plunkett' https://www.drupal.org/u/tim.plunkett
- Emilie Nouveau 'DyanneNova' https://www.drupal.org/u/dyannenova
......@@ -478,20 +485,25 @@ Layout Initiative
Media Initiative
- Janez Urevc 'slashrsm' https://www.drupal.org/u/slashrsm
Out-of-the-Box Initiative
- Mark Conroy 'markconroy' https://www.drupal.org/u/markconroy
- Gareth Goodwin 'smaz' https://www.drupal.org/u/smaz
- Keith Jay 'kjay' https://www.drupal.org/u/kjay
- Elliot Ward 'eli-t' https://www.drupal.org/u/eli-t
PHPUnit Initiative
- Daniel Wehner 'dawehner' https://www.drupal.org/u/dawehner
- (provisional) Michiel Nugter 'michielnugter' https://www.drupal.org/u/michielnugter
- (provisional) Len Swaneveld 'Lendude' https://www.drupal.org/u/lendude
- (provisional) Michiel Nugter 'michielnugter' https://www.drupal.org/u/michielnugter
- (provisional) Len Swaneveld 'Lendude' https://www.drupal.org/u/lendude
Workflow Initiative
- Dick Olsson 'dixon_' https://www.drupal.org/u/dixon_
Provisional membership: None at this time.
Core mentoring coordinators
---------------------
---------------------------
The Drupal Core mentors inspire, enable, and encourage new core contributors.
See https://www.drupal.org/core-mentoring for more information about mentoring.
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.