staywokeorg / intake Goto Github PK
View Code? Open in Web Editor NEW#signinmechanism
#signinmechanism
The current favicon is on a white background, which doesn't look as good in some contexts:
Let's nab one of the PNGs from http://emojipedia.org/raised-fist-type-5/ (I prefer the Apple one) and use it directly (if possible), or convert it to .ico format if required.
i.e. travis
SESSION_SECRET
DATA_API
DATA_API_PORT
DATA_API_TOKEN
add runtime ENV checks with logging to ensure these are defined. exit process if not configured.
https://in.staywoketech.org/inauguration.html#planning
we're loading the launch script over https, but it's trying to load it's own copy of jquery over http and it's getting blocked.
may need to validate/truncate user input before saving to central
from a DM with Deray:
I think that we are going to have the background not look as intense moving forward.
Need to get some vision on the design of the page and what visual imagery to use. Might help to resolve #17 first, and then design around the messaging.
the required
attribute isn't fully supported in Safari and iOS Safari, so it's currently possible to submit the form without filling it out.
http://caniuse.com/#feat=form-validation
need to validate the form in the client and prevent incomplete submission.
create directories src
and test
and add some initial tests.
see discussion in #33
currently when the server restarts, any existing sessions are reset. need to see if there's an easy way to persist these across app restarts.
seems like we should implement https since we're collecting user data.
maybe we can use https://letsencrypt.org.
happens when user enters skip for the zip step. details:
sms error TypeError: Cannot read property 'toString' of undefined
at Promise (/Users/pascal/Projects/staywoke/intake/src/user/save_user.js:82:55)
at saveUser (/Users/pascal/Projects/staywoke/intake/src/user/save_user.js:56:10)
at issues (/Users/pascal/Projects/staywoke/intake/src/controller/sms/signup/signup_steps.js:168:7)
at Object.stepsDispatcher [as dispatcher] (/Users/pascal/Projects/staywoke/intake/src/controller/sms/signup/signup_dispatcher.js:25:5)
at unknown (/Users/pascal/Projects/staywoke/intake/src/controller/sms/commands.js:41:14)
at dispatcher (/Users/pascal/Projects/staywoke/intake/src/controller/sms/dispatcher.js:29:3)
at Layer.handle [as handle_request] (/Users/pascal/Projects/staywoke/intake/node_modules/express/lib/router/layer.js:95:5)
at next (/Users/pascal/Projects/staywoke/intake/node_modules/express/lib/router/route.js:131:13)
at Route.dispatch (/Users/pascal/Projects/staywoke/intake/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/Users/pascal/Projects/staywoke/intake/node_modules/express/lib/router/layer.js:95:5)
at /Users/pascal/Projects/staywoke/intake/node_modules/express/lib/router/index.js:277:22
at Function.process_params (/Users/pascal/Projects/staywoke/intake/node_modules/express/lib/router/index.js:330:12)
at next (/Users/pascal/Projects/staywoke/intake/node_modules/express/lib/router/index.js:271:10)
at serveStatic (/Users/pascal/Projects/staywoke/intake/node_modules/serve-static/index.js:75:16)
at Layer.handle [as handle_request] (/Users/pascal/Projects/staywoke/intake/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/Users/pascal/Projects/staywoke/intake/node_modules/express/lib/router/index.js:312:13) +2ms
when starting the app in production i get this warning:
Warning: connect.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and will not scale past a single process.
some googling turns up this package as the recommended solution:
https://www.npmjs.com/package/session-memory-store
need to implement that.
do we need anything in the footer?
currently this 404s. perhaps we can come up with a standard icon for all projects to use.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.