Implement contact form on server side
authorChocobozzz <me@florianbigard.com>
Wed, 9 Jan 2019 14:14:29 +0000 (15:14 +0100)
committerChocobozzz <me@florianbigard.com>
Thu, 10 Jan 2019 10:32:37 +0000 (11:32 +0100)
commita4101923e699e49ceb9ff36e971c75417fafc9f0
treec098a87ac5a85e1bc7454facbb59ecbd6c7dac82
parent8d00889b6038c38d9c86cbeca88a9f3c23962c48
Implement contact form on server side
32 files changed:
config/default.yaml
config/production.yaml.example
config/test.yaml
server/controllers/api/config.ts
server/controllers/api/server/contact.ts [new file with mode: 0644]
server/controllers/api/server/index.ts
server/helpers/core-utils.ts
server/helpers/custom-validators/servers.ts
server/helpers/utils.ts
server/initializers/constants.ts
server/lib/emailer.ts
server/lib/job-queue/handlers/email.ts
server/lib/redis.ts
server/middlewares/validators/config.ts
server/middlewares/validators/server.ts
server/tests/api/check-params/config.ts
server/tests/api/check-params/contact-form.ts [new file with mode: 0644]
server/tests/api/check-params/index.ts
server/tests/api/server/config.ts
server/tests/api/server/contact-form.ts [new file with mode: 0644]
server/tests/api/server/handle-down.ts
server/tests/api/server/index.ts
server/tests/helpers/core-utils.ts
shared/models/server/contact-form.model.ts [new file with mode: 0644]
shared/models/server/custom-config.model.ts
shared/models/server/index.ts [new file with mode: 0644]
shared/models/server/server-config.model.ts
shared/utils/miscs/email.ts
shared/utils/server/config.ts
shared/utils/server/contact-form.ts [new file with mode: 0644]
support/docker/production/.env
support/docker/production/config/custom-environment-variables.yaml