Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37889 4 h 31 m aman /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/serviceConfig/ Fin Services: take brand logos from catalog.brand.logo_url instead of Mongo

Logo lookup is case-insensitive so service_brand names like NOTHING match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012RhScihkTVEM5oJgpFkKWn
 
37888 9 h 44 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ fix(catalog): reject duplicate colour on item upload regardless of f_ prefix, case or spacing

Item.colorKey() normalises a colour for comparison (drops f_/F_, lowercases, tidies spaces).
ItemLoaderService 'Color already exist' check now uses it, so f_black / F_Black / Black are
rejected when the model already has f_Black. 'Model repeats the same color' check unchanged.
 
37887 22 h 26 m ranu /trunk/profitmandi-fofo/src/main/webapp/resources/js/ offer-radar notification commit  
37886 22 h 43 m ranu /trunk/profitmandi-fofo/src/main/ offer-radar notification commit  
37885 22 h 43 m ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/scratch/ v2 version some fixes  
37884 1 d 2 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ fix(web): todayOffers for staff users; stop logging full Auth-Token

- /todayOffers (GlitchTip #59, 417 events): resolved the store via
dtr.user_accounts, which internal staff using the partner app don't have, so
getUserCart returned null and the call NPE'd. Use the retailerId from the
token (same value as the partner's saholic account); return an empty list
when the token carries no store.
- AuthenticationInterceptor: log only the last 6 characters of the
Auth-Token instead of the full JWT (was reaching GlitchTip breadcrumbs).
 
37883 1 d 2 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/authentication/ fix(security): stop logging full JWT in JWTUtil.getUserInfo

The full Auth-Token was logged at INFO on every request and shipped to
GlitchTip as a breadcrumb, where it could be copied and reused. Log only the
last 6 characters for correlation.
 
37882 1 d 3 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ activated imei will not get scratch coupon  
37881 1 d 3 h ranu /trunk/ activated imei will not get offer gift  
37880 1 d 4 h vikas /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/service/ Scratch Offer Special Gift Limit  
37879 1 d 8 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/v2/controller/fofo/ refactor(web): stop setting removed inventory.warehouse fields on seller warehouse create

Follows dao r37878, which removed the never-read fields from Warehouse.
 
37878 1 d 8 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ fix(dao): warehouse lookup survives legacy NULLs; drop unused warehouse fields; moveToGood/moveToBad qty

- /vendors?warehouseId=10516 (UP-NSSPL/Delhi) failed for every supplier: inventory.warehouse
rows 10600/10601 had NULL billingType/logisticsLocation mapped to primitive int.
selectSupplierIdsWithGoodWarehouse now selects only vendorId via HQL.
- InventoryWarehouse/Warehouse: remove never-read fields billingType, logisticsLocation,
tinNumber, vendorString, lastCheckedOn, transferDelayInHours, isAvailabilityMonitored
(DB columns kept); status -> Integer (16 legacy NULL rows); null-safe hashCode/equals
(InventoryWarehouse.hashCode NPE'd on NULL source).
- Warehouse creators no longer set the removed fields.
- moveToGood/moveToBad: act on the newest inventory row per serial; moveToGood restores
currentQuantity to initialQuantity and adds back only the restored qty; moveToBad
reduces availability only when units are on hand and zeroes currentQuantity.
 
37877 1 d 9 h amit /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ fix: use CustomRetailer.getCode() for partner code in offer Manage Partners modal  
37876 3 d 0 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/scratch/ v2 version some fixes  
37875 3 d 0 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/dtr/ navratri offer validity till 2 days  
37874 5 d 3 h ranu /trunk/ recent winners of scratch offer  
37873 5 d 4 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ fix(menu): move see-all-menus access from L5 to L8/L9; L5 menus now from auth.menu_category  
37872 5 d 7 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ fix(supplier): keep supplier's already-mapped warehouses in edit Warehouse Location dropdown regardless of status  
37871 5 d 7 h amit /trunk/profitmandi-fofo/src/main/ feat(supplier): show warehouse name instead of prefix in Warehouse Location dropdown, list ACTIVE warehouses only  
37870 5 d 7 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/hrms/ feat(supplier): add warehouse name to WarehouseIdPrefixModel  

Show All