62 Commits

Author SHA1 Message Date
Alicia Sykes
78d486b87c Run on multiple ports 2018-03-24 23:20:49 +00:00
Alicia Sykes
f170aa006b Need ca too for ssl 2018-03-24 22:37:38 +00:00
Alicia Sykes
3a12371ee8 Oops, that was a typo: SSH --> SSL 2018-03-24 22:30:46 +00:00
Alicia Sykes
02d8f2785d We need SSL for production 2018-03-24 21:14:54 +00:00
Alicia Sykes
f5b43f8f32 Change path of Mongo URL 2018-03-15 21:15:53 +00:00
Alicia Sykes
a7f9f35c4d can now save users responses 🙌 2018-03-03 20:33:21 +00:00
Alicia Sykes
7c7ef1e1fa It finally works. Just needs a quick refractor 2018-03-03 17:14:55 +00:00
Alicia Sykes
e874150f9c Succesfully saves IF today is not empty 2018-03-03 15:35:32 +00:00
Alicia Sykes
a1f657acd0 All that is left on this file is to make the insert 2018-02-18 16:30:17 +00:00
Alicia Sykes
66ffe81b8e Wrote date checking function 2018-02-17 20:57:12 +00:00
Alicia Sykes
2730c9f375 Error messaging done 2018-02-17 19:27:02 +00:00
Alicia Sykes
9f79df4f96 Can't believe this bloody file still isn't done. Commiting to move computers. 2018-02-11 21:07:32 +00:00
Alicia Sykes
5ffcca5e88 We are going to create a better way to catch errors. Its not done yet, but pushing just to keep changes safe 2018-02-06 18:19:37 +00:00
Alicia Sykes
b96759a4a1 Jdoc 2018-02-06 16:54:47 +00:00
Alicia Sykes
25732df3d9 1 2018-02-02 10:55:52 +00:00
Alicia Sykes
e00f77a1ce Checks if user already submited, part 1 2018-02-01 21:11:14 +00:00
Alicia Sykes
560420752e Use promises, NOT callbacks 2018-01-29 22:24:50 +00:00
Alicia Sykes
bce24a0589 roundDate function written 2018-01-28 16:43:07 +00:00
Alicia Sykes
fe6f5df1e3 Just commiting work done this evening (incase I get hit by a bus on my way to McDonalds) 2018-01-27 21:05:49 +00:00
Alicia Sykes
484eb2ee53 Will store common helper functions 2018-01-27 21:04:38 +00:00
Alicia Sykes
71ad74d00c Check which team user is in 2018-01-27 14:47:01 +00:00
Alicia Sykes
141c4e257a Cleaned up code for the response-saver 2018-01-26 22:22:50 +00:00
Alicia Sykes
d6d74bd022 Response saving will happen in an external file now, to keep stuff cleaner 2018-01-22 23:19:38 +00:00
Alicia Sykes
807f15610c Created empty insertUserResponse(..) func on records model 2018-01-20 15:19:03 +00:00
Alicia Sykes
6bc995be78 Stared creating route, model and controller for team member listings 2018-01-05 20:11:42 +00:00
Alicia Sykes
9e048da1f3 Stared creating route, model and controller for user responses 2018-01-05 20:11:01 +00:00
Alicia Sykes
1f89002d2a Cleander export 2018-01-05 20:10:34 +00:00
Alicia Sykes
102b879370 Server-side JS refractor 2017-12-30 14:25:32 +00:00
Alicia Sykes
c81754ee3e Compare hash with email 2017-12-30 09:51:17 +00:00
Alicia Sykes
62dba8dcee Started on the email address hashing stuff 2017-12-29 23:19:19 +00:00
Alicia Sykes
f81365ff70 Move scheduler into commons 2017-12-29 22:58:03 +00:00
Alicia Sykes
09889fed10 Don't connect if already connected 2017-12-29 22:45:46 +00:00
Alicia Sykes
2e5b218a89 Documentaed and refractored db conf 2017-12-29 22:35:25 +00:00
Alicia Sykes
4c82eca61f Check Mongo is not already connected before connecting 2017-12-28 21:34:05 +00:00
Alicia Sykes
9a15dd5977 Temparary work around 2017-12-28 18:15:22 +00:00
Alicia Sykes
b068c7fc37 Updated to Babel 7 Beta 2017-12-26 12:44:05 +00:00
Alicia Sykes
40ee524a6f Pull cron stamp from admin config file 2017-12-25 18:08:07 +00:00
Alicia Sykes
ac0f80173c Replace depricated connection(...) with createConnection(...) 2017-12-25 18:07:16 +00:00
Alicia Sykes
208302b972 Model for team member objects 2017-12-25 11:38:24 +00:00
Alicia Sykes
3458311389 Neatened up the mess of an server.js file 2017-12-24 22:15:47 +00:00
Alicia Sykes
c68bd4f1fe Started working on the Scheduler, which later will be used to manage the mail sending times 2017-12-24 19:36:38 +00:00
Alicia Sykes
be4e1c46f3 No longer breaks when Rollbar API key not present 2017-10-15 22:24:41 +01:00
Alicia Sykes
e60bd92919 Implemented server-side tracking into some backend files 2017-10-14 21:37:25 +01:00
Alicia Sykes
c6acb90b58 Wrote new Rollbar tracking file 2017-10-14 21:37:06 +01:00
Alicia Sykes
9b42ae4f57 Production setup, file-structure and mobile app documentation 2017-10-13 20:56:52 +01:00
Alicia Sykes
655f2e4c5f All error tracking will go in own file 2017-10-08 22:47:30 +01:00
Alicia Sykes
f8079b3afe Changes to .env 2017-10-07 16:29:53 +01:00
Alicia Sykes
792957f572 Implemented Rollbar for error tracking, still needs a refractor 2017-10-05 22:12:11 +01:00
Alicia Sykes
2a614a86d8 Commented out newrelic, for now 2017-09-22 17:24:00 +01:00
Alicia Sykes
7c489e1a42 Implemented environmental variables into server 2017-09-01 21:43:20 +01:00