Commit Graph

46 Commits

Author SHA1 Message Date
8a63379db7 Admin menu link only visisble to admins 2020-03-19 20:06:17 +05:30
be040162fd dj khalid is removed(rip) 2020-03-19 15:07:39 +05:30
ad4f3df0bd last message time and message in user boxes 2020-03-19 11:54:30 +05:30
b236b87e5d Passphrase validation and message send updated 2020-03-16 19:24:03 +05:30
78ed6430da temp commit 2020-02-14 19:18:22 +05:30
8d313fa0e6 Added moment to format time
completes issue #1
2020-02-01 16:26:27 +05:30
05ceb6c757 added SRI to some cdnjs deps 2020-01-15 21:26:07 +05:30
bc833d0da4 added production profile 2020-01-15 16:42:22 +05:30
d927f3441a chat messages are loaded on scroll top 2019-12-13 17:34:56 +05:30
826dad2ad0 cleanup of frontend 2019-12-13 17:33:51 +05:30
767d7d7b03 implemented message post in ts + some optimizations 2019-12-07 20:45:50 +05:30
874683ad0c Wrapped markdownit js dep into a service, and added send and receive templates to chatview 2019-12-07 16:15:29 +05:30
434e308f24 ts integrated and working preliminarily 2019-12-07 11:31:42 +05:30
29a31ab60d pre integration commit 2019-12-06 19:58:53 +05:30
f0e8beb27c moved to typescript for frontend 2019-12-02 17:30:00 +05:30
bfe2c21e1b moved js deps to global head fragment 2019-12-01 12:49:39 +05:30
b41d811521 js deps are taken from local node_modules during development and cdn after compilation using browserify shim 2019-12-01 11:28:07 +05:30
3427da19a6 testing out browserify and yarn 2019-11-30 13:06:10 +05:30
d193ec0f11 Javascript user search implemented 2019-11-30 00:43:50 +05:30
49f765737e initial implementation of registration captcha 2019-11-26 11:49:00 +05:30
a41af9ba4e added alertify.js 2019-11-25 12:19:43 +05:30
5c653b669b token expiry and other errors are reported in web frontend with alerts. Later, the alterts must be replaced with a js notification library 2019-11-25 12:19:43 +05:30
87783f2463 admin menu now shows actual username instead of dummy name 2019-11-25 12:19:43 +05:30
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
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
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
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
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
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
3ea46b584a zz 2019-11-25 12:19:41 +05:30
b65237d9eb many changes 2019-09-27 12:07:55 +05:30
128e330342 First commit 2019-09-17 13:03:38 +05:30