Commit Graph

24 Commits (a01cb8b489f42decef05c6536ad04ecb3e45cf28)

Author SHA1 Message Date
~erin a01cb8b489
Remove deprecated functions 2021-07-23 09:48:57 -04:00
~erin 786a4100f2
Add basic support for moderation actions, delete previous user before changing name 2021-07-23 07:55:24 -04:00
~erin a1c5fa42a7
Add logout API 2021-07-22 14:23:59 -04:00
~erin fe2a63afed
Use session_token for most actions, fail on NULL token 2021-07-22 13:01:30 -04:00
~erin 6f18959e9c
Use database for storing users 2021-07-22 11:01:07 -04:00
~erin 588c37af08
Temporarily remove db code 2021-07-22 09:41:08 -04:00
~erin 244c185fc8 Broken code 2021-07-20 11:08:43 -04:00
~erin f67e856169
Add json api for changing user details 2021-07-18 16:42:09 -04:00
~erin cdec230f79
path '/' now goes to '/index.html' 2021-07-18 15:31:23 -04:00
~erin 3a264df20f
Serve frontend code 2021-07-18 13:16:00 -04:00
~erin 376fe024ca
Switch to returning json for all http requests 2021-07-18 12:06:05 -04:00
~erin aef1bbd2a7
Add message storage and fetching 2021-07-18 11:37:11 -04:00
Charlotte Som d7f0747090 Backport to Rocket v0.4, fix all warnings & errors 2021-07-18 01:32:57 +01:00
~erin fd0405f55a
Broken code please help I'm dumb 2021-07-17 19:41:41 -04:00
~erin 7fa849edf9
Move file functions to seperate file 2021-07-17 15:53:10 -04:00
~erin c70940c649
Add setup for chat core, add proper logging 2021-07-17 14:45:52 -04:00
~erin 4520b3bd34
Rename project & split into multiple files 2021-07-17 11:40:05 -04:00
~erin af7a71faba
Convert name to lowercase 2021-07-17 08:11:26 -04:00
~erin d7c8f99049
Fix CORS & only return user if they exist (credit to Charlotte_ 2021-07-17 07:57:40 -04:00
~erin 839f60724d
Check if new name is already taken before changing 2021-07-16 14:13:21 -04:00
~erin 1b242075d7
Fix up API documentation in main.rs 2021-07-16 13:51:23 -04:00
~erin 8a6cd4b947
Make it so it should now only store the hashed pin 2021-07-16 13:48:20 -04:00
~erin b1801a52ad
Add basic hashing functionality 2021-07-16 13:38:05 -04:00
~erin 8af82c0b8c
Initialize repo with basic functionality 2021-07-16 10:55:07 -04:00