Commit graph

18 commits

Author SHA1 Message Date
barredterra
f40fa6ec73 style: newlines that don't trigger semgrep 2024-03-22 17:54:22 +01:00
barredterra
457f5bf437 fix(Contact form): translate internal notification to system language 2024-03-22 17:45:10 +01:00
barredterra
bcdce09dba fix(Contact form): make email translatable 2024-03-22 17:28:15 +01:00
Ankush Menat
72c2207e0f refactor: useless use of dict in frappe.get_doc 2024-02-10 12:52:38 +05:30
phot0n
cbe0ce37d3 fix: suppress outgoing email error for contact-us page 2023-04-04 12:59:00 +05:30
phot0n
1cb5bfe875 fix: remove methods arg from tate_limit decorator
* feat(minor): send a copy of message to the sender/contactee
* feat: validate sender email address for contact us page
2023-04-04 12:32:03 +05:30
phot0n
67de2a34ac fix: contact us email reply 2023-04-04 12:32:03 +05:30
Ankush Menat
29c855b028
fix: db.get_value -> db.get_single_value (#17531)
db.get_value for singles returns string type always, this is confusing
behaviour, db.get_single_value should be used instead.

semgrep rule: https://github.com/frappe/semgrep-rules/pull/16
2022-07-18 15:10:49 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black (#16453)
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
Gavin D'souza
3446026555 chore: Update header: license.txt => LICENSE
The license.txt file has been replaced with LICENSE for quite a while
now. INAL but it didn't seem accurate to say "hey, checkout license.txt
although there's no such file". Apart from this, there were
inconsistencies in the headers altogether...this change brings
consistency.
2021-09-03 12:02:59 +05:30
Gavin D'souza
e407b78506 chore: Drop dead and deprecated code
* Remove six for PY2 compatability since our dependencies are not, PY2
  is legacy.
* Removed usages of utils from future/past libraries since they are
  deprecated. This includes 'from __future__ ...' and 'from past...'
  statements.
* Removed compatibility imports for PY2, switched from six imports to
  standard library imports.
* Removed utils code blocks that handle operations depending on PY2/3
  versions.
* Removed 'from __future__ ...' lines from templates/code generators
* Used PY3 syntaxes in place of PY2 compatible blocks. eg: metaclass
2021-05-26 15:31:29 +05:30
Faris Ansari
7560d90f5d fix: Add contact to sitemap 2019-03-19 20:34:28 +05:30
Faris Ansari
0a837cd62d Add breadcrumbs in about and contact page (#5345)
- fixes frappe/erpnext#12868
2018-04-02 18:16:18 +05:30
Rushabh Mehta
6962962211 [fix] contact us to create communication and blog list 2017-03-02 13:06:45 +05:30
KanchanChauhan
c0a685aa24 Email ID renamed to Email Address (#2541) 2017-01-05 14:55:51 +05:30
Rushabh Mehta
a099690e8f Revert "[optimize] remove count(*) from queries" (#2353) 2016-11-22 10:55:13 +05:30
Rushabh Mehta
0ff140fa2b [optimize] remove count(*) from queries 2016-11-21 14:58:18 +05:30
Rushabh Mehta
0cb31006e5 [redesign] website route is evaluated on request, no cold start 2016-06-23 12:23:37 +05:30
Renamed from frappe/templates/pages/contact.py (Browse further)