Commit Graph

105 Commits (main)

Author SHA1 Message Date
~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
~erin 0833deb93f Merge branch 'messaging-broken'
Basic messaging funcionality along with other json features are
finished.
2021-07-18 12:07:35 -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 915ae722d5
Add info about returning json 2021-07-18 10:16:55 -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 17f11a45af
Add CNPLv6+ to LICENSE file 2021-07-17 20:02:44 -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
~erin a7606709f8
Update readme with to-do checklist 2021-07-17 15:52:52 -04:00
~erin 595af0d0f5
Add support for custom pronouns 2021-07-17 15:52:30 -04:00
~erin c70940c649
Add setup for chat core, add proper logging 2021-07-17 14:45:52 -04:00
~erin fedc00cd58
Update readme again?? 2021-07-17 11:46:23 -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 8a3a80db45 Revert "Add more info to readme"
This reverts commit 76039f65cf.
2021-07-17 07:50:30 -04:00
~erin 76039f65cf
Add more info to readme 2021-07-16 14:33:17 -04:00
~erin 839f60724d
Check if new name is already taken before changing 2021-07-16 14:13:21 -04:00