get rid of tellform names
This commit is contained in:
parent
9ff5b931bc
commit
cc12ed924c
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"projectName": "TellForm",
|
"projectName": "OhMyForm",
|
||||||
"projectOwner": "tellform",
|
"projectOwner": "ohmyform",
|
||||||
"files": [
|
"files": [
|
||||||
"README.md"
|
"README.md"
|
||||||
],
|
],
|
||||||
|
26
.env.example
26
.env.example
@ -1,4 +1,4 @@
|
|||||||
# TellForm Configuration File
|
# OhMyForm Configuration File
|
||||||
## TODO: Have commented out examples that would work.
|
## TODO: Have commented out examples that would work.
|
||||||
|
|
||||||
###################################
|
###################################
|
||||||
@ -7,27 +7,27 @@
|
|||||||
|
|
||||||
# Set this to the path where Mailu data and configuration is stored
|
# Set this to the path where Mailu data and configuration is stored
|
||||||
# Mac users: Change to a Docker accessible folder
|
# Mac users: Change to a Docker accessible folder
|
||||||
ROOT=/opt/tellform_data
|
ROOT=/opt/ohmyform_data
|
||||||
|
|
||||||
# Set to what environment you will be running TellForm in (production or development)
|
# Set to what environment you will be running OhMyForm in (production or development)
|
||||||
NODE_ENV=development
|
NODE_ENV=development
|
||||||
|
|
||||||
# Set to a randomly generated 16 bytes string
|
# Set to a randomly generated 16 bytes string
|
||||||
SECRET_KEY=ChangeMeChangeMe
|
SECRET_KEY=ChangeMeChangeMe
|
||||||
|
|
||||||
# URI of Mongo database that TellForm will connect to
|
# URI of Mongo database that OhMyForm will connect to
|
||||||
#DO NOT CHANGE
|
#DO NOT CHANGE
|
||||||
MONGODB_URI=mongodb://mongo/tellform
|
MONGODB_URI=mongodb://mongo/ohmyform
|
||||||
|
|
||||||
# URL Redis server that TellForm will connect to
|
# URL Redis server that OhMyForm will connect to
|
||||||
#DO NOT CHANGE
|
#DO NOT CHANGE
|
||||||
REDIS_URL=redis://redis:6379
|
REDIS_URL=redis://redis:6379
|
||||||
|
|
||||||
# Port that the TellForm Node app will listen on
|
# Port that the OhMyForm Node app will listen on
|
||||||
PORT=5000
|
PORT=5000
|
||||||
|
|
||||||
# Domain that TellForm's admin panel will be hosted at
|
# Domain that OhMyForm's admin panel will be hosted at
|
||||||
BASE_URL=tellform.dev
|
BASE_URL=ohmyform.dev
|
||||||
|
|
||||||
# Port that SocketIO server (for analytics) will listen on
|
# Port that SocketIO server (for analytics) will listen on
|
||||||
SOCKET_PORT=20523
|
SOCKET_PORT=20523
|
||||||
@ -43,7 +43,7 @@ TLS_FLAVOR=notls
|
|||||||
# Set this to enable coveralls.io support
|
# Set this to enable coveralls.io support
|
||||||
COVERALLS_REPO_TOKEN=
|
COVERALLS_REPO_TOKEN=
|
||||||
|
|
||||||
# Disable signups for your TellForm instance
|
# Disable signups for your OhMyForm instance
|
||||||
SIGNUP_DISABLED=FALSE
|
SIGNUP_DISABLED=FALSE
|
||||||
|
|
||||||
# Disable per-user custom subdomains
|
# Disable per-user custom subdomains
|
||||||
@ -51,9 +51,9 @@ SUBDOMAINS_DISABLED=FALSE
|
|||||||
|
|
||||||
# Url that subdomains will be hosted at (has to have domain name as ADMIN_URL)
|
# Url that subdomains will be hosted at (has to have domain name as ADMIN_URL)
|
||||||
# Only used when SUBDOMAINS_DISABLED=FALSE
|
# Only used when SUBDOMAINS_DISABLED=FALSE
|
||||||
SUBDOMAIN_URL=*.tellform.dev
|
SUBDOMAIN_URL=*.ohmyform.dev
|
||||||
|
|
||||||
# Enable running TellForm in pm2's 'cluster' mode
|
# Enable running OhMyForm in pm2's 'cluster' mode
|
||||||
ENABLE_CLUSTER_MODE=FALSE
|
ENABLE_CLUSTER_MODE=FALSE
|
||||||
|
|
||||||
###################################
|
###################################
|
||||||
@ -106,7 +106,7 @@ ADMIN_PASSWORD=root
|
|||||||
# Set this to server your websockets server on a seperate URL
|
# Set this to server your websockets server on a seperate URL
|
||||||
SOCKETS_URL=
|
SOCKETS_URL=
|
||||||
|
|
||||||
# Set this to change the port that TellForm will listen on
|
# Set this to change the port that OhMyForm will listen on
|
||||||
PORT=5000
|
PORT=5000
|
||||||
|
|
||||||
# Set this to your Google Analytics ID to enable tracking with GA
|
# Set this to your Google Analytics ID to enable tracking with GA
|
||||||
|
@ -34,7 +34,7 @@ This Code of Conduct applies both within project spaces and in public spaces whe
|
|||||||
|
|
||||||
##Enforcement
|
##Enforcement
|
||||||
|
|
||||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at team@tellform.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at team@ohmyform.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
|
||||||
|
|
||||||
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
|
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
|
||||||
|
|
||||||
|
10
README.md
10
README.md
@ -4,13 +4,13 @@
|
|||||||
<!-- TODO: Code Shelter maybe. -->
|
<!-- TODO: Code Shelter maybe. -->
|
||||||
<!-- [![Code Shelter](https://www.codeshelter.co/static/badges/badge-flat.svg)](https://www.codeshelter.co/) -->
|
<!-- [![Code Shelter](https://www.codeshelter.co/static/badges/badge-flat.svg)](https://www.codeshelter.co/) -->
|
||||||
<!-- TODO: Travis CI maybe. -->
|
<!-- TODO: Travis CI maybe. -->
|
||||||
<!-- [![Build Status](https://travis-ci.org/tellform/tellform.svg?branch=master)](https://travis-ci.org/tellform/tellform) -->
|
<!-- [![Build Status](https://travis-ci.org/ohmyform/ohmyform.svg?branch=master)](https://travis-ci.org/ohmyform/ohmyform) -->
|
||||||
![Project Status](https://img.shields.io/badge/status-0.2.1-green.svg)
|
![Project Status](https://img.shields.io/badge/status-0.2.1-green.svg)
|
||||||
<!-- TODO: Codeacy maybe. -->
|
<!-- TODO: Codeacy maybe. -->
|
||||||
<!-- [![Codacy Badge](https://api.codacy.com/project/badge/Grade/3491e86eb7194308b8fc80711d736ede)](https://www.codacy.com/app/david-baldwin/tellform?utm_source=github.com&utm_medium=referral&utm_content=tellform/tellform&utm_campaign=Badge_Grade) -->
|
<!-- [![Codacy Badge](https://api.codacy.com/project/badge/Grade/3491e86eb7194308b8fc80711d736ede)](https://www.codacy.com/app/david-baldwin/ohmyform?utm_source=github.com&utm_medium=referral&utm_content=ohmyform/ohmyform&utm_campaign=Badge_Grade) -->
|
||||||
<!--
|
<!--
|
||||||
Moving over to Discord so that I can manage things without hassle.
|
Moving over to Discord so that I can manage things without hassle.
|
||||||
[![Gitter](https://badges.gitter.im/tellform/Lobby.svg)](https://gitter.im/tellform/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
[![Gitter](https://badges.gitter.im/ohmyform/Lobby.svg)](https://gitter.im/ohmyform/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
||||||
-->
|
-->
|
||||||
[![Discord](https://img.shields.io/discord/595773457862492190.svg?label=Discord%20Chat)](https://discord.gg/3jYMAYg)
|
[![Discord](https://img.shields.io/discord/595773457862492190.svg?label=Discord%20Chat)](https://discord.gg/3jYMAYg)
|
||||||
> An *open source alternative to TypeForm* that can create [stunning mobile-ready forms](https://ohmyform.com/examples) , surveys and questionnaires.
|
> An *open source alternative to TypeForm* that can create [stunning mobile-ready forms](https://ohmyform.com/examples) , surveys and questionnaires.
|
||||||
@ -45,7 +45,7 @@ Moving over to Discord so that I can manage things without hassle.
|
|||||||
- Embeddable Forms
|
- Embeddable Forms
|
||||||
- Forms as a Service API
|
- Forms as a Service API
|
||||||
|
|
||||||
<!-- TODO: Determine roadmap for OhMyForm if it is to be different from TellForm's roadmap.
|
<!-- TODO: Determine roadmap for OhMyForm if it is to be different from OhMyForm's roadmap.
|
||||||
### On the Roadmap (Tentative pending [refactor](https://github.com/ohmyform/ohmyform/pull/1))
|
### On the Roadmap (Tentative pending [refactor](https://github.com/ohmyform/ohmyform/pull/1))
|
||||||
- Implement encryption for all form data
|
- Implement encryption for all form data
|
||||||
- Add Typeform API integration
|
- Add Typeform API integration
|
||||||
@ -61,7 +61,7 @@ Moving over to Discord so that I can manage things without hassle.
|
|||||||
<!-- TODO: add a CONTRIBUTING.md.
|
<!-- TODO: add a CONTRIBUTING.md.
|
||||||
## How to Contribute
|
## How to Contribute
|
||||||
|
|
||||||
Please checkout our CONTRIBUTING.md on ways to contribute to TellForm. -->
|
Please checkout our CONTRIBUTING.md on ways to contribute to OhMyForm. -->
|
||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* Module dependencies.
|
* Module dependencies.
|
||||||
*/
|
*/
|
||||||
var _ = require('lodash');
|
let _ = require('lodash');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Extend user's controller
|
* Extend user's controller
|
||||||
|
@ -114,7 +114,7 @@ exports.forgot = function(req, res) {
|
|||||||
], function(err, obfuscatedEmail) {
|
], function(err, obfuscatedEmail) {
|
||||||
if (err) {
|
if (err) {
|
||||||
return res.status(400).send({
|
return res.status(400).send({
|
||||||
message: 'Couldn\'t send reset password email due to internal server errors. Please contact support at team@tellform.com.'
|
message: 'Couldn\'t send reset password email due to internal server errors. Please contact support at team@ohmyform.com.'
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
return res.send({
|
return res.send({
|
||||||
|
@ -9,7 +9,7 @@ module.exports = {
|
|||||||
|
|
||||||
var mailOptions = {
|
var mailOptions = {
|
||||||
replyTo: emailSettings.fromEmails,
|
replyTo: emailSettings.fromEmails,
|
||||||
from: 'noreply@tellform.com',
|
from: 'noreply@ohmyform.com',
|
||||||
cc: emailSettings.toEmails,
|
cc: emailSettings.toEmails,
|
||||||
subject: parsedSubject,
|
subject: parsedSubject,
|
||||||
html: parsedTemplate
|
html: parsedTemplate
|
||||||
@ -45,4 +45,4 @@ module.exports = {
|
|||||||
});
|
});
|
||||||
return formFieldDict;
|
return formFieldDict;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -168,7 +168,7 @@ var FormSchema = new Schema({
|
|||||||
},
|
},
|
||||||
subject: {
|
subject: {
|
||||||
type: String,
|
type: String,
|
||||||
default: 'Tellform: Thank you for filling out this TellForm'
|
default: 'OhMyForm: Thank you for filling out this OhMyForm'
|
||||||
},
|
},
|
||||||
htmlTemplate: {
|
htmlTemplate: {
|
||||||
type: String,
|
type: String,
|
||||||
|
@ -68,7 +68,7 @@ describe('Form Submission Routes Unit tests', function() {
|
|||||||
respondentNotifications: {
|
respondentNotifications: {
|
||||||
toField: mongoose.Types.ObjectId(),
|
toField: mongoose.Types.ObjectId(),
|
||||||
fromEmails: 'john@smith.com',
|
fromEmails: 'john@smith.com',
|
||||||
subject: 'Tellform: Thank you for filling out this TellForm',
|
subject: 'OhMyForm: Thank you for filling out this OhMyForm',
|
||||||
htmlTemplate:'Hello, <br><br> We’ve received your submission. <br><br> Thank you & have a nice day!',
|
htmlTemplate:'Hello, <br><br> We’ve received your submission. <br><br> Thank you & have a nice day!',
|
||||||
enabled: true
|
enabled: true
|
||||||
}
|
}
|
||||||
|
@ -96,7 +96,7 @@ html(lang='en', xmlns='http://www.w3.org/1999/xhtml')
|
|||||||
//Livereload script rendered
|
//Livereload script rendered
|
||||||
script(async='', type='text/javascript', src='http://#{request.hostname}:35729/livereload.js')
|
script(async='', type='text/javascript', src='http://#{request.hostname}:35729/livereload.js')
|
||||||
|
|
||||||
//script Raven.config('https://825fefd6b4ed4a4da199c1b832ca845c@sentry.tellform.com/2').install();
|
//script Raven.config('https://825fefd6b4ed4a4da199c1b832ca845c@sentry.ohmyform.com/2').install();
|
||||||
|
|
||||||
if google_analytics_id
|
if google_analytics_id
|
||||||
script window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;ga('create','{{google_analytics_id}}','auto');ga('send','pageview')
|
script window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;ga('create','{{google_analytics_id}}','auto');ga('send','pageview')
|
||||||
|
@ -58,4 +58,4 @@ block content
|
|||||||
|
|
||||||
script(src='https://cdn.ravenjs.com/2.3.0/angular/raven.min.js')
|
script(src='https://cdn.ravenjs.com/2.3.0/angular/raven.min.js')
|
||||||
|
|
||||||
script Raven.config('https://825fefd6b4ed4a4da199c1b832ca845c@sentry.tellform.com/2').install();
|
script Raven.config('https://825fefd6b4ed4a4da199c1b832ca845c@sentry.ohmyform.com/2').install();
|
||||||
|
@ -3,7 +3,7 @@ html(lang='en', xmlns='http://www.w3.org/1999/xhtml')
|
|||||||
head
|
head
|
||||||
title #{title}
|
title #{title}
|
||||||
|
|
||||||
// General META
|
// General META
|
||||||
meta(charset='utf-8')
|
meta(charset='utf-8')
|
||||||
meta(http-equiv='Content-type', content='text/html;charset=UTF-8')
|
meta(http-equiv='Content-type', content='text/html;charset=UTF-8')
|
||||||
meta(http-equiv='X-UA-Compatible', content='IE=edge,chrome=1')
|
meta(http-equiv='X-UA-Compatible', content='IE=edge,chrome=1')
|
||||||
@ -11,11 +11,11 @@ html(lang='en', xmlns='http://www.w3.org/1999/xhtml')
|
|||||||
meta(name='apple-mobile-web-app-capable', content='yes')
|
meta(name='apple-mobile-web-app-capable', content='yes')
|
||||||
meta(name='apple-mobile-web-app-status-bar-style', content='black')
|
meta(name='apple-mobile-web-app-status-bar-style', content='black')
|
||||||
|
|
||||||
// Semantic META
|
// Semantic META
|
||||||
meta(name='keywords', content='#{keywords}')
|
meta(name='keywords', content='#{keywords}')
|
||||||
meta(name='description', content='#{description}')
|
meta(name='description', content='#{description}')
|
||||||
|
|
||||||
// Facebook META
|
// Facebook META
|
||||||
meta(property='og:site_name', content='#{title}')
|
meta(property='og:site_name', content='#{title}')
|
||||||
meta(property='og:title', content='#{title}')
|
meta(property='og:title', content='#{title}')
|
||||||
meta(property='og:description', content='#{description}')
|
meta(property='og:description', content='#{description}')
|
||||||
@ -23,13 +23,13 @@ html(lang='en', xmlns='http://www.w3.org/1999/xhtml')
|
|||||||
meta(property='og:image', content='/img/brand/logo.png')
|
meta(property='og:image', content='/img/brand/logo.png')
|
||||||
meta(property='og:type', content='website')
|
meta(property='og:type', content='website')
|
||||||
|
|
||||||
// Twitter META
|
// Twitter META
|
||||||
meta(name='twitter:title', content='#{title}')
|
meta(name='twitter:title', content='#{title}')
|
||||||
meta(name='twitter:description', content='#{description}')
|
meta(name='twitter:description', content='#{description}')
|
||||||
meta(name='twitter:url', content='{{url}}')
|
meta(name='twitter:url', content='{{url}}')
|
||||||
meta(name='twitter:image', content='/img/brand/logo.png')
|
meta(name='twitter:image', content='/img/brand/logo.png')
|
||||||
|
|
||||||
// Fav Icon
|
// Fav Icon
|
||||||
link(href='/static/modules/core/img/brand/favicon.ico', rel='shortcut icon', type='image/x-icon')
|
link(href='/static/modules/core/img/brand/favicon.ico', rel='shortcut icon', type='image/x-icon')
|
||||||
link(rel='stylesheet', href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,900')
|
link(rel='stylesheet', href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,900')
|
||||||
|
|
||||||
@ -40,21 +40,21 @@ html(lang='en', xmlns='http://www.w3.org/1999/xhtml')
|
|||||||
body
|
body
|
||||||
redoc(spec-url='/static/swagger.json')
|
redoc(spec-url='/static/swagger.json')
|
||||||
script(src='https://rebilly.github.io/ReDoc/releases/latest/redoc.min.js')
|
script(src='https://rebilly.github.io/ReDoc/releases/latest/redoc.min.js')
|
||||||
|
|
||||||
//Bower JS dependencies
|
//Bower JS dependencies
|
||||||
each bowerJSFile in bowerJSFiles
|
each bowerJSFile in bowerJSFiles
|
||||||
script(type='text/javascript', src='#{bowerJSFile}')
|
script(type='text/javascript', src='#{bowerJSFile}')
|
||||||
// end Bower JS dependencies
|
// end Bower JS dependencies
|
||||||
|
|
||||||
script(type='text/javascript', src='https://cdnjs.cloudflare.com/ajax/libs/angular-strap/2.3.8/angular-strap.min.js')
|
script(type='text/javascript', src='https://cdnjs.cloudflare.com/ajax/libs/angular-strap/2.3.8/angular-strap.min.js')
|
||||||
|
|
||||||
if process.env.NODE_ENV === 'development'
|
if process.env.NODE_ENV === 'development'
|
||||||
script(src='https://cdn.ravenjs.com/2.3.0/angular/raven.min.js')
|
script(src='https://cdn.ravenjs.com/2.3.0/angular/raven.min.js')
|
||||||
|
|
||||||
script Raven.config('https://825fefd6b4ed4a4da199c1b832ca845c@sentry.tellform.com/2').install();
|
script Raven.config('https://825fefd6b4ed4a4da199c1b832ca845c@sentry.ohmyform.com/2').install();
|
||||||
|
|
||||||
script window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;ga('create','{{google_analytics_id}}','auto');ga('send','pageview')
|
script window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;ga('create','{{google_analytics_id}}','auto');ga('send','pageview')
|
||||||
|
|
||||||
script(src='https://www.google-analytics.com/analytics.js', async='', defer='')
|
script(src='https://www.google-analytics.com/analytics.js', async='', defer='')
|
||||||
|
|
||||||
script(type="text/javascript").
|
script(type="text/javascript").
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
<td width="454" align="left" style="color: #444444; border-collapse: collapse; font-size: 11pt; font-family: 'Open Sans', 'Lucida Grande', 'Segoe UI', Arial, Verdana, 'Lucida Sans Unicode', Tahoma, 'Sans Serif'; max-width: 454px;" valign="top">
|
<td width="454" align="left" style="color: #444444; border-collapse: collapse; font-size: 11pt; font-family: 'Open Sans', 'Lucida Grande', 'Segoe UI', Arial, Verdana, 'Lucida Sans Unicode', Tahoma, 'Sans Serif'; max-width: 454px;" valign="top">
|
||||||
<p>Hello there!</p>
|
<p>Hello there!</p>
|
||||||
<p>This is a courtesy message to confirm that your password was just changed.</p>
|
<p>This is a courtesy message to confirm that your password was just changed.</p>
|
||||||
<p>Thanks so much for using our services! If you have any questions, or suggestions, please feel free to email us here at <a href="mailto:team@tellform.com">team@tellform.com</a>.</p>
|
<p>Thanks so much for using our services! If you have any questions, or suggestions, please feel free to email us here at <a href="mailto:team@ohmyform.com">team@ohmyform.com</a>.</p>
|
||||||
<p> - The #{appName} team</p>
|
<p> - The #{appName} team</p>
|
||||||
</td>
|
</td>
|
||||||
<td width="36"></td>
|
<td width="36"></td>
|
||||||
@ -50,7 +50,7 @@
|
|||||||
<table cellpadding="0" cellspacing="0" align="center" border="0">
|
<table cellpadding="0" cellspacing="0" align="center" border="0">
|
||||||
<tr style="color: #c0c0c0; font-size: 11px; font-family: 'Open Sans', 'Lucida Grande', 'Segoe UI', Arial, Verdana, 'Lucida Sans Unicode', Tahoma, 'Sans Serif'; -webkit-text-size-adjust: none;">
|
<tr style="color: #c0c0c0; font-size: 11px; font-family: 'Open Sans', 'Lucida Grande', 'Segoe UI', Arial, Verdana, 'Lucida Sans Unicode', Tahoma, 'Sans Serif'; -webkit-text-size-adjust: none;">
|
||||||
<td width="400" align="left"></td>
|
<td width="400" align="left"></td>
|
||||||
<td width="128" align="right">© TellForm 2017</td>
|
<td width="128" align="right">© OhMyForm 2017</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
@ -61,4 +61,4 @@
|
|||||||
</table>
|
</table>
|
||||||
</center>
|
</center>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -23,7 +23,7 @@ html
|
|||||||
p=__('EMAIL_GREETING')
|
p=__('EMAIL_GREETING')
|
||||||
p=__('RESET_PASSWORD_CONFIRMATION_EMAIL_BODY_1')
|
p=__('RESET_PASSWORD_CONFIRMATION_EMAIL_BODY_1')
|
||||||
p=__("VERIFICATION_EMAIL_PARAGRAPH_2")
|
p=__("VERIFICATION_EMAIL_PARAGRAPH_2")
|
||||||
a(href='mailto:team@tellform.com') team@tellform.com
|
a(href='mailto:team@ohmyform.com') team@ohmyform.com
|
||||||
p=__('EMAIL_SIGNATURE')
|
p=__('EMAIL_SIGNATURE')
|
||||||
td(width='36')
|
td(width='36')
|
||||||
tr
|
tr
|
||||||
@ -38,4 +38,4 @@ html
|
|||||||
tbody
|
tbody
|
||||||
tr(style="color: #c0c0c0; font-size: 11px; font-family: 'Open Sans', 'Lucida Grande', 'Segoe UI', Arial, Verdana, 'Lucida Sans Unicode', Tahoma, 'Sans Serif'; -webkit-text-size-adjust: none")
|
tr(style="color: #c0c0c0; font-size: 11px; font-family: 'Open Sans', 'Lucida Grande', 'Segoe UI', Arial, Verdana, 'Lucida Sans Unicode', Tahoma, 'Sans Serif'; -webkit-text-size-adjust: none")
|
||||||
td(width='400', align='left')
|
td(width='400', align='left')
|
||||||
td(width='128', align='right') © TellForm 2017
|
td(width='128', align='right')=copyright()
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
<p>Here is a special link that will allow you to reset your password. Please note it will expire in one hour for your protection:</p>
|
<p>Here is a special link that will allow you to reset your password. Please note it will expire in one hour for your protection:</p>
|
||||||
<p><a href="{{url}}">Reset Your Password</a></p>
|
<p><a href="{{url}}">Reset Your Password</a></p>
|
||||||
<p>If you did not request this, please ignore this email and your password will remain unchanged.</p>
|
<p>If you did not request this, please ignore this email and your password will remain unchanged.</p>
|
||||||
<p>Thanks so much for using our services! If you have any questions, or suggestions, please feel free to email us here at <a href="mailto:team@tellform.com">team@tellform.com</a>.</p>
|
<p>Thanks so much for using our services! If you have any questions, or suggestions, please feel free to email us here at <a href="mailto:team@ohmyform.com">team@ohmyform.com</a>.</p>
|
||||||
<p> - The {{appName}} team</p>
|
<p> - The {{appName}} team</p>
|
||||||
</td>
|
</td>
|
||||||
<td width="36"></td>
|
<td width="36"></td>
|
||||||
@ -52,7 +52,7 @@
|
|||||||
<table cellpadding="0" cellspacing="0" align="center" border="0">
|
<table cellpadding="0" cellspacing="0" align="center" border="0">
|
||||||
<tr style="color: #c0c0c0; font-size: 11px; font-family: 'Open Sans', 'Lucida Grande', 'Segoe UI', Arial, Verdana, 'Lucida Sans Unicode', Tahoma, 'Sans Serif'; -webkit-text-size-adjust: none;">
|
<tr style="color: #c0c0c0; font-size: 11px; font-family: 'Open Sans', 'Lucida Grande', 'Segoe UI', Arial, Verdana, 'Lucida Sans Unicode', Tahoma, 'Sans Serif'; -webkit-text-size-adjust: none;">
|
||||||
<td width="400" align="left"></td>
|
<td width="400" align="left"></td>
|
||||||
<td width="128" align="right">© TellForm 2017</td>
|
<td width="128" align="right">© OhMyForm 2017</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
@ -63,4 +63,4 @@
|
|||||||
</table>
|
</table>
|
||||||
</center>
|
</center>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -26,7 +26,7 @@ html
|
|||||||
a(href=url)=__('RESET_PASSWORD_REQUEST_EMAIL_LINK_TEXT')
|
a(href=url)=__('RESET_PASSWORD_REQUEST_EMAIL_LINK_TEXT')
|
||||||
p=__('RESET_PASSWORD_REQUEST_EMAIL_PARAGRAPH_2')
|
p=__('RESET_PASSWORD_REQUEST_EMAIL_PARAGRAPH_2')
|
||||||
p=__('VERIFICATION_EMAIL_PARAGRAPH_2')
|
p=__('VERIFICATION_EMAIL_PARAGRAPH_2')
|
||||||
a(href='mailto:team@tellform.com') team@tellform.com
|
a(href='mailto:team@ohmyform.com') team@ohmyform.com
|
||||||
p=__('EMAIL_SIGNATURE')
|
p=__('EMAIL_SIGNATURE')
|
||||||
td(width='36')
|
td(width='36')
|
||||||
tr
|
tr
|
||||||
@ -41,4 +41,4 @@ html
|
|||||||
tbody
|
tbody
|
||||||
tr(style="color: #c0c0c0; font-size: 11px; font-family: 'Open Sans', 'Lucida Grande', 'Segoe UI', Arial, Verdana, 'Lucida Sans Unicode', Tahoma, 'Sans Serif'; -webkit-text-size-adjust: none")
|
tr(style="color: #c0c0c0; font-size: 11px; font-family: 'Open Sans', 'Lucida Grande', 'Segoe UI', Arial, Verdana, 'Lucida Sans Unicode', Tahoma, 'Sans Serif'; -webkit-text-size-adjust: none")
|
||||||
td(width='400', align='left')
|
td(width='400', align='left')
|
||||||
td(width='128', align='right') © TellForm 2017
|
td(width='128', align='right')=copyright()
|
||||||
|
@ -30,8 +30,8 @@ html
|
|||||||
p
|
p
|
||||||
a(href='http://${URL}')=__('VERIFICATION_EMAIL_LINK_TEXT')
|
a(href='http://${URL}')=__('VERIFICATION_EMAIL_LINK_TEXT')
|
||||||
p=__('VERIFICATION_EMAIL_PARAGRAPH_2')
|
p=__('VERIFICATION_EMAIL_PARAGRAPH_2')
|
||||||
a(href='mailto:team@tellform.com')
|
a(href='mailto:team@ohmyform.com')
|
||||||
| team@tellform.com
|
| team@ohmyform.com
|
||||||
p=__('EMAIL_SIGNATURE')
|
p=__('EMAIL_SIGNATURE')
|
||||||
td(width='36')
|
td(width='36')
|
||||||
tr
|
tr
|
||||||
@ -46,4 +46,4 @@ html
|
|||||||
tbody
|
tbody
|
||||||
tr(style="color: #c0c0c0; font-size: 11px; font-family: 'Open Sans', 'Lucida Grande', 'Segoe UI', Arial, Verdana, 'Lucida Sans Unicode', Tahoma, 'Sans Serif'; -webkit-text-size-adjust: none")
|
tr(style="color: #c0c0c0; font-size: 11px; font-family: 'Open Sans', 'Lucida Grande', 'Segoe UI', Arial, Verdana, 'Lucida Sans Unicode', Tahoma, 'Sans Serif'; -webkit-text-size-adjust: none")
|
||||||
td(width='400', align='left')
|
td(width='400', align='left')
|
||||||
td(width='128', align='right') © TellForm 2017
|
td(width='128', align='right')=copyright()
|
||||||
|
@ -29,8 +29,8 @@ html
|
|||||||
p=__('EMAIL_GREETING')
|
p=__('EMAIL_GREETING')
|
||||||
p=__('WELCOME_EMAIL_PARAGRAPH_1')
|
p=__('WELCOME_EMAIL_PARAGRAPH_1')
|
||||||
p=__('WELCOME_EMAIL_PARAGRAPH_2')
|
p=__('WELCOME_EMAIL_PARAGRAPH_2')
|
||||||
a(href='mailto:team@tellform.com')
|
a(href='mailto:team@ohmyform.com')
|
||||||
| team@tellform.com
|
| team@ohmyform.com
|
||||||
p=__('EMAIL_SIGNATURE')
|
p=__('EMAIL_SIGNATURE')
|
||||||
td(width='36')
|
td(width='36')
|
||||||
tr
|
tr
|
||||||
@ -45,4 +45,4 @@ html
|
|||||||
tbody
|
tbody
|
||||||
tr(style="color: #c0c0c0; font-size: 11px; font-family: 'Open Sans', 'Lucida Grande', 'Segoe UI', Arial, Verdana, 'Lucida Sans Unicode', Tahoma, 'Sans Serif'; -webkit-text-size-adjust: none")
|
tr(style="color: #c0c0c0; font-size: 11px; font-family: 'Open Sans', 'Lucida Grande', 'Segoe UI', Arial, Verdana, 'Lucida Sans Unicode', Tahoma, 'Sans Serif'; -webkit-text-size-adjust: none")
|
||||||
td(width='400', align='left')
|
td(width='400', align='left')
|
||||||
td(width='128', align='right') © TellForm 2017
|
td(width='128', align='right')=copyright()
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "tellform",
|
"name": "ohmyform",
|
||||||
"description": "Opensource alternative to TypeForm",
|
"description": "Opensource alternative to TypeForm",
|
||||||
"version": "2.2.0",
|
"version": "2.2.0",
|
||||||
"homepage": "https://github.com/tellform/tellform",
|
"homepage": "https://github.com/ohmyform/ohmyform",
|
||||||
"authors": [
|
"authors": [
|
||||||
"David Baldwynn <polydaic@gmail.com> (http://baldwynn.me)"
|
"David Baldwynn <polydaic@gmail.com> (http://baldwynn.me)"
|
||||||
],
|
],
|
||||||
|
4
config/env/all.js
vendored
4
config/env/all.js
vendored
@ -3,7 +3,7 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
app: {
|
app: {
|
||||||
google_analytics_id: process.env.GOOGLE_ANALYTICS_ID || '',
|
google_analytics_id: process.env.GOOGLE_ANALYTICS_ID || '',
|
||||||
title: process.env.APP_NAME || 'TellForm',
|
title: process.env.APP_NAME || 'OhMyForm',
|
||||||
description: process.env.APP_DESC || 'Opensource form builder alternative to TypeForm',
|
description: process.env.APP_DESC || 'Opensource form builder alternative to TypeForm',
|
||||||
keywords: process.env.APP_KEYWORDS || 'typeform, pdfs, forms, opensource, formbuilder, google forms, nodejs'
|
keywords: process.env.APP_KEYWORDS || 'typeform, pdfs, forms, opensource, formbuilder, google forms, nodejs'
|
||||||
},
|
},
|
||||||
@ -31,7 +31,7 @@ module.exports = {
|
|||||||
tempUserCollection: 'temporary_users',
|
tempUserCollection: 'temporary_users',
|
||||||
|
|
||||||
mailer: {
|
mailer: {
|
||||||
from: process.env.MAILER_FROM || 'testing@'+process.env.SPARKPOST_SANDBOX_DOMAIN || 'no-reply@tellform.com',
|
from: process.env.MAILER_FROM || 'testing@'+process.env.SPARKPOST_SANDBOX_DOMAIN || 'no-reply@ohmyform.com',
|
||||||
options: process.env.MAILER_SMTP_HOST ? { //Uses custom SMTP if MAILER_SMTP_HOST is set
|
options: process.env.MAILER_SMTP_HOST ? { //Uses custom SMTP if MAILER_SMTP_HOST is set
|
||||||
host: process.env.MAILER_SMTP_HOST || '',
|
host: process.env.MAILER_SMTP_HOST || '',
|
||||||
port: process.env.MAILER_SMTP_PORT || 465,
|
port: process.env.MAILER_SMTP_PORT || 465,
|
||||||
|
2
config/env/development.js
vendored
2
config/env/development.js
vendored
@ -13,7 +13,7 @@ module.exports = {
|
|||||||
// Uncomment to enable logging to a log on the file system
|
// Uncomment to enable logging to a log on the file system
|
||||||
},
|
},
|
||||||
mailer: {
|
mailer: {
|
||||||
from: process.env.MAILER_FROM || 'no-reply@tellform.com',
|
from: process.env.MAILER_FROM || 'no-reply@ohmyform.com',
|
||||||
options: process.env.MAILER_SMTP_HOST ? { //Uses custom SMTP if MAILER_SMTP_HOST is set
|
options: process.env.MAILER_SMTP_HOST ? { //Uses custom SMTP if MAILER_SMTP_HOST is set
|
||||||
host: process.env.MAILER_SMTP_HOST || '',
|
host: process.env.MAILER_SMTP_HOST || '',
|
||||||
port: process.env.MAILER_SMTP_PORT || 465,
|
port: process.env.MAILER_SMTP_PORT || 465,
|
||||||
|
6
config/env/production.js
vendored
6
config/env/production.js
vendored
@ -1,12 +1,12 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
baseUrl: process.env.BASE_URL || process.env.HEROKU_APP_NAME + '.herokuapp.com' || 'tellform.com',
|
baseUrl: process.env.BASE_URL || process.env.HEROKU_APP_NAME + '.herokuapp.com' || 'ohmyform.com',
|
||||||
db: {
|
db: {
|
||||||
uri: process.env.MONGODB_URI || process.env.MONGOHQ_URL || process.env.MONGOLAB_URI || 'mongodb://' + (process.env.DB_PORT_27017_TCP_ADDR || '127.0.0.1') + '/mean'
|
uri: process.env.MONGODB_URI || process.env.MONGOHQ_URL || process.env.MONGOLAB_URI || 'mongodb://' + (process.env.DB_PORT_27017_TCP_ADDR || '127.0.0.1') + '/mean'
|
||||||
},
|
},
|
||||||
port: process.env.PORT || 5000,
|
port: process.env.PORT || 5000,
|
||||||
socketUrl: process.env.SOCKET_URL || 'ws.tellform.com',
|
socketUrl: process.env.SOCKET_URL || 'ws.ohmyform.com',
|
||||||
socketPortExternallyVisible: (process.env.SOCKET_PORT_EXTERN_VISIBLE === 'TRUE' || !process.env.SOCKET_PORT_EXTERN_VISIBLE), //socketPortExternallyVisible set to true in production config by default
|
socketPortExternallyVisible: (process.env.SOCKET_PORT_EXTERN_VISIBLE === 'TRUE' || !process.env.SOCKET_PORT_EXTERN_VISIBLE), //socketPortExternallyVisible set to true in production config by default
|
||||||
socketPort: process.env.SOCKET_PORT || 20523,
|
socketPort: process.env.SOCKET_PORT || 20523,
|
||||||
log: {
|
log: {
|
||||||
@ -25,7 +25,7 @@ module.exports = {
|
|||||||
sessionCookie: {
|
sessionCookie: {
|
||||||
secure: false,
|
secure: false,
|
||||||
maxAge: 24 * 60 * 60 * 1000, // 24 hours
|
maxAge: 24 * 60 * 60 * 1000, // 24 hours
|
||||||
domain: process.env.BASE_URL || '.tellform.com'
|
domain: process.env.BASE_URL || '.ohmyform.com'
|
||||||
},
|
},
|
||||||
assets: {
|
assets: {
|
||||||
css: ['public/dist/application.min.css'],
|
css: ['public/dist/application.min.css'],
|
||||||
|
2
config/env/test.js
vendored
2
config/env/test.js
vendored
@ -17,7 +17,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
subdomainsDisabled: true,
|
subdomainsDisabled: true,
|
||||||
app: {
|
app: {
|
||||||
title: 'TellForm Test'
|
title: 'OhMyForm Test'
|
||||||
},
|
},
|
||||||
sessionCookie: {
|
sessionCookie: {
|
||||||
maxAge: 24 * 60 * 60 * 1000 // 24 hours
|
maxAge: 24 * 60 * 60 * 1000 // 24 hours
|
||||||
|
@ -3,9 +3,7 @@
|
|||||||
/**
|
/**
|
||||||
* Module dependencies.
|
* Module dependencies.
|
||||||
*/
|
*/
|
||||||
var fs = require('fs'),
|
const express = require('express'),
|
||||||
https = require('https'),
|
|
||||||
express = require('express'),
|
|
||||||
morgan = require('morgan'),
|
morgan = require('morgan'),
|
||||||
logger = require('./logger'),
|
logger = require('./logger'),
|
||||||
bodyParser = require('body-parser'),
|
bodyParser = require('body-parser'),
|
||||||
@ -25,17 +23,6 @@ var fs = require('fs'),
|
|||||||
|
|
||||||
var mongoose = require('mongoose');
|
var mongoose = require('mongoose');
|
||||||
|
|
||||||
/**
|
|
||||||
* Configure Socket.io
|
|
||||||
*/
|
|
||||||
var configureSocketIO = function (app, db) {
|
|
||||||
// Load the Socket.io configuration
|
|
||||||
var server = require('./socket.io')(app, db);
|
|
||||||
|
|
||||||
// Return server object
|
|
||||||
return server;
|
|
||||||
};
|
|
||||||
|
|
||||||
var supportedLanguages = ['en', 'de', 'fr', 'it', 'es'];
|
var supportedLanguages = ['en', 'de', 'fr', 'it', 'es'];
|
||||||
|
|
||||||
function containsAnySupportedLanguages(preferredLanguages){
|
function containsAnySupportedLanguages(preferredLanguages){
|
||||||
@ -103,6 +90,10 @@ module.exports = function(db) {
|
|||||||
return i18n.__.apply(req, arguments);
|
return i18n.__.apply(req, arguments);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
res.locals.copyright = () => {
|
||||||
|
return '©OhMyForm '+(new Date().getFullYear());
|
||||||
|
};
|
||||||
|
|
||||||
next();
|
next();
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -349,7 +340,7 @@ module.exports = function(db) {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
app = configureSocketIO(app, db);
|
app = require('./socket.io')(app, db);
|
||||||
|
|
||||||
// Return Express server instance
|
// Return Express server instance
|
||||||
return app;
|
return app;
|
||||||
|
@ -7,7 +7,7 @@ services:
|
|||||||
image: mongo
|
image: mongo
|
||||||
volumes:
|
volumes:
|
||||||
- "./data/mongo:/data"
|
- "./data/mongo:/data"
|
||||||
tellform:
|
ohmyform:
|
||||||
image: ohmyform/ohmyform
|
image: ohmyform/ohmyform
|
||||||
#build: .
|
#build: .
|
||||||
#volumes:
|
#volumes:
|
||||||
@ -17,7 +17,7 @@ services:
|
|||||||
SOCKET_URL: 'localhost:5000'
|
SOCKET_URL: 'localhost:5000'
|
||||||
SOCKET_PORT: "5000"
|
SOCKET_PORT: "5000"
|
||||||
SOCKET_PORT_EXTERN_VISIBLE: "TRUE"
|
SOCKET_PORT_EXTERN_VISIBLE: "TRUE"
|
||||||
MONGODB_URI: mongodb://mongo/tellform
|
MONGODB_URI: mongodb://mongo/ohmyform
|
||||||
REDIS_URL: redis://redis
|
REDIS_URL: redis://redis
|
||||||
MAILER_SMTP_HOST: mail
|
MAILER_SMTP_HOST: mail
|
||||||
MAILER_SMTP_PORT: 1025
|
MAILER_SMTP_PORT: 1025
|
||||||
|
@ -43,7 +43,7 @@ http {
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://tellform:20523;
|
proxy_pass http://ohmyform:20523;
|
||||||
proxy_read_timeout 90;
|
proxy_read_timeout 90;
|
||||||
|
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
@ -59,7 +59,7 @@ http {
|
|||||||
{% if TLS and not TLS_ERROR %}
|
{% if TLS and not TLS_ERROR %}
|
||||||
proxy_set_header X-Forwarded-Proto https;
|
proxy_set_header X-Forwarded-Proto https;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
}
|
}
|
||||||
|
|
||||||
{% if TLS_FLAVOR == 'letsencrypt' %}
|
{% if TLS_FLAVOR == 'letsencrypt' %}
|
||||||
location ^~ /.well-known/acme-challenge/ {
|
location ^~ /.well-known/acme-challenge/ {
|
||||||
@ -94,9 +94,9 @@ http {
|
|||||||
|
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://tellform:5000;
|
proxy_pass http://ohmyform:5000;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
@ -106,7 +106,7 @@ http {
|
|||||||
proxy_set_header X-Forwarded-Proto https;
|
proxy_set_header X-Forwarded-Proto https;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
}
|
}
|
||||||
|
|
||||||
{% if TLS_FLAVOR == 'letsencrypt' %}
|
{% if TLS_FLAVOR == 'letsencrypt' %}
|
||||||
location ^~ /.well-known/acme-challenge/ {
|
location ^~ /.well-known/acme-challenge/ {
|
||||||
proxy_pass http://127.0.0.1:8008;
|
proxy_pass http://127.0.0.1:8008;
|
||||||
|
@ -12,7 +12,7 @@ command = [
|
|||||||
"-m", "{}@{}".format(os.environ["POSTMASTER"], os.environ["DOMAIN"]),
|
"-m", "{}@{}".format(os.environ["POSTMASTER"], os.environ["DOMAIN"]),
|
||||||
"certonly", "--standalone",
|
"certonly", "--standalone",
|
||||||
"--server", "https://acme-v02.api.letsencrypt.org/directory",
|
"--server", "https://acme-v02.api.letsencrypt.org/directory",
|
||||||
"--cert-name", "tellform",
|
"--cert-name", "ohmyform",
|
||||||
"--preferred-challenges", "http", "--http-01-port", "8008",
|
"--preferred-challenges", "http", "--http-01-port", "8008",
|
||||||
"--keep-until-expiring",
|
"--keep-until-expiring",
|
||||||
"--rsa-key-size", "4096",
|
"--rsa-key-size", "4096",
|
||||||
|
@ -243,7 +243,7 @@ module.exports = function(grunt) {
|
|||||||
},
|
},
|
||||||
forms: {
|
forms: {
|
||||||
options: {
|
options: {
|
||||||
module: 'TellForm-Form.form_templates'
|
module: 'OhMyForm-Form.form_templates'
|
||||||
},
|
},
|
||||||
src: ['public/form_modules/**/views/**.html', 'public/form_modules/**/views/**/*.html'],
|
src: ['public/form_modules/**/views/**.html', 'public/form_modules/**/views/**/*.html'],
|
||||||
dest: 'public/dist/form_populate_template_cache.js'
|
dest: 'public/dist/form_populate_template_cache.js'
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
// Init the application configuration module for AngularJS application
|
// Init the application configuration module for AngularJS application
|
||||||
var ApplicationConfiguration = (function() {
|
var ApplicationConfiguration = (function() {
|
||||||
// Init module configuration options
|
// Init module configuration options
|
||||||
var applicationModuleName = 'TellForm-Form';
|
var applicationModuleName = 'OhMyForm-Form';
|
||||||
var applicationModuleVendorDependencies = ['duScroll', 'ui.select', 'ngSanitize', 'vButton', 'ngResource', 'TellForm-Form.form_templates', 'ui.router', 'ui.bootstrap', 'pascalprecht.translate'];
|
var applicationModuleVendorDependencies = ['duScroll', 'ui.select', 'ngSanitize', 'vButton', 'ngResource', 'OhMyForm-Form.form_templates', 'ui.router', 'ui.bootstrap', 'pascalprecht.translate'];
|
||||||
|
|
||||||
// Add a new vertical module
|
// Add a new vertical module
|
||||||
var registerModule = function(moduleName, dependencies) {
|
var registerModule = function(moduleName, dependencies) {
|
||||||
|
@ -6,8 +6,8 @@ angular.module('view-form').config(['$translateProvider', function ($translatePr
|
|||||||
FORM_SUCCESS: 'Form entry successfully submitted!',
|
FORM_SUCCESS: 'Form entry successfully submitted!',
|
||||||
REVIEW: 'Review',
|
REVIEW: 'Review',
|
||||||
BACK_TO_FORM: 'Go back to Form',
|
BACK_TO_FORM: 'Go back to Form',
|
||||||
EDIT_FORM: 'Edit this TellForm',
|
EDIT_FORM: 'Edit this OhMyForm',
|
||||||
CREATE_FORM: 'Create this TellForm',
|
CREATE_FORM: 'Create this OhMyForm',
|
||||||
ADVANCEMENT: '{{done}} out of {{total}} answered',
|
ADVANCEMENT: '{{done}} out of {{total}} answered',
|
||||||
CONTINUE_FORM: 'Continue to Form',
|
CONTINUE_FORM: 'Continue to Form',
|
||||||
REQUIRED: 'required',
|
REQUIRED: 'required',
|
||||||
|
@ -6,8 +6,8 @@ angular.module('view-form').config(['$translateProvider', function ($translatePr
|
|||||||
FORM_SUCCESS: 'Votre formulaire a été enregistré!',
|
FORM_SUCCESS: 'Votre formulaire a été enregistré!',
|
||||||
REVIEW: 'Incomplet',
|
REVIEW: 'Incomplet',
|
||||||
BACK_TO_FORM: 'Retourner au formulaire',
|
BACK_TO_FORM: 'Retourner au formulaire',
|
||||||
EDIT_FORM: 'Éditer le Tellform',
|
EDIT_FORM: 'Éditer le OhMyForm',
|
||||||
CREATE_FORM: 'Créer un TellForm',
|
CREATE_FORM: 'Créer un OhMyForm',
|
||||||
ADVANCEMENT: '{{done}} complétés sur {{total}}',
|
ADVANCEMENT: '{{done}} complétés sur {{total}}',
|
||||||
CONTINUE_FORM: 'Aller au formulaire',
|
CONTINUE_FORM: 'Aller au formulaire',
|
||||||
REQUIRED: 'obligatoire',
|
REQUIRED: 'obligatoire',
|
||||||
|
@ -6,8 +6,8 @@ angular.module('view-form').config(['$translateProvider', function ($translatePr
|
|||||||
FORM_SUCCESS: 'Ihre Angaben wurden gespeichert.',
|
FORM_SUCCESS: 'Ihre Angaben wurden gespeichert.',
|
||||||
REVIEW: 'Unvollständig',
|
REVIEW: 'Unvollständig',
|
||||||
BACK_TO_FORM: 'Zurück zum Formular',
|
BACK_TO_FORM: 'Zurück zum Formular',
|
||||||
EDIT_FORM: 'Bearbeiten Sie diese TellForm',
|
EDIT_FORM: 'Bearbeiten Sie diese OhMyForm',
|
||||||
CREATE_FORM: 'Dieses TellForm erstellen',
|
CREATE_FORM: 'Dieses OhMyForm erstellen',
|
||||||
ADVANCEMENT: '{{done}} von {{total}} beantwortet',
|
ADVANCEMENT: '{{done}} von {{total}} beantwortet',
|
||||||
CONTINUE_FORM: 'Zum Formular',
|
CONTINUE_FORM: 'Zum Formular',
|
||||||
REQUIRED: 'verpflichtend',
|
REQUIRED: 'verpflichtend',
|
||||||
@ -36,10 +36,10 @@ angular.module('view-form').config(['$translateProvider', function ($translatePr
|
|||||||
|
|
||||||
LOADING_LABEL: 'Laden',
|
LOADING_LABEL: 'Laden',
|
||||||
WAIT_LABEL: 'Bitte warten',
|
WAIT_LABEL: 'Bitte warten',
|
||||||
|
|
||||||
FORM_404_HEADER: '404 - Formular existiert nicht',
|
FORM_404_HEADER: '404 - Formular existiert nicht',
|
||||||
FORM_404_BODY: 'Das Formular, auf das Sie zugreifen möchten, existiert nicht. Das tut mir leid!',
|
FORM_404_BODY: 'Das Formular, auf das Sie zugreifen möchten, existiert nicht. Das tut mir leid!',
|
||||||
|
|
||||||
FORM_UNAUTHORIZED_HEADER: 'Nicht zum Zugriffsformular berechtigt\' ',
|
FORM_UNAUTHORIZED_HEADER: 'Nicht zum Zugriffsformular berechtigt\' ',
|
||||||
FORM_UNAUTHORIZED_BODY1: 'Das Formular, auf das Sie zugreifen möchten, ist derzeit privat und nicht öffentlich zugänglich.',
|
FORM_UNAUTHORIZED_BODY1: 'Das Formular, auf das Sie zugreifen möchten, ist derzeit privat und nicht öffentlich zugänglich.',
|
||||||
FORM_UNAUTHORIZED_BODY2: 'Wenn Sie der Eigentümer des Formulars sind, können Sie es im Fenster "Konfiguration" im Formular admin auf "Öffentlich" setzen.',
|
FORM_UNAUTHORIZED_BODY2: 'Wenn Sie der Eigentümer des Formulars sind, können Sie es im Fenster "Konfiguration" im Formular admin auf "Öffentlich" setzen.',
|
||||||
|
@ -6,8 +6,8 @@ angular.module('view-form').config(['$translateProvider', function ($translatePr
|
|||||||
FORM_SUCCESS: 'Il formulario è stato inviato con successo!',
|
FORM_SUCCESS: 'Il formulario è stato inviato con successo!',
|
||||||
REVIEW: 'Incompleto',
|
REVIEW: 'Incompleto',
|
||||||
BACK_TO_FORM: 'Ritorna al formulario',
|
BACK_TO_FORM: 'Ritorna al formulario',
|
||||||
EDIT_FORM: 'Modifica questo TellForm',
|
EDIT_FORM: 'Modifica questo OhMyForm',
|
||||||
CREATE_FORM: 'Crea questo TellForm',
|
CREATE_FORM: 'Crea questo OhMyForm',
|
||||||
ADVANCEMENT: '{{done}} su {{total}} completate',
|
ADVANCEMENT: '{{done}} su {{total}} completate',
|
||||||
CONTINUE_FORM: 'Vai al formulario',
|
CONTINUE_FORM: 'Vai al formulario',
|
||||||
REQUIRED: 'obbligatorio',
|
REQUIRED: 'obbligatorio',
|
||||||
@ -36,10 +36,10 @@ angular.module('view-form').config(['$translateProvider', function ($translatePr
|
|||||||
|
|
||||||
LOADING_LABEL: 'Caricamento',
|
LOADING_LABEL: 'Caricamento',
|
||||||
WAIT_LABEL: "Attendere prego",
|
WAIT_LABEL: "Attendere prego",
|
||||||
|
|
||||||
FORM_404_HEADER: '404 - Il modulo non esiste',
|
FORM_404_HEADER: '404 - Il modulo non esiste',
|
||||||
FORM_404_BODY: 'La forma che stai cercando di accedere non esiste. Ci dispiace!',
|
FORM_404_BODY: 'La forma che stai cercando di accedere non esiste. Ci dispiace!',
|
||||||
|
|
||||||
FORM_UNAUTHORIZED_HEADER: 'Non autorizzato per accedere al modulo',
|
FORM_UNAUTHORIZED_HEADER: 'Non autorizzato per accedere al modulo',
|
||||||
FORM_UNAUTHORIZED_BODY1: 'Il modulo che si sta tentando di accedere è attualmente privato e non accessibile in pubblico.',
|
FORM_UNAUTHORIZED_BODY1: 'Il modulo che si sta tentando di accedere è attualmente privato e non accessibile in pubblico.',
|
||||||
FORM_UNAUTHORIZED_BODY2: 'Se sei il proprietario del modulo, puoi impostarlo su "Pubblico" nel pannello "Configurazione" nell\'amministratore di moduli.',
|
FORM_UNAUTHORIZED_BODY2: 'Se sei il proprietario del modulo, puoi impostarlo su "Pubblico" nel pannello "Configurazione" nell\'amministratore di moduli.',
|
||||||
|
@ -6,8 +6,8 @@ angular.module('view-form').config(['$translateProvider', function ($translatePr
|
|||||||
FORM_SUCCESS: '¡El formulario ha sido enviado con éxito!',
|
FORM_SUCCESS: '¡El formulario ha sido enviado con éxito!',
|
||||||
REVIEW: 'Revisar',
|
REVIEW: 'Revisar',
|
||||||
BACK_TO_FORM: 'Regresar al formulario',
|
BACK_TO_FORM: 'Regresar al formulario',
|
||||||
EDIT_FORM: 'Editar este TellForm',
|
EDIT_FORM: 'Editar este OhMyForm',
|
||||||
CREATE_FORM: 'Crear este TellForm',
|
CREATE_FORM: 'Crear este OhMyForm',
|
||||||
ADVANCEMENT: '{{done}} de {{total}} contestadas',
|
ADVANCEMENT: '{{done}} de {{total}} contestadas',
|
||||||
CONTINUE_FORM: 'Continuar al formulario',
|
CONTINUE_FORM: 'Continuar al formulario',
|
||||||
REQUIRED: 'Información requerida',
|
REQUIRED: 'Información requerida',
|
||||||
@ -33,13 +33,13 @@ angular.module('view-form').config(['$translateProvider', function ($translatePr
|
|||||||
OPTION_PLACEHOLDER: 'Escriba o seleccione una opción',
|
OPTION_PLACEHOLDER: 'Escriba o seleccione una opción',
|
||||||
ADD_NEW_LINE_INSTR: 'Presione MAYÚS + ENTRAR para agregar una nueva línea',
|
ADD_NEW_LINE_INSTR: 'Presione MAYÚS + ENTRAR para agregar una nueva línea',
|
||||||
ERROR: 'Error',
|
ERROR: 'Error',
|
||||||
|
|
||||||
LOADING_LABEL: 'Cargando',
|
LOADING_LABEL: 'Cargando',
|
||||||
WAIT_LABEL: 'Espera',
|
WAIT_LABEL: 'Espera',
|
||||||
|
|
||||||
FORM_404_HEADER: '404 - La forma no existe',
|
FORM_404_HEADER: '404 - La forma no existe',
|
||||||
FORM_404_BODY: 'El formulario al que intenta acceder no existe. ¡Lo siento por eso!',
|
FORM_404_BODY: 'El formulario al que intenta acceder no existe. ¡Lo siento por eso!',
|
||||||
|
|
||||||
FORM_UNAUTHORIZED_HEADER: 'Non autorizzato per accedere al modulo',
|
FORM_UNAUTHORIZED_HEADER: 'Non autorizzato per accedere al modulo',
|
||||||
FORM_UNAUTHORIZED_BODY1: 'Il modulo che si sta tentando di accedere è attualmente privato e non accessibile in pubblico.',
|
FORM_UNAUTHORIZED_BODY1: 'Il modulo che si sta tentando di accedere è attualmente privato e non accessibile in pubblico.',
|
||||||
FORM_UNAUTHORIZED_BODY2: 'Se sei il proprietario del modulo, puoi impostarlo su "Pubblico" nel pannello "Configurazione" nell\'amministratore di moduli.',
|
FORM_UNAUTHORIZED_BODY2: 'Se sei il proprietario del modulo, puoi impostarlo su "Pubblico" nel pannello "Configurazione" nell\'amministratore di moduli.',
|
||||||
|
@ -6,8 +6,8 @@ angular.module('view-form').config(['$translateProvider', function ($translatePr
|
|||||||
FORM_SUCCESS: 'Formulärsvaret skickades framgångsrikt in!',
|
FORM_SUCCESS: 'Formulärsvaret skickades framgångsrikt in!',
|
||||||
REVIEW: 'Granska',
|
REVIEW: 'Granska',
|
||||||
BACK_TO_FORM: 'Gå tillbaka till Formuläret',
|
BACK_TO_FORM: 'Gå tillbaka till Formuläret',
|
||||||
EDIT_FORM: 'Ändra denna TellForm',
|
EDIT_FORM: 'Ändra denna OhMyForm',
|
||||||
CREATE_FORM: 'Skapa denna TellForm',
|
CREATE_FORM: 'Skapa denna OhMyForm',
|
||||||
ADVANCEMENT: '{{done}} utav {{total}} svar',
|
ADVANCEMENT: '{{done}} utav {{total}} svar',
|
||||||
CONTINUE_FORM: 'Fortsätt till Form',
|
CONTINUE_FORM: 'Fortsätt till Form',
|
||||||
REQUIRED: 'krävs',
|
REQUIRED: 'krävs',
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
socket: null
|
socket: null
|
||||||
};
|
};
|
||||||
|
|
||||||
// Connect to TellForm Socket.io server
|
// Connect to OhMyForm Socket.io server
|
||||||
function connect() {
|
function connect() {
|
||||||
var url = '';
|
var url = '';
|
||||||
if($window.socketUrl && $window.socketPort){
|
if($window.socketUrl && $window.socketPort){
|
||||||
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 9.3 KiB |
@ -6,7 +6,7 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||||||
|
|
||||||
//Configure Form Tab View
|
//Configure Form Tab View
|
||||||
ADVANCED_SETTINGS: 'Advanced Settings',
|
ADVANCED_SETTINGS: 'Advanced Settings',
|
||||||
FORM_NAME: 'Your tellform is called',
|
FORM_NAME: 'Your ohmyform is called',
|
||||||
FORM_STATUS: 'Status',
|
FORM_STATUS: 'Status',
|
||||||
PUBLIC: 'Public',
|
PUBLIC: 'Public',
|
||||||
PRIVATE: 'Private',
|
PRIVATE: 'Private',
|
||||||
@ -62,17 +62,17 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||||||
DELETE_FORM_MD: 'Delete Form',
|
DELETE_FORM_MD: 'Delete Form',
|
||||||
DELETE: 'Delete',
|
DELETE: 'Delete',
|
||||||
FORM: 'Form',
|
FORM: 'Form',
|
||||||
VIEW_MY_TELLFORM: 'View my tellform',
|
VIEW_MY_OHMYFORM: 'View my ohmyform',
|
||||||
LIVE: 'Live',
|
LIVE: 'Live',
|
||||||
PREVIEW: 'Preview',
|
PREVIEW: 'Preview',
|
||||||
|
|
||||||
//Share Tab
|
//Share Tab
|
||||||
COPIED_LABEL: 'Copied',
|
COPIED_LABEL: 'Copied',
|
||||||
COPY: 'Copy',
|
COPY: 'Copy',
|
||||||
COPY_AND_PASTE: 'Copy and Paste this to add your TellForm to your website',
|
COPY_AND_PASTE: 'Copy and Paste this to add your OhMyForm to your website',
|
||||||
CHANGE_WIDTH_AND_HEIGHT: 'Change the width and height values to suit you best',
|
CHANGE_WIDTH_AND_HEIGHT: 'Change the width and height values to suit you best',
|
||||||
POWERED_BY: 'Powered by',
|
POWERED_BY: 'Powered by',
|
||||||
TELLFORM_URL: 'Your TellForm is permanently at this URL',
|
OHMYFORM_URL: 'Your OhMyForm is permanently at this URL',
|
||||||
|
|
||||||
//Edit Form View
|
//Edit Form View
|
||||||
DISABLED: 'Disabled',
|
DISABLED: 'Disabled',
|
||||||
@ -187,7 +187,7 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||||||
FORM_SUCCESS: 'Form entry successfully submitted!',
|
FORM_SUCCESS: 'Form entry successfully submitted!',
|
||||||
REVIEW: 'Review',
|
REVIEW: 'Review',
|
||||||
BACK_TO_FORM: 'Go back to Form',
|
BACK_TO_FORM: 'Go back to Form',
|
||||||
EDIT_FORM: 'Edit this TellForm',
|
EDIT_FORM: 'Edit this OhMyForm',
|
||||||
ADVANCEMENT: '{{done}} out of {{total}} answered',
|
ADVANCEMENT: '{{done}} out of {{total}} answered',
|
||||||
CONTINUE_FORM: 'Continue to Form',
|
CONTINUE_FORM: 'Continue to Form',
|
||||||
REQUIRED: 'required',
|
REQUIRED: 'required',
|
||||||
|
@ -5,7 +5,7 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||||||
$translateProvider.translations('fr', {
|
$translateProvider.translations('fr', {
|
||||||
// Configurer la vue de l'onglet Formulaire
|
// Configurer la vue de l'onglet Formulaire
|
||||||
ADVANCED_SETTINGS: 'Paramètres avancés',
|
ADVANCED_SETTINGS: 'Paramètres avancés',
|
||||||
FORM_NAME: "Votre tellform est appelé",
|
FORM_NAME: "Votre ohmyform est appelé",
|
||||||
FORM_STATUS: 'Statut',
|
FORM_STATUS: 'Statut',
|
||||||
PUBLIC: 'Public',
|
PUBLIC: 'Public',
|
||||||
PRIVATE: "Privé",
|
PRIVATE: "Privé",
|
||||||
@ -62,17 +62,17 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||||||
DELETE_FORM_MD: "Supprimer le formulaire",
|
DELETE_FORM_MD: "Supprimer le formulaire",
|
||||||
DELETE: "Supprimer",
|
DELETE: "Supprimer",
|
||||||
FORM: 'Formulaire',
|
FORM: 'Formulaire',
|
||||||
VIEW_MY_TELLFORM: "Afficher ma forme",
|
VIEW_MY_OHMYFORM: "Afficher ma forme",
|
||||||
LIVE: "Live",
|
LIVE: "Live",
|
||||||
PREVIEW: 'Aperçu',
|
PREVIEW: 'Aperçu',
|
||||||
|
|
||||||
//Share Tab
|
//Share Tab
|
||||||
COPIED_LABEL: 'Copié',
|
COPIED_LABEL: 'Copié',
|
||||||
COPY: "Copier",
|
COPY: "Copier",
|
||||||
COPY_AND_PASTE: "Copiez et collez ceci pour ajouter votre TellForm à votre site Web",
|
COPY_AND_PASTE: "Copiez et collez ceci pour ajouter votre OhMyForm à votre site Web",
|
||||||
CHANGE_WIDTH_AND_HEIGHT: "Changez les valeurs de largeur et de hauteur pour mieux vous convenir",
|
CHANGE_WIDTH_AND_HEIGHT: "Changez les valeurs de largeur et de hauteur pour mieux vous convenir",
|
||||||
POWERED_BY: "Alimenté par",
|
POWERED_BY: "Alimenté par",
|
||||||
TELLFORM_URL: "Votre TellForm est disponible à cette URL",
|
OHMYFORM_URL: "Votre OhMyForm est disponible à cette URL",
|
||||||
|
|
||||||
// Modifier la vue de formulaire
|
// Modifier la vue de formulaire
|
||||||
DISABLED: "Désactivé",
|
DISABLED: "Désactivé",
|
||||||
@ -187,7 +187,7 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||||||
FORM_SUCCESS: 'Entrée de formulaire soumise avec succès!',
|
FORM_SUCCESS: 'Entrée de formulaire soumise avec succès!',
|
||||||
REVIEW: 'Réviser',
|
REVIEW: 'Réviser',
|
||||||
BACK_TO_FORM: "Revenir au formulaire",
|
BACK_TO_FORM: "Revenir au formulaire",
|
||||||
EDIT_FORM: "Modifier ce TellForm",
|
EDIT_FORM: "Modifier ce OhMyForm",
|
||||||
ADVANCEMENT: '{{done}} sur {{total}} a répondu',
|
ADVANCEMENT: '{{done}} sur {{total}} a répondu',
|
||||||
CONTINUE_FORM: "Continuer à se former",
|
CONTINUE_FORM: "Continuer à se former",
|
||||||
REQUIRED: 'requis',
|
REQUIRED: 'requis',
|
||||||
|
@ -5,7 +5,7 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||||||
$translateProvider.translations('de', {
|
$translateProvider.translations('de', {
|
||||||
// Konfigurieren der Formularregisterkarte
|
// Konfigurieren der Formularregisterkarte
|
||||||
ADVANCED_SETTINGS: 'Erweiterte Einstellungen',
|
ADVANCED_SETTINGS: 'Erweiterte Einstellungen',
|
||||||
FORM_NAME: 'Ihr tellform heißt',
|
FORM_NAME: 'Ihr ohmyform heißt',
|
||||||
FORM_STATUS: 'Status',
|
FORM_STATUS: 'Status',
|
||||||
PUBLIC: 'Öffentlich',
|
PUBLIC: 'Öffentlich',
|
||||||
PRIVATE: 'Privat',
|
PRIVATE: 'Privat',
|
||||||
@ -62,16 +62,16 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||||||
DELETE_FORM_MD: 'Formular löschen',
|
DELETE_FORM_MD: 'Formular löschen',
|
||||||
DELETE: 'Löschen',
|
DELETE: 'Löschen',
|
||||||
FORM: 'Formular',
|
FORM: 'Formular',
|
||||||
VIEW_MY_TELLFORM: 'Mein tellform anzeigen',
|
VIEW_MY_OHMYFORM: 'Mein ohmyform anzeigen',
|
||||||
LIVE: 'Leben',
|
LIVE: 'Leben',
|
||||||
PREVIEW: 'Vorschau',
|
PREVIEW: 'Vorschau',
|
||||||
|
|
||||||
//Share Tab
|
//Share Tab
|
||||||
COPIED_LABEL: 'Kopiert',
|
COPIED_LABEL: 'Kopiert',
|
||||||
COPY: 'Kopieren',
|
COPY: 'Kopieren',
|
||||||
COPY_AND_PASTE: 'Kopieren und einfügen, um Ihre TellForm auf Ihrer Website hinzuzufügen',
|
COPY_AND_PASTE: 'Kopieren und einfügen, um Ihre OhMyForm auf Ihrer Website hinzuzufügen',
|
||||||
POWERED_BY: 'Unterstützt von',
|
POWERED_BY: 'Unterstützt von',
|
||||||
TELLFORM_URL: "Ihr TellForm ist dauerhaft unter dieser URL",
|
OHMYFORM_URL: "Ihr OhMyForm ist dauerhaft unter dieser URL",
|
||||||
|
|
||||||
// Formularansicht bearbeiten
|
// Formularansicht bearbeiten
|
||||||
DISABLED: 'Deaktiviert',
|
DISABLED: 'Deaktiviert',
|
||||||
@ -185,7 +185,7 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||||||
FORM_SUCCESS: 'Formulareintrag erfolgreich gesendet!',
|
FORM_SUCCESS: 'Formulareintrag erfolgreich gesendet!',
|
||||||
REVIEW: 'Überprüfung',
|
REVIEW: 'Überprüfung',
|
||||||
BACK_TO_FORM: 'Gehe zurück zu Formular',
|
BACK_TO_FORM: 'Gehe zurück zu Formular',
|
||||||
EDIT_FORM: 'Bearbeiten Sie diese TellForm',
|
EDIT_FORM: 'Bearbeiten Sie diese OhMyForm',
|
||||||
ADVANCEMENT: '{{done}} von {{total}} wurde beantwortet',
|
ADVANCEMENT: '{{done}} von {{total}} wurde beantwortet',
|
||||||
CONTINUE_FORM: 'Weiter zum Formular',
|
CONTINUE_FORM: 'Weiter zum Formular',
|
||||||
REQUIRED: 'erforderlich',
|
REQUIRED: 'erforderlich',
|
||||||
|
@ -5,7 +5,7 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||||||
$translateProvider.translations('it', {
|
$translateProvider.translations('it', {
|
||||||
// Configura la visualizzazione scheda modulo
|
// Configura la visualizzazione scheda modulo
|
||||||
ADVANCED_SETTINGS: 'Impostazioni avanzate',
|
ADVANCED_SETTINGS: 'Impostazioni avanzate',
|
||||||
FORM_NAME: 'Il tuo tellform è chiamato',
|
FORM_NAME: 'Il tuo ohmyform è chiamato',
|
||||||
FORM_STATUS: 'Stato',
|
FORM_STATUS: 'Stato',
|
||||||
PUBLIC: 'pubblico',
|
PUBLIC: 'pubblico',
|
||||||
PRIVATE: 'Privato',
|
PRIVATE: 'Privato',
|
||||||
@ -62,16 +62,16 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||||||
DELETE_FORM_MD: 'Elimina modulo',
|
DELETE_FORM_MD: 'Elimina modulo',
|
||||||
DELETE: 'Elimina',
|
DELETE: 'Elimina',
|
||||||
FORM: 'Forma',
|
FORM: 'Forma',
|
||||||
VIEW_MY_TELLFORM: 'Visualizza la mia informazione',
|
VIEW_MY_OHMYFORM: 'Visualizza la mia informazione',
|
||||||
LIVE: 'Live',
|
LIVE: 'Live',
|
||||||
PREVIEW: 'Anteprima',
|
PREVIEW: 'Anteprima',
|
||||||
|
|
||||||
// Share Tab
|
// Share Tab
|
||||||
COPIED_LABEL: "Copiato",
|
COPIED_LABEL: "Copiato",
|
||||||
COPY: 'Copia',
|
COPY: 'Copia',
|
||||||
COPY_AND_PASTE: 'Copia e incolla questo per aggiungere il tuo TellForm al tuo sito web',
|
COPY_AND_PASTE: 'Copia e incolla questo per aggiungere il tuo OhMyForm al tuo sito web',
|
||||||
POWERED_BY: 'Offerto da',
|
POWERED_BY: 'Offerto da',
|
||||||
TELLFORM_URL: 'Il tuo TellForm è permanente in questo URL',
|
OHMYFORM_URL: 'Il tuo OhMyForm è permanente in questo URL',
|
||||||
|
|
||||||
// Modifica vista modulo
|
// Modifica vista modulo
|
||||||
DISABLED: 'disabilitato',
|
DISABLED: 'disabilitato',
|
||||||
@ -186,7 +186,7 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||||||
FORM_SUCCESS: 'Inserimento modulo con successo presentato!',
|
FORM_SUCCESS: 'Inserimento modulo con successo presentato!',
|
||||||
REVIEW: 'Recensione',
|
REVIEW: 'Recensione',
|
||||||
BACK_TO_FORM: 'Torna alla scheda',
|
BACK_TO_FORM: 'Torna alla scheda',
|
||||||
EDIT_FORM: 'Modifica questo TellForm',
|
EDIT_FORM: 'Modifica questo OhMyForm',
|
||||||
ADVANCEMENT: '{{done}} su {{total}} ha risposto',
|
ADVANCEMENT: '{{done}} su {{total}} ha risposto',
|
||||||
CONTINUE_FORM: "Continua a formare",
|
CONTINUE_FORM: "Continua a formare",
|
||||||
REQUIRED: 'richiesta',
|
REQUIRED: 'richiesta',
|
||||||
|
@ -5,7 +5,7 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||||||
$translateProvider.translations('es', {
|
$translateProvider.translations('es', {
|
||||||
//Configure Form Tab View
|
//Configure Form Tab View
|
||||||
ADVANCED_SETTINGS: 'Configuraciones avanzadas',
|
ADVANCED_SETTINGS: 'Configuraciones avanzadas',
|
||||||
FORM_NAME: 'Tu tellform se llama',
|
FORM_NAME: 'Tu ohmyform se llama',
|
||||||
FORM_STATUS: 'Estado',
|
FORM_STATUS: 'Estado',
|
||||||
PUBLIC: 'Público',
|
PUBLIC: 'Público',
|
||||||
PRIVATE: 'Privado',
|
PRIVATE: 'Privado',
|
||||||
@ -19,7 +19,7 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||||||
SELF_NOTIFICATIONS_TAB: 'Auto notificaciones',
|
SELF_NOTIFICATIONS_TAB: 'Auto notificaciones',
|
||||||
RESPONDANT_NOTIFICATIONS_TAB: 'Notificaciones de los demandados',
|
RESPONDANT_NOTIFICATIONS_TAB: 'Notificaciones de los demandados',
|
||||||
GENERAL_TAB: 'Général',
|
GENERAL_TAB: 'Général',
|
||||||
|
|
||||||
SEND_NOTIFICATION_TO: 'Enviar a',
|
SEND_NOTIFICATION_TO: 'Enviar a',
|
||||||
NO_EMAIL_FIELD_WARNING: 'Error: necesita un campo de correo electrónico en su formulario para enviar el correo electrónico a su encuestado',
|
NO_EMAIL_FIELD_WARNING: 'Error: necesita un campo de correo electrónico en su formulario para enviar el correo electrónico a su encuestado',
|
||||||
REPLY_TO: 'Responder a',
|
REPLY_TO: 'Responder a',
|
||||||
@ -62,16 +62,16 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||||||
DELETE_FORM_MD: 'Borrar formulario',
|
DELETE_FORM_MD: 'Borrar formulario',
|
||||||
DELETE: 'Borrar',
|
DELETE: 'Borrar',
|
||||||
FORM: 'Formulario',
|
FORM: 'Formulario',
|
||||||
VIEW_MY_TELLFORM: 'Ver mi tellform',
|
VIEW_MY_OHMYFORM: 'Ver mi ohmyform',
|
||||||
LIVE: 'Online',
|
LIVE: 'Online',
|
||||||
PREVIEW: 'Vista previa',
|
PREVIEW: 'Vista previa',
|
||||||
|
|
||||||
// Share Tab
|
// Share Tab
|
||||||
COPIED_LABEL: 'Copiado',
|
COPIED_LABEL: 'Copiado',
|
||||||
COPY: 'Copiar',
|
COPY: 'Copiar',
|
||||||
COPY_AND_PASTE: 'Copiar y pegar esto para agregar su TellForm a su sitio web',
|
COPY_AND_PASTE: 'Copiar y pegar esto para agregar su OhMyForm a su sitio web',
|
||||||
POWERED_BY: 'Con la tecnlogía de',
|
POWERED_BY: 'Con la tecnlogía de',
|
||||||
TELLFORM_URL: 'Tu TellForm está en esta URL permanente',
|
OHMYFORM_URL: 'Tu OhMyForm está en esta URL permanente',
|
||||||
|
|
||||||
//Edit Form View
|
//Edit Form View
|
||||||
DISABLED: 'Deshabilitado',
|
DISABLED: 'Deshabilitado',
|
||||||
|
@ -50,10 +50,10 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||||||
LIVE: 'Live',
|
LIVE: 'Live',
|
||||||
PREVIEW: 'Förhandsvy',
|
PREVIEW: 'Förhandsvy',
|
||||||
COPY: 'Kopiera',
|
COPY: 'Kopiera',
|
||||||
COPY_AND_PASTE: 'Kopiera och Klistra in detta för att lägga till din TellForm till din hemsida.',
|
COPY_AND_PASTE: 'Kopiera och Klistra in detta för att lägga till din OhMyForm till din hemsida.',
|
||||||
CHANGE_WIDTH_AND_HEIGHT: 'Ändra bredd- och höjdvärden för att det ska passa dig bäst',
|
CHANGE_WIDTH_AND_HEIGHT: 'Ändra bredd- och höjdvärden för att det ska passa dig bäst',
|
||||||
POWERED_BY: 'Genererad av',
|
POWERED_BY: 'Genererad av',
|
||||||
TELLFORM_URL: "Din TellForm är permanent på denna URL",
|
OHMYFORM_URL: "Din OhMyForm är permanent på denna URL",
|
||||||
|
|
||||||
// Redigera Form-vy
|
// Redigera Form-vy
|
||||||
DISABLED: 'Avaktiverat',
|
DISABLED: 'Avaktiverat',
|
||||||
@ -167,7 +167,7 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||||||
FORM_SUCCESS: 'Formulär framgångsrikt inskickat!',
|
FORM_SUCCESS: 'Formulär framgångsrikt inskickat!',
|
||||||
REVIEW: 'Granska',
|
REVIEW: 'Granska',
|
||||||
BACK_TO_FORM: 'Gå Tillbaka till Formulär',
|
BACK_TO_FORM: 'Gå Tillbaka till Formulär',
|
||||||
EDIT_FORM: 'Redigera denna TellForm',
|
EDIT_FORM: 'Redigera denna OhMyForm',
|
||||||
ADVANCEMENT: '{{done}} av {{total}} svarade',
|
ADVANCEMENT: '{{done}} av {{total}} svarade',
|
||||||
CONTINUE_FORM: 'Fortsätt till Formulär',
|
CONTINUE_FORM: 'Fortsätt till Formulär',
|
||||||
REQUIRED: 'obligatorisk',
|
REQUIRED: 'obligatorisk',
|
||||||
|
@ -19,7 +19,7 @@ angular.module('forms').directive('shareFormDirective', ['$rootScope', '$transla
|
|||||||
$scope.embedCode = "<iframe id='iframe' src='" + $scope.actualFormURL + "' style='width:100%;height:500px;'></iframe>"+
|
$scope.embedCode = "<iframe id='iframe' src='" + $scope.actualFormURL + "' style='width:100%;height:500px;'></iframe>"+
|
||||||
"<div style='font-family: Sans-Serif;font-size: 12px;color: #999;opacity: 0.5; padding-top: 5px;'>"+
|
"<div style='font-family: Sans-Serif;font-size: 12px;color: #999;opacity: 0.5; padding-top: 5px;'>"+
|
||||||
$translate.instant('POWERED_BY')+
|
$translate.instant('POWERED_BY')+
|
||||||
"<a href='https://www.tellform.com' style='color: #999' target='_blank'>TellForm</a>"+
|
"<a href='https://www.ohmyform.com' style='color: #999' target='_blank'>OhMyForm</a>"+
|
||||||
"</div>";
|
"</div>";
|
||||||
|
|
||||||
/* Tab Routing Logic */
|
/* Tab Routing Logic */
|
||||||
@ -55,4 +55,4 @@ angular.module('forms').directive('shareFormDirective', ['$rootScope', '$transla
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
<a class="btn btn-secondary view-form-btn" href="{{actualFormURL}}" target="_blank">
|
<a class="btn btn-secondary view-form-btn" href="{{actualFormURL}}" target="_blank">
|
||||||
<i class="fa fa-external-link"></i>
|
<i class="fa fa-external-link"></i>
|
||||||
<span>
|
<span>
|
||||||
{{ 'VIEW_MY_TELLFORM' | translate }}
|
{{ 'VIEW_MY_OHMYFORM' | translate }}
|
||||||
</span>
|
</span>
|
||||||
<i class="status-light status-light-on fa fa-circle" ng-if="myform.isLive"></i>
|
<i class="status-light status-light-on fa fa-circle" ng-if="myform.isLive"></i>
|
||||||
<i class="status-light status-light-off fa fa-circle" ng-if="!myform.isLive"></i>
|
<i class="status-light status-light-off fa fa-circle" ng-if="!myform.isLive"></i>
|
||||||
|
@ -17,9 +17,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="notification-row">
|
<div class="notification-row">
|
||||||
<input bs-switch class="toggle-switch notification-toggle" type="checkbox"
|
<input bs-switch class="toggle-switch notification-toggle" type="checkbox"
|
||||||
switch-size="small"
|
switch-size="small"
|
||||||
ng-model="myform.respondentNotifications.enabled"
|
ng-model="myform.respondentNotifications.enabled"
|
||||||
switch-on-text="{{ 'ON' | translate }}"
|
switch-on-text="{{ 'ON' | translate }}"
|
||||||
switch-off-text="{{ 'OFF' | translate }}"
|
switch-off-text="{{ 'OFF' | translate }}"
|
||||||
switch-active="{{formHasEmailField}}">
|
switch-active="{{formHasEmailField}}">
|
||||||
@ -53,7 +53,7 @@
|
|||||||
<input class="form-control"
|
<input class="form-control"
|
||||||
type="text"
|
type="text"
|
||||||
ng-model="myform.respondentNotifications.replyEmail"
|
ng-model="myform.respondentNotifications.replyEmail"
|
||||||
placeholder="noreply@tellform.com">
|
placeholder="noreply@ohmyform.com">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -106,4 +106,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
<div class="row share-row">
|
<div class="row share-row">
|
||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
{{ 'TELLFORM_URL' | translate }}
|
{{ 'OHMYFORM_URL' | translate }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-10 form-input">
|
<div class="col-sm-10 form-input">
|
||||||
<span>
|
<span>
|
||||||
<input id="copyURL" ng-value="actualFormURL" class="form-control ng-pristine ng-untouched ng-valid">
|
<input id="copyURL" ng-value="actualFormURL" class="form-control ng-pristine ng-untouched ng-valid">
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-2">
|
<div class="col-sm-2">
|
||||||
<button class="btn btn-secondary view-form-btn"
|
<button class="btn btn-secondary view-form-btn"
|
||||||
ngclipboard data-clipboard-target="#copyURL" ngclipboard-success="onCopySuccess()">
|
ngclipboard data-clipboard-target="#copyURL" ngclipboard-success="onCopySuccess()">
|
||||||
<span ng-if="!isCopied">
|
<span ng-if="!isCopied">
|
||||||
{{ 'COPY' | translate }} <i class="fa fa-clipboard" aria-hidden="true"></i>
|
{{ 'COPY' | translate }} <i class="fa fa-clipboard" aria-hidden="true"></i>
|
||||||
@ -20,4 +20,4 @@
|
|||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
var sampleVisitors = [{
|
var sampleVisitors = [{
|
||||||
socketId: '33b1f1dea0ce12fab9ed8739',
|
socketId: '33b1f1dea0ce12fab9ed8739',
|
||||||
referrer: 'https://tellform.com/examples',
|
referrer: 'https://ohmyform.com/examples',
|
||||||
lastActiveField: 'ed873933b0ce121f1deafab9',
|
lastActiveField: 'ed873933b0ce121f1deafab9',
|
||||||
timeElapsed: 100000,
|
timeElapsed: 100000,
|
||||||
isSubmitted: true,
|
isSubmitted: true,
|
||||||
|
@ -42,7 +42,7 @@ angular.module('users').config(['$translateProvider', function ($translateProvid
|
|||||||
SAVE_PASSWORD_BTN: 'Save Password',
|
SAVE_PASSWORD_BTN: 'Save Password',
|
||||||
|
|
||||||
SUCCESS_HEADER: 'Signup Successful',
|
SUCCESS_HEADER: 'Signup Successful',
|
||||||
SUCCESS_TEXT: 'You’ve successfully registered an account at TellForm.',
|
SUCCESS_TEXT: 'You’ve successfully registered an account at OhMyForm.',
|
||||||
VERIFICATION_EMAIL_SENT: 'Verification Email has been Sent',
|
VERIFICATION_EMAIL_SENT: 'Verification Email has been Sent',
|
||||||
VERIFICATION_EMAIL_SENT_TO: 'A verification email has been sent to',
|
VERIFICATION_EMAIL_SENT_TO: 'A verification email has been sent to',
|
||||||
NOT_ACTIVATED_YET: 'But your account is not activated yet',
|
NOT_ACTIVATED_YET: 'But your account is not activated yet',
|
||||||
|
@ -27,7 +27,7 @@ angular.module('users').config(['$translateProvider', function ($translateProvid
|
|||||||
SAVE_PASSWORD_BTN: 'Enregistrer votre nouveau mot de passe',
|
SAVE_PASSWORD_BTN: 'Enregistrer votre nouveau mot de passe',
|
||||||
|
|
||||||
SUCCESS_HEADER: 'Votre compte a été enregistré !',
|
SUCCESS_HEADER: 'Votre compte a été enregistré !',
|
||||||
SUCCESS_TEXT: 'Votre compte Tellform a été créé avec succès.',
|
SUCCESS_TEXT: 'Votre compte OhMyForm a été créé avec succès.',
|
||||||
VERIFICATION_EMAIL_SENT: 'Un email de verification a été envoyé à',
|
VERIFICATION_EMAIL_SENT: 'Un email de verification a été envoyé à',
|
||||||
NOT_ACTIVATED_YET: 'Mais votre compte n\'est pas activé',
|
NOT_ACTIVATED_YET: 'Mais votre compte n\'est pas activé',
|
||||||
BEFORE_YOU_CONTINUE: 'Avant de continuer, vous devez valider votre adresse mail. Merci de vérifier votre boîte mail. Si vous ne l’avez pas reçu dans les prochaines 24h, contactez-nous à ',
|
BEFORE_YOU_CONTINUE: 'Avant de continuer, vous devez valider votre adresse mail. Merci de vérifier votre boîte mail. Si vous ne l’avez pas reçu dans les prochaines 24h, contactez-nous à ',
|
||||||
|
@ -42,7 +42,7 @@ angular.module('users').config(['$translateProvider', function ($translateProvid
|
|||||||
SAVE_PASSWORD_BTN: 'Passwort speichern',
|
SAVE_PASSWORD_BTN: 'Passwort speichern',
|
||||||
|
|
||||||
SUCCESS_HEADER: 'Anmeldung erfolgreich',
|
SUCCESS_HEADER: 'Anmeldung erfolgreich',
|
||||||
SUCCESS_TEXT: 'Sie haben ein Konto erfolgreich bei TellForm registriert.',
|
SUCCESS_TEXT: 'Sie haben ein Konto erfolgreich bei OhMyForm registriert.',
|
||||||
VERIFICATION_EMAIL_SENT: 'Bestätigungs-E-Mail wurde gesendet',
|
VERIFICATION_EMAIL_SENT: 'Bestätigungs-E-Mail wurde gesendet',
|
||||||
VERIFICATION_EMAIL_SENT_TO: 'Es wurde eine Bestätigungs-E-Mail gesendet.',
|
VERIFICATION_EMAIL_SENT_TO: 'Es wurde eine Bestätigungs-E-Mail gesendet.',
|
||||||
NOT_ACTIVATED_YET: 'Dein Account ist noch nicht aktiviert',
|
NOT_ACTIVATED_YET: 'Dein Account ist noch nicht aktiviert',
|
||||||
|
@ -42,7 +42,7 @@ angular.module('users').config(['$translateProvider', function ($translateProvid
|
|||||||
SAVE_PASSWORD_BTN: 'Salva password',
|
SAVE_PASSWORD_BTN: 'Salva password',
|
||||||
|
|
||||||
SUCCESS_HEADER: 'Registra il successo',
|
SUCCESS_HEADER: 'Registra il successo',
|
||||||
SUCCESS_TEXT: 'Hai registrato un account con TellForm.',
|
SUCCESS_TEXT: 'Hai registrato un account con OhMyForm.',
|
||||||
VERIFICATION_EMAIL_SENT: 'L\'email di verifica è stata inviata',
|
VERIFICATION_EMAIL_SENT: 'L\'email di verifica è stata inviata',
|
||||||
VERIFICATION_EMAIL_SENT_TO: 'E\' stata inviata un\'email di verifica a ',
|
VERIFICATION_EMAIL_SENT_TO: 'E\' stata inviata un\'email di verifica a ',
|
||||||
NOT_ACTIVATED_YET: 'Ma il tuo account non è ancora attivato',
|
NOT_ACTIVATED_YET: 'Ma il tuo account non è ancora attivato',
|
||||||
|
@ -42,7 +42,7 @@ angular.module('users').config(['$translateProvider', function ($translateProvid
|
|||||||
SAVE_PASSWORD_BTN: 'Grabar contraseña',
|
SAVE_PASSWORD_BTN: 'Grabar contraseña',
|
||||||
|
|
||||||
SUCCESS_HEADER: 'Ingresaste exitosamente',
|
SUCCESS_HEADER: 'Ingresaste exitosamente',
|
||||||
SUCCESS_TEXT: 'Registraste exitosamente una cuenta en TellForm.',
|
SUCCESS_TEXT: 'Registraste exitosamente una cuenta en OhMyForm.',
|
||||||
VERIFICATION_EMAIL_SENT: 'El email de verificación fue enviado exitosamente',
|
VERIFICATION_EMAIL_SENT: 'El email de verificación fue enviado exitosamente',
|
||||||
VERIFICATION_EMAIL_SENT_TO: 'Un email de verificación fue enviado a',
|
VERIFICATION_EMAIL_SENT_TO: 'Un email de verificación fue enviado a',
|
||||||
NOT_ACTIVATED_YET: 'Tu cuenta aún no está activa',
|
NOT_ACTIVATED_YET: 'Tu cuenta aún no está activa',
|
||||||
|
@ -42,7 +42,7 @@ angular.module('users').config(['$translateProvider', function ($translateProvid
|
|||||||
SAVE_PASSWORD_BTN: 'Spara Lösenord',
|
SAVE_PASSWORD_BTN: 'Spara Lösenord',
|
||||||
|
|
||||||
SUCCESS_HEADER: 'Registrering Framgånsrik',
|
SUCCESS_HEADER: 'Registrering Framgånsrik',
|
||||||
SUCCESS_TEXT: 'Du har framgångsrikt registrerat ett konto på TellForm.',
|
SUCCESS_TEXT: 'Du har framgångsrikt registrerat ett konto på OhMyForm.',
|
||||||
VERIFICATION_EMAIL_SENT: 'Ett Verifieringsmeddelande har blivit Skickat',
|
VERIFICATION_EMAIL_SENT: 'Ett Verifieringsmeddelande har blivit Skickat',
|
||||||
VERIFICATION_EMAIL_SENT_TO: 'Ett verifieringsmeddelande har blivit skickat till',
|
VERIFICATION_EMAIL_SENT_TO: 'Ett verifieringsmeddelande har blivit skickat till',
|
||||||
NOT_ACTIVATED_YET: 'Men ditt konto är ännu inte aktiverat',
|
NOT_ACTIVATED_YET: 'Men ditt konto är ännu inte aktiverat',
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<br><br>
|
<br><br>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<strong>{{ 'BEFORE_YOU_CONTINUE' | translate }}</strong> <a href="mail:team@tellform.com">team@tellform.com</a></p>
|
<strong>{{ 'BEFORE_YOU_CONTINUE' | translate }}</strong> <a href="mail:team@ohmyform.com">team@ohmyform.com</a></p>
|
||||||
<div class="text-center form-group">
|
<div class="text-center form-group">
|
||||||
<button type="submit" class="btn btn-primary btn-rounded">
|
<button type="submit" class="btn btn-primary btn-rounded">
|
||||||
<a href="/#!/" style="color: white; text-decoration: none;">{{ 'CONTINUE' | translate }}</a>
|
<a href="/#!/" style="color: white; text-decoration: none;">{{ 'CONTINUE' | translate }}</a>
|
||||||
|
@ -2,17 +2,17 @@
|
|||||||
"swagger": "2.0",
|
"swagger": "2.0",
|
||||||
"info": {
|
"info": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"title": "TellForm API",
|
"title": "OhMyForm API",
|
||||||
"contact": {
|
"contact": {
|
||||||
"name": "TellForm Team",
|
"name": "OhMyForm Team",
|
||||||
"email": "team@tellform.com"
|
"email": "team@ohmyform.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"externalDocs": {
|
"externalDocs": {
|
||||||
"description": "Find out how to host your own TellForm instance.",
|
"description": "Find out how to host your own OhMyForm instance.",
|
||||||
"url": "https://github.com/tellform/tellform"
|
"url": "https://github.com/ohmyform/ohmyform"
|
||||||
},
|
},
|
||||||
"host": "api.tellform.com",
|
"host": "api.ohmyform.com",
|
||||||
"basePath": "/",
|
"basePath": "/",
|
||||||
"schemes": [
|
"schemes": [
|
||||||
"http",
|
"http",
|
||||||
|
@ -13,8 +13,8 @@ var mongoose = require('mongoose'),
|
|||||||
_ = require('lodash');
|
_ = require('lodash');
|
||||||
|
|
||||||
var exitSuccess = function(cb) {
|
var exitSuccess = function(cb) {
|
||||||
console.log(chalk.green('TellForm has been successfully setup'));
|
console.log(chalk.green('OhMyForm has been successfully setup'));
|
||||||
console.log(chalk.green('Have fun using TellForm!'));
|
console.log(chalk.green('Have fun using OhMyForm!'));
|
||||||
|
|
||||||
if(require.main === module){
|
if(require.main === module){
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
@ -72,7 +72,7 @@ var createOrUpdateAdminUser = function(username, email, password, cb){
|
|||||||
|
|
||||||
var options = {
|
var options = {
|
||||||
upsert: true,
|
upsert: true,
|
||||||
new: true,
|
new: true,
|
||||||
setDefaultsOnInsert: true
|
setDefaultsOnInsert: true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -140,7 +140,7 @@ var createENVFile = function(cb) {
|
|||||||
} catch (fileErr) {
|
} catch (fileErr) {
|
||||||
console.error(chalk.red(fileErr));
|
console.error(chalk.red(fileErr));
|
||||||
process.exit(-1);
|
process.exit(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(chalk.green('Successfully created .env file'));
|
console.log(chalk.green('Successfully created .env file'));
|
||||||
|
|
||||||
@ -150,7 +150,7 @@ var createENVFile = function(cb) {
|
|||||||
}
|
}
|
||||||
exitSuccess(cb);
|
exitSuccess(cb);
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@ -159,7 +159,7 @@ var createENVFile = function(cb) {
|
|||||||
var checkENVAndRunSetup = function(cb) {
|
var checkENVAndRunSetup = function(cb) {
|
||||||
console.log(chalk.green(constants.asciiArt));
|
console.log(chalk.green(constants.asciiArt));
|
||||||
if(require.main === module){
|
if(require.main === module){
|
||||||
console.log(chalk.green('Welcome to TellForm\'s Setup Tool'));
|
console.log(chalk.green('Welcome to OhMyForm\'s Setup Tool'));
|
||||||
console.log(chalk.green('Follow the prompts to begin.\n-------------------------------------------\n\n'));
|
console.log(chalk.green('Follow the prompts to begin.\n-------------------------------------------\n\n'));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -175,8 +175,8 @@ var checkENVAndRunSetup = function(cb) {
|
|||||||
} else {
|
} else {
|
||||||
|
|
||||||
if(require.main !== module){
|
if(require.main !== module){
|
||||||
console.log(chalk.green('Welcome to TellForm\'s Initial Setup\n'));
|
console.log(chalk.green('Welcome to OhMyForm\'s Initial Setup\n'));
|
||||||
console.log(chalk.green('The following prompts will help you properly configure your TellForm instance.'));
|
console.log(chalk.green('The following prompts will help you properly configure your OhMyForm instance.'));
|
||||||
console.log(chalk.green('If you want to run this tool after your inital setup, run `node scripts/setup.js`.\n---------------------------------------------------------------------\n\n'));
|
console.log(chalk.green('If you want to run this tool after your inital setup, run `node scripts/setup.js`.\n---------------------------------------------------------------------\n\n'));
|
||||||
}
|
}
|
||||||
createENVFile();
|
createENVFile();
|
||||||
|
@ -16,13 +16,13 @@ var validateEmail = createRegexValidator(constants.regex.email, 'Please enter a
|
|||||||
var validateUsername = createRegexValidator(constants.regex.username, 'Usernames can only contain alphanumeric characters and \'-\'');
|
var validateUsername = createRegexValidator(constants.regex.username, 'Usernames can only contain alphanumeric characters and \'-\'');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
asciiArt: " _____ _ _______ \n" +
|
asciiArt: " _____ _ _______ \n" +
|
||||||
" |_ _| | | | ___| \n" +
|
" |_ _| | | | ___| \n" +
|
||||||
" | | ___| | | |_ ___ _ __ _ __ ___ \n" +
|
" | | ___| | | |_ ___ _ __ _ __ ___ \n" +
|
||||||
" | |/ _ \\ | | _/ _ \\| '__| '_ ` _ \\ \n" +
|
" | |/ _ \\ | | _/ _ \\| '__| '_ ` _ \\ \n" +
|
||||||
" | | __/ | | || (_) | | | | | | | |\n" +
|
" | | __/ | | || (_) | | | | | | | |\n" +
|
||||||
" \\_/\\___|_|_\\_| \\___/|_| |_| |_| |_|\n",
|
" \\_/\\___|_|_\\_| \\___/|_| |_| |_| |_|\n",
|
||||||
|
|
||||||
|
|
||||||
replaceENVQuestion: {
|
replaceENVQuestion: {
|
||||||
type: 'confirm',
|
type: 'confirm',
|
||||||
@ -35,14 +35,14 @@ module.exports = {
|
|||||||
{
|
{
|
||||||
type: 'list',
|
type: 'list',
|
||||||
name: 'NODE_ENV',
|
name: 'NODE_ENV',
|
||||||
message: 'What mode do you want to run TellForm in?',
|
message: 'What mode do you want to run OhMyForm in?',
|
||||||
choices: ['development', 'production', 'test'],
|
choices: ['development', 'production', 'test'],
|
||||||
default: 'development'
|
default: 'development'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'input',
|
type: 'input',
|
||||||
name: 'APP_NAME',
|
name: 'APP_NAME',
|
||||||
message: 'What do you want to name your TellForm deployment?'
|
message: 'What do you want to name your OhMyForm deployment?'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'input',
|
type: 'input',
|
||||||
@ -171,13 +171,13 @@ module.exports = {
|
|||||||
{
|
{
|
||||||
type: 'input',
|
type: 'input',
|
||||||
name: 'BASE_URL',
|
name: 'BASE_URL',
|
||||||
message: 'What is the (root) url your TellForm will be hosted at?',
|
message: 'What is the (root) url your OhMyForm will be hosted at?',
|
||||||
default: 'localhost'
|
default: 'localhost'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'input',
|
type: 'input',
|
||||||
name: 'PORT',
|
name: 'PORT',
|
||||||
message: 'What port should the TellForm server run on?',
|
message: 'What port should the OhMyForm server run on?',
|
||||||
default: '3000'
|
default: '3000'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -198,4 +198,4 @@ module.exports = {
|
|||||||
message: 'What should be the password for your admin account?'
|
message: 'What should be the password for your admin account?'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user