Commit Graph

30 Commits

Author SHA1 Message Date
cb2a59eb52 Split out user data from auth-code & add auth code to repo. 2024-09-23 12:57:02 -04:00
ec95ba46a5 Upgrade node version past 20 to get easy ENV variables so session secret can be removed from source code. 2024-09-22 18:09:05 -04:00
4825ebb10f Move user content note-data commits from a cron job into app. 2024-09-21 23:24:55 -04:00
980a5bef2f Address browser console warning msg about sameSite cookie setting. Enable sameSite and secure options on main session cookie (and enable 'trust proxy' setting in Express since TLS connection does not reach this app). Disable cookie set by socket.io since there doesn't seem to be any way to enable sameSite and it's not being used by app. 2021-03-13 11:38:08 -05:00
7319ea062d Add uid param to child_process.exec call 2020-04-08 17:09:03 -04:00
3fa6593fc9 Log user number when data received via websocket. 2018-02-12 18:46:37 -05:00
7cc9d0594d Add trt/catch for session verification to avoid crashing errors, seems to be working well now. 2017-04-22 09:26:21 -04:00
45b0829ba2 Get separate socket.io rooms for each user; adjust file paths by user; no more broadcast shouting, keep socket messages in user-rooms. 2017-04-21 16:54:43 -04:00
4cdbbe1dbf Session checking stable, not sure how to test redirect, but clearing client cookie or deleting server session files now handled gracefully. 2017-04-21 10:55:30 -04:00
e8ca268cde Finally getting session.id from within socket.io connection! 2017-04-20 15:55:03 -04:00
41674ca3f3 Add file storage for sessions; Fix unstable restarts from nodemon (started notes-app Dockerfile to isolate npm packages and add nodemon.json config to ignore some dirs, but no real difference from alertmon/Dockerfile). 2017-04-20 08:33:12 -04:00
ef773b4a44 Refactor to prep for accessing cookie/session data from within socket.io connections. 2017-04-14 11:42:15 -04:00
4df8bb5d12 Create temp git branch when content changes, try to handle merge conflicts (though conflicts are not possible w/current architecture). 2016-12-08 12:30:19 -05:00
e4eb8cb1ec Socket.io sync looks to be working now...YAY! 2016-11-23 14:51:18 -05:00
5ade0c8f9c Interim commit; want to retain chokidar file watcher code, even if it's not needed; not sure if socket.io sync is working yet. 2016-11-23 14:05:15 -05:00
fb4637c2a1 Refactor to get rid of handlebars templates, no longer needed with websocket working. 2016-11-22 11:22:22 -05:00
97bf71306b Websocket conversion basically working (I think); interim commit. 2016-11-21 12:54:29 -05:00
15d9f02133 Basic socket.io event is working. 2016-11-09 11:14:32 -05:00
4d736d63a3 Add favicon from thenounproject.com. 2016-10-17 14:28:29 -04:00
1792ebd08e Try leader key work-around in vim config; clean up server code. 2016-07-09 09:23:51 -04:00
5af49362ad Basic login and redirects working. 2016-06-17 10:02:51 -04:00
4ed70fe8ff Login w/local strategy finally working; still need to protect main page, might be some syntax issues there with having to add more arguments to the render function. 2016-05-30 11:16:01 -04:00
2e1b33aea4 Add assets folder and symlinks to make it easier to upgrade codemirror. 2016-05-27 11:41:27 -04:00
41268f431a Tried and failed to push changes to bitbucket every 30min. 2016-02-22 17:37:11 -05:00
7db34b296c Git commit triggered by POST request now working. 2016-02-21 09:42:29 -05:00
f871d7483f Overwriting contents of allNotes.txt with changes from client. 2016-02-18 18:03:22 -05:00
de40a4e042 Clean up comments. 2016-02-18 17:38:31 -05:00
29d73bfc8d Move code mirror dirs into dedicated code mirror folder, ignore it, and have node serve it statically. 2016-02-18 17:34:25 -05:00
b7784918b8 Getting changes back from client-template, writing to temp file for now. 2016-02-18 16:51:51 -05:00
24ef41ca34 Initial commit, all currently broken. 2016-02-16 17:52:38 -05:00