-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 14157bd
Showing
493 changed files
with
78,977 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"presets": ["@babel/preset-env"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
{ | ||
////// | ||
// SMTP | ||
////// | ||
|
||
//----- classic configuration | ||
|
||
"emailTransport": { | ||
"host": "yoursmtpserver", | ||
"port": "25", | ||
"auth": { "user": "####", "pass": "####" } | ||
}, | ||
|
||
//----- OR use https://github.com/nodemailer/nodemailer-wellknown | ||
|
||
// "emailTransport": { | ||
// "provider": "GandiMail", | ||
// "auth": { "user": "####", "pass": "####" } | ||
// }, | ||
|
||
//----- complementary informations | ||
|
||
"emailOptions": { | ||
"from": "Badsender local <[email protected]>" // sender address | ||
}, | ||
|
||
////// | ||
// STORAGE | ||
////// | ||
|
||
//----- local | ||
|
||
// "storage": { | ||
// "type": "local" | ||
// }, | ||
|
||
//----- OR for using Amazon S3: | ||
|
||
"storage": { | ||
"type": "aws", | ||
"aws": { | ||
"accessKeyId": "20 characters key", | ||
"secretAccessKey": "40 characters secret key", | ||
"region": "ap-southeast-1", | ||
"bucketName": "name of the bucket" | ||
} | ||
}, | ||
|
||
//----- complementary informations | ||
|
||
"images": { | ||
"tmpDir": "/tmp", | ||
// in case case of local storage | ||
"uploadDir": "/uploads", | ||
// cache resized images & add cache-control to image request | ||
"cache": false | ||
}, | ||
|
||
////// | ||
// GENERAL | ||
////// | ||
|
||
"host": "www.your-hostname-without-protocal.com", | ||
|
||
"admin": { | ||
"password": "admin" | ||
}, | ||
|
||
// show complentary informations on the front-end | ||
|
||
"debug": false, | ||
|
||
////// | ||
// DB CONNECTION | ||
////// | ||
|
||
"database": "mongodb:https://localhost/my_database", | ||
|
||
////// | ||
// DB COPY (only used for syncing DBs, see ./bin/db-sync) | ||
////// | ||
|
||
"dbConfigs": { | ||
"local": { | ||
"host": "localhost:27017", | ||
"folder": "badsender" | ||
}, | ||
"dev": { | ||
"host": "localhost:27017", | ||
"folder": "badsender_copy", | ||
"user": "####", | ||
"password": "####" | ||
}, | ||
"stage": { | ||
"host": "localhost:27017", | ||
"folder": "badsender_copy", | ||
"user": "####", | ||
"password": "####" | ||
}, | ||
"production": { | ||
"host": "localhost:27017", | ||
"folder": "badsender_copy", | ||
"user": "####", | ||
"password": "####" | ||
} | ||
}, | ||
|
||
////// | ||
// S3 COPY (only used for syncing DBs, see ./bin/s3-sync) | ||
////// | ||
|
||
"s3Configs": { | ||
"dev": { | ||
"bucketName": "badsender", | ||
"accessKeyId": "####", | ||
"region": "####", | ||
"secretAccessKey": "####" | ||
}, | ||
"stage": { | ||
"bucketName": "badsender-stage", | ||
"accessKeyId": "####", | ||
"region": "####", | ||
"secretAccessKey": "####" | ||
}, | ||
"production": { | ||
"bucketName": "builder.badsender.com", | ||
"accessKeyId": "####", | ||
"region": "####", | ||
"secretAccessKey": "####" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
https://github.com/jontewks/puppeteer-heroku-buildpack.git | ||
https://github.com/heroku/heroku-buildpack-nodejs.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Javascript Node CircleCI 2.0 configuration file | ||
# | ||
# Check https://circleci.com/docs/2.0/language-javascript/ for more details | ||
# | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
# specify the version you desire here | ||
- image: circleci/node:7.10 | ||
|
||
# Specify service dependencies here if necessary | ||
# CircleCI maintains a library of pre-built images | ||
# documented at https://circleci.com/docs/2.0/circleci-images/ | ||
# - image: circleci/mongo:3.4.4 | ||
|
||
working_directory: ~/repo | ||
|
||
steps: | ||
- checkout | ||
|
||
# Download and cache dependencies | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "package-lock.json" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- v1-dependencies- | ||
|
||
- run: npm install | ||
|
||
- save_cache: | ||
paths: | ||
- node_modules | ||
key: v1-dependencies-{{ checksum "package-lock.json" }} | ||
|
||
# run tests! | ||
- run: npm test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
npm-debug.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/bower_components | ||
/node_modules | ||
/uploads/** | ||
!uploads/README.md | ||
.tmp/** | ||
!.tmp/README.md | ||
/badsender-server/express-assets | ||
/dist | ||
/server-config.js | ||
/release | ||
/TODO.md | ||
/build/maintenance-pages | ||
|
||
/.cache | ||
/.mongodb | ||
/.nuxt | ||
/badsender-api-documentation | ||
/server/maintenance-pages/*.html | ||
/s3-* | ||
/tests/ava/snapshots | ||
/tmp/** | ||
.badsenderrc | ||
.DS_Store | ||
.lagardererc | ||
npm-debug.log | ||
yarn-error.log | ||
*.orig | ||
/TODO.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/.cache | ||
/.circleci | ||
/.mongodb | ||
/.vscode | ||
/backend | ||
/bin | ||
/build | ||
/spec | ||
/src | ||
/tasks | ||
/tests | ||
/tmp | ||
/uploads | ||
/.* | ||
!.gitignore | ||
/*.js | ||
!/index.js | ||
/*.json | ||
!/package.json | ||
/*.md | ||
/LICENSE | ||
/*.log | ||
.DS_Store | ||
/s3-* | ||
/TODO.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"js": { | ||
"indent_with_tabs": false, | ||
"indent_size": 2, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"-W097": false, | ||
"-W069": false, | ||
"globals": { | ||
"require": false, | ||
"module": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
10.16.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
src/js/**/*.js | ||
*.html | ||
|
||
!/src/js/**/badsender-*.js | ||
src/js/converter/badsender-editor.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"semi": false, | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export DISPLAY=':99.0' | ||
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
language: node_js | ||
node_js: | ||
- "8" | ||
- "7" | ||
- "6" | ||
before_install: | ||
- npm install -g grunt-cli | ||
- npm install -g codecov | ||
install: | ||
- npm install | ||
script: | ||
- npm test | ||
- codecov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"files.associations": { | ||
".badsenderrc-example": "jsonc", | ||
".badsenderrc": "jsonc", | ||
".lagardererc": "jsonc", | ||
"Dockerfile*": "dockerfile" | ||
}, | ||
"files.insertFinalNewline": true, | ||
"files.trimFinalNewlines": true, | ||
"editor.tabSize": 2, | ||
"editor.formatOnSave": true, | ||
"path-intellisense.mappings": { | ||
"~": "${workspaceRoot}/badsender-server" | ||
}, | ||
"vetur.validation.template": false, | ||
"cSpell.ignorePaths": [ | ||
"**/package-lock.json", | ||
"**/node_modules/**", | ||
"**/vscode-extension/**", | ||
"**/.git/**", | ||
"**/dist/**", | ||
".vscode", | ||
"typings" | ||
], | ||
"cSpell.words": [ | ||
"Badsender's", | ||
"Lagardere", | ||
"Selligent", | ||
"Unarchiver", | ||
"Unprocessable", | ||
"Verdana", | ||
"Vuetify", | ||
"badsender", | ||
"badsenderrc", | ||
"blueimp", | ||
"croppie", | ||
"errored", | ||
"fileupload", | ||
"forcessl", | ||
"gifsicle", | ||
"heroku", | ||
"ifnot", | ||
"lazypipe", | ||
"mosaico", | ||
"mosaico's", | ||
"promisify", | ||
"scrollfix", | ||
"snackbar", | ||
"speakingurl", | ||
"tinymce", | ||
"tmpl", | ||
"tooltabs", | ||
"virtuals", | ||
"wireframe", | ||
"wireframes" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
// Place your badsender-mosaico workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and | ||
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope | ||
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is | ||
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | ||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. | ||
// Placeholders with the same ids are connected. | ||
// Example: | ||
"Badsender Vue Component": { | ||
"scope": "vue", | ||
"prefix": "bsvue", | ||
"body": [ | ||
"<script>", | ||
"export default {", | ||
"\tname: `bs-${1:componentName}`,", | ||
"}", | ||
"</script>", | ||
"", | ||
"<template>", | ||
"\t<div class=\"bs-${1:componentName}\"></div>", | ||
"</template>", | ||
"", | ||
"<style lang=\"scss\" scoped>", | ||
".bs-${1:componentName} {", | ||
"}", | ||
"</style>", | ||
"", | ||
"<i18n>", | ||
"{", | ||
"\t\"en\": {},", | ||
"\t\"fr\": {}", | ||
"}", | ||
"</i18n>", | ||
"" | ||
], | ||
"description": "Create a basic Vue component" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
xvfb | ||
x11-xkb-utils | ||
xfonts-100dpi | ||
xfonts-75dpi | ||
xfonts-scalable | ||
xfonts-cyrillic | ||
libxfont1 | ||
libnotify4 | ||
libxss1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
web: yarn start |
Oops, something went wrong.