Skip to content

Commit

Permalink
Switch plain http URLs to https where appropriate.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradyvercher committed Jun 22, 2018
1 parent 59b7b3f commit 723ee48
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
@@ -1,4 +1,4 @@
# http://editorconfig.org
# https://editorconfig.org

root = true

Expand Down
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -33,19 +33,19 @@ Plugins and themes are automatically cached before being updated by WordPress an

Essentially, WordPress could be set up so that simply fetching packages actually triggers automatic updates for core and plugins. The only time you would need to log in is to install and set up new plugins or themes! (Automatic updates may not work with premium plugins or themes with a custom update process).

Install the [Update Control](http://wordpress.org/plugins/update-control/) plugin to tweak auto-update settings for plugins, themes and core.
Install the [Update Control](https://wordpress.org/plugins/update-control/) plugin to tweak auto-update settings for plugins, themes and core.

### Security

**Be aware that the Composer repository and packages are public by default.**

Securing the repository should be possible using the same methods outlined in the [Satis documentation](http://getcomposer.org/doc/articles/handling-private-packages-with-satis.md#security).
Securing the repository should be possible using the same methods outlined in the [Satis documentation](https://getcomposer.org/doc/articles/handling-private-packages-with-satis.md#security).

#### HTTP Basic Authentication

To provide a simple solution, SatisPress ships with a setting to enable HTTP Basic Authentication to protect packages. Only users registered in WordPress will have access to the packages. After activating, make sure an `.htaccess` file exists in `wp-content/uploads/satispress/` to prevent direct access.

The [Limit Login Attempts](http://wordpress.org/plugins/limit-login-attempts/) plugin is supported to prevent brute force login attempts.
The [Limit Login Attempts](https://wordpress.org/plugins/limit-login-attempts/) plugin is supported to prevent brute force login attempts.

### Debugging

Expand All @@ -55,7 +55,7 @@ The generated `packages.json` is cached for 12 hours via the transients API. It

#### Rewrite Rules

Flush rewrite rules and make sure the `satispress` rule exists if you're having trouble accessing `packages.json` or any of the packages. [Rewrite Rules Inspector](http://wordpress.org/plugins/rewrite-rules-inspector/) is a handy plugin for viewing or flushing rewrite rules.
Flush rewrite rules and make sure the `satispress` rule exists if you're having trouble accessing `packages.json` or any of the packages. [Rewrite Rules Inspector](https://wordpress.org/plugins/rewrite-rules-inspector/) is a handy plugin for viewing or flushing rewrite rules.

### Premium Themes

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -13,7 +13,7 @@
{
"name": "Brady Vercher",
"email": "brady@blazersix.com",
"homepage": "http://www.blazersix.com/"
"homepage": "https://www.blazersix.com/"
},
{
"name": "Gary Jones",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -10,7 +10,7 @@
"author": {
"name": "Brady Vercher",
"email": "brady@blazersix.com",
"url": "http://www.blazersix.com/"
"url": "https://www.blazersix.com/"
},
"license": "GPL-2.0+",
"bugs": {
Expand Down
4 changes: 2 additions & 2 deletions satispress.php
Expand Up @@ -12,9 +12,9 @@
* Description: Generate a Composer repository from installed WordPress plugins and themes.
* Version: 0.3.0-dev
* Author: Blazer Six
* Author URI: http://www.blazersix.com/
* Author URI: https://www.blazersix.com/
* License: GPL-2.0-or-later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: satispress
* Domain Path: /languages
* GitHub Plugin URI: blazersix/satispress
Expand Down
2 changes: 1 addition & 1 deletion src/SatisPress.php
Expand Up @@ -89,7 +89,7 @@ public function process_request( $wp ) {
$version = isset( $wp->query_vars['satispress_version'] ) ? $wp->query_vars['satispress_version'] : '';

// Main index request.
// Ex: http://example.com/satispress/ .
// Ex: https://example.com/satispress/ .
if ( empty( $slug ) ) {
do_action( 'satispress_index' );
return;
Expand Down

0 comments on commit 723ee48

Please sign in to comment.