Skip to content

Commit db90a7e

Browse files
authored
Merge branch 'erxes:master' into master
2 parents 20a4628 + e52cf19 commit db90a7e

File tree

710 files changed

+61372
-18268
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

710 files changed

+61372
-18268
lines changed

.buildpacks

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
https://github.com/heroku/heroku-buildpack-nodejs

.drone.yml

Lines changed: 0 additions & 114 deletions
This file was deleted.

.env.sample

Lines changed: 14 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,28 @@
1+
# general
12
PORT=3300
2-
PORT_CRONS=3600
3-
PORT_WORKERS=3700
3+
NODE_ENV=development
4+
5+
JWT_TOKEN_SECRET=token
46

57
# MongoDB
68
MONGO_URL=mongodb://localhost/erxes
7-
TEST_MONGO_URL=mongodb://localhost/test
89

910
# Redis
1011
REDIS_HOST=localhost
1112
REDIS_PORT=6379
1213
REDIS_PASSWORD=
1314

14-
# erxes-api
15-
HTTPS=false
15+
# RabbitMQ
16+
RABBITMQ_HOST=amqp://localhost
1617

18+
# ELASTICSEARCH
19+
ELASTICSEARCH_URL=http://localhost:9200
20+
21+
# frontend domain
1722
MAIN_APP_DOMAIN=http://localhost:3000
18-
DOMAIN=http://localhost:3300
19-
INTEGRATIONS_API_DOMAIN=http://localhost:3400
20-
CRONS_API_DOMAIN=http://localhost:3600
21-
WORKERS_API_DOMAIN=http://localhost:3700
2223
WIDGETS_DOMAIN=http://localhost:3200
23-
WIDGETS_API_DOMAIN=http://localhost:3100
24-
LOGS_API_DOMAIN=http://localhost:3800
25-
26-
NODE_ENV=development
27-
28-
# Email
29-
COMPANY_EMAIL_FROM=[email protected]
30-
DEFAULT_EMAIL_SERVICE=sendgrid
31-
MAIL_SERVICE=sendgrid
32-
MAIL_PORT=''
33-
MAIL_USER=''
34-
MAIL_PASS=''
35-
MAIL_HOST=''
36-
37-
# Aws S3
38-
AWS_ACCESS_KEY_ID=''
39-
AWS_SECRET_ACCESS_KEY=''
40-
AWS_BUCKET=''
41-
AWS_PREFIX=''
42-
43-
# Aws SES
44-
AWS_SES_ACCESS_KEY_ID=''
45-
AWS_SES_SECRET_ACCESS_KEY=''
46-
AWS_SES_CONFIG_SET=''
47-
AWS_REGION=''
48-
AWS_ENDPOINT=''
49-
50-
# Google Cloud Storage
51-
GOOGLE_CLIENT_ID=''
52-
GOOGLE_CLIENT_SECRET=''
53-
GOOGLE_APPLICATION_CREDENTIALS=''
54-
GOOGLE_TOPIC=''
55-
GOOGLE_SUBSCRIPTION_NAME=''
56-
GOOGLE_PROJECT_ID=''
57-
GOOGLE_CLOUD_STORAGE_BUCKET=''
58-
59-
# AWS | GCS
60-
UPLOAD_SERVICE_TYPE='AWS'
61-
62-
# File system: true | false
63-
FILE_SYSTEM_PUBLIC='true'
24+
INTEGRATIONS_API_DOMAIN=http://localhost:3400
25+
DASHBOARD_DOMAIN=http://localhost:4200
26+
CLIENT_PORTAL_DOMAIN=http://localhost:4300
6427

65-
# Pubsub REDIS | GOOGLE
66-
PUBSUB_TYPE='REDIS'
28+
ELK_SYNCER=false

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# workflow owner
2+
/.github/workflows/ @Jason-2020

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# These are supported funding model platforms
22

3+
github: erxes
34
open_collective: erxes
4-
patreon: erxes

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
title: "[Bug]"
4+
title: ''
55
labels: bug
66
assignees: ''
77

.github/ISSUE_TEMPLATE/enhancement-request.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,11 @@ assignees: ''
77

88
---
99

10-
**Is your feature request related to a problem? Please describe.**
10+
**Is your enhancement request related to a problem? Please describe.**
1111
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
1212

1313
**Describe the solution you'd like**
1414
A clear and concise description of what you want to happen.
1515

16-
**Describe alternatives you've considered**
17-
A clear and concise description of any alternative solutions or features you've considered.
18-
1916
**Additional context**
20-
Add any other context or screenshots about the feature request here.
17+
Add any other context or screenshots about the enhancement request here.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Additional context**
17+
Add any other context or screenshots about the feature request here.

.github/stale.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# Configuration for probot-stale - https://github.com/probot/stale
2+
3+
# Number of days of inactivity before an Issue or Pull Request becomes stale
4+
daysUntilStale: 30
5+
6+
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
7+
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
8+
daysUntilClose: 5
9+
10+
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
11+
onlyLabels: []
12+
13+
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
14+
exemptLabels:
15+
- pinned
16+
- security
17+
- "[Status] Maybe Later"
18+
19+
# Set to true to ignore issues in a project (defaults to false)
20+
exemptProjects: false
21+
22+
# Set to true to ignore issues in a milestone (defaults to false)
23+
exemptMilestones: false
24+
25+
# Set to true to ignore issues with an assignee (defaults to false)
26+
exemptAssignees: false
27+
28+
# Label to use when marking as stale
29+
staleLabel: stale
30+
31+
# Comment to post when marking as stale. Set to `false` to disable
32+
markComment: >
33+
34+
# Limit the number of actions per hour, from 1-30. Default is 30
35+
limitPerRun: 30
36+
37+
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
38+
pulls:
39+
markComment: >
40+
Thank you for your contribution! However, it has
41+
not had any activity on it in the past 30 days and will be closed in
42+
5 days if no updates occur. If you believe the changes are still valid then please verify your
43+
branch has no conflicts with target and rebase if needed. If you
44+
are awaiting a (re-)review then please let us know.
45+
46+
issues:
47+
markComment: >
48+
Thank you for your contribution! However, it has
49+
not had any activity on it in the past 30 days and will be closed in
50+
5 days if no updates occur. If you would like this issue to remain open:
51+
52+
1. Verify that you can still reproduce the issue in the latest version of erxes
53+
1. Comment that the issue is still reproducible and include:
54+
* What version of erxes you reproduced the issue on
55+
* What OS and version you reproduced the issue on
56+
* What steps you followed to reproduce the issue
57+
# exemptLabels:
58+
# - confirmed

0 commit comments

Comments
 (0)