Commit Graph

70 Commits

Author SHA1 Message Date
Maxime Cannoodt
6f60ea11e6 refactor: split Express app into controller pattern 2022-08-09 19:37:48 +02:00
Maxime Cannoodt
0ba9d74a83 fix: 🐛 event logging: fix proxy IP being logged instead of client IP 2022-08-09 12:13:07 +02:00
Maxime Cannoodt
ff6b45771e fix: 🐛 log correct client host behind reverse proxy 2022-08-09 00:09:02 +02:00
Maxime Cannoodt
9b1a446340 feat: 🔊 Add event logging for note read, writes and purges. 2022-08-08 23:43:35 +02:00
Maxime Cannoodt
293af7f34b refactor: 🗃️ Change event log database for note purges 2022-08-08 23:39:37 +02:00
Maxime Cannoodt
e7f17dbe4d feat: 🗃️ Add event table to schema, add EventLogger class to server 2022-08-08 22:46:50 +02:00
Maxime Cannoodt
acc4fc5710 ci: 👷 Add server test CI script 2022-08-04 10:35:48 +02:00
Maxime Cannoodt
67408f14af update package descriptions 2022-07-11 12:04:53 +02:00
Maxime Cannoodt
774848dd45 promisify clean expired notes 2022-07-10 23:43:28 +02:00
Maxime Cannoodt
c64633ecd0 unit test expired note removal 2022-07-10 23:39:58 +02:00
Maxime Cannoodt
276ac5cfe0 validate POST body form 2022-07-10 23:26:52 +02:00
Maxime Cannoodt
1d824d5f07 rate limiting on get, more unit test config 2022-07-10 23:00:32 +02:00
Maxime Cannoodt
9fcd8e5903 apply upload limit 2022-07-10 14:19:58 +02:00
Maxime Cannoodt
c14782310a better package scripts 2022-07-10 14:03:23 +02:00
Maxime Cannoodt
0b9c5a049a remove test db before tests, not after 2022-07-09 13:24:25 +02:00
Maxime Cannoodt
a7445c3520 ignore logger file 2022-07-09 13:22:36 +02:00
Maxime Cannoodt
c55dc28d59 disable info logs in integration tests 2022-07-09 13:17:45 +02:00
Maxime Cannoodt
43297b4807 add some integration tests 2022-07-09 13:02:35 +02:00
Maxime Cannoodt
5e2da1db6d integration testing with sqlite 2022-07-09 12:26:49 +02:00
Maxime Cannoodt
2be7bfcaee add sample test 2022-07-09 10:47:03 +02:00
Maxime Cannoodt
0efd3f4056 add testing libs, separate app from server 2022-07-09 10:35:44 +02:00
Maxime Cannoodt
404897f5fa even better logging 2022-07-06 15:12:11 +02:00
Maxime Cannoodt
aced4ecfef better error handling 2022-07-06 15:07:51 +02:00
Maxime Cannoodt
1a624f38b9 add logging to server 2022-07-06 14:59:38 +02:00
Maxime Cannoodt
8e3d0d42bd add mock tests to server 2022-07-04 22:11:45 +02:00
Maxime Cannoodt
587a561035 add testing to webapp 2022-07-04 22:08:13 +02:00
Maxime Cannoodt
28b2988b86 Add reverse proxy to docker compose (traefik) 2022-07-03 11:02:21 +02:00
Maxime Cannoodt
863918cc4f tidy up env vars 2022-07-02 21:14:07 +02:00
Maxime Cannoodt
1a2cb003b3 add example env webapp 2022-07-02 20:54:55 +02:00
Maxime Cannoodt
d8c2b587aa ye 2022-07-02 20:46:38 +02:00
Maxime Cannoodt
6f1a6f11a4 example server env 2022-07-02 20:45:59 +02:00
Maxime Cannoodt
57aeef11fd stop trackign env 2022-07-02 20:44:58 +02:00
Maxime Cannoodt
7dd1734075 gitignore 2022-07-02 20:44:10 +02:00
Maxime Cannoodt
e9df8c8fcf working docker compose 2022-07-01 23:10:01 +02:00
Maxime Cannoodt
24bb9a5b92 working docker compose 2022-07-01 22:06:50 +02:00
Maxime Cannoodt
f0d11b9cdb Merge branch 'master' of github.com:mcndt/obsidian-note-sharing 2022-06-30 21:39:54 +02:00
Maxime Cannoodt
dd235e4c61 branding 2022-06-30 21:37:59 +02:00
Maxime Cannoodt
fce084f590 fix cors with helmet 2022-06-30 09:28:49 +02:00
Maxime Cannoodt
38a2c97339 dark mode toggl 2022-06-30 00:56:53 +02:00
Maxime Cannoodt
16b0c6cd03 dark mode styling 2022-06-30 00:20:46 +02:00
Maxime Cannoodt
0a51c4f218 rate limit env variable 2022-06-29 22:32:18 +02:00
Maxime Cannoodt
4c7479a8a9 add error notices to plugin 2022-06-29 22:24:59 +02:00
Maxime Cannoodt
91f6205b90 post rate limiting 2022-06-29 22:19:50 +02:00
Maxime Cannoodt
f78de8ab3d add note cache headers 2022-06-29 22:06:27 +02:00
Maxime Cannoodt
9b4eccd2a7 add helmet 2022-06-29 17:14:05 +02:00
Maxime Cannoodt
adbc7e704f update list 2022-06-29 16:57:01 +02:00
Maxime Cannoodt
d735237e8f add frontend error pages 2022-06-29 16:05:25 +02:00
Maxime Cannoodt
e24e4e19cb add share date to page 2022-06-29 15:44:07 +02:00
Maxime Cannoodt
03cc855a1c add expire date to plugin 2022-06-29 14:32:02 +02:00
Maxime Cannoodt
dcf607c0dc schedule deletion of notes 2022-06-29 14:17:38 +02:00