Skip to content

Commit

Permalink
Merge pull request #1 from DLXPlugins/feature/admin-refresh
Browse files Browse the repository at this point in the history
Feature - Admin Refresh
  • Loading branch information
ronalfy authored Sep 15, 2023
2 parents 0594a2b + e8ea469 commit ed5a91c
Show file tree
Hide file tree
Showing 102 changed files with 42,371 additions and 927 deletions.
11 changes: 11 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
**/*.min.js
**/*.build.js
**/node_modules/**
**/vendor/**
build
dist
coverage
cypress
node_modules
vendor
google-fonts.js
42 changes: 42 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
globals: {
wpacAdminAdvanced: 'readonly',
wpacAdminCallbacks: 'readonly',
wpacAdminHome: 'readonly',
wpacAdminAppearance: 'readonly',
wpacAdminLabels: 'readonly',
wpacAdminSelectors: 'readonly',
wpacMenuHelper: 'readonly',
},
extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:@wordpress/eslint-plugin/recommended-with-formatting',
],
overrides: [
{
env: {
node: true,
},
files: [
'.eslintrc.{js,cjs}',
],
parserOptions: {
sourceType: 'script',
},
},
],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
plugins: [
'react',
],
rules: {
},
};
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

wp-ajaxify-comments.zip
25 changes: 25 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = function( grunt ) {
grunt.initConfig( {
compress: {
main: {
options: {
archive: 'wp-ajaxify-comments.zip',
},
files: [
{ src: [ 'wp-ajaxify-comments.php' ], dest: '/', filter: 'isFile' },
{ src: [ 'functions.php' ], dest: '/', filter: 'isFile' },
{ src: [ 'readme.txt' ], dest: '/', filter: 'isFile' },
{ src: [ 'assets/**' ], dest: '/' },
{ src: [ 'dist/**' ], dest: '/' },
{ src: [ 'js/**' ], dest: '/' },
{ src: [ 'languages/**' ], dest: '/' },
{ src: [ 'lib/**' ], dest: '/' },
{ src: [ 'php/**' ], dest: '/' },
],
},
},
} );
grunt.registerTask( 'default', [ 'compress' ] );

grunt.loadNpmTasks( 'grunt-contrib-compress' );
};
Binary file added assets/img/ajaxify-logo-horizontal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "dlxplugins/wp-ajaxify-comments",
"description": "Post comments without a reload.",
"type": "project",
"license": "GPL",
"authors": [
{
"name": "Ronald Huereca",
"email": "[email protected]"
}
],
"minimum-stability": "dev",
"config": {
"vendor-dir": "lib"
},
"autoload": {
"psr-4": {
"DLXPlugins\\WPAC\\": "php/"
}
}
}
18 changes: 18 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/wpac-admin-advanced-js.js

Large diffs are not rendered by default.

63 changes: 63 additions & 0 deletions dist/wpac-admin-advanced-js.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/

/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/

/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */

/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* use-sync-external-store-shim.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
2 changes: 2 additions & 0 deletions dist/wpac-admin-appearance-js.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/wpac-admin-appearance-js.js

Large diffs are not rendered by default.

70 changes: 70 additions & 0 deletions dist/wpac-admin-appearance-js.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/

/*!
* clipboard.js v2.0.11
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/

/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/

/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */

/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* use-sync-external-store-shim.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
2 changes: 2 additions & 0 deletions dist/wpac-admin-callbacks-js.js

Large diffs are not rendered by default.

63 changes: 63 additions & 0 deletions dist/wpac-admin-callbacks-js.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/

/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/

/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */

/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* use-sync-external-store-shim.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
Loading

0 comments on commit ed5a91c

Please sign in to comment.