From 8687c4814458da847dde7f03c6ea2bf456d5dcce Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Thu, 7 Nov 2019 19:40:58 +0100 Subject: [PATCH] update links to https (#753) --- .editorconfig | 2 +- pages/01.basics/01.what-is-grav/docs.md | 18 ++++---- pages/01.basics/05.grav-configuration/docs.md | 2 +- pages/02.content/02.headers/docs.md | 6 +-- pages/02.content/03.collections/docs.md | 2 +- pages/02.content/04.markdown/docs.md | 20 ++++---- pages/02.content/11.multi-language/docs.md | 2 +- .../04.twig-filters-functions/docs.md | 12 ++--- pages/05.admin-panel/09.faq/docs.md | 2 +- .../01.blueprints/01.fields-available/docs.md | 2 +- .../02.performance-and-caching/docs.md | 8 ++-- pages/08.advanced/11.yaml/docs.md | 4 +- .../03.paas/04.azure/docs.md | 4 +- pages/10.cookbook/01.general-recipes/docs.md | 2 +- .../07.common-problems/docs.md | 2 +- pages/13.security/03.developers/docs.md | 46 +++++++++---------- pages/13.security/04.server-side/docs.md | 2 +- .../00.blogging/01.metadata/docs.md | 2 +- 18 files changed, 69 insertions(+), 69 deletions(-) diff --git a/.editorconfig b/.editorconfig index 808ae5806..6a4a92bf4 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,4 @@ -# EditorConfig is awesome: http://EditorConfig.org +# EditorConfig is awesome: https://EditorConfig.org # top-most EditorConfig file root = true diff --git a/pages/01.basics/01.what-is-grav/docs.md b/pages/01.basics/01.what-is-grav/docs.md index 9cfd4447c..07696403e 100644 --- a/pages/01.basics/01.what-is-grav/docs.md +++ b/pages/01.basics/01.what-is-grav/docs.md @@ -10,19 +10,19 @@ The name **Grav** is just a shortened version of the word **Gravity**. The share The underlying architecture of Grav is built using well established and _best-in-class_ technologies. This is to ensure that Grav is simple to use and easy to extend. Some of these key technologies include: -* [Twig Templating](http://twig.sensiolabs.org/): for powerful control of the user interface -* [Markdown](http://en.wikipedia.org/wiki/Markdown): for easy content creation -* [YAML](http://yaml.org): for simple configuration -* [Parsedown](http://parsedown.org/): for fast Markdown and Markdown Extra support -* [Doctrine Cache](http://docs.doctrine-project.org/en/latest/reference/caching.html): for performance -* [Pimple Dependency Injection Container](http://pimple.sensiolabs.org/): for extensibility and maintainability -* [Symfony Event Dispatcher](http://symfony.com/doc/current/components/event_dispatcher/introduction.html): for plugin event handling -* [Symfony Console](http://symfony.com/doc/current/components/console/introduction.html): for CLI interface +* [Twig Templating](https://twig.symfony.com/): for powerful control of the user interface +* [Markdown](https://en.wikipedia.org/wiki/Markdown): for easy content creation +* [YAML](https://yaml.org): for simple configuration +* [Parsedown](https://parsedown.org/): for fast Markdown and Markdown Extra support +* [Doctrine Cache](https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/caching.html): for performance +* [Pimple Dependency Injection Container](https://pimple.symfony.com/): for extensibility and maintainability +* [Symfony Event Dispatcher](https://symfony.com/doc/current/components/event_dispatcher.html): for plugin event handling +* [Symfony Console](https://symfony.com/doc/current/components/console.html): for CLI interface * [Gregwar Image Library](https://github.com/Gregwar/Image): for dynamic image manipulation ## Grav's Place in the Universe -There are many powerful open source CMS solutions for building complex websites. Some of the more commonly used ones are [Joomla](http://joomla.org), [WordPress](http://wordpress.org), and [Drupal](http://drupal.org). The downside of these platforms is that they have a steep learning curve associated with them. This requires a significant amount of your time - and this may be the time that you do not have. +There are many powerful open source CMS solutions for building complex websites. Some of the more commonly used ones are [Joomla](https://joomla.org), [WordPress](https://wordpress.org), and [Drupal](https://drupal.org). The downside of these platforms is that they have a steep learning curve associated with them. This requires a significant amount of your time - and this may be the time that you do not have. These platforms provide a wealth of features and functionality that you can extend with a wide variety of open source and proprietary plug-ins and themes. These extensions and themes are themselves often feature-packed, requiring more knowledge and time on the part of the developer yet. diff --git a/pages/01.basics/05.grav-configuration/docs.md b/pages/01.basics/05.grav-configuration/docs.md index 6491258ef..4ef834375 100644 --- a/pages/01.basics/05.grav-configuration/docs.md +++ b/pages/01.basics/05.grav-configuration/docs.md @@ -41,7 +41,7 @@ These configuration options do not appear within their own child sections. They' | Property | Description | | -------- | ----------- | | **absolute_urls:** | Absolute or relative URLs for `base_url` | -| **timezone:** | Valid values can be found [here](http://php.net/manual/en/timezones.php) | +| **timezone:** | Valid values can be found [here](https://php.net/manual/en/timezones.php) | | **default_locale:** | Default locale (defaults to system) | | **param_sep:** | This is used for Grav parameters in the URL. Don't change this unless you know what you are doing. Grav > `1.1.16` automatically sets this to `;` for users running Apache web server on Windows | | **wrapped_site:** | For themes/plugins to know if Grav is wrapped by another platform. Can be `true` or `false` | diff --git a/pages/02.content/02.headers/docs.md b/pages/02.content/02.headers/docs.md index 176a16413..2e466e9d8 100644 --- a/pages/02.content/02.headers/docs.md +++ b/pages/02.content/02.headers/docs.md @@ -110,7 +110,7 @@ Can be blank for no setting, or a [valid](https://developer.mozilla.org/en-US/do dateformat: 'Y-m-d H:i:s' ``` -Overrides the default Grav configuration for date formats and lets it be set at the page level. You can use any of the [PHP date formats](http://php.net/manual/en/datetime.formats.date.php) available. +Overrides the default Grav configuration for date formats and lets it be set at the page level. You can use any of the [PHP date formats](https://php.net/manual/en/datetime.formats.date.php) available. ### Debugger @@ -260,7 +260,7 @@ If set to `true` Twig processing will occur before any Markdown processing. This publish_date: 01/23/2015 13:00 ``` -Optional field, but can provide a date to automatically trigger publication. Valid values are any string date values that [strtotime()](http://php.net/manual/en/function.strtotime.php) supports. +Optional field, but can provide a date to automatically trigger publication. Valid values are any string date values that [strtotime()](https://php.net/manual/en/function.strtotime.php) supports. ### Redirect @@ -385,7 +385,7 @@ We [used this method](https://github.com/getgrav/grav-plugin-sitemap/commit/00c2 unpublish_date: 05/17/2015 00:32 ``` -Optional field, but can provide a date to automatically trigger un-publication. Valid values are any string date values that [strtotime()](http://php.net/manual/en/function.strtotime.php) supports. +Optional field, but can provide a date to automatically trigger un-publication. Valid values are any string date values that [strtotime()](https://php.net/manual/en/function.strtotime.php) supports. ### Visible diff --git a/pages/02.content/03.collections/docs.md b/pages/02.content/03.collections/docs.md index c002d8385..6980f1c70 100644 --- a/pages/02.content/03.collections/docs.md +++ b/pages/02.content/03.collections/docs.md @@ -337,7 +337,7 @@ content: end: 1/1/2015 [/prism] -You can use any string date format supported by [strtotime()](http://php.net/manual/en/function.strtotime.php) such as `-6 weeks` or `last Monday` as well as more traditional dates such as `01/23/2014` or `23 January 2014`. The dateRange will filter out any pages that have a date outside the provided dateRange. Both **start** and **end** dates are optional, but at least one should be provided. +You can use any string date format supported by [strtotime()](https://php.net/manual/en/function.strtotime.php) such as `-6 weeks` or `last Monday` as well as more traditional dates such as `01/23/2014` or `23 January 2014`. The dateRange will filter out any pages that have a date outside the provided dateRange. Both **start** and **end** dates are optional, but at least one should be provided. ### Multiple Collections diff --git a/pages/02.content/04.markdown/docs.md b/pages/02.content/04.markdown/docs.md index d0302a90d..cc67d22b3 100644 --- a/pages/02.content/04.markdown/docs.md +++ b/pages/02.content/04.markdown/docs.md @@ -25,7 +25,7 @@ John Gruber, the author of Markdown, puts it like this: > -- John Gruber -Grav ships with built-in support for [Markdown](http://daringfireball.net/projects/markdown/) and [Markdown Extra](https://michelf.ca/projects/php-markdown/extra/). You must enable **Markdown Extra** in your `system.yaml` configuration file. +Grav ships with built-in support for [Markdown](https://daringfireball.net/projects/markdown/) and [Markdown Extra](https://michelf.ca/projects/php-markdown/extra/). You must enable **Markdown Extra** in your `system.yaml` configuration file. Without further delay, let us go over the main elements of Markdown and what the resulting HTML looks like: @@ -588,17 +588,17 @@ Adding a colon on the right side of the dashes below any heading will right alig ### Basic link [prism classes="language-markdown"] -[Assemble](http://assemble.io) +[Assemble](https://assemble.io) [/prism] Renders to (hover over the link, there is no tooltip): -[Assemble](http://assemble.io) +[Assemble](https://assemble.io) HTML: [prism classes="language-html"] -Assemble +Assemble [/prism] @@ -651,16 +651,16 @@ Content for chapter one. Images have a similar syntax to links but include a preceding exclamation point. [prism classes="language-markdown"] -![Minion](http://octodex.github.com/images/minion.png) +![Minion](https://octodex.github.com/images/minion.png) [/prism] -![Minion](http://octodex.github.com/images/minion.png) +![Minion](https://octodex.github.com/images/minion.png) or [prism classes="language-markdown"] -![Alt text](http://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat") +![Alt text](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat") [/prism] -![Alt text](http://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat") +![Alt text](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat") Like links, Images also have a footnote style syntax @@ -671,7 +671,7 @@ Like links, Images also have a footnote style syntax With a reference later in the document defining the URL location: -[id]: http://octodex.github.com/images/dojocat.jpg "The Dojocat" +[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat" - [id]: http://octodex.github.com/images/dojocat.jpg "The Dojocat" + [id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat" diff --git a/pages/02.content/11.multi-language/docs.md b/pages/02.content/11.multi-language/docs.md index c123b9a8e..dcd168846 100644 --- a/pages/02.content/11.multi-language/docs.md +++ b/pages/02.content/11.multi-language/docs.md @@ -226,7 +226,7 @@ You can also use this as a Twig function with `ta()`. ### Translations with Variables -You can also use variables in your Twig translations by using [PHP's sprintf](http://php.net/sprintf) syntax: +You can also use variables in your Twig translations by using [PHP's sprintf](https://php.net/sprintf) syntax: [prism classes="language-yaml line-numbers"] SIMPLE_TEXT: There are %d monkeys in the %s diff --git a/pages/03.themes/04.twig-filters-functions/docs.md b/pages/03.themes/04.twig-filters-functions/docs.md index 66bf8f2f2..2a91163c0 100644 --- a/pages/03.themes/04.twig-filters-functions/docs.md +++ b/pages/03.themes/04.twig-filters-functions/docs.md @@ -174,7 +174,7 @@ Sort an array map by each key `'/strip/leading/slash/'|ltrim('/')` {{ '/strip/leading/slash/'|ltrim('/') }} -Removes trailing spaces at the beginning of a string. It can also remove other characters by setting the character mask (see [http://php.net/manual/en/function.ltrim.php](http://php.net/manual/en/function.ltrim.php)) +Removes trailing spaces at the beginning of a string. It can also remove other characters by setting the character mask (see [https://php.net/manual/en/function.ltrim.php](https://php.net/manual/en/function.ltrim.php)) #### Markdown @@ -242,7 +242,7 @@ Adds an ordinal to the integer (such as 1st, 2nd, 3rd, 4th) #### Pad -Pads a string to a certain length with another character. This is a wrapper for the PHP [str_pad()](http://php.net/manual/en/function.str-pad.php) function. +Pads a string to a certain length with another character. This is a wrapper for the PHP [str_pad()](https://php.net/manual/en/function.str-pad.php) function. `'foobar'|pad(10, '-')` **{{ 'foobar'|pad(10, '-') }}** @@ -282,7 +282,7 @@ Randomizes the list provided. If a value is provided as a parameter, it will sk #### Regex Replace -A helpful wrapper for the PHP [preg_replace()](http://php.net/manual/en/function.preg-replace.php) method, you can perform complex Regex replacements on text via this filter: +A helpful wrapper for the PHP [preg_replace()](https://php.net/manual/en/function.preg-replace.php) method, you can perform complex Regex replacements on text via this filter: `'The quick brown fox jumps over the lazy dog.'|regex_replace(['/quick/','/brown/','/fox/','/dog/'], ['slow','black','bear','turtle'])` **{{ 'The quick brown fox jumps over the lazy dog.'|regex_replace(['/quick/','/brown/','/fox/','/dog/'], ['slow','black','bear','turtle']) }}** @@ -290,7 +290,7 @@ A helpful wrapper for the PHP [preg_replace()](http://php.net/manual/en/function `'/strip/trailing/slash/'|rtrim('/')` {{ '/strip/trailing/slash/'|rtrim('/') }} -Removes trailing spaces at the end of a string. It can also remove other characters by setting the character mask (see [http://php.net/manual/en/function.rtrim.php](http://php.net/manual/en/function.rtrim.php)) +Removes trailing spaces at the end of a string. It can also remove other characters by setting the character mask (see [https://php.net/manual/en/function.rtrim.php](https://php.net/manual/en/function.rtrim.php)) #### Singularize @@ -688,7 +688,7 @@ Simple function to read a file based on a filepath and output it. [prism classes="language-markdown line-numbers"] # Grav Standard Administration Panel Plugin -This **admin plugin** for [Grav](http://github.com/getgrav/grav) is an HTML user interface that provides a convenient way to configure Grav and easily create and modify pages... +This **admin plugin** for [Grav](https://github.com/getgrav/grav) is an HTML user interface that provides a convenient way to configure Grav and easily create and modify pages... [/prism] [/version] @@ -712,7 +712,7 @@ Performs a `preg_grep` on an array with a regex pattern #### Regex Replace Function -A helpful wrapper for the PHP [preg_replace()](http://php.net/manual/en/function.preg-replace.php) method, you can perform complex Regex replacements on text via this filter: +A helpful wrapper for the PHP [preg_replace()](https://php.net/manual/en/function.preg-replace.php) method, you can perform complex Regex replacements on text via this filter: `regex_replace('The quick brown fox jumps over the lazy dog.', ['/quick/','/brown/','/fox/','/dog/'], ['slow','black','bear','turtle'])` diff --git a/pages/05.admin-panel/09.faq/docs.md b/pages/05.admin-panel/09.faq/docs.md index 43566850a..f73658657 100644 --- a/pages/05.admin-panel/09.faq/docs.md +++ b/pages/05.admin-panel/09.faq/docs.md @@ -68,7 +68,7 @@ You can edit this information directly to the user's YAML file, or by selecting ![Admin FAQ](faq_2.png?width=1009&classes=shadow) -!! Avatar photos are automatically generated by [Gravatar](http://gravatar.com), based on the user's email address. +!! Avatar photos are automatically generated by [Gravatar](https://gravatar.com), based on the user's email address. For security reasons, user passwords are stored as a hash. If you would like to change your password, we recommend doing so from within the admin. diff --git a/pages/06.forms/01.blueprints/01.fields-available/docs.md b/pages/06.forms/01.blueprints/01.fields-available/docs.md index 743f14805..59e19ea03 100644 --- a/pages/06.forms/01.blueprints/01.fields-available/docs.md +++ b/pages/06.forms/01.blueprints/01.fields-available/docs.md @@ -401,7 +401,7 @@ header.date: [div class="table table-keycol"] | Attribute | Description | | :----- | :----- | -| `format` | A datetime format value, you may use any of the [PHP date formats](http://php.net/manual/en/datetime.formats.date.php) avaliable. | +| `format` | A datetime format value, you may use any of the [PHP date formats](https://php.net/manual/en/datetime.formats.date.php) avaliable. | | `validate.min` | A minimum valid value | | `validate.max` | A maximum valid value | [/div] diff --git a/pages/08.advanced/02.performance-and-caching/docs.md b/pages/08.advanced/02.performance-and-caching/docs.md index 4fdf95ee4..3ea1868d6 100644 --- a/pages/08.advanced/02.performance-and-caching/docs.md +++ b/pages/08.advanced/02.performance-and-caching/docs.md @@ -32,11 +32,11 @@ Grav uses the established and well-respected [Doctrine Cache](https://www.doctri * **Auto** _(Default)_ - Finds the best option automatically * **File** - Stores in cache files in the `cache/` folder -* **APC** - [http://php.net/manual/en/book.apc.php](http://php.net/manual/en/book.apc.php) +* **APC** - [https://php.net/manual/en/book.apc.php](https://php.net/manual/en/book.apc.php) * **XCache** - [http://xcache.lighttpd.net/](http://xcache.lighttpd.net/) -* **Memcache** - [http://php.net/manual/en/book.memcache.php](http://php.net/manual/en/book.memcache.php) -* **Redis** - [http://redis.io](http://redis.io) -* **WinCache** - [http://www.iis.net/downloads/microsoft/wincache-extension](http://www.iis.net/downloads/microsoft/wincache-extension) +* **Memcache** - [https://php.net/manual/en/book.memcache.php](https://php.net/manual/en/book.memcache.php) +* **Redis** - [https://redis.io](https://redis.io) +* **WinCache** - [https://www.iis.net/downloads/microsoft/wincache-extension](https://www.iis.net/downloads/microsoft/wincache-extension) By default, Grav comes preconfigured to use the `auto` setting. This will try **APC**, then **WinCache**, then **XCache**, and lastly **File**. You can, of course, explicitly configure the cache in your `user/config/system.yaml` file, which could make things ever so slightly faster. diff --git a/pages/08.advanced/11.yaml/docs.md b/pages/08.advanced/11.yaml/docs.md index ad4fb74f5..7405b4f89 100644 --- a/pages/08.advanced/11.yaml/docs.md +++ b/pages/08.advanced/11.yaml/docs.md @@ -104,7 +104,7 @@ Resources and Further Documentation For more information about YAML, including detailed documentation about how it works, check out the resources linked below. * [Dave's YAML Primer](https://github.com/darvid/trine/wiki/YAML-Primer) -* [Official YAML 1.2 Documentation](http://www.yaml.org/spec/1.2/spec.html) -* [YAML Reference Card](http://www.yaml.org/refcard.html) +* [Official YAML 1.2 Documentation](https://yaml.org/spec/1.2/spec.html) +* [YAML Reference Card](https://yaml.org/refcard.html) * [Xavier Shay's YAML Tutorial](http://rhnh.net/2011/01/31/yaml-tutorial) * [YAMLLint](http://www.yamllint.com/) diff --git a/pages/09.webservers-hosting/03.paas/04.azure/docs.md b/pages/09.webservers-hosting/03.paas/04.azure/docs.md index 05de4bc30..19419a0d2 100644 --- a/pages/09.webservers-hosting/03.paas/04.azure/docs.md +++ b/pages/09.webservers-hosting/03.paas/04.azure/docs.md @@ -8,7 +8,7 @@ process: taxonomy: category: docs --- -[Microsoft Azure](http://azure.microsoft.com) is an enterprise-grade cloud computing platform that is open and flexible. There are multiple ways to deploy Grav within Azure however this tutorial will walk through using Azure's Web App (PaaS). +[Microsoft Azure](https://azure.microsoft.com) is an enterprise-grade cloud computing platform that is open and flexible. There are multiple ways to deploy Grav within Azure however this tutorial will walk through using Azure's Web App (PaaS). ## Things you'll need @@ -107,4 +107,4 @@ By default all Azure Web Apps are unloaded if they are idle for some period of t ### Quotas -If you have selected one of the Free or Shared Web App Plans for your deployment you will be restricted in regards of storage space and compute resources you can use. To monitor these settings you should monitor the *Quotas* blade. \ No newline at end of file +If you have selected one of the Free or Shared Web App Plans for your deployment you will be restricted in regards of storage space and compute resources you can use. To monitor these settings you should monitor the *Quotas* blade. diff --git a/pages/10.cookbook/01.general-recipes/docs.md b/pages/10.cookbook/01.general-recipes/docs.md index 6431321a9..285541fcc 100644 --- a/pages/10.cookbook/01.general-recipes/docs.md +++ b/pages/10.cookbook/01.general-recipes/docs.md @@ -536,7 +536,7 @@ ol.tree li.parent.open:after { This should generally be placed before the Twig-structure, or ideally be streamed into the [Asset Manager](/themes/asset-manager) in your theme. The effect is to add **[+]** after each parent-item, indicating that it can be opened, which disappears when opened. -Finally, let's add a bit of JavaScript to [handle toggling](http://stackoverflow.com/a/36297446/603387) the *open*-class: +Finally, let's add a bit of JavaScript to [handle toggling](https://stackoverflow.com/a/36297446/603387) the *open*-class: [prism classes="language-js line-numbers"]