Commit Graph

33 Commits

Author SHA1 Message Date
f06bf516dd chat page now uses classname instead of queryselector to extract user name 2019-11-25 12:19:42 +05:30
4d10e172cc left out deleted file by mistake 2019-11-25 12:19:42 +05:30
9140885398 updated schema initilization script and switched back to jdbc based initialization 2019-11-25 12:19:42 +05:30
5a79c7026e application now resets online flag and num_sessions to 0 on startup 2019-11-25 12:19:42 +05:30
2564fdca35 Switched to persistent storage of active users. This solves the issue of tracking active user with multiple sessions 2019-11-25 12:19:42 +05:30
d1a2d58411 proper formatting for last active 2019-11-25 12:19:42 +05:30
74396ccd68 added thymeleaf template logic for active users in chat page 2019-11-25 12:19:42 +05:30
e85650d499 static chat js 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
14843cd8f0 Done logic for getting online users and their last active time 2019-11-25 12:19:42 +05:30
8824678682 Homepage now says welcome guest instead of anonymouseUser 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
3692608d8f added user change passphrase page and some general adjustments 2019-11-25 12:19:41 +05:30
5c056cf5a0 First Commit
This branch seeks to implement the admin area of the web app in a
pre-made template. For now, start-bootstrap has been chosen. In this
commit, the home page of the admin area has been implemented in a red
black theme.

Rest of the functionality will be implemented in subsequent commits.
2019-11-25 12:19:41 +05:30
be78f63f66 fixed pom 2019-11-25 12:19:41 +05:30
d6a6d32225 deleted obsolete file 2019-11-25 12:19:41 +05:30
febfaeec9a Changes to error model and login/registration cards
Added json property names to error model
Switched to grid offset instead of changing card width using CSS
2019-11-25 12:19:41 +05:30
d3ac95e8f4 Implemented primitive rest validation.
A better implementation to be done later.
2019-11-25 12:19:41 +05:30
97091123b9 Revert "Architecutre improvements and validation"
This reverts commit c1fd68901e6defa3f88359e65707eea0a8ceb3eb.
2019-11-25 12:19:41 +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
4607ae5e17 Architecutre 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
d8ce654df6 Finished a working prototype with E2E 2019-10-02 21:49:52 +05:30
216c429e1f encrypted message test 2019-09-27 20:42:27 +05:30
b65237d9eb many changes 2019-09-27 12:07:55 +05:30
128e330342 First commit 2019-09-17 13:03:38 +05:30