Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37453 11 h 19 m amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Build googleMailSender as AuthenticatedIdentityMailSender

The bean authenticates as sdtech@smartdukaan.com, so Google Workspace only permits
that address in From. Callers hardcode noreply@, which Gmail refuses with 535
'Authenticated user is not authorized to send mail', silently dropping every alert
sent through it. The sender now rewrites From to its own username at send time.

See profitmandi-common r37451.
 
37416 3 d 4 h vikas /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Port two cron WhatsApp call sites left behind by r37409/r37415.

OrderTrackingService sends the ORDER_DELIVERED template with the airway bill
as its only variable; the push notification on the same loop keeps its
formatted sentence, since template wording lives in Meta, not the call site.
Application drops the userMobileNumberOptIn and authUserMobileNumberOptIn CLI
options, whose NotificationService.optIn backing went with the Gupshup gateway.

ScheduledTasks.java is deliberately not in this commit: locally it also carries
unrelated in-flight remark-scoring work whose package is still unversioned, so
committing it would put @Autowired RemarkScoreRunner into trunk with no such
class. Its two WhatsApp call sites (optIn at ~4618, sendWhatsappMessage at
~5276) therefore still fail to compile at HEAD and need a follow-up.
 
37369 9 d 7 h amit /trunk/ Fixed mail sender everywhere  
37368 9 d 22 h amit /trunk/profitmandi-cron/src/main/ Cron: raise SMTP timeouts, rotate app password, add offer-circular ingest keys

- SMTP 10s -> 30s connect / 120s read-write on both senders; the 10s read timeout was
cutting off larger attachment sends. App password rotated to match the current
Google account credential.
- offer.circular.ingest.enabled / offer.circular.review.url added to dev, staging and
prod. Off by default in all three: enabling it makes the job pick up DRAFT circulars
uploaded from the FOFO portal, parse them and mail the uploader, which should only be
switched on once offer.circular.dir is a real path in that environment. There is no
fallback between profiles, so the key has to exist in each one.
 
37340 11 d 3 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Fixed max limit to 15 lac for Credit limit  
37326 12 d 1 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Add --backfillMissingEwb cron arg

Runs InvoiceService.backfillMissingEwb over an explicit invoice list:
--backfillMissingEwb --invoiceNumbers=A,B,C [--dryRun]

Explicit list rather than a date window so the backfill only touches the invoices known
to have lost their EWB. NOT_SUPPORTED on the RunOnceTasks wrapper suspends the
class-level transaction, keeping the NIC lookups outside one.
 
37258 23 d 2 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Schedule syncHotDealFlags daily 00:20 (ScheduledSkeleton) + --syncHotDealFlags CLI arg: completes r37255 - without the skeleton trigger the tag_listing.hot_deals mirror never runs, so deal windows would not start/expire in Solr  
37238 24 d 6 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Add --regenMarginIrns one-time CLI (dry-run default, --live to run) for generating missing IRNs on issued margin CN/DNs  
37236 24 d 6 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Add --cancelMarginDnIrns one-time CLI (dry-run default, --live to cancel) for margin DN IRN cancellation before corrected reissue  
37232 24 d 23 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Add --corrMarginCNs one-time CLI option (dry-run by default, --live to issue) invoking issueCorrectiveMarginCNs for correcting margin DNs inflated by the abs sign bug  
37228 25 d 0 h vikas /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Updated Gmail Timeout  
37172 30 d 6 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ PJP agenda instances: nightly 23:45 sync cron + manual run arg  
37159 31 d 2 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Nightly partner identity integrity monitor (7 violation classes over fofo_store/user.user/user_accounts/user_role incl. same-GST/mobile multi-open-store mandate checks); scheduled 07:00 + CLI trigger partnerIdentityIntegrityMonitor  
37058 50 d 4 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Add regenerateBilledInvoices CLI task (--fromTime/--toTime) to re-generate invoice PDFs over a billing window; qualify InvoicePdfModel reference after the PdfUtils/DocumentRenderer refactor  
37040 51 d 5 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ on billing delay partner map to focus and revival  
36993 58 d 5 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Thread dryRun through sendCreditNote; --sendCreditNote defaults to dry-run (--live for real); add 06:00-on-1st monthlyMarginsCnDryRun scheduled job  
36979 59 d 4 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ changeList  
36745 89 d 18 h ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ code commited miss beat  
36564 105 d 5 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ Flagship credit: add @Scheduled cron for expired flagship limit conversion (daily 1 AM)  
36554 105 d 12 h amit /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ feat: one-off credit note posting for duplicate invoice NSNOI8965 against NSNOI8966  

Show All