Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37475 17 d 22 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/config/ mail: delete the dead SendGrid bean from web, make the authenticated identity primary

Removes the live SendGrid bean plus two commented-out corpses (an old
build@shop2020.in sender and a dead alias). googleMailSender is now @Primary and
answers to 'mailSender', so unqualified injections get the working authenticated
sender instead of one that rejects with 535.
 
37454 20 d 8 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/config/ 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.
 
37369 29 d 4 h amit /trunk/ Fixed mail sender everywhere  
37367 29 d 19 h amit /trunk/profitmandi-web/src/main/ Mail: raise SMTP timeouts and rotate the sdtech app password

The 10s read timeout was cutting off larger attachment sends (policy PDFs, invoice
attachments) and surfacing as a send failure the outbox then retried. Raised to 30s
connect / 120s read-write on both senders. App password rotated to match the current
Google account credential.

Also fills in new.solr.url and store.app.url in staging.properties - staging carries no
fallback to dev/prod, so a missing key stops the context from starting.
 
36988 78 d 20 h vikas /trunk/ Changed mail sender password and Duplicate Req interceptor behavior  
36246 159 d 8 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/config/ Add gmailRelaySender bean for Google Workspace SMTP Relay  
36061 176 d 21 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/config/ Add SMTP timeouts to mail senders to prevent thread hangs  
35832 206 d 23 h amit /trunk/ Unify property loading: all modules use runtime profile with shared properties from dao, remove duplicated DB/Hibernate/HikariCP/integration keys from module files  
35385 277 d 1 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/config/ Fixed DP its now purchase - price drop  
34711 449 d 2 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/config/ Added Mailsender  
34635 474 d 21 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/config/ google mail sender credential changed  
34634 475 d 5 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/config/ mailsender overwrite with google mail sender  
32978 939 d 19 h amit.gupta /trunk/ Checked in some basic resources  
31525 1324 d 14 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/config/ Fixed net availability to SaholicCIS Table  
31514 1326 d 0 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/config/ Send Mail temporary fix  
29637 1753 d 21 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/config/  
27626 2074 d 21 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/config/  
27028 2199 d 19 h tejbeer /trunk/profitmandi-web/ change  
25300 2621 d 22 h tejbeer /trunk/ Device and Notification  
24472 2785 d 21 h amit.gupta /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/config/ Added file size to 5MB  

Show All