| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 35585 |
185 d 2 h |
ranu |
/trunk/ |
code updated by |
|
| 35583 |
186 d 2 h |
ranu |
/trunk/ |
code updated by |
|
| 35582 |
186 d 2 h |
aman |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Fix:DMS Code update issue |
|
| 35579 |
187 d 9 h |
aman |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Feat:add lead id in lead report |
|
| 35578 |
188 d 5 h |
amit |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Fix: Protect admin-set hardLimit from being overwritten
- Bug fix: Credit limit set by admin (hardLimit=true) was being overwritten
when other users updated SD credit requirements
- Performance: Removed redundant database query for SDCreditRequirement
- Fix: Calculate availableLimit after limit changes to ensure correct value
- Cleanup: Use fofoId variable instead of repeated method calls |
|
| 35572 |
188 d 20 h |
amit |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Fix: Remove duplicate persist in wallet approval
The addWalletRequest status was already being updated in memory,
and the entity is managed by Hibernate session - no explicit persist needed. |
|
| 35571 |
189 d 0 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Quick wins and medium effort improvements for ticket system
Quick Wins:
- Add input validation to updatePartnerPosition (check positionId, regionId, fofoIds exist)
- Keep SortOrder import (from javax.swing, needed for pagination)
Medium Effort:
- Extract common modal CSS and HTML to shared partials (activity-modal-styles.vm, activity-modal.vm)
- Add null safety checks for maps in getTicket, getMyPartyTicketTicket, getManagerTickets
- Fix N+1 query in getMyPartyTicketTicket: batch fetch tickets using selectAllOpenTickets(fofoIds) instead of loop |
|
| 35570 |
189 d 0 h |
amit |
/trunk/ |
Ticket system improvements: Fix N+1 query in getActivity, add input validation in createPosition, optimize getManagerTickets
- DocumentRepository: Add selectByIds for batch fetching documents
- CsController.getActivity: Replace N+1 document fetch with batch query, remove incorrect persist during GET
- CsController.createPosition: Add validation for authUserId, categoryId, regionId, and fofoIds before creating position
- CsController.getManagerTickets: Fix duplicate activity query, fetch only required AuthUsers instead of all users |
|
| 35569 |
189 d 0 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
CRM-only external communication + performance & security improvements
Feature:
- Restrict external communication (COMMUNICATION_OUT) to CRM team only (category_id=9)
- Non-CRM users can only send internal communications
- Hide internal/external checkbox for non-CRM users in UI
Performance:
- Eliminate duplicate AuthUser fetch in getTicket() - reuse variable
- Eliminate duplicate activity query (selectAll called twice)
- Fetch only needed AuthUsers instead of all users for activity display
- Same optimizations applied to getMyPartyTicketTicket()
Security:
- Add escapeHtml() function to prevent XSS in activity messages
- Applied to all user-generated content display
UX:
- Add loading spinner while fetching activities
Code Quality:
- Add ActivityType constants for consistent usage
- Add toBool() helper for cleaner boolean checks
- Refactored loadActivities() for better readability |
|
| 35552 |
192 d 7 h |
ranu |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
bulletin updated on dashboard and give access category department |
|
| 35549 |
192 d 9 h |
ranu |
/trunk/ |
bulletin updated on dashboard and give access category department |
|
| 35548 |
193 d 2 h |
aman |
/trunk/ |
Feat : Bulk uploader for lead reassign and update state and city for leads |
|
| 35547 |
193 d 5 h |
amit |
/trunk/ |
Real-time Solr updates for TagListing changes
- Add Spring ApplicationEvent for TagListing changes (price, status, create, delete)
- Add async listener for incremental Solr updates (updateSingleCatalog)
- Add failure tracking with solr_update_failures table for visibility
- Add admin dashboard API for tech team to retry failed updates
- Add auto-retry job every 5 minutes (max 3 retries)
- Add startup sync for consistency after restart
- Add isProd check to skip Solr updates in local/dev environment
- Inject event publisher in TagListing, PriceDrop, Indent controllers |
|
| 35543 |
198 d 6 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Use doPostAjaxRequestWithJsonHandler for getMonthWisePurchase and change to @RequestBody |
|
| 35541 |
198 d 6 h |
amit |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Change getMonthWisePurchase endpoint to POST method |
|
| 35534 |
200 d 6 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Add credit blocked exception button to SD Credit page
- Added 'Add Exception' button in sd-credit-requirement-row.vm
- Added /addCreditBlockedException endpoint in SDCreditController.java
- Added JavaScript handler in sd-credit.js for the new button
- Allows adding CreditBlockedExceptionPartner entry for a partner for the current day |
|
| 35529 |
201 d 2 h |
ranu |
/trunk/ |
lead repo done |
|
| 35528 |
201 d 3 h |
ranu |
/trunk/ |
content pojo chwcking |
|
| 35525 |
201 d 4 h |
ranu |
/trunk/profitmandi-fofo/src/main/ |
content exception added |
|
| 35523 |
201 d 4 h |
ranu |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
lead repo done |
|