Commit graph

388 commits

Author SHA1 Message Date
Faris Ansari
2760f049ac
Fix email_alert test (#4620)
* Test debugging

* Remove test_scheduler user after test

* Set user Administrator

* Remove debugging lines

* Set email user

* more debugging

* set_user Administrator

* minor
2017-12-18 12:55:45 +05:30
Manas Solanki
436ce11c60 escape the email account name (#4598) 2017-12-11 14:29:48 +05:30
Manas Solanki
406bf1d962 reference doctype and name in the email queue while sending email from the auto email report (#4557) 2017-12-01 12:06:38 +05:30
Rushabh Mehta
aa78c34664 Update integrations.py and Standard Reply naming 2017-11-20 10:51:07 +08:00
Dominik
eafecf9241 [New Integration] Googlemaps and edit Standard Reply Naming 2017-11-17 15:46:41 +08:00
ci2014
9d608d7178 Optimize regex to find parent of mail (#4440)
Made the Regex case insensitive and changed the regex to show only the lowercase (which will save some space). Added the aw and wg for german answer and forwarding.

I will add more languages based on this list https://en.wikipedia.org/wiki/List_of_email_subject_abbreviations after more research.
2017-11-10 12:37:17 +05:30
Achilles Rasquinha
b8825ca116 Pure Python MySQL instead mysqlclient (with Python C API) (#4280)
* added PyMYSQL instead mysqlclient-python

* added pymysql import

* fixed db module import

* foxed self._conn wrapper

* updated cursor migration

* removed existent converters

* some more fixes towards API port

* modified travis

* updated doctype and revereted yml

* modified travis

* refreshed logging

* raw fix

* moved from hard coded constants to declarable instances

* moved from hard coded constants to declarable instances

* refactoring and logging

* moved to global import declaration

* fixed codacy

* unfixed codacy

* minor fix

* binary_type has a single

* deprecated alternative

* merged with latest

* fixed merge conflicts

* using deprecated alternative

* raw fix

* stupid fix

* using StringTypes instead

* brutal hack

* log

* tundebazy to the rescue

* fixed content_hash error

* frappe/database.py

* frappe/database.py

* updated database.py

* updated requirements

* updated requirements

* fixed codacy

* fixed codacy

* moved from DatabaseOperationalError to pymysql.InternalError

* moved from DatabaseOperationalError to pymysql.InternalError

* fixed codacy

* empty commit

* fixed codacy

* fixed codacy
2017-11-06 16:42:01 +05:30
Manas Solanki
a279cdc4a2 attach print format in the emails before sending. (#4366) 2017-10-27 15:25:52 +05:30
Aditya Hase
d5d9fd5283 More Python 3 compatibility Frappe test fixes (#4321)
* stream object should be BytesIO instead of StringIO

* Convert filter to list explicitly before checking length

* Decode sent_email and content before string operations
2017-10-17 17:45:49 +05:30
Nabin Hait
678f29329c Merge branch 'master' into develop 2017-10-04 18:18:05 +05:30
Makarand Bauskar
58fd830b92 [revert] pull emails from all incoming email accounts instead of enqueuing single email account (#4247) 2017-10-04 18:17:05 +05:30
Rushabh Mehta
404f0ab07a Merge pull request #4221 from rmehta/fix-text-editor-in-firefox
[fix] text editor in firefox
2017-10-01 22:05:47 +05:30
Rushabh Mehta
78995ceb3e [fix] text editor in firefox 2017-09-30 15:06:57 +05:30
mbauskar
05a447a349 [minor] added the Created On and Last Modified On date fields in email alert's date_change 2017-09-29 17:39:31 +05:30
Nabin Hait
425606607d Merge branch 'master' into develop 2017-09-28 12:26:51 +05:30
Makarand Bauskar
780df0be60 [hotfix] pull emails from all incoming email accounts instead of enqueue single email account (#4199) 2017-09-28 12:14:00 +05:30
Manas Solanki
133f4b4fdd Print format in the email alert (#4190)
* print format in the email alert

* set query for the email alert
2017-09-26 21:08:34 +05:30
Rushabh Mehta
b7b2932afe Merge pull request #4183 from manassolanki/email-queue
make the attached file visible and read only in email queue
2017-09-26 12:41:25 +05:30
Manas Solanki
ea6987b451 make the attached file visible and read only 2017-09-25 17:01:21 +05:30
Nabin Hait
ce01845d11 Merge branch 'master' into staging 2017-09-25 16:30:13 +05:30
Nabin Hait
1d93c66285 Fixed merge conflict 2017-09-25 16:30:08 +05:30
Makarand Bauskar
47677c055c [minor] refactor mark as read and mark as unread (#4154)
* [minor] refresh inbox view on mark as read or mark as unread

* [minor] refactor mark as read and mark as unread

* [minor] don't update modified datetime while settings _seen
2017-09-21 12:32:20 +05:30
mbauskar
c12eca952d [minor] save uid, raw email for unhandled emails and other minor fixes 2017-09-19 16:30:48 +05:30
Manas Solanki
2f885191da added the test case 2017-09-18 02:04:51 +05:30
Manas Solanki
1bbcfc5f9f webview for the newsletter 2017-09-18 01:01:59 +05:30
Manas Solanki
d0d92d5ebd codacy fix and change template path 2017-09-18 01:01:59 +05:30
Manas Solanki
f26f4353fc minor changes in the sql query 2017-09-18 01:01:59 +05:30
mbauskar
6fd186eaa3 [minor] translate field label for auto email reports 2017-09-11 18:07:57 +05:30
Makarand Bauskar
9d84f387e0 [hotfix] socket command error eof while connecting to email server (#4025)
* [hotfix] socket command error eof while connecting to email server

* [minor] codecy fixes
2017-09-01 09:10:26 +05:30
Rushabh Mehta
b7f3282bf6 Merge pull request #4011 from mbauskar/incoming-email
[hotfix] dont update the modified date for already fetched email (communication)
2017-08-30 00:52:37 +05:30
mbauskar
cd989da770 [hotfix] dont update the modified date for already fetched email (communication) 2017-08-30 00:13:35 +05:30
Rushabh Mehta
05c88fa3f0 [minor] make email alert configurable, so we can use it list default print formats 2017-08-14 12:58:32 +05:30
Manas Solanki
6031d704dc fix the typos (#3919) 2017-08-11 14:39:53 +05:30
Aditya Hase
769338f136 Replaced all instances of basestring with six.string_types 2017-08-11 00:10:11 +05:30
Manas Solanki
c9df03b60d validate the sender email id (#3862) 2017-08-07 13:36:03 +05:30
Aditya Hase
16a9bdfd31 Replaced urllib.unquote imports with six.moves.urllib.parse.unquote (#3836) 2017-08-02 17:09:31 +05:30
Aditya Hase
ec9a01e3aa Replaced 'except' clause syntax (#3827) 2017-08-02 16:58:24 +05:30
Rushabh Mehta
aef98daae4 [add] catch errors flake8 (#3800) 2017-07-27 11:34:44 +05:30
Manas Solanki
81133888a8 [fix] add the parsed email id for the email group member (#3741)
* add the parsed email id of the email group member

* Minor fixe in the patch
2017-07-21 11:05:54 +05:30
Faris Ansari
9418d5b6ba Auto email report redesign (#3730)
* Add auto_email_report.html

* Add table styling for email

* wip

* commonify template

* Right align numeric fields

* Add text utility classes

* fix tests
2017-07-20 10:27:40 +05:30
Faris Ansari
f6d265b2ef Email inline_images enhancement, header (#3682)
* minor refactor

* update user.py to use new sendmail api

* On-demand attachments in email

* Replace inline_images by just specifying path

* Add header flag in frappe.sendmail

* Inline images can now be attached from assets/, files/ and private/files/

* Update tests

* Fix email_account test
2017-07-13 18:37:28 +05:30
Makarand Bauskar
9540443438 [minor] don't parse the address if email field is empty (#3675) 2017-07-13 11:33:14 +05:30
Rushabh Mehta
2355dafc25 [minor] no scheduler for tests 2017-07-11 10:28:07 +05:30
Rushabh Mehta
b38aff0b89 [minor] remove commented lines in travis.yml 2017-07-11 10:28:07 +05:30
Rushabh Mehta
7433286f36 [feature] ability to set a property after sending alert (#3635)
* [feature] ability to set a property after sending alert

* [minor] use db_set

* [minor] email alert show message only if not standard
2017-07-07 16:38:25 +05:30
Rushabh Mehta
4e4a42af91 [view] form dashboard behaves like a form section and is now collapsible (#3596)
* [view] form dashboard behaves like a form section and is now collapsible

* [fix] alert on newline

* [fix] clear headline in email_account.js
2017-07-07 09:13:55 +05:30
Manas Solanki
b7e1060ea7 removed the xlwt and use the openpyxl for sending the auto email report in xlsx format (#3590) 2017-07-03 12:27:34 +05:30
mbauskar
bd88d09040 resolved merge conflicts 2017-06-21 14:37:18 +05:30
Makarand Bauskar
acba96bf2a minor fixes in auto email report 2017-06-20 19:02:10 +05:30
Rohit Waghchaure
99d39ea0a9 [fix] Auto email report not working 2017-06-20 15:00:15 +05:30