forked from awesomemotive/all-in-one-seo-pack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a36fe82
commit 4a4a522
Showing
1,318 changed files
with
329,647 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
VUE_APP_WP_LITE='/' | ||
AIOSEO_LOCAL_DEV=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
**/plugins/truSEO/researches/* | ||
**/plugins/truSEO/values/* | ||
**/node_modules/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); |
Oops, something went wrong.