Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: require sender and message for contact us page #34707

Merged
merged 2 commits into from
Apr 5, 2023

Conversation

phot0n
Copy link
Contributor

@phot0n phot0n commented Apr 2, 2023

depends on: frappe/frappe#20542

Other Changes:

  • removed frappe.send_message util from erpnext - this was overriding the frappe.send_message util in frappe to create leads/opportunity. This is now done via override_whitelisted_method hook

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Apr 2, 2023
used override_whitelisted_method hook for the same
@codecov
Copy link

codecov bot commented Apr 2, 2023

Codecov Report

Merging #34707 (1986f4f) into develop (f7780cd) will increase coverage by 0.04%.
The diff coverage is 25.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #34707      +/-   ##
===========================================
+ Coverage    63.80%   63.84%   +0.04%     
===========================================
  Files          810      810              
  Lines        59524    59657     +133     
===========================================
+ Hits         37977    38087     +110     
- Misses       21547    21570      +23     
Impacted Files Coverage Δ
erpnext/templates/utils.py 0.00% <0.00%> (ø)
erpnext/hooks.py 100.00% <100.00%> (ø)

... and 20 files with indirect coverage changes

@phot0n phot0n removed the needs-tests This PR needs automated unit-tests. label Apr 3, 2023
@phot0n phot0n changed the title fix: require sender and message for contact us page fix!: require sender and message for contact us page Apr 4, 2023
@deepeshgarg007 deepeshgarg007 merged commit f193393 into frappe:develop Apr 5, 2023
mergify bot pushed a commit that referenced this pull request Apr 5, 2023
* fix: require sender and message for contact us page

* refactor: dont override frappe.send_message from client side

used override_whitelisted_method hook for the same

(cherry picked from commit f193393)
mergify bot pushed a commit that referenced this pull request Apr 5, 2023
* fix: require sender and message for contact us page

* refactor: dont override frappe.send_message from client side

used override_whitelisted_method hook for the same

(cherry picked from commit f193393)
deepeshgarg007 pushed a commit that referenced this pull request Apr 5, 2023
fix!: require sender and message for contact us page (#34707)

* fix: require sender and message for contact us page

* refactor: dont override frappe.send_message from client side

used override_whitelisted_method hook for the same

(cherry picked from commit f193393)

Co-authored-by: Ritwik Puri <ritwikpuri5678@gmail.com>
deepeshgarg007 pushed a commit that referenced this pull request Apr 5, 2023
fix!: require sender and message for contact us page (#34707)

* fix: require sender and message for contact us page

* refactor: dont override frappe.send_message from client side

used override_whitelisted_method hook for the same

(cherry picked from commit f193393)

Co-authored-by: Ritwik Puri <ritwikpuri5678@gmail.com>
@phot0n phot0n deleted the contact-us branch April 24, 2023 12:47
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants