Commit Graph

55 Commits

Author SHA1 Message Date
3a6f61de3e Add LICENSE and README. 2025-03-21 17:45:13 -04:00
94f35fc857 Delete create-couch-cont.sh
couchdb no longer needed.
2025-03-09 19:41:13 -04:00
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
891918e050 Remove codemirror build step from Dockerfile so it builds on janus & i can get app running again; add vim config to index view (not fully working). 2024-09-14 15:32:27 -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
cff086ad88 Remove reference to old version of CodeMirror from Dockerfile 2021-03-06 18:49:03 -05:00
7319ea062d Add uid param to child_process.exec call 2020-04-08 17:09:03 -04:00
ef09e05eaf Bump to current LTS node version 2020-04-04 18:03:03 -04:00
658d618c64 Remove PouchDB...never needed it. 2018-10-12 14:24:34 -04:00
53f67a82e0 Serve socket.io as VPS-local file system asset (was previously using a CDN URL. 2018-10-10 05:31:46 -04:00
7212416212 Update client-side socket.io CDN link to current version. 2018-10-09 08:58:41 -04:00
3fa6593fc9 Log user number when data received via websocket. 2018-02-12 18:46:37 -05:00
c2955da1eb Try alternate mappings for leader key work-around. 2018-01-31 14:23:27 -05:00
9d229dde5c Switch to Github Flavored Markdown mode for ~~strikethu~~; add continuelist.js for fancy listmaking. 2017-08-31 14:56:22 -04: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
7cff1443aa Upgrade to current release of CodeMirror; now able to elegantly accomplish colon<->semicolon remap. 2017-03-16 15:04:22 -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
0f3e173a5b Refactor userKeypress flag in index.html; working as expected now. 2016-11-29 11:38:59 -05:00
603a9fd3e8 Fix issue with cursor moving back to 0,0 after a refresh. 2016-11-26 22:43:07 -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
6b7800fb66 Remove Key buffer label from template (it wasn't useful); adjust height percentages accordingly. 2016-10-24 13:06:44 -04:00
4d736d63a3 Add favicon from thenounproject.com. 2016-10-17 14:28:29 -04:00
dff2758f1d Tweak padding on index.hbs, I think I've gotten rid of outer/2nd scroll-bar in desktop browsers, still looks ok on mobile. 2016-10-16 10:59:32 -04:00
6a6d87a74c Size CodeMirror editor to window/viewport; may still need some tweaking, but looking quite good. 2016-10-13 08:32:38 -04:00
2dee9a7d81 Set indentUnit instead of tabSize, which is what I really wanted; now and indent and outdent lines the correct amount. 2016-10-05 14:06:23 -04:00
bfc7250aa1 Add active line highlight. 2016-10-05 13:59:59 -04:00
6e91f62713 Add no-cache head tags from tenniscourtsopen.com. 2016-10-05 13:09:43 -04:00
462807845e Pick a less silly page title. 2016-10-02 15:24:52 -04:00
3342ed4c55 CodeMirror docs say default tab width is 4, but it was somehow only indenting 2. 2016-10-01 13:03:06 -04:00
326ce247ef Add comment so I'll hopefully remember not to delete the notes.kaplon.us/CodeMirror/ dir. 2016-09-28 21:44:20 -04:00
17d9f6f736 Add matchBrackets, hack a better solution to semi-colon/colon remap. It's all working a bit better! 2016-09-28 19:24:47 -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
37d11e888c Remove db folder from repo before anything sensitive gets added in there; closes issue #4. 2016-05-31 17:03:01 -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
6e16540912 Add vim demo controls and addons. 2016-05-27 13:39:49 -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