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
36634 27 d 15 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fix offer activation cache race: use activateOffers service, catch notification failures  
36521 37 d 19 h amit /trunk/ Added RequestCachingFilter  
36501 40 d 17 h amit /trunk/profitmandi-fofo/src/main/ Fixed Offer edit logic only finance team can edit  
36492 40 d 20 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fixed scheme item enddate to expire when scheme is expired  
36487 41 d 18 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ offer process: stamp processedTimestamp on click, block reprocess if batch unfinished  
36348 56 d 21 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ /offer/process/{offerId} now fire-and-forget: calls offerBatchService.submitBatchAsync (dao r36347) and returns the status message immediately. User no longer waits on the 5+ min batch run; duplicate clicks for the same offer return 'already being processed' instead of spawning parallel deadlocking batches.  
36344 56 d 23 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Route /offer/process/{offerId} through OfferBatchService (dao r36342). Per-partner REQUIRES_NEW replaces the single outer transaction — fixes lock-acquisition failures (e.g. offer 8802) by releasing row locks between partners and isolating per-partner failures in cron_batch_item instead of aborting the whole run.  
36050 85 d 22 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Move offer cache eviction to service layer, remove cache manager dependencies from controller  
36047 86 d 16 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 107 d 18 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 107 d 18 h aman /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fix:Offer activation error  
35894 109 d 0 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 109 d 0 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 109 d 0 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 109 d 0 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 109 d 16 h amit /trunk/profitmandi-fofo/src/main/ Fix: use partner_criteria JSON for partner modal, remove offer_partners table dependency  
35886 109 d 18 h amit /trunk/profitmandi-fofo/src/main/ Admin offer management UI: manage partners modal, edit targets, JS handlers, bump version to 325  
35857 111 d 19 h amit /trunk/profitmandi-fofo/src/main/ Add bulk publish all, delete offer UI/endpoints, offer cache eviction on activate, bump JS version  
35726 127 d 16 h vikas /trunk/ Pinelabs offer discovery on billing and stock page  
35505 169 d 22 h ranu /trunk/profitmandi-fofo/src/main/ today offer modal done  

Show All