Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37937 4 d 9 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Store status lifecycle: web login, wallet guard and V2 endpoints

- Partner login and token detail refuse a SUSPENDED or CLOSED store (STORE_LOGIN_BLOCKED) with the reason;
token detail returns storeStatus
- PAUSED blocks partner wallet spends at checkout, insurance and clearance bid
- V2 retailer endpoints mirror the fofo ones through StoreStatusService
 
37629 41 d 14 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ feat(mail): wire inactive-recipient filter and clean hardcoded addresses

Wire MailRecipientFilter into googleMailSender and gmailRelaySender. Remove inactive/unknown addresses from recipient and access lists, fix typo addresses, bulk uploader gate to akhil.kumar, V2 brand fee gate to kamini.sharma.
 
37298 75 d 5 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Default subCategoryId to 0 on endpoints that declare it required=false

subCategoryId is a primitive int, so a required=false declaration with no
defaultValue makes Spring throw when the param is omitted:

Optional int parameter 'subCategoryId' is present but cannot be translated
into a null value due to being declared as a primitive type.

v1 DealsController and GuestController already default it to 0; their v2
wrappers dropped that, and StoreController never had it on either version. Any
caller omitting the param got a 500 with a message that does not name the
parameter at fault.

Adding the default only removes that failure path — every currently working
caller already sends a value, so no existing behaviour changes.
 
37144 94 d 10 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Brand eligibility: hide restricted (blocked + LOI-ineligible) brands on partner surfaces and enforce at purchase — PartnerSolrClient applies Solr brand exclusion on all partner demo-core queries; brand list + deal/store facets filtered; legacy solr-search title filter with word boundary; add-to-cart and checkout validate via validateOrderableBrands  
36932 123 d 9 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ rbm rating weekly -> monthly  
36428 180 d 11 h aman /trunk/ Fix:Partner Stock Api  
36377 185 d 10 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Dashboard API  
36376 185 d 10 h aman /trunk/ Feat:Cart Api Implementation  
35758 256 d 7 h vikas /trunk/ Removed tarun verma's email from trial service  
35458 310 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
 
35456 310 d 7 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed method thats not readonly  
35435 311 d 15 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.
 
35369 320 d 10 h ranu /trunk/ out of stock allocation  
35309 339 d 10 h aman /trunk/ Fix:Monthly Sale show assesses sale  
35243 362 d 15 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Feat: Partner Monthly sale  
35211 376 d 7 h vikas /trunk/ App build Version & Notification Template  
35079 395 d 15 h vikas /trunk/ Live Tracking and Shopify Products List Sync  
34917 424 d 9 h vikas /trunk/ SmartSeller Earnings and Referrals  
34902 430 d 7 h vikas /trunk/ Affiliate Order  
34899 430 d 9 h aman /trunk/ Fix: Affiliate Products, links and Authentication  
34884 434 d 14 h vikas /trunk/ Disabled POD Option  
34882 440 d 9 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Feat:Affiliate Service  
34878 441 d 10 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Changed force wallet debit on bidding  
34823 459 d 11 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ remove icici plan fom b2c  
34822 459 d 11 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ remove icici plan fom b2c  
34654 503 d 7 h vikas.jangra /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Debit 500 From Wallet for Bid Security  
34562 530 d 2 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Bid Update notification to another user  
34545 531 d 11 h vikas.jangra /trunk/ Bidding/Liquidation push notifications  
34494 546 d 3 h vikas.jangra /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Bidding/Liquidation changed bid starting amount  
34477 550 d 7 h aman.kumar /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Pending Order Plan  
34476 550 d 7 h vikas.jangra /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Bidding/Liquidation Declined Bid After 6 PM  
34446 553 d 0 h vikas.jangra /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Bidding/Liquidation Initial Code - Validation for 6PM  
34444 553 d 0 h vikas.jangra /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Biddin/Liquidation Initial Code  
34371 572 d 16 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ scrach end  
34287 595 d 8 h vikas.jangra /trunk/ Download Invoice Issue  
34259 602 d 11 h aman.kumar /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ default address fix  
34248 606 d 8 h aman.kumar /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Navbar imported  
34247 606 d 8 h aman.kumar /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Contact us Validation  
34242 606 d 12 h tejus.lohani /trunk/ Nav bar list api  
34239 607 d 10 h vikas.jangra /trunk/ Added Super Catalog Variants to b2c API