173 Commits (03124a9bd5dc76875013fb3021a1cf353e3485fe)
 

Author SHA1 Message Date
nova bfe2c21e1b moved js deps to global head fragment 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 3d28adbe68 added a unit test for reegistration. Also some cleanup 5 years ago
Rohan Sircar d193ec0f11 Javascript user search implemented 5 years ago
Rohan Sircar 62a7e192e6 Made optimizations to service and repo layers 5 years ago
Rohan Sircar 49f765737e initial implementation of registration captcha 5 years ago
Rohan Sircar ea4b2eb1b1 token auth filter now only catches badcredentialsexception instead of all exceptions. This prevents it from absorbing ALL exception stacktraces 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 f95b14d4e9 added metadata for token timeout property 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 c2e0951144 change to lazy fetching in *toOne relationships and modified repository queries accordingy with join fetch to avoid n+1 queries 5 years ago
Rohan Sircar bf195efea7 minor change to user service impl 5 years ago
Rohan Sircar 796d4ae032 cleanup up main class 5 years ago
Rohan Sircar 87783f2463 admin menu now shows actual username instead of dummy name 5 years ago
Rohan Sircar e2e2428410 removed unneeded idb init code and moved sessions reset query to query.prop 5 years ago
Rohan Sircar 0ecfda9980 db init service now uses hibernate connection instead of separate connection. Also, user sessions are now reset using jdbc as well 5 years ago
Rohan Sircar bee90dcef0 added logging to initializer service 5 years ago
Rohan Sircar f72f1b76fe cleaned up dbinitializerservice 5 years ago
Rohan Sircar 80c7c18881 Token is delete and evicted from cache when num sessions hits 0. Also cleaned up loggeduser and added some logging 5 years ago
Rohan Sircar ed82bea521 Implemented token usage in front end and removed password storage 5 years ago
Rohan Sircar 1d36c317cf reduced token cache duration to 10 minutes 5 years ago
Rohan Sircar 9a922cf5b9 added cacheevict 5 years ago
Rohan Sircar 4c11415d9c removed old commented beanfilter code 5 years ago
Rohan Sircar eb7b2ab6d7 added further logging to tokenauthfilter 5 years ago
Rohan Sircar b0e67cc416 added exception handling to tokenauthfilter 5 years ago
Rohan Sircar 8a339ddf83 Implemented token expiry 5 years ago
Rohan Sircar 25f55a6262 some optimizations 5 years ago
Rohan Sircar 130525738a more refactoring and token is now deleted from database on logout 5 years ago
Rohan Sircar 5e80815e53 changed user token cache expiry to 1 minute 5 years ago
Rohan Sircar 0ca1c47011 further cleanup and added get by token string in usertokenservice 5 years ago
Rohan Sircar deaefaf866 cleaned up the code a bit 5 years ago
Rohan Sircar 264bc9efde switched to beanutil to get beans outside spring handled classes 5 years ago
Rohan Sircar 1ecbc91e0e transferred token auth files 5 years ago
Rohan Sircar a91a142685 changed usersession fetchtype to lazy 5 years ago
Rohan Sircar 84c2c7c245 csrf is enabled again 5 years ago
Rohan Sircar f06bf516dd chat page now uses classname instead of queryselector to extract user name 5 years ago
Rohan Sircar 4d10e172cc left out deleted file by mistake 5 years ago
Rohan Sircar 9140885398 updated schema initilization script and switched back to jdbc based initialization 5 years ago
Rohan Sircar 5a79c7026e application now resets online flag and num_sessions to 0 on startup 5 years ago
Rohan Sircar 2564fdca35 Switched to persistent storage of active users. This solves the issue of tracking active user with multiple sessions 5 years ago
Rohan Sircar d1a2d58411 proper formatting for last active 5 years ago
Rohan Sircar 74396ccd68 added thymeleaf template logic for active users in chat page 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