Commit graph

1436 commits

Author SHA1 Message Date
Jim Jagielski
a7cddb4945 formatting 2015-01-30 11:02:24 -05:00
Jim Jagielski
e210bf307a detab 2015-01-30 10:54:39 -05:00
Jim Jagielski
3634ac5442 PSR studlyCaps 2015-01-30 07:15:36 -05:00
Jim Jagielski
5a1058706d we use msg 2015-01-29 16:48:21 -05:00
Jim Jagielski
ae31708bb1 Unstale when we refresh, and not a cached message 2015-01-29 16:34:21 -05:00
Jim Jagielski
ac3ff14c55 pull in just the message body, as parsed. 2015-01-29 14:41:59 -05:00
Jim Jagielski
07daf5ebd7 and more stream goodness. 2015-01-29 14:08:44 -05:00
Jim Jagielski
41fe13b068 work around stream_copy_to_stream memory issues... 2015-01-29 13:44:03 -05:00
Jim Jagielski
8548f4d7e7 prepare subdir 2015-01-29 13:15:45 -05:00
Jim Jagielski
825b4c4a41 work thru attachs 2015-01-29 12:58:07 -05:00
Jim Jagielski
3a4dec0b9e all rets 2015-01-29 10:14:43 -05:00
Jim Jagielski
56dadda63b hash return 2015-01-29 10:09:54 -05:00
Jim Jagielski
719b7c402a we use header 2015-01-29 10:05:25 -05:00
Jim Jagielski
b4e90de73a Once we initially add it, allow for updates in same session 2015-01-29 10:05:01 -05:00
Jim Jagielski
a30c120955 stream logging 2015-01-29 09:21:07 -05:00
Jim Jagielski
c581c7c0a1 fix localname 2015-01-29 09:10:36 -05:00
Jim Jagielski
93aff54dee priority fixes 2015-01-29 08:47:04 -05:00
Jim Jagielski
ea8136f7e3 we are really concerned if the dir structure is flat or not 2015-01-29 06:26:41 -05:00
Jim Jagielski
774db4f2e0 localname is now the filename, not full path. We calc full path
when/if we need it.
2015-01-29 05:20:21 -05:00
Jim Jagielski
8179c27a0c always return tstreams rewound 2015-01-29 04:23:27 -05:00
Jim Jagielski
6613aef830 tune 2015-01-29 04:17:49 -05:00
Jim Jagielski
5bed11a465 Make the transition easier... fetch_structure is the key
to where we can either use a stream or string for the
body. By calling it with a string, we can maintain
the old flow while still allow for tuning elsewhere
as time progresses.
2015-01-29 04:10:41 -05:00
Jim Jagielski
d2f9b78250 allow maxmem to be changed 2015-01-29 03:41:09 -05:00
Jim Jagielski
72a265c9e4 Use a wrapper so we can adjust, universally, the max size. 2015-01-28 18:31:49 -05:00
Jim Jagielski
595eb90e5e for large strings, allow for use of php temp streams
to keep memory under control.
2015-01-28 18:00:18 -05:00
Jim Jagielski
5f21b85cf5 faster check 2015-01-28 16:36:02 -05:00
Jim Jagielski
80333e770a use temp streams and refactor to make it clear 2015-01-28 16:07:29 -05:00
Jim Jagielski
838c6c135a We need 2 options: create a full msg from a raw email message,
and just parse the body
2015-01-28 15:15:09 -05:00
Jim Jagielski
f742a1654c We need a better way to handle the local name... for sure,
storing complete path info is dangerous and screws with
migration.
2015-01-28 14:09:38 -05:00
Jim Jagielski
46de498473 better logging 2015-01-28 13:33:36 -05:00
Jim Jagielski
d21db3881c prevent err 2015-01-28 12:34:26 -05:00
Jim Jagielski
be93b05a0a not used 2015-01-28 12:27:40 -05:00
Jim Jagielski
ed0467f857 parse 2015-01-28 12:16:00 -05:00
Jim Jagielski
5cca22800e trans 2015-01-28 12:12:06 -05:00
Jim Jagielski
f13b220b48 start using uidl as key, instead of idx for some funcs 2015-01-28 10:35:21 -05:00
Jim Jagielski
af4aab5f8c indent 2015-01-27 16:32:39 -05:00
Jim Jagielski
44b08779a2 more simplyfication 2015-01-27 16:30:45 -05:00
Jim Jagielski
fdaee5becf easier way 2015-01-27 16:20:16 -05:00
Jim Jagielski
199394c4ff Fold all common JS into commonJS and eval as needed.
Yeah, I know. eval.
2015-01-27 16:00:29 -05:00
Jim Jagielski
d6034596b3 move this big block of js out. 2015-01-27 14:41:41 -05:00
Jim Jagielski
68265b5624 start attachments logic 2015-01-27 13:24:20 -05:00
Jim Jagielski
40e475aca9 only allow for send/edit 2015-01-27 13:02:33 -05:00
Jim Jagielski
3d5f8b62a3 reorg 2015-01-27 13:02:17 -05:00
Jim Jagielski
aa0a26784c new method: get_message() 2015-01-27 10:31:47 -05:00
Jim Jagielski
df1d442989 o more formatting
o new uniq_id method to make it even more unique and random
2015-01-26 15:58:15 -05:00
Jim Jagielski
554e1adf21 indent 2015-01-26 15:09:19 -05:00
Jim Jagielski
df9a1724cc style changes phpms 2015-01-26 14:54:15 -05:00
Jim Jagielski
312ceed643 Move all 3rd party tools/classes/add to vendor/ 2015-01-26 10:57:00 -05:00
Jim Jagielski
af64400860 simplify stringing 2015-01-26 10:48:16 -05:00
Jim Jagielski
326926d816 close parens 2015-01-26 10:31:00 -05:00