This file contains hidden or 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
| // Server side route to read data-form comming from mailgun | |
| // /imports/startup/server/routes.js | |
| import { Meteor } from 'meteor/meteor'; | |
| import { WebApp } from 'meteor/webapp'; | |
| import formidable from 'formidable'; | |
| import ical from 'ical'; | |
| import fs from 'fs'; | |
| const newSurveyFromMail = Meteor.bindEnvironment((senderMail, event) => { | |
| Meteor.call('newSurveyFromMail', senderMail, event); |
This file contains hidden or 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
| module.exports = { | |
| servers: { | |
| one: { | |
| // TODO: set host address, username, and authentication method | |
| host: '51.68.45.76', | |
| username: '', | |
| // pem: './path/to/pem' | |
| password: '' | |
| // or neither for authenticate from ssh-agent | |
| } |
This file contains hidden or 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
| export const ActivitiesSchema = new SimpleSchema({ | |
| _id: { | |
| type: String, | |
| optional: true, // because insert | |
| }, | |
| reference: { | |
| type: String, | |
| }, | |
| name: { | |
| type: String, |
This file contains hidden or 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
| const colors = () => { | |
| return [ | |
| { | |
| name: 'black', | |
| css: 'black', | |
| code: '#1B1C1D', | |
| }, | |
| { | |
| name: 'red', | |
| css: 'red', |
OlderNewer