Commit Graph

14 Commits

Author SHA1 Message Date
ed82bea521 Implemented token usage in front end and removed password storage
Token and username are stored in localstorage and cleared on logout.
2019-11-25 12:19:42 +05:30
9a922cf5b9 added cacheevict 2019-11-25 12:19:42 +05:30
f06bf516dd chat page now uses classname instead of queryselector to extract user name 2019-11-25 12:19:42 +05:30
d577e38692 Added markdown rendering to chat area 2019-11-25 12:19:42 +05:30
08c2ec786c messages are now sanitized for unsafe html/js using DOMPurify 2019-11-25 12:19:42 +05:30
fd6de29a89 Done get and post logic
Also added an initial input box for passphrase which is set to hidden
later
2019-11-25 12:19:42 +05:30
ed3853c5ea changed to queryselector to extract username and date and last message fields in userbox 2019-11-25 12:19:42 +05:30
7775dd798e Added code for chat card
Chat card displayed only when at least one user selected
User box highlighted when selected
Hover color for user box added
2019-11-25 12:19:42 +05:30
579f819254 set active css class to user boxes on click 2019-11-25 12:19:42 +05:30
dacf0f90dc improved chat UI 2019-11-25 12:19:42 +05:30
acbacc8fa8 Architecture improvements and validation
Improved system architecture and added sample regex validation to
registration
2019-11-25 12:19:41 +05:30
2625cf7865 add bootstrap to web front-end 2019-11-25 12:19:41 +05:30
bb9a4c9b3a Added database initialization logic 2019-11-25 12:19:41 +05:30
3ea46b584a zz 2019-11-25 12:19:41 +05:30