Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37887 31 m ranu /trunk/profitmandi-fofo/src/main/webapp/resources/js/ offer-radar notification commit  
37886 48 m ranu /trunk/profitmandi-fofo/src/main/ offer-radar notification commit  
37885 49 m ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/scratch/ v2 version some fixes  
37884 4 h 53 m 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 4 h 53 m 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 5 h 27 m ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ activated imei will not get scratch coupon  
37881 5 h 29 m ranu /trunk/ activated imei will not get offer gift  
37880 6 h 11 m vikas /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/service/ Scratch Offer Special Gift Limit  
37879 11 h 2 m 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 11 h 2 m 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 11 h 30 m amit /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ fix: use CustomRetailer.getCode() for partner code in offer Manage Partners modal  
37876 2 d 2 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/scratch/ v2 version some fixes  
37875 2 d 2 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/dtr/ navratri offer validity till 2 days  
37874 4 d 5 h ranu /trunk/ recent winners of scratch offer  
37873 4 d 7 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 4 d 9 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 4 d 9 h amit /trunk/profitmandi-fofo/src/main/ feat(supplier): show warehouse name instead of prefix in Warehouse Location dropdown, list ACTIVE warehouses only  
37870 4 d 9 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/hrms/ feat(supplier): add warehouse name to WarehouseIdPrefixModel  
37869 5 d 6 h amit /trunk/profitmandi-fofo/src/main/ fix(fofo): GlitchTip quick wins - empty billing queue, regex search, upload dates

- /om/transactions: no crash when warehouse has no unbilled orders (#50);
/om/orderByTransaction returns "No pending orders" instead of querying with
no items (#88); JS skips detail load when there is no transaction.
- /om/transactions, /om/billedInvoice: warehouseId=0 fallback used a warehouse
id as a list index (authWarehouseIds.get(authWarehouseIds.get(0))).
- Item / vendor / retailer typeahead: substring match via contains() instead of
a regex built from user input, which threw PatternSyntaxException on "("
(#1932, #1375, #1700, #600, #1926, #1721, #1754).
- Billed-order shipping upload: time optional, dd-MM-yyyy[ HH:mm[:ss]],
missing parts default to 00 (#1976).
- IMEI activation upload: time optional, M/d/yyyy[ H:mm[:ss]], missing time =
00:00:00; every row validated, bad dates and duplicate IMEIs reported with
row numbers instead of a 500 (#1990).
- Bump JS version to 443.
 
37868 5 d 9 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/warehouse/ fix(warehouse): return empty availability for empty item list

getAvailabilityToWarehouse / ToVendorWarehouse / ToVendorWarehouseToBill
passed an empty itemIds list into the named query, producing "IN ()" and a
SQL syntax error (GlitchTip #20 /cart validation, #88 /om/orderByTransaction).
 

Show All