Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37843 3 d 5 h ranu /trunk/ revival process fix loi  
37660 22 d 6 h ranu /trunk/ ticket download option given and some enhancement on notification panel  
37632 23 d 9 h aman /trunk/ fix(loi): don't leave an LOI half signed when the signed PDF fails to save

Confirm Sign stores the partner OTP (/validateLoiOtp) before the browser builds and uploads the
signed PDF (/saveLoiDoc). When that second step failed - html2pdf not loaded from cdnjs, upload
rejected, tab closed, server error - nothing was shown, no LOI mail went out, no onboarding was
created, and because loiOtpPresent hid Generate LOI the filler could never re-sign (LOI 734).

- pendingFormList: loiOtpPresent only when OTP AND loiDoc are both saved; new loiSignIncomplete
flag shows a red "signed LOI not saved" note on the Pending LOI list (web + V2 app).
- loi-form.js Confirm Sign: every failure after the OTP says the LOI was NOT saved and how to
retry; checks html2pdf is loaded; success alert only after /saveLoiDoc confirms; no double submit.
- /saveLoiDoc (fofo + V2): refuses a document without a verified OTP; a repeat call for an
already saved LOI is a no-op (no second mail / completion).
- /validateLoiOtp (fofo + V2): clear message when no OTP was sent in 24h; reports the real
rejection reason (e.g. OTP already used) instead of always "wrong".
- sendSignedLoiPdfToPartner: filler without a manager no longer throws and rolls back the save.
- OtpProcessor.generateOtp: never hands back an already verified OTP under the 2-minute throttle.
- AppConfig version 423 for loi-form.js.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RhJD2sc6pf3Zd7f4hyGxhH
 
37628 23 d 10 h amit /trunk/profitmandi-dao/src/ feat(mail): filter inactive auth users from outgoing mail

InactiveAuthUserRecipientFilter drops @smartdukaan.com recipients whose auth.auth_user is inactive (cached, 5 min refresh, fail-open). Remove inactive hardcoded recipients (sm@, praveen.sharma, tejus.lohani).
 
37523 35 d 22 h ranu /trunk/ loi process added, revival and code changes process  
36936 104 d 10 h vikas /trunk/ Update Email Ids  
36874 111 d 11 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/service/loiForm/ kamini mam access issue on pending loi  
36842 115 d 10 h aman /trunk/ LOI form: restrict Acquired Date to the last 7 days (calendar min/max + client validation + server-side guard)  
36399 164 d 9 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Replace mailSender (SendGrid) with gmailRelaySender - SendGrid API key expired/revoked  
36290 174 d 10 h aman /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fix:Finance code to finance team after code creation  
36262 178 d 4 h aman /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fix:Send Mail for filled loi form to finance team  
36242 181 d 4 h aman /trunk/ Fix:Attachment is Full-stock payment approval ,Timeline ui graphical summary, wod initianl mail after store code creation  
36152 189 d 11 h aman /trunk/ Feat:Request Panel for brand dealer registration,Admin panel for managing WOD request templates  
36067 196 d 11 h aman /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Fix:Duplicate Mail Sending issue and bug fixing  
36008 205 d 4 h aman /trunk/ Fix:Redesign the Po Approval page add total count, Add mail in bcc for testing , partnerpending task api response optimisation,  
35971 213 d 4 h aman /trunk/ Feat : Loi 2.0 Enhancement and redesigning  
35956 215 d 11 h amit /trunk/profitmandi-dao/src/main/ Mail outbox pattern: persist mail in transaction, send async after commit. Fixes lock contention between /cancelOrder and /om/addBillingDetailsForGrouppedOrders caused by SMTP calls inside transactions holding DB locks.  
35642 248 d 12 h aman /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/ Fix:Email Service and adhar front and back uploader  
35458 292 d 3 h amit /trunk/ Revert @Transactional(readOnly=true) - keep @Transactional only at Controller level

Changes:
- profitmandi-web: Controllers use @Transactional(rollbackFor = Throwable.class) at class level, removed method-level @Transactional(readOnly = true)
- profitmandi-fofo: Controllers use @Transactional(rollbackFor = Throwable.class) at class level, removed method-level @Transactional
- profitmandi-dao: Removed @Transactional from services/repositories

Exceptions (called from interceptors, need own transaction):
- RoleManager: @Transactional(readOnly = true) - called from interceptor for auth
- PartnerTypeChangeServiceImpl.getBestPartner(): @Transactional - called from JWTUtil via interceptor

Fixed javax.transaction.Transactional to org.springframework.transaction.annotation.Transactional
Fixed rollbackOn to rollbackFor for Spring compatibility
 
35394 295 d 22 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Improved performance  

Show All