Commit graph

131 commits

Author SHA1 Message Date
MrFry
cda0d31827 Removed days after user gets first pw, set starting pw request count to 0, sending user id on info request 2020-04-14 11:20:34 +02:00
MrFry
cfe55b600b Added thanks page to auth exceotion 2020-04-14 09:40:53 +02:00
MrFry
b6567a1cce Script submodule git fix 2020-04-13 19:28:27 +02:00
MrFry
34f44a0fa2 Showing info on get veteran pw when client id starts with zero 2020-04-13 12:54:38 +02:00
MrFry
a2e1996298 Moved public dirs to seperate directories 2020-04-13 11:37:29 +02:00
MrFry
4e22b94b5d Moved public dirs to seperate directories 2020-04-13 10:49:38 +02:00
MrFry
fe580747d6 Added get avaible pws endpoint 2020-04-13 10:19:24 +02:00
MrFry
f3e6f21ad5 Daily actions fix, typo fix, incremented maxPWCount 2020-04-13 09:20:36 +02:00
MrFry
e3fecd61d0 Added devel ports 2020-04-12 20:37:21 +02:00
MrFry
88d487568c Exit signal handling polish, login page info added 2020-04-10 15:24:53 +02:00
MrFry
c6947b505c Added install ling to loginexceptions, changed some http links to https 2020-04-09 20:46:28 +02:00
MrFry
0a203348ac Logging avaible pw increments 2020-04-09 15:43:44 +02:00
MrFry
335c431ce4 veteran pw request and login page error handle, login page feedback 2020-04-09 14:26:39 +02:00
MrFry
9a6553dbbb Auth logging prettying 2020-04-09 12:52:19 +02:00
MrFry
fa4b29efe6 Fix for logging in on site and with script 2020-04-09 12:33:29 +02:00
MrFry
a6d260f6af Added contact to login, added some auth exceptions 2020-04-08 19:24:17 +02:00
MrFry
143894288a Added auth middleware to dataeditor, bg color change on some places 2020-04-08 18:09:56 +02:00
MrFry
b970b2eb30 Added veteran pw request site, logging in prettying 2020-04-08 17:57:56 +02:00
MrFry
bcf377ad56 Added login redirects 2020-04-08 13:37:54 +02:00
MrFry
a03f56028a Modules now return a function which creates app-s, qmining module auth handle 2020-04-08 12:11:48 +02:00
MrFry
b5f9ede2cf Added favicon to exceptions from auth in api 2020-04-07 15:41:57 +02:00
MrFry
dbb23a6724 Date string update, midnight timer update, other stuff 2020-04-07 15:00:39 +02:00
MrFry
c764c4f402 Exit cleanup functions, authentication polish, db polish 2020-04-07 14:09:34 +02:00
MrFry
fb8e12f8d2 dbSetup import cids 2020-04-07 09:51:33 +02:00
MrFry
131577f25b Using re logger top level 2020-04-07 09:29:18 +02:00
MrFry
ebd27f93c1 Authetication, logger middleware, db create tool 2020-04-07 09:26:45 +02:00
MrFry
5f0b17a0db Auth middleware polish 2020-04-06 22:28:14 +02:00
MrFry
81db237b48 Removed express-sessions 2020-04-06 21:44:53 +02:00
MrFry
4c2c617b96 Handling sessions, json response if not logged in 2020-04-06 21:34:33 +02:00
MrFry
52ae2828e5 Storing session id in cookies, and db 2020-04-03 10:36:53 +02:00
MrFry
840f64c66b Added exceptions to auth middleware, basic redirects 2020-04-03 10:09:59 +02:00
MrFry
feb9eab5ad Render login if cant find user 2020-04-03 09:37:18 +02:00
MrFry
c540544e15 Added sessions 2020-04-03 09:27:37 +02:00
MrFry
cdcb1ccbbc PW is now the primary key, added login/logout route 2020-04-03 09:05:14 +02:00
MrFry
9435cc6533 Auth system 2020-04-03 08:54:48 +02:00
MrFry
52778532dc Added daily action to api, that logs the subj/question count 2020-04-01 13:13:14 +02:00
MrFry
d37538afb3 Added cookie-parser 2020-03-31 12:25:25 +02:00
MrFry
b73d764b82 Readded classes.js as file, modified files to work with new path 2020-03-30 15:53:23 +02:00
MrFry
f6cb0630d0 Submodule updates 2020-03-26 16:18:57 +01:00
MrFry
be34113969 DataEditor posting fix 2020-03-25 17:29:23 +01:00
MrFry
eb1ed1f02d Added some edited data saving logs 2020-03-25 17:26:55 +01:00
MrFry
10ccd876d4 Logging data editor module reuqests 2020-03-25 17:20:07 +01:00
MrFry
592ecfda79 Added redirect to dataeditor 2020-03-25 16:56:08 +01:00
MrFry
c3a69d4236 DataEditor setup 2020-03-25 16:45:54 +01:00
MrFry
890998bce5 Added uploaddata API for dataEditor module 2020-03-25 16:39:55 +01:00
MrFry
105d1ee8be Removed some old utils, added readme to utils, some new test data 2020-03-24 10:25:33 +01:00
MrFry
6e83e5051c Ask test script fix, debug logging typo fix 2020-03-23 19:55:02 +01:00
MrFry
471a6fa275 Removed uri component decoding #1 2020-03-23 18:30:33 +01:00
MrFry
a8ac2dd877 Logging malformed request on error 2020-03-23 18:13:24 +01:00
MrFry
fa87d6a071 Post test data accepts file as param now, image comparing fix 2020-03-23 16:08:46 +01:00