Commit Graph

80 Commits (e5384ac588aa8e38ae4cd75b84fcd2cd575f0c51)

Author SHA1 Message Date
~erin e5384ac588
Remove API docs from readme as they're in wiki, seperate finished/unfinished feautures 2021-07-24 12:58:18 -04:00
~erin ad5febd8d9
Fail on blank message 2021-07-23 13:17:21 -04:00
~erin e5da6dd774
Use db_read_user() in message function 2021-07-23 13:10:42 -04:00
~erin d5be76624c
Lowercase all incoming names 2021-07-23 13:05:56 -04:00
~erin fd0a363293
Fix some warnings 2021-07-23 12:45:29 -04:00
~erin 09dba21904
Remove date field from message input 2021-07-23 12:03:34 -04:00
~erin 8beea8b45e
Fixup readme format? 2021-07-23 11:29:42 -04:00
Zer04 d10db5d31b
Merge pull request #5 from 23marabi/chat-enhancements
Merge Chat enhancements?
2021-07-23 11:26:03 -04:00
Zer04 57ee247e39
Merge branch 'main' into chat-enhancements 2021-07-23 11:25:49 -04:00
~erin f931db2720
Improve API docs 2021-07-23 10:35:14 -04:00
~erin 7319352950
/register & /login now use json post requests, change event uses enum 2021-07-23 10:08:54 -04:00
~erin a01cb8b489
Remove deprecated functions 2021-07-23 09:48:57 -04:00
~erin 78cae7a5ac
Add error handling to database functions, use db_read_user() 2021-07-23 09:42:33 -04:00
~erin 786a4100f2
Add basic support for moderation actions, delete previous user before changing name 2021-07-23 07:55:24 -04:00
Luna 69b7259571 Frontend: added more to index.html 2021-07-23 01:05:11 -07:00
Luna 05ecacc50b Frontend: fixed updateInfo? Misc changes and fixed bugs. 2021-07-22 23:53:53 -07:00
~erin 36846b2eab
Add structs and enums in src/auth.rs into seperate file 2021-07-22 17:31:18 -04:00
~erin d13e5cf8ae
Add more goals to readme 2021-07-22 17:30:06 -04:00
~erin 49d307a3b6
Add user roles 2021-07-22 17:17:55 -04:00
~erin 6328e05b16
Add date info to message 2021-07-22 16:20:49 -04:00
~erin 70f604e4f0
Add different message types, and check for them 2021-07-22 15:29:01 -04:00
~erin 26d3a9b3d0
Switch to registering with JSON data 2021-07-22 15:01:41 -04:00
~erin a1c5fa42a7
Add logout API 2021-07-22 14:23:59 -04:00
~erin 032b5b4783
Fix error in chat.rs 2021-07-22 13:39:24 -04:00
Luna 64459e93f5 Frontend: fixed formatting, added comments, fixed bugs. 2021-07-22 10:36:48 -07:00
~erin 2e4fdc99b4
Fix up frontent/loginchange.js 2021-07-22 13:32:02 -04:00
~erin cd3c23051d
Add token info in changelog 2021-07-22 13:06:22 -04:00
~erin fe2a63afed
Use session_token for most actions, fail on NULL token 2021-07-22 13:01:30 -04:00
~erin 4c416cbee0
Store only username in messages.json to not leak data 2021-07-22 11:52:29 -04:00
~erin 196a344376 Switch to private cookies, and make other cookie improvements
Signed-off-by: Erin Nova <erin@the-system.eu.org>
2021-07-22 11:44:31 -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 3636de139f
Set cookie for username 2021-07-22 09:31:31 -04:00
~erin 244c185fc8 Broken code 2021-07-20 11:08:43 -04:00
~erin e10eb6c0d2
Add Luna to license 2021-07-19 06:39:13 -04:00
~erin f67e856169
Add json api for changing user details 2021-07-18 16:42:09 -04:00
~erin e4e9751188
inkscape shit 2021-07-18 16:35:45 -04:00
~erin a95b00cf73
wtf??? 2021-07-18 16:35:28 -04:00
~erin d0b659a6eb
Add favicon 2021-07-18 15:31:49 -04:00
~erin cdec230f79
path '/' now goes to '/index.html' 2021-07-18 15:31:23 -04:00
~erin f3bebd2e82
Switch js to using local(?) file paths instead of VSCode server 2021-07-18 14:30:24 -04:00
~erin 50ad614814
Parse json in loginchange.js 2021-07-18 14:28:53 -04:00
~erin 5d4caf1804 Merge branch 'main' of github.com:23marabi/chat-registration 2021-07-18 14:12:27 -04:00
~erin 0faffb5b3a
Fix newline error in users.json maybe? 2021-07-18 14:11:54 -04:00
Luna 3afc56b715 bug squash 2021-07-18 10:57:02 -07:00
Luna 6cb1d8891a changed the way the js recieves data from strings to json 2021-07-18 10:35:34 -07:00
~erin de0d7c2b43
Set token as cookie 2021-07-18 13:26:26 -04:00
~erin d78871a4dd
Append json now only takes a User 2021-07-18 13:17:48 -04:00
~erin 3a264df20f
Serve frontend code 2021-07-18 13:16:00 -04:00
Luna 16179f0191 Add frontend code 2021-07-18 09:49:10 -07:00