Initial add of defaria.com
[clearscm.git] / defaria.com / blogs / MAPS / archives / 2003_10.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
4 <head>
5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6    <meta name="generator" content="Movable Type 3.2" />
7
8    <link rel="stylesheet" href="http://defaria.com/blogs/MAPS/styles-site.css" type="text/css" />
9    <link rel="alternate" type="application/atom+xml" title="Atom" href="http://defaria.com/blogs/MAPS/atom.xml" />
10    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://defaria.com/blogs/MAPS/index.xml"$>" />
11
12    <title>MAPS: October 2003 Archives</title>
13
14    <link rel="start" href="http://defaria.com/blogs/MAPS/" title="Home" />
15    
16    <link rel="next" href="http://defaria.com/blogs/MAPS/archives/2003_11.html" title="November 2003" />
17 </head>
18 <body class="layout-one-column">
19    <div id="container">
20       <div id="container-inner" class="pkg">
21
22          <div id="banner">
23             <div id="banner-inner" class="pkg">
24                <h1 id="banner-header"><a href="http://defaria.com/blogs/MAPS/" accesskey="1">MAPS</a></h1>
25                <h2 id="banner-description"></h2>
26             </div>
27          </div>
28
29          <div id="pagebody">
30             <div id="pagebody-inner" class="pkg">
31                <div id="alpha">
32                   <div id="alpha-inner" class="pkg">
33                      
34                      <p class="content-nav">
35                         
36                         <a href="http://defaria.com/blogs/MAPS/">Main</a>
37                         | <a href="http://defaria.com/blogs/MAPS/archives/2003_11.html">November 2003 &raquo;</a>
38                      </p>
39                      
40                                           
41
42                      <h2 class="date-header">October 29, 2003</h2>
43                      <a id="a000027"></a>
44                      <div class="entry" id="entry-27">
45                         <h3 class="entry-header">Cookies</h3>
46                         <div class="entry-content">
47                            <div class="entry-body">
48                               <p>I consulted with Scott and he suggested that I just use a cookie to store the userid and the base things off of that. Seems to work fairly well. Spent some time implementing this and things are looking goodl</p>
49
50                               
51                               <p class="entry-footer">
52                                  <span class="post-footers">Posted by Andrew DeFaria at 11:07 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/MAPS/archives/000027.html">Permalink</a>
53                                  
54                                  
55                               </p>
56                            </div>
57                         </div>
58                      </div>
59                                           
60
61                      <h2 class="date-header">October 28, 2003</h2>
62                      <a id="a000026"></a>
63                      <div class="entry" id="entry-26">
64                         <h3 class="entry-header">Todos</h3>
65                         <div class="entry-content">
66                            <div class="entry-body">
67                               <p><a title="MAPS Registration" href="http://defaria.com:8080/maps/bin/register.cgi">MAPS Registration</a></p>
68
69 <ol><li><strike>Apparently the JavaScript regex for valid email addresses is not bulletproof yet. Email addresses of tthe form "Joe@Schmoe" pass through the regex OK.</strike></li>
70
71 <p><li><strike>Javascript should check to make sure username doesn't have a space in it</strike></li></p>
72
73 <p><li>username should be case insensitive</li></p>
74
75 <p><li>registerform.cgi should not allow a username that is not a valid MAPS user.</li></p>
76
77 <p></ol></p>
78
79                               
80                               <p class="entry-footer">
81                                  <span class="post-footers">Posted by Andrew DeFaria at 11:07 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/MAPS/archives/000026.html">Permalink</a>
82                                  
83                                  
84                               </p>
85                            </div>
86                         </div>
87                      </div>
88                                           
89
90                      <h2 class="date-header">October 27, 2003</h2>
91                      <a id="a000025"></a>
92                      <div class="entry" id="entry-25">
93                         <h3 class="entry-header">Apache Session</h3>
94                         <div class="entry-content">
95                            <div class="entry-body">
96                               <p><a title="search.cpan.org: Jeffrey Baker / Apache-Session" href="http://search.cpan.org/~jbaker/Apache-Session/">search.cpan.org: Jeffrey Baker / Apache-Session</a></p>
97
98 <p>It may be possible to use Apache Session to record that somebody has logged into MAPS and provide a persistent state while they are logged in. Question is what happens if people do not log out? How is this to be handled.</p>
99
100                               
101                               <p class="entry-footer">
102                                  <span class="post-footers">Posted by Andrew DeFaria at 05:19 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/MAPS/archives/000025.html">Permalink</a>
103                                  
104                                  
105                               </p>
106                            </div>
107                         </div>
108                      </div>
109                                           
110
111                      
112                      <a id="a000024"></a>
113                      <div class="entry" id="entry-24">
114                         <h3 class="entry-header">Mod Perl</h3>
115                         <div class="entry-content">
116                            <div class="entry-body">
117                               <p><a title="mod_perl: What is mod_perl?" href="http://perl.apache.org/start/index.html">mod_perl: What is mod_perl?</a></p>
118
119 <p>Seems like this is homebase for mod_perl. Still not sure if this can help out with my problems of maintaining the state of what user is currently logged into my MAPS web pages.</p>
120
121                               
122                               <p class="entry-footer">
123                                  <span class="post-footers">Posted by Andrew DeFaria at 04:14 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/MAPS/archives/000024.html">Permalink</a>
124                                  
125                                  
126                               </p>
127                            </div>
128                         </div>
129                      </div>
130                                           
131
132                      <h2 class="date-header">October 25, 2003</h2>
133                      <a id="a000023"></a>
134                      <div class="entry" id="entry-23">
135                         <h3 class="entry-header">MAPSDeliver</h3>
136                         <div class="entry-content">
137                            <div class="entry-body">
138                               <p>Created MAPSDeliver to isolate the portion of the MAPS system that needs to be setgid (in order to deposit the mail). While maps itself could output the message and let sendmail deliver it we still need to deliver mesages when somebody registers (i.e. Whitelist) so we need to manipulate the users mail box directly, thus we need to be setgid. MAPSDeliver does this.</p>
139
140                               
141                               <p class="entry-footer">
142                                  <span class="post-footers">Posted by Andrew DeFaria at 01:27 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/MAPS/archives/000023.html">Permalink</a>
143                                  
144                                  
145                               </p>
146                            </div>
147                         </div>
148                      </div>
149                                           
150
151                      <h2 class="date-header">October 22, 2003</h2>
152                      <a id="a000021"></a>
153                      <div class="entry" id="entry-21">
154                         <h3 class="entry-header">Stats</h3>
155                         <div class="entry-content">
156                            <div class="entry-body">
157                               <p><a title="MAPS Stats" href="http://defaria.com:8080/maps/bin/login.cgi">MAPS Stats</a></p>
158
159 <p>Well I got stats sorta working. Looking pretty good so far. It does seem to take a long time to compile the table for 30 days. Maybe I'll need to page this stuff too.</p>
160
161 <p>Need to implement clicking on say Returned for 2003-10-10 so that is only shows that subset. Need to write that into detail.cgi</p>
162
163                               
164                               <p class="entry-footer">
165                                  <span class="post-footers">Posted by Andrew DeFaria at 11:10 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/MAPS/archives/000021.html">Permalink</a>
166                                  
167                                  
168                               </p>
169                            </div>
170                         </div>
171                      </div>
172                                           
173
174                      <h2 class="date-header">October 21, 2003</h2>
175                      <a id="a000020"></a>
176                      <div class="entry" id="entry-20">
177                         <h3 class="entry-header">JavaScript RegExs</h3>
178                         <div class="entry-content">
179                            <div class="entry-body">
180                               <p><a title="Core JavaScript Guide 1.5: 4 Regular Expressions" href="http://devedge.netscape.com/library/manuals/2000/javascript/1.5/guide/regexp.html#1010689">Core JavaScript Guide 1.5: 4 Regular Expressions</a></p>
181
182 <p>Need to change my JavaScript to use regex's for the purposes of better identifying a valid email address</p>
183
184                               
185                               <p class="entry-footer">
186                                  <span class="post-footers">Posted by Andrew DeFaria at 12:38 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/MAPS/archives/000020.html">Permalink</a>
187                                  
188                                  
189                               </p>
190                            </div>
191                         </div>
192                      </div>
193                                           
194
195                      <h2 class="date-header">October 20, 2003</h2>
196                      <a id="a000019"></a>
197                      <div class="entry" id="entry-19">
198                         <h3 class="entry-header">More MIME</h3>
199                         <div class="entry-content">
200                            <div class="entry-body">
201                               <p>Well I managed to install MIME-tools and I banged and banged on it for a while. I managed to send MIME messages but not exactly the format that I wanted. I want 3 parts:</p>
202
203 <ol>
204 <li>Plain text containing the MAPS register message
205 <li>HTML version of #1
206 <li>Potential spammer's message
207 </ol>
208
209 <p>I can send the message but #3 is not showing up as an attachement. Emailed the author of MIME-tools. Let's see what he says...<br />
210 </p>
211                               
212                               <p class="entry-footer">
213                                  <span class="post-footers">Posted by Andrew DeFaria at 11:26 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/MAPS/archives/000019.html">Permalink</a>
214                                  
215                                  
216                               </p>
217                            </div>
218                         </div>
219                      </div>
220                                           
221
222                      
223                      <a id="a000018"></a>
224                      <div class="entry" id="entry-18">
225                         <h3 class="entry-header">MIME</h3>
226                         <div class="entry-content">
227                            <div class="entry-body">
228                               <p><a title="search.cpan.org: MIME-tools - modules for parsing (and creating!) MIME entities" href="http://search.cpan.org/~eryq/MIME-tools-5.411a/lib/MIME/Tools.pm">search.cpan.org: MIME-tools - modules for parsing (and creating!) MIME entities</a></p></p>
229
230 <p><br />
231 MAPS needs to use MIME to be able to return messages properly. This is a pointer to MIME-tools, a CPAN module for manipulating MIME messages.</p>
232
233                               
234                               <p class="entry-footer">
235                                  <span class="post-footers">Posted by Andrew DeFaria at 07:59 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/MAPS/archives/000018.html">Permalink</a>
236                                  
237                                  
238                               </p>
239                            </div>
240                         </div>
241                      </div>
242                      
243                   </div>
244                </div>
245             </div>
246          </div>
247       </div>
248    </div>
249 </body>
250 </html>