~erin
|
da51a37b49
|
Add user pronouns to message body, fixup changelog
|
2021-07-26 15:00:35 -04:00 |
~erin
|
b099448006
|
Allow admin to perform same action as moderators
|
2021-07-25 18:41:54 -04:00 |
~erin
|
ba90ca471b
|
Allow creation of admin user
|
2021-07-25 18:38:04 -04:00 |
~erin
|
b4e537b8df
|
Add functionality to user management commands
|
2021-07-25 18:21:56 -04:00 |
~erin
|
c665951b9d
|
Add ability to kick users
|
2021-07-25 18:03:32 -04:00 |
~erin
|
625485674e
|
Add basic uuid generation & storage
|
2021-07-25 17:12:50 -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 |
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 |
~erin
|
36846b2eab
|
Add structs and enums in src/auth.rs into seperate file
|
2021-07-22 17:31:18 -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 |
~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
|
f67e856169
|
Add json api for changing user details
|
2021-07-18 16:42:09 -04:00 |
~erin
|
a95b00cf73
|
wtf???
|
2021-07-18 16:35:28 -04:00 |
~erin
|
cdec230f79
|
path '/' now goes to '/index.html'
|
2021-07-18 15:31:23 -04:00 |
~erin
|
0faffb5b3a
|
Fix newline error in users.json maybe?
|
2021-07-18 14:11:54 -04: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 |
~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 |
~erin
|
0302f816ec
|
Create full message object out of sent message
|
2021-07-18 10:34:27 -04:00 |
~erin
|
bedb5ea974
|
Add basic token validation
|
2021-07-18 10:17:29 -04:00 |
~erin
|
e95022e994
|
Add more messaging funcionality
|
2021-07-17 22:27:05 -04:00 |
Charlotte Som
|
117ee9935e
|
Run 'cargo fmt'
|
2021-07-18 01:33:22 +01:00 |
Charlotte Som
|
d7f0747090
|
Backport to Rocket v0.4, fix all warnings & errors
|
2021-07-18 01:32:57 +01:00 |
~erin
|
57b97ffe94
|
switch to proper rust docs
|
2021-07-17 20:22:43 -04:00 |
~erin
|
fd0405f55a
|
Broken code please help I'm dumb
|
2021-07-17 19:41:41 -04:00 |
~erin
|
8e6663a4df
|
Should have fixed index overflow in write_json
|
2021-07-17 18:32:47 -04:00 |
~erin
|
a9dd8088de
|
Update API docs
|
2021-07-17 15:59:58 -04:00 |
~erin
|
7fa849edf9
|
Move file functions to seperate file
|
2021-07-17 15:53:10 -04:00 |