Rohan Sircar
767d7d7b03
implemented message post in ts + some optimizations
5 years ago
nova
874683ad0c
Wrapped markdownit js dep into a service, and added send and receive templates to chatview
5 years ago
nova
f19fef7c57
sanitized user view as well
5 years ago
nova
e110ce5135
moved around html sanitizing to fix html not being rendered when loading chat messages
5 years ago
nova
434e308f24
ts integrated and working preliminarily
5 years ago
Rohan Sircar
b41d811521
js deps are taken from local node_modules during development and cdn after compilation using browserify shim
5 years ago
Rohan Sircar
3427da19a6
testing out browserify and yarn
5 years ago
Rohan Sircar
d193ec0f11
Javascript user search implemented
5 years ago
Rohan Sircar
493d3cd079
change json api demo endpoint to only allow access to super user. Token is now obtained from chat endpoint
5 years ago
Rohan Sircar
d26ea2749e
minor change to chat area scroll animation
5 years ago
Rohan Sircar
a41af9ba4e
added alertify.js
5 years ago
Rohan Sircar
4b20c33ec1
added error handling to message sending
5 years ago
Rohan Sircar
5c653b669b
token expiry and other errors are reported in web frontend with alerts. Later, the alterts must be replaced with a js notification library
5 years ago
Rohan Sircar
9165770546
Token auth filter now return 440 http code on expired token
5 years ago
Rohan Sircar
ed82bea521
Implemented token usage in front end and removed password storage
Token and username are stored in localstorage and cleared on logout.
5 years ago
Rohan Sircar
9a922cf5b9
added cacheevict
5 years ago
Rohan Sircar
f06bf516dd
chat page now uses classname instead of queryselector to extract user name
5 years ago
Rohan Sircar
e85650d499
static chat js
5 years ago
Rohan Sircar
d577e38692
Added markdown rendering to chat area
5 years ago
Rohan Sircar
08c2ec786c
messages are now sanitized for unsafe html/js using DOMPurify
5 years ago
Rohan Sircar
fd6de29a89
Done get and post logic
Also added an initial input box for passphrase which is set to hidden
later
5 years ago
Rohan Sircar
ed3853c5ea
changed to queryselector to extract username and date and last message fields in userbox
5 years ago
Rohan Sircar
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
5 years ago
Rohan Sircar
579f819254
set active css class to user boxes on click
5 years ago
Rohan Sircar
dacf0f90dc
improved chat UI
5 years ago
Rohan Sircar
3692608d8f
added user change passphrase page and some general adjustments
5 years ago
Rohan Sircar
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.
5 years ago
Rohan Sircar
d3ac95e8f4
Implemented primitive rest validation.
A better implementation to be done later.
5 years ago
Rohan Sircar
acbacc8fa8
Architecture improvements and validation
Improved system architecture and added sample regex validation to
registration
5 years ago
Rohan Sircar
2625cf7865
add bootstrap to web front-end
5 years ago
Rohan Sircar
bb9a4c9b3a
Added database initialization logic
5 years ago
Rohan Sircar
3ea46b584a
zz
5 years ago