| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 37846 |
1 d 5 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
feat(warehouse): dashboards list ACTIVE warehouses only, warehouse-team screens ACTIVE+SUSPENDED (from BillingWarehouseService, WAREHOUSE_MAP gone); global $warehouseNames for labels of data rows in any state; Sellers & Warehouses screen: all-warehouse overview with status tabs, 3-state status, rename, stock/unshipped orders/stores/mapping usage, send stock alert; partner zone offers active warehouses only; brand stock 'All' = active warehouses (replaces r37838 loop); jsVersion 442 |
|
| 37725 |
18 d 4 h |
amit |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Fixed mail sender everywhere |
|
| 36703 |
132 d 11 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Add Refresh Cache button on offer history page. Endpoint /offer/refreshCache evicts monthOfferIds, catalog.published_yearmonth, todayOffers for selected month. Bump version to 341. |
|
| 36634 |
138 d 3 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 |
148 d 7 h |
amit |
/trunk/ |
Added RequestCachingFilter |
|
| 36501 |
151 d 5 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Fixed Offer edit logic only finance team can edit |
|
| 36492 |
151 d 8 h |
amit |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Fixed scheme item enddate to expire when scheme is expired |
|
| 36487 |
152 d 6 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 |
167 d 9 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 |
167 d 11 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 |
196 d 10 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 |
197 d 4 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 |
218 d 6 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 |
218 d 6 h |
aman |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Fix:Offer activation error |
|
| 35894 |
219 d 12 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 |
219 d 12 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 |
219 d 12 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 |
219 d 12 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 |
220 d 4 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Fix: use partner_criteria JSON for partner modal, remove offer_partners table dependency |
|
| 35886 |
220 d 6 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Admin offer management UI: manage partners modal, edit targets, JS handlers, bump version to 325 |
|
| 35857 |
222 d 7 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Add bulk publish all, delete offer UI/endpoints, offer cache eviction on activate, bump JS version |
|
| 35726 |
238 d 4 h |
vikas |
/trunk/ |
Pinelabs offer discovery on billing and stock page |
|
| 35505 |
280 d 10 h |
ranu |
/trunk/profitmandi-fofo/src/main/ |
today offer modal done |
|
| 35501 |
280 d 11 h |
ranu |
/trunk/ |
today offer modal done |
|
| 35458 |
290 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 |
|
| 35415 |
293 d 9 h |
amit |
/trunk/ |
Commit Changes |
|
| 35297 |
322 d 6 h |
amit |
/trunk/ |
Added logic to handle retailer |
|
| 35205 |
356 d 7 h |
amit |
/trunk/ |
Offer send Notification refactoring |
|
| 34620 |
495 d 10 h |
amit.gupta |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Added item id |
|
| 34617 |
496 d 9 h |
amit.gupta |
/trunk/profitmandi-fofo/src/main/ |
Fixed Live demo issue |
|
| 34559 |
510 d 6 h |
amit.gupta |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
config |
|
| 34558 |
510 d 6 h |
amit.gupta |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
config |
|
| 34557 |
510 d 6 h |
amit.gupta |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
config |
|
| 34553 |
510 d 9 h |
amit.gupta |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
config |
|
| 34552 |
510 d 9 h |
amit.gupta |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
config |
|
| 34176 |
608 d 8 h |
tejus.lohani |
/trunk/profitmandi-fofo/src/main/ |
brand filter on retailer dashboard |
|
| 34137 |
629 d 11 h |
amit.gupta |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Minor commit |
|
| 33999 |
678 d 12 h |
tejus.lohani |
/trunk/ |
bug fix -offer payout report |
|
| 33713 |
769 d 13 h |
tejus.lohani |
/trunk/profitmandi-fofo/src/main/ |
show payout date in offer history in dashboard finance option |
|
| 33615 |
803 d 5 h |
amit.gupta |
/trunk/ |
Added Smartwatches |
|