Commit Graph

128 Commits

Author SHA1 Message Date
Jamie Cameron
161fa33de3 Deal with URL characters in filenames, and long filenames 2020-01-03 18:43:14 -08:00
Jamie Cameron
1cc2f47640 Fix IMAP body search 2019-01-03 21:02:03 -08:00
Jamie Cameron
94fb368317 Don't crash out if there is a PIPE error writing to ispell https://www.virtualmin.com/node/59738 2018-12-29 22:51:20 -08:00
Ilia Rostovtsev
e31e501db5 Fix processing flags for Maildir storage format
There are cases when there is no `file` key on `%mail` hash. This patch will take care of it. I suppose that it would also be possible to inject `file` into `%mail` hash on `mailbox_list_mails` subroutine but it's not clear if this is the right way.
2018-07-26 15:44:48 +03:00
Jamie Cameron
76cc734aeb Allow preview length to be customized https://github.com/webmin/usermin/issues/40 2018-05-19 12:54:09 -07:00
yangfl
0f9fb77369 Fix typo 2017-11-08 16:43:37 +08:00
Jamie Cameron
97e9c4e138 Use 3-arg open format to handle folders with spaces at the end of their names 2017-07-30 09:35:57 -07:00
Jamie Cameron
a6052e1ae9 Remove tags thhat will be escaped 2017-06-04 12:31:44 -07:00
Jamie Cameron
77e6bc2a00 HTML outside the head or body is too dangerous to include 2017-04-19 18:41:09 -07:00
Jamie Cameron
249a205f27 protect against dangerous attachment filenames 2017-04-11 10:26:05 -07:00
Jamie Cameron
c816d1385f Detect missing IMAP handle better https://virtualmin.com/node/48616 2017-02-25 13:33:28 -08:00
Jamie Cameron
e17ee3cc8c Legit HTML can appear outside the body in corrupt emails 2017-01-24 21:56:22 -08:00
Jamie Cameron
a9f6a4528f When looking up by folder name, transform the ID properly 2016-06-04 16:37:43 -07:00
Jamie Cameron
bb98a1af45 Support multiple files per attachment field 2016-01-23 17:58:54 -08:00
Jamie Cameron
495ab59f09 Custom headers can't use the normal IMAP search http://virtualmin.com/node/38059 2015-09-21 18:47:54 -07:00
Gerco Dries
2cb7691e37 Fixed not calling switch_from_folder_user() for some types of mail directories 2015-09-10 23:23:30 +02:00
Jamie Cameron
799a0e8efd Add forgotten stat 2015-09-01 22:03:30 -07:00
Jamie Cameron
3673c08687 Move logic for finding IMAP cache dir into a separate function, which respects /var/webmin 2015-06-27 17:36:50 -07:00
Jamie Cameron
ec4f05ec5f Use correct permissions for MH format too 2015-03-29 18:09:18 -07:00
Jamie Cameron
7a9b4d0b2b Use correct permissions when moving email between users http://virtualmin.com/node/36696 2015-03-29 18:07:40 -07:00
Jamie Cameron
7fd6e5f0ef Show full IMAP response if line cannot be parsed 2015-02-17 21:51:25 -08:00
Jamie Cameron
dad6a7c3e9 Use correct permissions on source and dest folders when copying 2015-01-17 20:18:30 -08:00
Jamie Cameron
86fca5f20b Use correct permissions for folder moves 2014-12-28 17:27:27 -08:00
Jamie Cameron
c031dfcb18 Allow nested calls to switch function, check perms when copying a folder 2014-12-27 20:26:48 -08:00
Jamie Cameron
b4fa4db0d6 Update more functions to operate as the correct user 2014-12-27 16:40:37 -08:00
Jamie Cameron
908edc961f Modify mail safely 2014-12-15 22:44:59 -08:00
Jamie Cameron
115683ca39 Use correct permissions when writing mail 2014-12-15 22:36:57 -08:00
Jamie Cameron
b1a0f07c3a More work on using correct permissions for folder ops 2014-12-15 22:31:04 -08:00
Jamie Cameron
152ce12fc3 Use folder permissions for opendir 2014-12-14 11:33:33 -08:00
Jamie Cameron
c250754496 Start of work on reading mail folders with permissions of the owner 2014-12-14 11:04:55 -08:00
Jamie Cameron
64a79b77cb Functions for safely reading and writing mail files 2014-12-13 19:58:49 -08:00
Jamie Cameron
9b73db8417 Maildir folder size should only include actual mail sub-dirs https://sourceforge.net/p/webadmin/bugs/4488/ 2014-10-16 09:53:17 -07:00
Jamie Cameron
91a25500c0 Basic read-only support for MBX format folders 2014-08-19 12:48:41 -07:00
Jamie Cameron
7a242198ea Work on MBX format folders 2014-08-18 22:00:04 -07:00
Jamie Cameron
c3b476322a Fix double filename 2014-07-02 22:18:19 -07:00
Jamie Cameron
9d830ae725 Use correct charset when replying 2014-02-27 23:49:28 -08:00
Jamie Cameron
c939863c3a Remove useless regexp parts 2014-01-01 20:55:06 -08:00
Jamie Cameron
ce03078af8 Ignore dovecot.mailbox.* files as folders https://sourceforge.net/p/webadmin/bugs/4337/ 2013-12-31 22:39:02 -08:00
Jamie Cameron
cbb205b35b Use DOM manipulation to add new upload fields, as editing innerHTML causes the values of existing fields to be lost 2013-12-20 15:15:22 -08:00
Jamie Cameron
672ef5bc62 work on mail search from filter 2013-07-23 01:16:14 -07:00
Jamie Cameron
04405f9ae6 Date searches need to use the ON tag 2013-03-20 13:44:11 -07:00
Jamie Cameron
b35e9c8130 Fix blank links 2012-07-08 22:28:58 -07:00
Jamie Cameron
43f73bfd01 Fix caching of IMAP login handle https://sourceforge.net/tracker/?func=detail&atid=485894&aid=3527497&group_id=17457 2012-05-17 22:03:15 -07:00
Jamie Cameron
62503b4be3 Link back to Virtualmin from mail list https://virtualmin.com/node/21935 2012-04-20 22:27:35 -07:00
Jamie Cameron
c0f5d7baca Preference for sig append mode 2011-11-09 11:41:34 -08:00
Jamie Cameron
d2650e0ebe Better handle having no body 2011-11-03 11:21:14 -07:00
Jamie Cameron
25cedf43df Handle mailto: link with URL-escaped address 2011-08-18 12:47:19 -07:00
Jamie Cameron
92dda3b184 Add formal param 2011-08-12 10:39:38 -07:00
Jamie Cameron
c93b473caa Fix CID generation for message with multiple inline images 2011-08-01 20:22:25 -07:00
Jamie Cameron
de49b521b9 Fix typos 2011-02-24 10:46:16 -08:00