summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f936769)
raw | patch | inline | side by side (parent: f936769)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 2 Apr 2004 06:38:42 +0000 (06:38 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 2 Apr 2004 06:38:42 +0000 (06:38 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2247 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
doc/roundup-favicon.ico | [new file with mode: 0644] | patch | blob |
roundup/scripts/roundup_server.py | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index e04a1cc5296c4027f40e45d297100d20a7e1bd2e..fa03c4bd379a13ff62495ef4521e36293fecae6e 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
are given with the most recent entry first.
2004-??-?? 0.7.0
+Feature:
+- added a favicon (with crappy white background)
+
Fixed:
- CSV export was busted (as was any action returning a result)
- MultiMapping deviated from the Zope C implementation in a number of
diff --git a/doc/roundup-favicon.ico b/doc/roundup-favicon.ico
new file mode 100644 (file)
index 0000000..cf48e3c
Binary files /dev/null and b/doc/roundup-favicon.ico differ
index 0000000..cf48e3c
Binary files /dev/null and b/doc/roundup-favicon.ico differ
index 5a9c5096ff9f6f89c24dae842b7606f7793e4734..67be0d619635d764280e95d3413bc427264fba50 100644 (file)
"""Command-line script that runs a server over roundup.cgi.client.
-$Id: roundup_server.py,v 1.39 2004-02-15 21:55:10 richard Exp $
+$Id: roundup_server.py,v 1.40 2004-04-02 06:38:42 richard Exp $
"""
__docformat__ = 'restructuredtext'
import zlib, base64
favico = zlib.decompress(base64.decodestring('''
-eJyVUk2IQVEUfn4yaRYjibdQZiVba/ZE2djIUmHWFjaKGVmIlY2iFMVG2ViQhXqFSP6iFFJvw4uF
-LGdWd743mpeMn+a88917Oue7955z3qEoET6FQkHx8iahKDV2A8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wuKS4WGBMFmv2qruPn+n0xdlXb4u
+eHnKPfih/Zb5Ruo4On/LfVz4pfK4nj272PLHC+2nKJ+RY/6pO/OSV8ZyhenDmd/4XCX7aH7hPPXc
+L+aCtNtpotO03JtTnKE/2+56oq7MsP+l7EG25tOd3Iqvr08C6bl52ap09feTG0v079X6PKem9Mj+
+9f1+A74o1JM=
'''.strip()))
class RoundupRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
rest = self.path
if rest == '/favicon.ico':
- raise client.NotFound
+ self.send_response(200)
+ self.send_header('Content-Type', 'image/x-icon')
+ self.end_headers()
+ self.wfile.write(favico)
+ return
i = rest.rfind('?')
if i >= 0: