slawk0
bf8da0606c
Remove unused files and improve code clarity
...
Deleted obsolete files, including icon.png and index.html. Refactored JavaScript code in signup.js and socket.js for better readability by adjusting indentation and format. Updated environment variables in .env and streamlined several routes and functions in index.js.
2024-10-14 15:40:08 +02:00
slawk0
c05e00cacf
adding contact functionality
2024-09-14 18:40:06 +02:00
slawk0
dc9aacc407
removed currentUsername from localstorage now its streamed from socket, some refactor like changed some socket.to(username) to io.to ( i have no idea whats de diffrence
2024-09-09 21:47:17 +02:00
slawk0
ff68204eae
switched from success message on json to http status
2024-09-08 13:48:10 +02:00
slawk0
a8a2211dae
checking for same password on changing
2024-09-08 13:43:44 +02:00
slawk0
6d609896e1
code refactor to use json for communicating with frontend
2024-09-08 00:21:23 +02:00
slawk0
5a6e40a3a4
added change password popup and changepassword api
2024-09-07 23:06:06 +02:00
slawk0
f6a50748a8
code refactor, added comments, removed no necceserry console logs, added settings, fixed app crash on empty password or username POSTed directly to api
2024-09-07 15:21:09 +02:00
slawk0
1921b4f5a5
dumb mistake
2024-08-29 23:31:05 +02:00
slawk0
c09847b759
fixed undefined app port
2024-08-29 19:21:02 +02:00
slawk0
1c927f75f5
fixed crash on wrong login password for existing user, update docker-compose.yaml
2024-08-29 19:13:40 +02:00
slawk0
53d506b41d
adjusted code to use APP_PORT env
2024-08-26 20:44:50 +02:00
slawk0
ead833b5dd
added CSS and JWT token age is now 30 days
2024-08-25 18:09:59 +02:00
slawk0
c4e355dee6
added logout API
2024-08-25 17:08:43 +02:00
slawk0
c281076030
logout is now working
2024-08-24 18:28:48 +02:00
slawk0
5c056c5215
saving messages to database
2024-08-24 12:46:24 +02:00
slawk0
bb626f4deb
i have no idea what i'v done, some code get reverted because of not working implementation of private mssaging
2024-08-24 01:10:22 +02:00
slawk0
0207751b5a
still trying to make private messageing
2024-08-23 23:59:25 +02:00
slawk0
77a2bd2aca
Revert "omg connection and user auth on socket is working"
...
This reverts commit ec7bbb6d
2024-08-23 23:15:54 +02:00
slawk0
6ba76793ec
trying to make private messaging
2024-08-23 22:56:24 +02:00
slawk0
ec7bbb6dfb
omg connection and user auth on socket is working
2024-08-23 19:05:06 +02:00
slawk0
a4c1ae4574
implemented /auth/token api endpoint to fetch from frontend and save it to localStorage
2024-08-23 18:04:35 +02:00
slawk0
6262f7f292
not working (still)
2024-08-23 00:04:31 +02:00
slawk0
d30d5391f2
not working
2024-08-22 23:02:21 +02:00
slawk0
5f7ca46c5b
code refactor, fixed token lifetime
2024-08-22 19:10:17 +02:00
slawk0
490114ca1f
implemented JWT
2024-08-22 17:56:32 +02:00
slawk0
ad15c6c478
added JWT
2024-08-22 14:59:40 +02:00
slawk0
2c9b967679
trying to display sender username
2024-08-22 00:53:28 +02:00
slawk0
1d2d03c5f9
totally work
2024-08-22 00:15:45 +02:00
slawk0
d41a898c3e
moved script to the bottom
2024-08-21 23:51:43 +02:00
slawk0
4e40b4f74f
working
2024-08-21 23:39:05 +02:00
slawk0
e97a8a2346
minor changes
2024-08-21 23:24:23 +02:00
slawk0
31cc5f7aa0
this is not working but i have to make commit
2024-08-21 22:38:54 +02:00
slawk0
b233ee3fa3
adding chat
2024-08-21 19:24:49 +02:00
slawk0
4d7d67fd95
if user is logged in have now have acces to chat
2024-08-21 18:37:54 +02:00
slawk0
06a2c03859
code refactor, auto redirect to chat
2024-08-21 18:24:05 +02:00
slawk0
f635325911
code refactor and added socket.io
2024-08-21 17:58:31 +02:00
slawk0
0c8e844aaf
login is working
2024-08-21 15:32:36 +02:00
slawk0
aeda9741be
code refactor and implement password hashing
2024-08-21 13:33:23 +02:00
slawk0
fa6c2b98b9
crypto library for encrypting passwords
2024-08-20 23:37:17 +02:00
slawk0
ea55f80f3c
code refactor
2024-08-20 23:22:20 +02:00
slawk0
9af2ebf3a2
code refactor
2024-08-20 22:58:25 +02:00
slawk0
8432dc9909
check for existing user
2024-08-20 20:00:54 +02:00
slawk0
9cc72a38f0
code readibility refactor
2024-08-20 14:54:15 +02:00
slawk0
56ed70e9a5
signup user works(partialy)
2024-08-20 14:12:59 +02:00
slawk0
5026e70129
working on signup
2024-08-20 00:07:01 +02:00
slawk0
72141e2d17
splitted code to separate files and folder
2024-08-19 23:16:52 +02:00
slawk0
a28be01f46
should work but its not
2024-08-19 22:52:57 +02:00
slawk0
ffe1c73dc0
fixed error
2024-08-19 22:05:55 +02:00
slawk0
180505492d
created connection
2024-08-19 21:54:32 +02:00