54 Commits (1a15743dcd9c61d0a7349710c66800178a940a3f)

Author SHA1 Message Date
Rohan Sircar 1a15743dcd switched to constructor injection 5 years ago
Rohan Sircar 53d89dc36f added final modifiers where possible in service layer 5 years ago
nova 2e7f6cced6 changed userserviceimpl to constructor injection. this broke the pathetic excuse of a unit test I had made. no regrets 5 years ago
nova b83417570d changed myuserdetailsservice to use userservice instead of calling userrolerepository directly. 5 years ago
nova f9e6e3085c cleanup of java backend (removed todos and obsolete code) 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 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 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 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 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 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 14843cd8f0 Done logic for getting online users and their last active time 5 years ago
Rohan Sircar 3692608d8f added user change passphrase page and some general adjustments 5 years ago
Rohan Sircar febfaeec9a Changes to error model and login/registration cards 5 years ago
Rohan Sircar d3ac95e8f4 Implemented primitive rest validation. 5 years ago
Rohan Sircar 97091123b9 Revert "Architecutre improvements and validation" 5 years ago
Rohan Sircar acbacc8fa8 Architecture improvements and validation 5 years ago
Rohan Sircar 4607ae5e17 Architecutre improvements and validation 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