Skip to content

Commit

Permalink
Add CRM to the Monorepo (#28314)
Browse files Browse the repository at this point in the history
Co-authored-by: gogdzl <[email protected]>
Co-authored-by: Brad Jorsch <[email protected]>
Co-authored-by: sdixon194 <[email protected]>
  • Loading branch information
4 people authored Jan 13, 2023
1 parent 08bf6ba commit 413617e
Show file tree
Hide file tree
Showing 826 changed files with 445,690 additions and 20 deletions.
1,171 changes: 1,151 additions & 20 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions projects/plugins/crm/.distignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
.distignore
.DS_Store
.editorconfig
.env
.env.testing
.git
.gitattributes
.github
.gitignore
.phpcs.xml
.wordpress-org
.wp-env.json
*.sql
*.tar.gz
codeception.dist.yml
codeception.yml
composer.json
composer.lock
gulpfile.esm.js
node_modules
package-lock.json
package.json
phpcs.xml
phpcs.xml.dist
phpcs.security.xml
phpcs.security.xml.dist
README.md
sass
tests
Thumbs.db
packages
7 changes: 7 additions & 0 deletions projects/plugins/crm/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Not loaded by default eslint, but we use tools/js-tools/load-eslint-ignore.js in .eslintrc to pull it in.

# @todo: Files below ignored as part of the initial RM monorepo move.
# They can be removed here as lint errors are addressed.
/js/
/modules/
gulpfile.esm.js
49 changes: 49 additions & 0 deletions projects/plugins/crm/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Files not needed to be distributed in the package.
.gitattributes export-ignore
.github/ export-ignore
package.json export-ignore
gulpfile.esm.js export-ignore
.env export-ignore
.env.testing export-ignore
codeception.yml export-ignore
codeception.dist.yml export-ignore
.wp-env.json export-ignore
/.wordpress-org/**/* export-ignore
/.wordpress-org export-ignore
.wordpress-org/**/* export-ignore
.wordpress-org export-ignore
/node_modules/**/* export-ignore
/node_modules/* export-ignore
node_modules export-ignore

# Files to include in the mirror repo, but excluded via gitignore
# Remember to end all directories with `/**` to properly tag every file.
# /src/js/example.min.js production-include
build/** production-include
jetpack_vendor/** production-include
vendor/autoload.php production-include
vendor/autoload_packages.php production-include
vendor/automattic/** production-include
vendor/composer/** production-include
vendor/jetpack-autoloader/** production-include

# Files to exclude from the mirror repo, but included in the monorepo.
# Remember to end all directories with `/**` to properly tag every file.
.babelrc production-exclude
/.eslintrc.js production-exclude
.gitattributes production-exclude
.gitignore production-exclude
.phpcs.dir.xml production-exclude
babel.config.js production-exclude
build/**/*.js.map production-exclude
changelog/** production-exclude
composer.lock production-exclude
package.json production-exclude
phpunit.xml.dist production-exclude
README.md production-exclude
src/js/** production-exclude
tests/** production-exclude
/vendor/automattic/jetpack-autoloader/** production-exclude
/vendor/automattic/jetpack-changelogger/** production-exclude
/vendor/automattic/jetpack-composer-plugin/** production-exclude
webpack.config.js production-exclude
26 changes: 26 additions & 0 deletions projects/plugins/crm/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.DS_STORE
.idea/
.phpcs.xml
*.DS_Store
**/.DS_Store
/.DS_STORE
/node_modules/
/vendor/
codeception.yml
**/css/*.min.css
**/js/*.min.js
phpcs.xml
phpcs.security.xml
templates/.htaccess
templates/emails/.htaccess
templates/emails/index.html
templates/index.html
templates/invoices/.htaccess
templates/invoices/index.html
templates/quotes/.htaccess
templates/quotes/index.html
tests/acceptance.suite.yml
tests/functional.suite.yml
tests/unit.suite.yml
packages/
.wp-env.override.json
29 changes: 29 additions & 0 deletions projects/plugins/crm/.phpcs.dir.phpcompatibility.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0"?>
<ruleset>
<!-- Ideally we'd just configure PHPCompatibility with the right PHP version, but it uses <config> rather than <properties>. Sigh. -->
<!-- So instead we have to manually disable certain sniffs. -->
<rule ref="PHPCompatibility.FunctionDeclarations.NewReturnTypeDeclarations">
<severity>0</severity>
</rule>
<rule ref="PHPCompatibility.FunctionDeclarations.NewParamTypeDeclarations">
<severity>0</severity>
</rule>
<rule ref="PHPCompatibility.FunctionUse.NewFunctionParameters.openssl_decrypt_tagFound">
<severity>0</severity>
</rule>
<rule ref="PHPCompatibility.FunctionUse.NewFunctionParameters.openssl_encrypt_aadFound">
<severity>0</severity>
</rule>
<rule ref="PHPCompatibility.FunctionUse.NewFunctionParameters.openssl_encrypt_tagFound">
<severity>0</severity>
</rule>
<rule ref="PHPCompatibility.FunctionUse.NewFunctionParameters.openssl_encrypt_tag_lengthFound">
<severity>0</severity>
</rule>
<rule ref="PHPCompatibility.FunctionUse.NewFunctions.array_key_lastFound">
<severity>0</severity>
</rule>
<rule ref="PHPCompatibility.Interfaces.NewInterfaces.throwableFound">
<severity>0</severity>
</rule>
</ruleset>
29 changes: 29 additions & 0 deletions projects/plugins/crm/.phpcs.dir.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0"?>
<ruleset>
<!-- Ideally we'd just configure PHPCompatibility with the right PHP version, but it uses <config> rather than <properties>. Sigh. -->
<!-- So instead we have to manually disable certain sniffs. -->
<rule ref="PHPCompatibility.FunctionDeclarations.NewReturnTypeDeclarations">
<severity>0</severity>
</rule>
<rule ref="PHPCompatibility.FunctionDeclarations.NewParamTypeDeclarations">
<severity>0</severity>
</rule>
<rule ref="PHPCompatibility.FunctionUse.NewFunctionParameters.openssl_decrypt_tagFound">
<severity>0</severity>
</rule>
<rule ref="PHPCompatibility.FunctionUse.NewFunctionParameters.openssl_encrypt_aadFound">
<severity>0</severity>
</rule>
<rule ref="PHPCompatibility.FunctionUse.NewFunctionParameters.openssl_encrypt_tagFound">
<severity>0</severity>
</rule>
<rule ref="PHPCompatibility.FunctionUse.NewFunctionParameters.openssl_encrypt_tag_lengthFound">
<severity>0</severity>
</rule>
<rule ref="PHPCompatibility.FunctionUse.NewFunctions.array_key_lastFound">
<severity>0</severity>
</rule>
<rule ref="PHPCompatibility.Interfaces.NewInterfaces.throwableFound">
<severity>0</severity>
</rule>
</ruleset>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions projects/plugins/crm/.wordpress-org/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions projects/plugins/crm/.wp-env.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"plugins": [ "." ]
}
12 changes: 12 additions & 0 deletions projects/plugins/crm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Changelog

### This is a list detailing changes for all Jetpack CRM releases.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 5.5.1 - 2022-12-16

- Fixed: Inline field editing no longer prevents listings from being displayed
- Improved: Security around phone numbers viewing
- Improved: Added a migration to remove outdated AKA lines
12 changes: 12 additions & 0 deletions projects/plugins/crm/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Jetpack CRM - Core CRM Plugin - WordPress.org Hosted

----
https://wordpress.org/plugins/zero-bs-crm/
----

![](https://github.com/Automattic/zero-bs-crm/workflows/Deploy%20to%20WordPress.org%20Repo/badge.svg)
----

[![WP compatibility](https://plugintests.com/plugins/zero-bs-crm/wp-badge.svg)](https://plugintests.com/plugins/zero-bs-crm/latest)
[![PHP compatibility](https://plugintests.com/plugins/zero-bs-crm/php-badge.svg)](https://plugintests.com/plugins/zero-bs-crm/latest)
([Plugin Smoke Test](https://plugintests.com/plugins/zero-bs-crm/latest))
Loading

0 comments on commit 413617e

Please sign in to comment.