Skip to content

Commit

Permalink
4.1.4.2 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudbroes committed Sep 10, 2021
1 parent a36fe82 commit 4a4a522
Show file tree
Hide file tree
Showing 1,318 changed files with 329,647 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[*.{js,jsx,ts,tsx,vue}]
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = false
7 changes: 7 additions & 0 deletions .env.lite
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
NODE_ENV="production"
VUE_APP_VERSION="Lite"
AIOSEO_ASSETS="."
VUE_APP_TEXTDOMAIN="all-in-one-seo-pack"
AIOSEO_WEBPACK_BUNDLE_ANALYZER=false
VUE_APP_NAME="All in One SEO"
VUE_APP_SHORT_NAME="AIOSEO"
10 changes: 10 additions & 0 deletions .env.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ENV="dev"
VUE_APP_ENV="dev"
VUE_APP_TEXTDOMAIN="all-in-one-seo-pack"
VUE_APP_VERSION="Lite"
VUE_APP_NAME="All in One SEO"
VUE_APP_SHORT_NAME="AIOSEO"

# Remember to change these to your local environment.
VUE_APP_CRT_DOMAIN="aioseo.local"
VUE_APP_CRT_ROOT_CA="/users/benjamin/Library/Application Support/mkcert/rootCA.pem"
2 changes: 2 additions & 0 deletions .env.wp
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VUE_APP_WP_LITE='/'
AIOSEO_LOCAL_DEV=true
6 changes: 6 additions & 0 deletions .env.wp.lite
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
VUE_APP_VERSION=Lite
VUE_APP_WP_PORT=8083
AIOSEO_LOCAL_DEV=true

# Remember to change these to your local environment.
VUE_APP_WP_LITE="https://aioseo.be:8083/"
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**/plugins/truSEO/researches/*
**/plugins/truSEO/values/*
**/node_modules/*
146 changes: 146 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
{
"root": true,
"extends": [
"plugin:vue/essential",
"@vue/standard"
],
"rules": {
"vue/experimental-script-setup-vars": "off",
"vue/no-mutating-props": "off",
"no-empty": [
2,
{
"allowEmptyCatch": true
}
],
"eqeqeq": [
"error",
"always"
],
"semi": [
"error",
"never"
],
"comma-dangle": [
"error",
"never"
],
"eol-last": [
"error",
"never"
],
"keyword-spacing": [
"error",
{
"after": true
}
],
"key-spacing": [
"error",
{
"singleLine": {
"beforeColon": false,
"afterColon": true
},
"multiLine": {
"beforeColon": true,
"afterColon": true,
"align": "colon"
}
}
],
"object-curly-spacing": [
"error",
"always"
],
"array-bracket-spacing": [
"error",
"always"
],
"valid-jsdoc": [
"error",
{
"preferType": {
"Boolean": "boolean",
"Number": "number",
"object": "Object",
"String": "string",
"array": "Array",
"function": "Function"
},
"prefer": {
"arg": "param",
"argument": "param",
"class": "constructor",
"return": "returns",
"virtual": "abstract",
"integer": "number"
},
"matchDescription": ".+"
}
],
"no-mixed-spaces-and-tabs": [
"error",
"smart-tabs"
],
"no-multi-spaces": [
"off"
],
"space-in-parens": [
"error",
"never"
],
"space-unary-ops": [
"error",
{
"nonwords": false,
"words": true
}
],
"quotes": [
"error",
"single"
],
"quote-props": [
"warn",
"as-needed"
],
"yoda": [
"error",
"always"
],
"indent": [
"error",
"tab",
{
"SwitchCase": 1
}
],
"no-tabs": 0,
"linebreak-style": 0,
"one-var": [
"error",
{
"var": "always",
"let": "always",
"const": "never"
}
],
"no-unused-vars": [
"error",
{
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": false
}
],
"no-new": 0,
"prefer-regex-literals": "off"
},
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "babel-eslint",
"sourceType": "module",
"allowImportExportEverywhere": false
}
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
dist
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# all-in-one-seo-pack

## Project setup
```
npm install
```

### Compiles and hot-reloads for development
```
npm run start-lite
```

### Compiles and minifies for production
```
npm run build-lite
```

### Lints and fixes files
```
npm run lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
87 changes: 87 additions & 0 deletions all_in_one_seo_pack.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
<?php
/**
* Plugin Name: All in One SEO
* Plugin URI: https://aioseo.com/
* Description: SEO for WordPress. Features like XML Sitemaps, SEO for custom post types, SEO for blogs, business sites, ecommerce sites, and much more. More than 80 million downloads since 2007.
* Author: All in One SEO Team
* Author URI: https://aioseo.com/
* Version: 4.1.4.2
* Text Domain: all-in-one-seo-pack
* Domain Path: /i18n/
*
* All in One SEO is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* any later version.
*
* All in One SEO is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with AIOSEO. If not, see <https://www.gnu.org/licenses/>.
*
* @since 4.0.0
* @author All in One SEO Team
* @package AIOSEO\Plugin
* @license GPL-2.0+
* @copyright Copyright (c) 2020, All in One SEO
*/

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}

if ( ! defined( 'AIOSEO_PHP_VERSION_DIR' ) ) {
define( 'AIOSEO_PHP_VERSION_DIR', basename( dirname( __FILE__ ) ) );
}

require_once( dirname( __FILE__ ) . '/app/init/notices.php' );
require_once( dirname( __FILE__ ) . '/app/init/activation.php' );

// We require PHP 5.4+ for the whole plugin to work.
if ( version_compare( PHP_VERSION, '5.4', '<' ) ) {
add_action( 'admin_notices', 'aioseo_php_notice' );

// Do not process the plugin code further.
return;
}

// We require WP 4.9+ for the whole plugin to work.
global $wp_version;
if ( version_compare( $wp_version, '4.9', '<' ) ) {
add_action( 'admin_notices', 'aioseo_wordpress_notice' );

// Do not process the plugin code further.
return;
}

if ( ! defined( 'AIOSEO_DIR' ) ) {
define( 'AIOSEO_DIR', __DIR__ );
}
if ( ! defined( 'AIOSEO_FILE' ) ) {
define( 'AIOSEO_FILE', __FILE__ );
}

// Don't allow multiple versions to be active.
if ( function_exists( 'aioseo' ) ) {
add_action( 'activate_all-in-one-seo-pack/all_in_one_seo_pack.php', 'aioseo_lite_just_activated' );
add_action( 'deactivate_all-in-one-seo-pack/all_in_one_seo_pack.php', 'aioseo_lite_just_deactivated' );
add_action( 'activate_all-in-one-seo-pack-pro/all_in_one_seo_pack.php', 'aioseo_pro_just_activated' );
add_action( 'admin_notices', 'aioseo_lite_notice' );

// Do not process the plugin code further.
return;
}

// We will be deprecating these versions of PHP in the future, so let's let the user know.
if ( version_compare( PHP_VERSION, '5.5', '<' ) ) {
add_action( 'admin_notices', 'aioseo_php_notice_deprecated' );
}

// Define the class and the function.
require_once( dirname( __FILE__ ) . '/app/AIOSEO.php' );

aioseo();
Loading

0 comments on commit 4a4a522

Please sign in to comment.