-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog
4082 lines (2645 loc) · 136 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2007-08-27 Jacob Smullyan <smulloni@smullyan.org>
* [many files]: removed CVS keywords that were making patches
difficult.
* configure.in, configure, SkunkWeb/configure.in,
SkunkWeb/configure: version bump to 3.4.4.
* pylibs/AE/Exceptions.py: ReturnValue is now a class.
* pylibs/AE/Executables.py: handle ReturnValue differently now
that it is a class.
2007-08-26 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/usertracking.py: fix for Python 2.5 (old uuid module won't load)
2007-07-30 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/AE/MsgCatalogTags.py (MessageTag.genCode): make default
message be "" for messages that aren't in the catalog, so using
the tag for non-existent messages does not blow up.
2007-06-29 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/formlib/form.py (DomainField.checkValue): typo fix for NameError
2007-03-19 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/aememcache.py: first cut at memcached support
for the component cache.
2006-09-25 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/mvc/base.py (BaseController.do401): fix for
cut-and-pasto.
2006-08-09 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/scope.py: some cleanup; possible fix for mysterious scoping error.
2006-06-02 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/mvc/base.py: removed "object" from
Response base classes.
2006-05-19 Jacob Smullyan <smulloni@smullyan.org>
* configure.in (SW_VERSION), configure, SkunkWeb/configure.in,
SkunkWeb/configure: upped version to 3.4.3.
2006-05-18 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/layout/slots.py: fix several NameErrors (cut
and paste errors).
2006-05-09 Jacob Smullyan <smulloni@smullyan.org>
* configure.in (SW_VERSION), configure, SkunkWeb/configure.in,
SkunkWeb/configure: upped version to 3.4.2.
2006-05-01 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/mvc/base.py (HTTPError): adding Response
class, so that controllers can return (or raise) an object besides
a string.
2006-04-24 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/wsgihandler.py: adding preliminary wsgi integration.
2006-04-22 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/sw.conf.in: some cleanup.
* SkunkWeb/SkunkWeb/LogObj.py: rename initialDebugServices to
debugServices.
* SkunkWeb/Services/layout/__init__.py: adding layout service.
2006-04-21 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/mvc/__init__.py: making BaseController
available in mvc namespace.
* SkunkWeb/Services/web/protocol.py (HTTPConnection.redirect):
permit 302 redirects also with new optional parameter, "status".
* SkunkWeb/Services/mvc/base.py: adding base controller class.
2006-04-19 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/swpython.c.in: adding #include for alloca.h (thanks
James Phillips).
2006-04-14 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/computils.py: syncing with wnyc version, and moving out
of skunk package (as skunk4 would override it anyway).
2006-04-12 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/web/protocol.py (_processRequest): new
RouteConnection hook, for mvc service.
* SkunkWeb/Services/mvc/services/routing.py: use new
RouteConnection hook, so routing occurs after vhost scoping.
2006-03-11 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/{string8859.py,skunkdoc,pargen}: moving out to "misc"
directory out of this project, as these haven't been distributed
for some time.
* configure.in, configure, SkunkWeb/configure.in,
SkunkWeb/configure: upping version to 3.4.1.
2006-03-02 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/skunklib/_normpath.c: patch from Drew to use alloca
rather than malloc (possible fix for weird free() bug).
2006-02-15 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/formlib/form.py (DomainField.checkValue): better error
message (patch from Dave Cash)
2005-12-20 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/mvc/__init__.py: adding misnamed mvc service
(m and v are missing).
2005-09-20 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/skunk/computils.py: convenience functions for dealing
with AE.
2005-09-14 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/templating/UrlBuilder.py: url function now htmlquotes.
2005-08-16 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/AE/Cache.py (_fixPath): fix for docroot escaping.
2005-05-10 Jacob Smullyan <smulloni@bracknell.smullyan.org>
* SkunkWeb/Services/sessionHandler/PsycopgSessionStore.py:
adding (contributed by Nick Murtagh).
2005-04-18 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/formlib/validates.py (COUNTRY_CODES): typo fix for
American Samoa.
2005-04-17 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/SocketMan/SocketMan.py: now, rather than hard-coding `5'
as the argument to listen(), use socket.SOMAXCONN, which is
much more than 5 on many platforms.
* SkunkWeb/Services/requestHandler/requestHandler.py
(_processRequest): typo in error handling (backport from skunk4).
2005-04-07 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/SkunkWeb/Server.py (SkunkWebServer.run): fix for
seteuid and setgid. There was previously a guard in place to undo
any seteuid before calling setuid, but not before calling
setgid. (Backport from skunk4.)
2005-04-13 Andrew Csillag <drew@localhost.localdomain>
* SkunkWeb/util/precompile.py.in: now sets runOutOfCache to 0.
Obviously, if you are precompiling, running out of the cache makes
absolutely zero sense.
2005-03-08 Andrew Csillag <drew@localhost.localdomain>
* pylibs/DT/DTLexer.py: fix so that when encountering <<:, the
lexer would still find the begin tag.
2005-01-31 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/AE/mime.types: adding mime type for XUL documents.
2005-01-11 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/jsutils.py (_dict_to_js): for some reason, was improperly
marshalling dictionaries.
2004-10-01 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/PyDO/PyDO.py (PyDOBase.get): get() for some reason had
crazy semantics; now is equivalent to obj.dict().get().
2004-09-10 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/configure, SkunkWeb/configure.in: added psycopgcache
module to list of services.
* pylibs/PsycopgCache.py: adding cache module.
* SkunkWeb/Services/psycopgcache.py: adding cache service.
* pylibs/PyDO/psycopgconn.py (PyDOPostgreSQL.__init__): fixed
various fatal bugs.
2004-09-02 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/AE/Cache.py (_fixPath): this has gone through various
incarnations, and the last one appears to be broken again. I think
this works.
* pylibs/DT/DT.py (DT.__call__): don't use locals() mutably for
store/unstore, use a dict.
2004-07-28 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/AE/Component.py (ComponentStackFrame.__del__):
removing the __del__ method, as Python now can take care of circular
references without help.
2004-07-25 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/DT/DTLexer.py: pcre has finally been removed from Python
in 2.4a1; I rewrote this to use the re module.
2004-05-26 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/psyco_accel.py: simplest possible service that
invokes psyco. Will probably be jazzed up a bit.
2004-05-12 Drew Csillag <drew_csillag@yahoo.com>
* SkunkWeb/util/precompile.py.in: now compiles message catalogs too
2004-04-09 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/DT/DTLexer.py (findTags): now allows files to end
in "<".
2004-04-05 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/AE/Cache.py: when checking for change of a file, now return
the max of ctime and mtime, to support smbfs shares where the ctime
isn't updated correctly.
2004-03-18 Drew Csillag <drew@loki.sai.local>
* pylibs/SocketMan/SocketMan.py (SocketMan.retrying_bind): added
retrying_bind so can call with either UNIX or TCP socket for the
retry stuff
2004-03-17 Drew Csillag <drew@loki.sai.local>
* SkunkWeb/util/precompile.py.in: now when creating shadow
directories, it will copy non-compilable things, and copy symlinks
(not what they point to) to the shadow directory.
2004-03-15 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/SocketMan/SocketMan.py (SocketMan.addConnection): now
break out of the retry loop if the socket bind succeeds.
2004-03-15 Drew Csillag <drew@loki.sai.local>
* pylibs/SocketMan/SocketMan.py (SocketMan.addConnection): now
retries a few times on bind in case the original isn't quite dead
yet.
* SkunkWeb/SkunkWeb/LogObj.py (redirectStdOutErr): now checks to
see if stderr/stdout already redirected before redirecting again
* SkunkWeb/skunkweb.py.in: now logs the exception *before* writing
that skunkweb died abnormally so that you actually get to see the
exception if writing to stderr fails. Also logs any exception if
we get the "server exited wayyy too soon" message.
2004-03-14 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/xmlutils.py (XMLElement.__eq__, __ne__): added rich
comparison methods for testing equality; fix for AttributeError.
2004-03-12 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/PyDO/PyDO2.py: removed use of string module
in favor of string methods (stylistic nit-pick).
2004-03-02 Drew Csillag <drew@loki.sai.local>
* SkunkWeb/Services/sessionHandler/FSSessionStore.py: removed one
of the two leading underscores from get/setPickle
* SkunkWeb/Services/auth/__init__.py (SessionAuthBase): now you
can pass path, domain and secure to the constructor to set the
appropriate parameters on the session cookie
2004-03-01 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/sw.conf.in (HTTPKeepaliveTimeout): document new default
value for HTTPKeepaliveTimeout.
* SkunkWeb/Services/httpd/__init__.py: setting default value of
HTTPKeepaliveTimeout to 0 rather than 15.
2004-02-27 <drew@loki.sai.local>
* SkunkWeb/sw.conf.in: added documentation of dontCacheSource,
noTagDebug and runOutOfCache options
* SkunkWeb/util/precompile.py.in: now can compile individual files
and also deletes the cache file before compiling (otherwise if the
timestamp isn't newer, it wouldn't recompile)
2004-02-26 <drew@loki.sai.local>
* pylibs/SkunkExcept.py (SkunkSyntaxError.format): fix so that
doing things like <:args `foo`:> don't totally bomb, but you get a
reasonble error.
2004-02-23 Drew Csillag <drew@loki.sai.local>
* pylibs/AE/Executables.py (PythonExecutable.run): made so raising
DTHaltError works within python components
2004-02-16 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/PyDO/PyDO2.py (_pydobase): setting default value of the
mutable property to be 1, as in the original PyDO.
2004-02-10 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/AE/CacheTag.py (CacheTag.genCode): remove incorrect
generated code that referred to __h.TimeUtil.
2004-02-05 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/SkunkWeb/Server.py (_aPrefixIn): typo fix that caused
errors every request for people using userModuleCleanup
2004-01-20 Brian Olsen <brian@qinternet.com>
* pylibs/PyDO/PyDO.py "order" for get...() methods can accept a
string or tuple of strings and tuples. Each tuple in the tuple must
contain two values, the column name and "ASC" or "DESC".
* pylibs/PyDO/PyDO2.py Same feature addition as in PyDO.py.
2004-01-15 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/AE/Cache.py (_mcCompileFunc): fix for Windows line
returns and message catalogs (as is already done for templates and
python code).
2004-01-12 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/skunk/date/format.py (HTTPDate): adding (replacing
equivalent function in Date module).
2004-01-10 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/templating/Handler.py: bug fix: now hide .inc
and .pyinc files from requests!
* pylibs/AE/Cache.py (_genCacheKey): use different cachekey
function if key files aren't being written. I think this works,
but it needs testing.
2004-01-05 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/formlib/validates.py (STATELIST): added Arkansas, which
was missing for some reason, and fixed the state code for Arizona.
2003-12-31 Jacob Smullyan <smulloni@smullyan.org>
* configure, configure.in: no longer test for egenix-mx.
* SkunkWeb/Services/templating/MailServices.py (sendmail),
SkunkWeb/Services/templating/Handler.py,
SkunkWeb/Services/web/protocol.py: removed dependencies on Date
and mx.DateTime.
* pylibs/skunk/date/timeutil.py (arpa): equivalent of
mx.DateTime.ARPA.str.
* pylibs/AE/InitTags.py (initTags): inclusion of DateTag is now
conditional on the presence of mx (and will remain that way as
long as DateTag depends on it).
2003-12-29 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/AE/CacheTag.py: now use skunk.date.timeutil rather than
Date.Timeutil
2003-12-27 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/ecs/xhtml.py (parse): now use HTMLParser rather than
expat, so html entity references are now tolerated (although
treated as strings).
2003-12-24 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/skunk/__init__.py, pylibs/skunk/date/__init__.py,
pylibs/skunk/date/timeutil.py: new timeutil module, still rough,
with the goal of no longer requiring mx.DateTime; starting "skunk"
package, with the intention of gradually moving much of pylibs
into it, to better avoid name collisions and make installation of
pylibs into python's normal site-packages more workable.
2003-12-18 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/web/protocol.py (_processRequest): added
ProcessResponse hook for response filtering, as prompted by patch
from Adam DePrince.
2003-12-11 Jacob Smullyan <jsmullyan@wnyc.org>
* SkunkWeb/mod_skunkweb/mod_skunkweb.c (critical_error): apache2
bugfix: wrong test for return value of apr_file_open().
2003-11-30 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/sessionHandler/SQLSessionStore.py
(AbstractSQLSessionStore.getConnection): bug fix for the
postgresql implementation -- attempting to call fetchall on a
cursor when there are no rows is not tolerated by pypgsql.
2003-11-29 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/mod_skunkweb/mod_skunkweb.c: replace references to AE
and AED with SkunkWeb.
* SkunkWeb/Services/sessionHandler/PostgreSQLSessionStore.py:
several changes so it actually works (previous version did not).
* SkunkWeb/Services/sessionHandler/SQLSessionStore.py
(AbstractSQLSessionStore._getPickle): fix for bytea using
pypgsql.
2003-11-24 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/PyDO/PyDO2.py (_metapydo.__new__): looping through
<dict>.iteritems() and mutating the dict can lead to hash
rearrangement, apparently; patch from Jeroen van Dongen (no longer
use iteritems, which was pointless anyway).
2003-11-22 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/httpd/protocol.py
(HTTPProtocol.marshalResponse): bug fix that permits httpd to send
multiple headers with the same name (as in Set-Cookie). Thanks to
Dan Chow for reporting this.
2003-11-17 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/product/loader.py (Product.__reallyload): when
using Python 2.3 or better, using zipimport if the product is a
zip file.
2003-10-20 Brian Olsen <brian@qinternet.com>
* pylibs/PyDO/PyDO.py: Added "order", "limit", and "offset"
parameters to getSome(), getSomeSQL(), getTupleWhere() and
getSQLWhere(); they are used to use the respective SQL
commands "ORDER BY", "LIMIT" and "OFFSET."
* pylibs/PyDO/PyDO2.py: Added "order", "limit" and "offset"
here; it is the same functionality as in PyDO.py.
2003-09-15 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/PyDO/PyDO2.py: Jeroen van Dongen's revision of PyDO2,
slightly revised by me (I re-added useAttrs, also took out
the string module for no particular reason).
2003-09-07 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/httpd/protocol.py
(HTTPMethodRequestParser._getEnv): now unquote the path.
* SkunkWeb/Services/web/__init__.py (__initHooks): added http
logging function to PostRequest hook.
* SkunkWeb/Services/templating/Handler.py (requestHandler):
commenting out debug statements inside for loop.
* SkunkWeb/sw.conf.in: fix for logfile paths, and added http
access log.
* SkunkWeb/Services/web/protocol.py (HTTPConnection.__init__):
added a "_rawOutput" attribute to CONNECTION, to support http
logging; (_accesslog): added hook function for CLF http access
logging, based on patch by Jeroen van Dongen.
* SkunkWeb/SkunkWeb/confvars.py.in (DEFAULT_HTTP_ACCESS_LOG),
SkunkWeb/SkunkWeb/LogObj.py: support for separate http access log.
* pylibs/Logger.py (HTTP_ACCESS): CLF HTTP access logging, based
on a patch from Jeroen van Dongen.
2003-08-27 Jacob Smullyan <smulloni@smullyan.org>
* docs/manual/instConfig.txt: some little changes.
2003-08-23 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/swmgr.in: typo-type bug fix.
* pylibs/Date/Format.py (_DateFormatter.format): stop passing
the mx.DateTime tuple() to time.strftime, as it causes a
DeprecationWarning with Python 2.3 (until Lemburg fixes it, at
least) and is pointless anyway.
2003-08-22 <smulloni@smullyan.org>
* configure.in: some cleanup (removed commented out junk), stopped
testing for xargs (only needed for deprecated cache cleaning
functionality).
* SkunkWeb/configure.in: no longer test for bash at all.
2003-08-22 <smulloni@localhost>
* SkunkWeb/Services/product/productwiz.in: now an swpython
shebang.
* SkunkWeb/swmgr.in: rewritten so that it works with ash, which
means, I hope, that it will work with just about anything.
2003-08-22 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/sessionHandler/Session.py (Session.setDirty):
restoring mutator method that I had inadvertently removed.
2003-08-16 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/web/protocol.py (_processRequest): no longer
call CONNECTION.response() twice (is returned from
HandleConnection). Caught by Jeroen van Dongen.
2003-08-15 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/sessionHandler/Session.py (getSession):
default value of create option changed from 0 to 1.
2003-08-13 Jacob Smullyan <jsmullyan@wnyc.org>
* util/rpm/skunkweb.spec: removed cachefile argument from cronjob
invocation of cache reaper.
2003-08-12 Jacob Smullyan <smulloni@smullyan.org>
* due to breakage of product service, cutting a 3.4b5 release.
* pylibs/AE/Cache.py (_fixPath): now applying normpath twice.
This prevents the the docroot from being escaped, but also
normalizes the entire path (removing extra slashes). Otherwise,
the vfs breaks in some cases (most notably with the product service).
2003-08-11 Jacob Smullyan <smulloni@smullyan.org>
* new beta (3.4b4) release cut, to get the security fixes out
there asap (it was about time anyway).
* pylibs/AE/Cache.py (_fixPath): now impossible once again to
escape the docroot. Thanks for finding this bug (and fix), Jeroen!
* SkunkWeb/Services/templating/Handler.py (fourOhFourHandler): fix
for cross-site scripting vulnerability in default 404 page,
reported by Jeroen van Dongen.
2003-08-11 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/util/cache_reaper.py.in: now a swpython script,
and by default finds all the scoped component cache roots and clears them.
2003-08-11 Jacob Smullyan <jsmullyan@wnyc.org>
* pylibs/vfs/tarfs.py (TarFS.open): removing "<>".
* pylibs/vfs/zipfs.py (ZipFS.open): removing "<>".
* pylibs/formlib/validates.py (check_isbn): removing "<>".
2003-08-07 Frank Tegtmeyer <fte@fte.to>
* doc/HowToSendMail.tex: new parts (mail basics, usage patterns)
2003-07-27 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/templating/MailServices.py,
SkunkWeb/sw.conf.in: patch from Frank Tegtmeyer for MailServices.
2003-07-25 Jacob Smullyan <smulloni@smullyan.org>
* docs/manual/api.txt: various changes.
2003-07-24 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/util/cache_reaper.py.in (walk_func): fix for missing
key file. (conf): added "keyfiles" option.
* docs/manual/instConfig.txt: fixed some indentation problems in
the rst source.
2003-07-23 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/AE/Cache.py: no longer store the full_key in the cached
component. Also, whitespace normalization.
2003-07-22 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/util/cache_reaper.py.in: no longer raise exception when
an OSError occurs.
* SkunkWeb/Services/sessionHandler/fssession_clean.sh: session
cleaner script made to work nicely with AE Cache sessions.
* SkunkWeb/Services/sessionHandler/AECacheSessionStore.py
(Store.delete): now delete the session file rather than "expiring"
it.
* pylibs/AE/Cache.py: added "writeKeyFile" configuration
parameter; writing of key files is now optional. Also, stopped
the chmod-ing of cache files.
2003-07-21 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/sw.conf.in: updated sessionHandler documentation.
* SkunkWeb/Services/sessionHandler/Session.py (getSessionID): fix
for session deletion.
2003-07-19 Jacob Smullyan <smulloni@smullyan.org>
* docs/manual/instConfig.txt: started to make changes. Also,
wrapped lines.
* configure.in, configure: removed silly --with-skunkweb option so
we don't need to document it.
* SkunkWeb/Services/sessionHandler/AECacheSessionStore.py: added
session store that uses the AE Cache.
2003-07-18 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/sessionHandler: all modules in the package
overhauled to support scoping.
* SkunkWeb/Services/requestHandler/requestHandler.py,
SkunkWeb/Services/web/protocol.py (_processRequest): : commented
out debug statements in the main loop.
* pylibs/DT/DTLexer.py (DTToken.__repr__): fix for closed elements.
2003-07-17 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/hooks.py (KeyedHook.oneshot, Hook.oneshot): added
"oneshot" methods, where a hook function will be executed just
once and then removed.
* pylibs/formlib/aecomp.py (ComponentSubmitProcessor): added new
class that wraps a component call in a function in a trivial way.
2003-07-16 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/templating/SafeSpoolTag.py: modified to use
DT.DTCompilerUtil.safe_import.
* pylibs/DT/DTCompilerUtil.py (safe_import): added utility
function for importing a module into the hidden namespace.
(Output.writelines): utility function for writing several lines
with one function call.
2003-07-08 Jacob Smullyan <smulloni@smullyan.org>
* docs/stmlrefer/stmlrefer.tex (section{\texttt{<:spool:>}}):
documented new feature of spool tag.
* SkunkWeb/Services/templating/SafeSpoolTag.py,
pylibs/DT/DTTags.py (SpoolTag): spool tag in DT
now replaced by subclass in templating that can
turn component comments to various levels.
2003-06-19 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/configure.in: adding firebird to list of services.
* pylibs/Firebird.py, SkunkWeb/Services/firebird.py: connection
cache, contributed by Brian Olsen.
2003-06-18 Jacob Smullyan <jsmullyan@wnyc.org>
* pylibs/xmlutils.py (XMLElement.addChild): replaced "__parent"
and "__children" with "parent" and "children"; added "removeChild".
2003-06-11 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/AE/Component.py (CascadingComponentHandler): added a
cascading component handler.
* pylibs/AE/Cache.py (_findPath): wrapper for vfs.FS.find_path.
2003-06-08 Jacob Smullyan <smulloni@smullyan.org>
* docs/manual/params.txt, docs/manual/instConfig.txt: adding BO's
start at the manual.
* docs/HowToSendMail.tex: adding FT's mail documentation.
2003-06-07 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/httpd/protocol.py
(HTTPMethodRequestParser._getEnv): removing urllib.unquote-ing
of the requestURI, which is wrong.
2003-06-06 Jacob Smullyan <jsmullyan@wnyc.org>
* pylibs/cronjob.py (CronJob.__call__): use exec rather than eval.
(CronTab.run_jobs): ignore SIG_CHLD in child process.
2003-06-03 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/configure.in, configure: configure swcron.in.
* SkunkWeb/Makefile.in: install swcron.
* SkunkWeb/Services/cron.py, SkunkWeb/swcron.in: first cut at a
cron daemon.
* SkunkWeb/.cvsignore: ignoring swcron.
* pylibs/cronjob.py: module for defining and executing cron jobs.
There also needs to be a service that defines a crontab that can
be configured in sw.conf, and a swpython script to run the crontab
(standalone or from the normal cron).
(CronLogger, CronTab): fixed typos in Logger classes (left out
"self"), and removed user/group stuff; now keep list of children
so they can be murdered if they straggle.
2003-05-26 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/vfs/vfs.py (LocalFS.find_path): convenience method for
walking up the fs to find a file.
2003-05-25 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/SkunkWeb/confvars.py.in (DEFAULT_CACHE),
SkunkWeb/Services/ae_component.py (__initConfig): default cache
location was being set improperly.
* util/rpm/skunkweb.spec, util/rmp/skunkweb.init,
util/rpm/skunkweb.logrotate: more improvements from SR, including
log rotation and init scripts, now moved into util/rpm.
2003-05-24 Jacob Smullyan <smulloni@smullyan.org>
* skunkweb.spec: added some configuration with the intent of
making the mod_skunkweb build with apache 1.3.
* pylibs/PyDO/psycopgconn.py, pylibs/PyDO/PyDBI.py
(_driverConfig): S. Reifschneider's contributed driver for the
psycopg postgresql driver.
*:Makefile.in, skunkWeb/Makefile.in,
SkunkWeb/Services/Makefile.in, SkunkWeb/mod_skunkweb/Makefile.in,
docs/Makefile.in, pylibs/Makefile.in: another build patch for RPM
from SR, this time for INSTALL_FLAGS. skunkweb.spec: now builds
with Python 2.1 or 2.2.
* SkunkWeb/configure.in, SkunkWeb/configure, configure.in,
configure: CACHE, DOCROOT, DOCSDIR and LOGDIR were not getting set
properly, The configure options for them now all begin with
"--with-".
* skunkweb.spec: incorporating SR's latest fixes to what I screwed
up.
(Requires): changing path of cache directory argument to cache reaper.
* SkunkWeb/mod_skunkweb/Makefile.in: adding DESTDIR to install.
2003-05-23 Jacob Smullyan <smulloni@smullyan.org>
* Makefile.in, SkunkWeb/Makefile.in,
SkunkWeb/mod_skunkweb/Makefile.in: absorbing SR's build patches;
added an APXSFLAGS variable for the rpm spec's sake.
* skunkweb.spec: Sean Reifschneider's revised rpm spec, revised
and probably screwed up by me (js).
2003-05-22 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/PyDO/ogenscript.py, pylibs/PyDO/pgenscript.py,
pylibs/PyDO/sapdbgenscript.py: changed shebang from
/usr/local/bin/python to /usr/bin/env python (thanks Sean
Reifschneider).
* docs/stmlrefer/stmlrefer.tex (chapter{Internet Services}): added
Frank Tegtmeyer's patch for MailServices documentation.
(section{\texttt{<:args:>}}): typo (was missing quotes).
2003-05-20 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/formlib/aecomp.py (ComponentValidator):
added a callable wrapper for data components to be
used as form validators.
2003-05-14 Jacob Smullyan <jsmullyan@wnyc.org>
* pylibs/formlib/form.py (Field.__init__): made description
an optional constructor parameter (for DomainField and
CompositeField, too).
2003-05-14 <drew@loki.sai-office>
* SkunkWeb/swpython.py.in: fixed it so that __name__ == '__main__'
in python scripts
(ll): really fixed it this time
2003-05-14 Jacob Smullyan <jsmullyan@wnyc.org>
* pylibs/containers/fieldcontainer.py: corrected incorrect
way of checking for presence of subclassable types.
2003-05-13 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/formlib/form.py (CompositeField.__init__): removed
redundant setting of setable attribute.
* test/formlib/htdocs/testCompositeField.pyinc: fixed broken import.
* pylibs/formlib/form.py (CompositeField._setData): typo fix
2003-05-12 Jacob Smullyan <smulloni@smullyan.org>
* 3.4b3 release cut.
* NEWS: updated.
* docs/stmlrefer/stmlrefer.tex (subsection{Using the
\texttt{duration} argument}): fixing incorrect import statement.
* SkunkWeb/sw.conf.in: added comment about runInForeground.
2003-05-09 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/templating/SendmailTag.py
(SendmailTag.genCode): modified to support the extended keyword
arguments introduced in Frank Tegtmeyer's patch to MailServices.
* pylibs/ccvalidate.py: a module for verifying the format
of credit card numbers.
2003-05-08 <drew@loki.sai-office>
* SkunkWeb/util/precompile.py.in (func): now continues if a
compilation fails
* SkunkWeb/swpython.py.in (SkunkWebPath): now ignores sigchild by
default like regular python does
* configure.in: now fails and exits if python is not found
* SkunkWeb/SkunkWeb/Server.py (addService): fix for HP/UX because it
doesn't have seteuid
* SkunkWeb/swmgr.in: put quotes around $FAST to fix shell errors
and uses @SHELL@ instead of @BASH@ (not all of us are that
fortunate to be working on working OS's)
2003-05-07 <drew@loki.sai-office>
* pylibs/AE/Cache.py (_dtCompileFunc): added noTagDebug option
2003-05-06 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/jsutils.py: added simple module for marshalling
literal Python data into Javascript.
2003-05-06 <drew@loki.sai-office>
* configure: regenerated
* configure.in: configure now stops if eGenix mxBase isn't installed
* docs/opman.xml, docs/opman.txt: removed, refers to skunk-2.70!
* docs/opman/opman.tex: added Frank's MailServices update and made
a few other changes.
2003-05-05 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/SkunkExcept.py (SkunkSyntaxError.format): stopped
building up strings through multiple concatenations.
2003-05-05 <drew@loki.sai-office>
* SkunkWeb/Services/templating/MailServices.py: big and better update
from Frank Tegtmeyer
2003-05-04 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/PyPgSQLcache.py: typo fixes.
* SkunkWeb/Services/pypgsqlcache.py: typo fix.
2003-05-02 <drew@loki.sai-office>
* SkunkWeb/Services/web/protocol.py (HTTPConnection.response):
fix for stupidity error
2003-05-02 Jacob Smullyan <jsmullyan@wnyc.org>
* INSTALL (systems): added to list of supported OSes.
2003-05-02 <drew@loki.sai-office>
* SkunkWeb/Services/web/protocol.py (HTTPConnection.response): now
supports byte range requests.
* SkunkWeb/sw.conf.in: added the long unmentioned
mergeQueryStringWithPostData option as well as textCompression
and generateEtagHeader.
* SkunkWeb/Services/templating/Handler.py (plainHandler): added
Last-Modified header and checking
* SkunkWeb/Services/web/protocol.py (HTTPConnection.response):
added configurable gzip compression of text types and generation
of etag headers
* README: removed license interpretation paragraph copied from -ack-
Perl
* SkunkWeb/Makefile.in: fix for swpython.c, installs precompile.py
* SkunkWeb/precompile.py.in: added
* SkunkWeb/configure: regenerated
* SkunkWeb/configure.in: added stuff for util/precompile.py
* SkunkWeb/swpython.c.in: added and fixed
* SkunkWeb/swpython.c: removed, added wrong file
* SkunkWeb/swpython.py.in (else): fixed sys.argv handling
* SkunkWeb/Services/requestHandler/requestHandler.py (_canRead): added
try block to ignore a socket error so it doesn't get logged.
* SkunkWeb/configure: regenerated
* SkunkWeb/Makefile.in: addd stuff for swpython.c.in
* SkunkWeb/configure.in: added stuff for swpython.c.in
* SkunkWeb/swpython.c: added
* NEWS: updated re: swpython
2003-05-01 <drew@loki.sai-office>
* README: changed license stuff
* SkunkWebLicense: added
* every file with a copyright header: changed license
* configure.in: HP-UX fix for install problems
* configure.in, SkunkWeb/configure.in: now works if python is not
in your path at configure time.
* configure, SkunkWeb/configure: regenerated
2003-04-25 Jacob Smullyan <smulloni@smullyan.org>
* SkunkWeb/Services/rewrite.py: removed hooks entirely and
the configuration variable that determined whether they were executed;
removed the "key" parameter from rewriters.
2003-04-23 Jacob Smullyan <smulloni@smullyan.org>
* pylibs/MySQL/__init__.py (cleanUser): closing connection
explicitly, due to reported MySQLdb bug (thanks Frank Tegtmeyer).
* pylibs/DT/DTUtil.py (htmlquote): removing adding
html breaks to replace line breaks; if users (or Drew) cry foul,
will revert this.
* FAQ: typo fix.
* pylibs/AE/cfg.py (Config.mergeDefaults): fixed typo
that has been there forever.
2003-04-22 Jacob Smullyan <smulloni@smullyan.org>