Commit graph

69 commits

Author SHA1 Message Date
Aditya Hase
e6bd1e4995 Replaced all instances of 'unicode' with 'six.text_type' (#3825) 2017-08-02 16:57:39 +05:30
tundebabzy
bbde2ec4cf rewrite use of dict.iteritems (#3498)
* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility
2017-06-19 09:10:21 +05:30
Makarand Bauskar
71d1e8c0e0 [minor] select the Inbox in readonly false mode while pulling emails (#3412) 2017-06-02 14:03:21 +05:30
Ayush Shukla
7ff1985257 Email praseaddr fix, fixes frappe/issues#3004 (#3345)
* email_parse address fix

* travis check for email-parseaddr

* email parseaddr fix

* fixes

* Added test case

* minor change

* Added few email_ids

* condition change
2017-05-19 15:50:21 +05:30
tundebabzy
c8d8baeaff fixes frappe/erpnext#8606 (#3322)
* fixes frappe/erpnext#8606

* fixes frappe/erpnext#8606
2017-05-18 12:06:52 +05:30
Nabin Hait
d294d158f5 Update receive.py 2017-05-11 15:12:14 +05:30
tundebabzy
6e29d9e925 xrange to range (#3237)
* introduces build status for local fork

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range

* converts xrange to range using six.moves.range

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* converts xrange to range using six.moves.range7

* Revert "introduces build status for local fork"

This reverts commit 61f40983d0b3c6725369171ab850a18e5c029cc4.
2017-05-11 10:55:34 +05:30
tundebabzy
6fbe20caaa Except and raise statement python 3 compatible style (#3216)
* changes exception and raise statements to python 3 style

* changes except statement to python 3 style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* changes except and raise statement to python 3 compatible style

* adds six.reraise to fix python 3 style raise statements with traceback

* fixes indentation
2017-05-11 10:51:59 +05:30
ci2014
99f6a34b18 Set readonly of selected Inbox to False (#3258)
Mails are not marked as SEEN, when the readonly parameter is True. That's a problem since tickets are being refreshed all few minutes, and, if you have more than 50 unread mails in your inbox, most of them will never be imported to Frappe / ERPNext.
2017-05-10 17:51:49 +05:30
Makarand Bauskar
7febef2e62 [fix][hot] email pull fixes (#3191) 2017-04-29 16:01:23 +05:30
Rushabh Mehta
72117dd5d3 [fix] email fixes from failed scheduler logs 2017-04-28 14:40:18 +05:30
Rushabh Mehta
a7f63eb381 [minor] fixes for frappe/erpnext#8347 2017-04-14 16:10:53 +05:30
robert schouten
79620ab716 remove quotes from from header for unicode parse (#2888) 2017-03-24 15:49:26 +05:30
mbauskar
9bfc32cb7a [minor] fixes in email read / unread flags 2017-03-15 13:20:29 +05:30
mbauskar
10868dfe0c [fixes] removed the fingerprint and used the message-id to check email duplications 2017-03-08 16:44:00 +05:30
Nabin Hait
ad4a334561 Merge pull request #2827 from RobertSchouten/remove_attachment_newlines_dev
[fix] remove newlines from email attachments as cannot be handled
2017-03-08 14:18:33 +05:30
Nabin Hait
622c244ce5 Merge pull request #2697 from mbauskar/imap
[enhancement] IMAP mail syncing
2017-03-08 14:14:55 +05:30
robert schouten
fdb8a1a763 remove newlines from email attachments as cannot be handled 2017-03-08 15:58:26 +08:00
Nabin Hait
46423117b8 Fixed merge conflict 2017-03-08 11:15:10 +05:30
mbauskar
b8dc800ea3 [minor] set email sync rule to UNSEEN if pulling email for first time 2017-03-07 13:57:28 +05:30
mbauskar
0ab2af1715 [inbox] js clean ups, other minor fixes in imap 2017-03-07 13:57:28 +05:30
mbauskar
1d272da47f [minor] minor fixes for email inbox and imap sync 2017-03-07 13:57:28 +05:30
mbauskar
6839c145f6 [minor] minor fixes for imap sync 2017-03-07 13:57:28 +05:30
mbauskar
41c5ce8ffd [imap] saved email unique id from header and email reindexing 2017-03-07 13:57:28 +05:30
mbauskar
62fe7d19a4 [minor] mark email as seen once open in ERPNext 2017-03-07 13:57:28 +05:30
mbauskar
df257613ed [minor] synced the Mail Flags 2017-03-07 13:57:28 +05:30
mbauskar
d8bfa0210d [IMAP] uid based imap email sync 2017-03-07 13:57:28 +05:30
robert schouten
ae22e2f7d3 [hotfix] fix email from decode 2017-02-24 15:54:36 +08:00
robert schouten
e39c87757b handle plain text email replies and format 2017-02-20 14:31:17 +08:00
robert schouten
1071d4321d assorted email fixes 2017-02-14 16:06:36 +08:00
Rushabh Mehta
1dc69da96f [cleanup] revert email fixes 2017-01-20 16:12:13 +05:30
robert schouten
48dc91a59f Email inbox (#2485)
* Communication_reconciliation

* Email inbox

* added collapsed timeline for communication

* new email prefill from when only one address

* timeline duplication and notifcation and stability fixs

* add subject to timeline

* email system v7 fixes

* added password required validation

* use proper email datetime

* email inbox v7.1 fixes

* email inbox communication_date used instead of created

* email inbox communication data cleanup

* remove old patch

* email inbox permit unlinking

* [fix] duplication queue and rename domain to email domain

* fix rename domain

* email inbox index optimisation

* email inbox relink doctype query usability fix

* email_inbox Set attachment variable for forwards and replies based on whether it exists or not

* uidnext fixes and cleanup

* email inbox fix tests

* fix rebase timeline issue

* email inbox threading and cleanup

* email inbox cleanup

* bring inbox into frappe and cleanup

* fix missed path

* inbox cleanup

* email-inbox move service back to account

* separate to erpnext contact match

* email inbox cleanup and move relink and timeline fix

* relink optimisation

* inbox fix footer

* keep email drafts on pages not just forms

* email inbox add sent items

* email inbox allow not save list settings on query

* email inbox cleanup and remove communications recon

* add suspend sending button in email queue

* fix rebase error

* email inbox assorted fixes

* email inbox fixes and relink option only when linked otherwise link;

* email inbox fix sender fullname as administrator

* create user email to custom button

* email inbox sent no match and seen

* email inbox fix unicode issues with subject recipient and sender
2017-01-13 14:45:11 +05:30
robert schouten
c044c476a8 move message_id threading to communication to work with inbox (#2458)
* move message_id threading to communication to work with inbox

* move message_id threading fix

* rebase fix

* reset threading to email queue but keep in communications
2016-12-15 14:50:52 +05:30
Rushabh Mehta
bae97cfed4 Email Alert on any controller method (#2157)
* [docs] typo

* [email alert] now on any standard controller method

* [minor] install customizations with intall;

* [test] [fix] and truncate subject in email;

* [fix] error log seen issue
2016-10-08 11:11:36 +05:30
Rushabh Mehta
9d7ee83c5e [refactor] scheduler log is now error log and as MyISAM (commit not required) (#2152)
* [refactor] scheduler log is now error log

* [minor] new naming series

* [fix] engine

* [fix] saved by tests
2016-10-06 17:17:55 +05:30
Anand Doshi
9ac6aee65b [fix] decode From email 2016-05-10 17:38:06 +05:30
Anand Doshi
6612161c5d [fix] outlook email as attachment
fixes to pull request #1564
2016-04-21 13:53:31 +05:30
robertschouten
c2198c9e8d email receive improvement
Hi,
fix for attached emails sent from outlook not appearing:
fix adds the headers into the body and then adds the body (if needed depending on the outlook version)

issues with outlook version 14.0.6023.1000:
only sends attached email in plain text not html for plain/text emails 
meaning the body is ignored

issues with outlook version 14.0.7165.500:
has additional layers in mime formatting before the message start and headers compared to older versions but has both plain and html versions of body.
2016-04-21 13:53:31 +05:30
Anand Doshi
0ace93a984 [fix] poplib._MAXLINE 2016-03-09 13:23:49 +05:30
Anand Doshi
114cb12022 [fix] IMAP - mark emails as seen after retrieval 2016-01-27 16:22:52 +05:30
Anand Doshi
07c28a254a [fix] gmail compatibility for 'From' address in receive 2016-01-21 20:52:49 +05:30
Anand Doshi
2ef9f7900c [fix] log pop connect error in scheduler log 2015-12-15 19:02:18 +05:30
Anand Doshi
8a5addaae7 [feature] Private files. Fixes #927
- Option during upload + all new incoming email files will be private
- Paired with @rmehta
2015-12-09 14:02:14 +05:30
Rushabh Mehta
8950bfce82 [fixes] [imap] cleanup, rename fields, re-org 2015-12-02 13:09:11 +05:30
Anand Doshi
6177d09b18 [fix] In pop3 receive, catch authentication and timeout errors while connecting, disable incoming emails and assign the email account to system managers 2015-11-26 13:12:33 +05:30
Gangadhar Kadam
2f51b3efd0 Added imap with pop protocal for email retrive 2015-11-24 18:13:16 +05:30
Anand Doshi
fc13949c90 [fix] file name cid mapping 2015-11-10 16:53:11 +05:30
Anand Doshi
7855a90de7 [hotfix] file attachment content id 2015-11-09 19:07:42 +05:30
Anand Doshi
4cf71e8181 [hotfix] file attachment content id 2015-11-09 18:41:17 +05:30
Rushabh Mehta
fca5b4d002 [fix] inline images in email receive 2015-11-06 16:49:17 +05:30