Commit graph

868 commits

Author SHA1 Message Date
Jim Jagielski
f06faa899c fast path 2015-01-21 16:35:03 -05:00
Jim Jagielski
7256619afe put these back 2015-01-21 16:22:41 -05:00
Jim Jagielski
0aae9b2b71 i 2015-01-21 16:16:35 -05:00
Jim Jagielski
de74ce2985 use old uidl if exists 2015-01-21 16:02:14 -05:00
Jim Jagielski
ba8db42d13 fix w/ new array 2015-01-21 15:54:27 -05:00
Jim Jagielski
038f9c8ad1 parse headers only once and store away. No need to keep
raw headers in the DB.
2015-01-21 15:18:15 -05:00
Jim Jagielski
0e935c58bb knowledge of thread's parent 2015-01-21 12:41:49 -05:00
Jim Jagielski
2563e42c57 Add in method that parses output of imap THREAD 2015-01-21 08:53:49 -05:00
Jim Jagielski
aa4d73a800 Better doc 2015-01-13 15:04:31 -05:00
Jim Jagielski
f517be9d49 phpdocs 2015-01-13 14:55:19 -05:00
Jim Jagielski
0e1e99edd3 keep pag always 1, if not set 2015-01-10 11:45:34 -05:00
Jim Jagielski
e33e40638d now use keys 2015-01-10 11:43:23 -05:00
Jim Jagielski
aa0f0e2208 this is an int 2015-01-10 11:38:47 -05:00
Jim Jagielski
60b996523b make this def for now 2015-01-10 11:36:04 -05:00
Jim Jagielski
6dcab67520 Keep isset logic correct 2015-01-10 11:33:54 -05:00
Jim Jagielski
1e20bcc7e6 adjust 2015-01-10 11:24:45 -05:00
Jim Jagielski
d3d866648d need correct path 2015-01-10 09:53:20 -05:00
Jim Jagielski
fc451a07e0 streamline 2015-01-10 09:42:46 -05:00
Jim Jagielski
c48be40970 first login fixes 2015-01-10 09:16:48 -05:00
Jim Jagielski
df7676b2b8 simplier 2015-01-09 13:32:50 -05:00
Jim Jagielski
a1570f6184 better sanitize user input and check for valid folder and
log them off if not.
2015-01-09 13:21:23 -05:00
Jim Jagielski
ecbacf46dc can't be neg 2015-01-09 13:02:02 -05:00
Jim Jagielski
9632ec8f75 always an int and at least 1 2015-01-09 13:00:57 -05:00
Jim Jagielski
990934ae5b use Smarty 3.1 methods 2015-01-09 12:43:57 -05:00
Jim Jagielski
510cb1e0d6 make these public 2015-01-09 12:24:46 -05:00
Jim Jagielski
26440bad8c forgot these 2015-01-09 12:07:30 -05:00
Jim Jagielski
9d0de036c6 foo 2015-01-09 11:43:38 -05:00
Jim Jagielski
eb1c45e67a Ugg. Only update on INSERTs 2015-01-09 11:14:20 -05:00
Jim Jagielski
4a31a23761 allow for capa_override to honor null which means "no change" 2015-01-09 10:54:24 -05:00
Jim Jagielski
0e796baf4e make checking and reseting staleness 2 sep actions 2015-01-09 09:47:44 -05:00
Jim Jagielski
4ed7d0e9cd null out old and update 2015-01-09 09:27:39 -05:00
Jim Jagielski
28488cf74e Better hash impl... Forgot about longer passwords :) 2015-01-08 20:19:34 -05:00
Jim Jagielski
013e7f3959 for future safety 2015-01-08 16:51:56 -05:00
Jim Jagielski
43469b81f4 more sql tuning 2015-01-08 16:49:22 -05:00
Jim Jagielski
fb108dc2ec OK, this is weird. For insert and updates, col names can
be escaped with ' fine, but in the WHERE section,
col names surrounded with ' silently fail, but you can
surround w/ " or [].

Sooooo unless we know for sure what col names are
used, protect the SET/UPDATE parts with ' and
the col names for WHERE with "
2015-01-08 16:26:33 -05:00
Jim Jagielski
0821f400bd WHERE fields die w/ quotes 2015-01-08 16:09:07 -05:00
Jim Jagielski
e754b218bc fix 2015-01-08 15:16:44 -05:00
Jim Jagielski
477f638802 allow false 2015-01-08 15:01:12 -05:00
Jim Jagielski
ba549d8d6f ensure local is OK, since we are using += 2015-01-08 14:50:10 -05:00
Jim Jagielski
7060ece0d9 put Local into Telaen itself 2015-01-08 14:24:22 -05:00
Jim Jagielski
e4e3bb0100 disable for now 2015-01-08 14:07:15 -05:00
Jim Jagielski
e966bd126b Send CAPA before we login, to get login capabilities 2015-01-08 14:06:28 -05:00
Jim Jagielski
f9bdb6ec11 don't auto size folder 2015-01-08 11:56:15 -05:00
Jim Jagielski
7311333338 and protect 2015-01-08 10:24:46 -05:00
Jim Jagielski
00629ea1fe skip blank lines 2015-01-08 10:23:28 -05:00
Jim Jagielski
f552972b0a since we are baselining php5.4, use the newer [] array format 2015-01-08 10:10:13 -05:00
Jim Jagielski
babc25f091 add in auto-login capability for sending commands. 2015-01-08 09:55:52 -05:00
Jim Jagielski
6588bb980b debug/log the DB functions 2015-01-08 08:34:05 -05:00
Jim Jagielski
713fddc55c Use whatever fields are there if we need to create some
random uidl
2015-01-08 08:05:31 -05:00
Jim Jagielski
e5e8f27f53 debug to file 2015-01-08 07:43:53 -05:00