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
 
37866 19 d 15 h ranu /trunk/ request login for b2b app for sales department enable  
37781 31 d 14 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ feat(partner-access): demo partners in app switcher + impersonate

- /getPartners, /getPartnersList: position partners + active demo partners
(copies the cached getAuthUserPartnerEmailMapping set, never mutates it)
- /impersonate: an active demo grant also passes the access check

Needs dao r37779 and migration_demo_partner_access.sql applied.
 
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.
 
37157 89 d 11 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ getPartners null-safe saholic lookup (one bad partner row no longer 500s the whole list), retailer registration uses idempotent user_accounts upsert, V2CartController distinguishes missing-procurement-cart (404) from missing auth token (401)  
36400 182 d 12 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Replace mailSender (SendGrid) with gmailRelaySender - SendGrid API key expired/revoked  
36324 188 d 15 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fix: Tier-Based Referral Payout  
35952 234 d 14 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Added Store Code in Partner Listing  
35625 269 d 10 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fix:getpartner error handling  
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
 
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.
 
35377 318 d 10 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Fix:Add user-Status(not register google account)  
35373 319 d 15 h aman /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fix:Add user status trial in token  
35352 322 d 10 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Added changes for trial user  
35337 328 d 9 h aman /trunk/ Feat:Trial Feedback Api and Trial brand potential Api  
35296 342 d 15 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Fixed lead self Assigned  
35272 349 d 12 h amit /trunk/ Added Logic for guest  
35262 354 d 7 h vikas /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Comment UnRegistred Token  
35257 356 d 7 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Added logic to incrporate trial version  
35193 377 d 9 h vikas /trunk/ Optimized oppo rewards query and update in app feature api  
35170 381 d 8 h vikas /trunk/ Carry bag 1 rupee to NEW, GOLD, PLATINUM, DIAMOND  
34794 468 d 16 h vikas.jangra /trunk/ Login With Email Password - Reset Password - Change Password  
34664 501 d 12 h vikas.jangra /trunk/ Google Login with email  
34037 689 d 7 h amit.gupta /trunk/ Fixed logic to get mapped partner type.  
33792 762 d 15 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ policy amount to be changed 10000 to 2000  
33194 930 d 14 h amit.gupta /trunk/ Added 10K for Referral  
32721 1049 d 12 h ranu /trunk/ code commented for min stock value  
32458 1133 d 15 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ Resolved the issue with any color  
31820 1288 d 17 h amit.gupta /trunk/ Fixed promoter login issue.  
30561 1608 d 11 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
30560 1608 d 11 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
30559 1608 d 11 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
30558 1608 d 11 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
30557 1608 d 11 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
30556 1608 d 11 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
30555 1608 d 12 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
30554 1608 d 12 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
30553 1608 d 12 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
30552 1608 d 12 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/  
30549 1608 d 14 h tejbeer /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/