Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
36922 1 d 5 h amit /trunk/profitmandi-fofo/src/main/ Remove unused Digify retailer integration and fix slim-jQuery clobber on partner-performance/today_po/today_target pages

- Delete Digify controller, views and Buyback asset; drop dead .digify-retailer-login handler and buyback links/buttons
- Load full jQuery (3.5.1) instead of jquery slim on partner-performance/today_po/today_target so injected pages no longer overwrite the dashboard jQuery (restores $.ajax / slideUp)
- Bump jsVersion to 365
 
36902 3 d 3 h amit /trunk/profitmandi-fofo/src/main/ HID requested-allocations: fully-batched HID/Current (no per-partner query) + server-side pagination on both Pending and Approved tabs (50/page); bump js version  
36899 3 d 5 h amit /trunk/profitmandi-fofo/src/main/ HID requested-allocations: batched HID/Current/Bill-Act lookups, server-side pagination on Approved tab (50/page), generate-request fixes (qty>0 + derive trusted fofoId via isAdmin); bump js version  
36892 3 d 8 h aman /trunk/profitmandi-fofo/src/main/ Contact-Us: vertically center edit modal + styled bootbox delete confirmation

- contact-us.vm: flexbox-center #contactUsModal (equal top/bottom + horizontal)
- contact.js: delete now uses bootbox.confirm (styled 'Yes, delete' dialog), falls back to native confirm
- AppConfig: bump asset version 361 -> 362 so clients fetch updated contact.js
 
36890 3 d 8 h aman /trunk/profitmandi-fofo/src/main/ Re-enable DB-backed Contact-Us with self-provisioning + UI/cache fixes

- ContactUsTableBootstrap: app auto-creates & seeds fofo.contact_us on startup on
whatever DB it connects to (idempotent), removing the wrong-DB-host failure that
caused the prod SQLGrammarException. No manual prod SQL needed.
- DashboardController: restore DB-backed /contactUs (+ save/delete) with a defensive
try/catch so a DB hiccup renders an empty list instead of a 500.
- contact-us.vm: move modal to <body> on load (escapes the zoom stacking context that
hid the popup); Edit/Delete as clear text buttons.
- contact.js: relocate modal out of #main-content; add/edit/delete handlers.
- AppConfig: bump asset version 360 -> 361 so clients fetch the updated contact.js.
 
36873 6 d 10 h ranu /trunk/profitmandi-fofo/src/main/ kamini mam access issue on pending loi  
36868 7 d 7 h ranu /trunk/ code committed fo bgc lead  
36851 9 d 9 h aman /trunk/profitmandi-fofo/src/main/ Fix LOI Acquired Date validation rejecting manually-typed dates; bump asset version to 359

Validate the Acquired Date range on blur instead of change so typing the
year digit-by-digit in the type=date field no longer rejects intermediate
values. Bump cache-buster version 358->359 so clients reload the updated JS.
 
36846 10 d 7 h aman /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/config/ Bump static asset version 357->358 to bust browser cache for loi-form.js Acquired Date fix (r36845)  
36844 10 d 8 h aman /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/config/ Bump static asset cache-buster version to 357

Forces browsers to re-download updated JS (incl. loi-form.js Acquired Date
7-day enforcement). Resolved conflict with concurrent r36843 (version 356);
took the newer cssVersion 50 and bumped version past 356 to ensure a fresh value.
 
36836 13 d 4 h ranu /trunk/profitmandi-fofo/src/main/ code commit for agenda fill time stamp  
36825 15 d 5 h ranu /trunk/profitmandi-fofo/src/main/ code commit for agenda fill time stamp  
36819 15 d 7 h amit /trunk/profitmandi-fofo/src/main/ Fix idempotency dedup to be server-authoritative (content + partner scoped)

PostInterceptor now keys duplicates on sha256(fofoId|method|uri|bodyHash) for
mutating methods only, instead of the client-supplied IdempotencyKey header.
The header was rotated per-request by the frontend (and old/sticky clients),
so identical submissions produced distinct keys and were never deduped - e.g.
a create-offer burst created 147 duplicate rows. Keying on the request body
makes dedup independent of client behaviour; partner scoping prevents cross-
partner collisions; distinct payloads (one-offer-per-partner) are unaffected.
GET/HEAD are now never deduped (removes spurious GET 400s).

common.js: attach IdempotencyKey only to mutating methods; stop rotating the
key on every ajaxComplete (kept reset on ajaxSuccess only). version 355.
 
36814 15 d 11 h ranu /trunk/profitmandi-fofo/src/main/ code commit for agenda fill time stamp  
36811 15 d 23 h ranu /trunk/ code commit for agenda fill time stamp  
36806 16 d 3 h ranu /trunk/profitmandi-fofo/src/main/ code commit for agenda fill time stamp  
36800 17 d 6 h ranu /trunk/profitmandi-fofo/src/main/ some enhancement and bug fixes  
36792 20 d 4 h ranu /trunk/profitmandi-fofo/src/main/ some enhancement and bug fixes  
36789 20 d 11 h ranu /trunk/profitmandi-fofo/src/main/ some enhancement and bug fixes  
36788 20 d 12 h ranu /trunk/profitmandi-fofo/src/main/ some enhancement and bug fixes  

Show All