Subversion Repositories SmartDukaan

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37130 6 d 3 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ rating api issue fix  
37029 20 d 6 h aman /trunk/ AI lead intake - conform to chatbot spec: accept & store 'state' (canonical, nullable) from payload; default status to 'pending' so leads land in the Open/New view (was followUp); return 401 (not 403) on bad Auth-Token; show Outlet/Shop Name column in lead search results  
37027 20 d 6 h aman /trunk/ AI leads: fix /add/lead 500 (set NOT-NULL 'state' + null-safe last_name/city/address so voice/chat leads persist instead of crashing) and add call-recording support - new user.lead.recording_url column mapped on Lead, recordingUrl accepted on AiLeadRequest and stored in aiLead(), Recording play button in lead management (main dashboard + search/closed results). Prod needs: ALTER TABLE user.lead ADD COLUMN recording_url VARCHAR(1024) NULL;  
36957 27 d 6 h aman /trunk/ Add AI assistant lead intake endpoint (POST /add/lead) tagging source=AI Assistant in Lead Management  
36930 32 d 3 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ rbm rating weekly -> monthly  
36860 40 d 21 h ranu /trunk/ code committed by some bug fix in pjp  
36853 41 d 4 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ code committed by some bug fix in pjp  
36827 47 d 0 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ code committed for buy mode(v2)  
36771 54 d 0 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ code commit for self lead creation  
36723 60 d 7 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Franchise visit activity response  
36722 60 d 7 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Franchise visit activity response  
36678 62 d 7 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Checkout Error  
36677 62 d 8 h vikas /trunk/ Checkout Error  
36661 65 d 2 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Location Tracking Report: Add Travel Row and added Company Office Repository Implementation  
36400 91 d 5 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Replace mailSender (SendGrid) with gmailRelaySender - SendGrid API key expired/revoked  
36336 96 d 8 h ranu /trunk/ sales dispostion updated  
36286 102 d 0 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ sales dispostion updated  
36267 104 d 4 h ranu /trunk/ sales dispostion updated  
36211 111 d 2 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ rbm l1,l2,l3 layer introduce  
36114 118 d 3 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ rating system updated ..weekly rating  
35968 141 d 18 h ranu /trunk/ bm asm filter added in sales escalation  
35920 147 d 4 h ranu /trunk/ now inactive partners also showing on target page  
35853 152 d 0 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ no ans will come after 4 hrs  
35835 153 d 8 h ranu /trunk/ new remark has been updated (schedule time and date for call)  
35781 159 d 23 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Remove unused AuthUserPartnerMappingRepository injection from controllers  
35725 167 d 4 h ranu /trunk/ now recording also fetching  
35708 168 d 1 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ now recording also fetching  
35650 174 d 5 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ call target related changes  
35649 174 d 7 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ call target related changes  
35632 177 d 7 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ call target related changes  
35630 178 d 0 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fix:Error handling  
35469 217 d 23 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Leads Follow ups  
35467 218 d 0 h amit /trunk/ Optimize /lead-description endpoint

- Add null check for authUser to prevent NPE
- Move visitRequests query inside followUp block
- Move Comparator outside loop
- Rewrite selectLeadsScheduledBetweenDate using Criteria API with Predicates
- Single query joins Lead + LeadActivity with filters in DB
- Remove in-memory filtering of assignTo
 
35458 218 d 23 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
 
35435 220 d 7 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Add @Transactional(readOnly = true) to GET methods in controllers

Added @Transactional(readOnly = true) to all read-only GET methods across 14 controllers:
- RetailerController (10 methods)
- UserController (16 methods)
- WalletController (5 methods)
- CartController (2 methods)
- StoreController (25 methods)
- DealsController (20 methods)
- ShopController (1 method)
- CustomerController (2 methods)
- NotificationController (3 methods)
- SolrSearchController (2 methods)
- InsuranceController (1 method)
- GatewayController (1 method)
- LeadController (13 methods)
- RechargeController (4 methods)

Total: 105 methods updated

All methods verified to only set @Transient fields on entities, ensuring no dirty writes.
 
35415 222 d 5 h amit /trunk/ Commit Changes  
35397 222 d 18 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed performance  
35288 255 d 0 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed lead self Assigned  
35079 304 d 7 h vikas /trunk/ Live Tracking and Shopify Products List Sync  
35075 305 d 1 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fix:Timeline visibility