Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
36047 12 d 7 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fix offer cache: clear entire partnerOffers cache on offer mutations instead of selective eviction  
35925 33 d 9 h amit /trunk/profitmandi-fofo/src/main/ Per-criteria offer editing UI + fix cache eviction bugs

- Add POST /offer/updateSlabs endpoint with JSON body for per-slab target+payout editing
- Replace flat target editor with grouped table (Models, Slab, Target, Payout columns)
- Fix: publishedOffersWithAchievement evicted from wrong cache manager (redisShort->oneDay)
- Fix: todayOffers cache never evicted on offer mutations — added to all mutating operations
- Extract evictOfferCaches() helper for update endpoints
 
35923 33 d 9 h aman /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fix:Offer activation error  
35894 34 d 15 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Add descriptive comments for cache eviction logic across all offer endpoints  
35893 34 d 15 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Add partnerOffers cache eviction to activateOffer and publishAll, use injected Gson bean  
35892 34 d 15 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Add partnerOffers cache eviction to partner management and target update endpoints  
35891 34 d 15 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Remove cache eviction from removePartners and addPartners - eviction happens only on activate/deactivate  
35888 35 d 7 h amit /trunk/profitmandi-fofo/src/main/ Fix: use partner_criteria JSON for partner modal, remove offer_partners table dependency  
35886 35 d 9 h amit /trunk/profitmandi-fofo/src/main/ Admin offer management UI: manage partners modal, edit targets, JS handlers, bump version to 325  
35857 37 d 10 h amit /trunk/profitmandi-fofo/src/main/ Add bulk publish all, delete offer UI/endpoints, offer cache eviction on activate, bump JS version  
35726 53 d 7 h vikas /trunk/ Pinelabs offer discovery on billing and stock page  
35505 95 d 14 h ranu /trunk/profitmandi-fofo/src/main/ today offer modal done  
35501 95 d 14 h ranu /trunk/ today offer modal done  
35458 105 d 7 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
 
35415 108 d 12 h amit /trunk/ Commit Changes  
35297 137 d 9 h amit /trunk/ Added logic to handle retailer  
35205 171 d 10 h amit /trunk/ Offer send Notification refactoring  
34620 310 d 14 h amit.gupta /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Added item id  
34617 311 d 13 h amit.gupta /trunk/profitmandi-fofo/src/main/ Fixed Live demo issue  
34559 325 d 9 h amit.gupta /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ config  

Show All