Skip to content

Commit

Permalink
Release1 02 (#6)
Browse files Browse the repository at this point in the history
* start dev branch

* added relate type fields from view in name card

* added lagging types of fields for output to the card, fixed error with null output

Co-authored-by: AlexSid <[email protected]>
  • Loading branch information
SidorkinAlex and AlexSid authored Dec 14, 2020
1 parent efaccd5 commit e847950
Show file tree
Hide file tree
Showing 21,459 changed files with 3,956,785 additions and 10 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
63 changes: 63 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
codecov:
notify:
require_ci_to_pass: yes

coverage:
precision: 2
round: down
range: "70...100"

status:
project:
default:
target: 0%
threshold: 5%
base: parent
branches: null
if_no_uploads: error
if_not_found: success
if_ci_failed: error
only_pulls: false
flags: null
paths: null
patch: no
changes: no

parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no

comment:
layout: "header, diff"
behavior: default
require_changes: false

ignore:
- "include/timezone/.*"
- "include/SuiteGraphs/.*"
- "include/social/.*"
- "include/Smarty/.*"
- "include/reCaptcha/.*"
- "include/phpmailer/.*"
- "include/Pear/.*"
- "include/pclzip/.*"
- "include/nusoap/.*"
- "include/HTTP_WebDAV_Server/.*"
- "include/HTMLPurifier/.*"
- "include/SugarXHprof/.*"
- "include/ytree/.*"
- "include/php-sql-parser.php"
- "include/parsecsv.lib.php"
- "modules/AOS_PDF_Templates/PDF_Lib/.*"
- "Zend/.*"
- "modules/AOD_Index/Lib/.*"
- "modules/Users/authentication/SAML2Authenticate/lib/.*"
- "install/demoData.en_us.php"
- "include/tcpdf/.*"
- "modules/AOR_Charts/lib/.*"
# The old lowercase v8 API is deprecated/unsupported and the CI doesn't run the tests for it. The new API uses an upper-case V.
- "lib/API/.*"
52 changes: 52 additions & 0 deletions .env.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# This is a template dotenv file. You should copy it and then modify it to fit
# your setup. These environment variables won't do anything unless copied into
# a file called `.env.test`. There, they'll be used to determine information
# about the test environment.
#
# This is useful because we want the test environment to have a different
# configuration from the development environment. That way, we can run
# the automated test suites without worrying about their impact on the database
# we use for development.
#
# For more information, see the Automated Testing Documentation.
# https://docs.suitecrm.com/developer/automatedtesting/


#== Install Test Suite:

# MYSQL or MSSQL
DATABASE_DRIVER=MYSQL

# Path to database server
DATABASE_HOST=localhost

# Name of the database
DATABASE_NAME=automated_tests

# Database user
DATABASE_USER=automated_tests

# Database password
DATABASE_PASSWORD=automated_tests


#== Acceptance, API, and Install Test Suites:

# URL of the SuiteCRM instance which the tester needs to access
INSTANCE_URL=http://localhost:8000

# Admin username for SuiteCRM instance
INSTANCE_ADMIN_USER=admin

# Admin password for SuiteCRM instance
INSTANCE_ADMIN_PASSWORD=password


#== API Test Suite:

# API Client ID
INSTANCE_CLIENT_ID=suitecrm_client

# API Client Secret
INSTANCE_CLIENT_SECRET=secret

196 changes: 196 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
# Auto detect and handle line endings for all text eol=lf files while leaving binary files untouched.
# This will handle all files NOT defined below.
* text=auto

# Linux specific
*.sh text eol=lf
*.so binary

# Windows specific
*.bat text eol=crlf
*.exe binary
*.dll binary

# Sources
*.coffee text eol=lf
*.css text eol=lf
*.htm text eol=lf
*.html text eol=lf
*.inc text eol=lf
*.ini text eol=lf
*.js text eol=lf
*.json text eol=lf
*.jsx text eol=lf
*.less text eol=lf
*.od text eol=lf
*.onlydata text eol=lf
*.php text eol=lf
*.pl text eol=lf
*.py text eol=lf
*.rb text eol=lf
*.sass text eol=lf
*.scm text eol=lf
*.scss text eol=lf
*.sql text eol=lf
*.styl text eol=lf
*.tag text eol=lf
*.ts text eol=lf
*.tsx text eol=lf
*.xml text eol=lf
*.xhtml text eol=lf
*.lock text eol=lf

# Documentation
*.markdown text eol=lf
*.md text eol=lf
*.mdwn text eol=lf
*.mdown text eol=lf
*.mkd text eol=lf
*.mkdn text eol=lf
*.mdtxt text eol=lf
*.mdtext text eol=lf
*.txt text eol=lf
AUTHORS text eol=lf
CHANGELOG text eol=lf
CHANGES text eol=lf
CONTRIBUTING text eol=lf
COPYING text eol=lf
copyright text eol=lf
*COPYRIGHT* text eol=lf
INSTALL text eol=lf
license text eol=lf
LICENSE text eol=lf
NEWS text eol=lf
readme text eol=lf
*README* text eol=lf
TODO text eol=lf

# Templates
*.dot text eol=lf
*.ejs text eol=lf
*.haml text eol=lf
*.handlebars text eol=lf
*.hbs text eol=lf
*.hbt text eol=lf
*.jade text eol=lf
*.latte text eol=lf
*.mustache text eol=lf
*.njk text eol=lf
*.phtml text eol=lf
*.phpt text eol=lf
*.tmpl text eol=lf
*.tpl text eol=lf
*.twig text eol=lf

# Configs
*.cnf text eol=lf
*.conf text eol=lf
*.config text eol=lf
.browserslistrc text eol=lf
.editorconfig text eol=lf
.htaccess text eol=lf
*.npmignore text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
browserslist text eol=lf
Makefile text eol=lf
makefile text eol=lf

# Git
.gitattributes text eol=lf
.gitignore text eol=lf
.gitconfig text eol=lf
.gitmodules text eol=lf

# Docker
*.dockerignore text eol=lf
Dockerfile text eol=lf

# Graphics
*.ai binary
*.bmp binary
*.eps binary
*.gif binary
*.ico binary
*.jng binary
*.jp2 binary
*.jpg binary
*.jpeg binary
*.jpx binary
*.jxr binary
*.pdf binary
*.png binary
*.psb binary
*.psd binary
*.svg text eol=lf
*.svgz binary
*.tif binary
*.tiff binary
*.wbmp binary
*.webp binary

# Audio
*.kar binary
*.m4a binary
*.mid binary
*.midi binary
*.mp3 binary
*.ogg binary
*.ra binary

# Video
*.3gpp binary
*.3gp binary
*.as binary
*.asf binary
*.asx binary
*.fla binary
*.flv binary
*.m4v binary
*.mng binary
*.mov binary
*.mp4 binary
*.mpeg binary
*.mpg binary
*.ogv binary
*.swc binary
*.swf binary
*.webm binary

# Archives
*.7z binary
*.gz binary
*.jar binary
*.rar binary
*.tar binary
*.zip binary

# Fonts
*.ttf binary
*.eot binary
*.otf binary
*.woff binary
*.woff2 binary

# Executables
*.phar binary

# Directories to exclude when creating an archive
/tests export-ignore
/build export-ignore
/.github export-ignore

# Files to exclude when creating an archive
/.gitmodules export-ignore
/.gitignore export-ignore
/php_cs.xml export-ignore
/codacy.yml export-ignore
/codeception.dist.yml export-ignore
/.codecov.yml export-ignore
/.php_cs.dist export-ignore
/.travis.yml export-ignore
travis.php.ini export-ignore
/.phpcs.xml export-ignore
/.gitattributes export-ignore
/custom/modules/unified_search_modules_display.php export-ignore
/.env.dist export-ignore
44 changes: 44 additions & 0 deletions .php_cs.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?php

use SuiteCRM\Utility\Paths;

$paths = new Paths();

$finder = PhpCsFixer\Finder::create()
->exclude('cache')
->exclude('service')
->exclude('build')
->exclude('vendor')
->exclude('themes')
->exclude('upload')
->exclude('XTemplate')
->exclude('Zend')
->exclude('include/timezone')
->exclude('include/SuiteGraphs')
->exclude('include/social')
->exclude('include/Smarty')
->exclude('include/reCaptcha')
->exclude('include/phpmailer')
->exclude('include/Pear')
->exclude('include/pclzip')
->exclude('include/nusoap')
->exclude('include/HTTP_WebDAV_Server')
->exclude('include/HTMLPurifier')
->exclude('include/SugarXHprof')
->exclude('include/ytree')
->exclude('include/tcpdf')
->exclude('include/php-sql-parser.php')
->exclude('include/parsecsv.lib.php')
->exclude('modules/AOS_PDF_Templates/PDF_Lib')
->exclude('modules/AOD_Index/Lib')
->exclude('modules/Users/authentication/SAML2Authenticate/lib')
->exclude('modules/AOR_Charts/lib')
->exclude('install/demoData.en_us.php')
->exclude('include/SugarObjects/templates')
->in($paths->getProjectPath());

return PhpCsFixer\Config::create()
->setRules([
'@PSR2' => true,
])
->setFinder($finder);
Loading

0 comments on commit e847950

Please sign in to comment.