summaryrefslogtreecommitdiff
path: root/pagehandler.py
AgeCommit message (Collapse)AuthorFilesLines
2011-03-30Remove old non-django pagehandler.pySean Finney1-85/+0
2009-09-02move the profile/pstats import into run_profileSean Finney1-1/+1
this way if the app is being run on a machine that does not have python-profiler installed it will still function unless specifically told to profile.
2009-09-01consolidate profiling in pagehandler, removing duplicate codeSean Finney1-7/+11
2009-08-31even better profiling, new -o output cmdline optionSean Finney1-4/+8
use cProfile instead of profile, it's much faster and better as long as it doesn't need to be extended. the -o option redirects the output to the specified file, instead of printing it to stdout (or not printing it, both of which aren't very good for general testing/profiling purposes).
2009-08-31allow for pagehandler args to be passed on cmdlineSean Finney1-13/+29
2009-08-31initial support for profilingSean Finney1-3/+13
2009-08-31add simple getopt support to pagehandler.pySean Finney1-0/+15
while this isn't intended for mod_wsgi deployments, it opens up some new oppurtunities for cmdline testing (specifying a URL to avoid invoking the wsgiref server, enabling profiling, etc).
2009-02-12more gracefully find what should be the installation rootsean finey1-7/+5
2009-02-11mod_python -> wsgisean finey1-6/+19
i hear it's the new black. code change requirements weren't very big at all, and apparently this will work better/stabler on lenny systems, so...
2008-12-29missed one module rename from the initial ptcgi -> ReqHandlerSean Finney1-1/+1
2008-12-29migrate from cgi to mod_pythonSean Finney1-167/+17
previously this system was a cgi-based execution. however, this prevented us from doing a number of useful things, like throwing a 404/5xx error when an invalid page was requested. so, no we use mod_python instead...
2008-09-04better output for searches, email query fixSean Finney1-3/+4
2008-09-04don't allow package searches < 3 charsSean Finney1-1/+4
2008-09-03maintainer support in frontendSean Finney1-0/+15
2008-06-28fix a long overdue XXX wrt diffgz's in pagehandlerSean Finney1-21/+5
2008-06-28have a "slightly" more efficient frontpage querySean Finney1-1/+1
2008-06-26slightly refine the package results handlingSean Finney1-1/+2
2008-06-26package search / versionless implementationSean Finney1-10/+22
going to /packages/pkg now gives a table of contents with the available versions for the package, or the results of a widers search in the case of no exact matches also removed a bunch of dead code from DB mostly
2008-06-26don't use html backtrace for cmdline testingSean Finney1-1/+3
2008-06-25cleanup/reorganize pagehandler command handlingSean Finney1-77/+103
2008-06-25fix broken downloads from patch view pageSean Finney1-11/+12
2008-06-25frontpage rework and quick/dirty jump formSean Finney1-1/+11
2008-06-24fix for direct patches in subdirsSean Finney1-1/+1
2008-06-24strip epoch before looking for diff.gz fileSean Finney1-2/+6
2008-06-24remove suite info from packagevers template etcSean Finney1-1/+1
the suite isn't readily available, and doesn't make much sense anyway since a single package/version can be shared in multiple suites.
2008-06-24add support for displaying "direct" changesSean Finney1-0/+4
i.e. changes made directly to files (not using any patching system and not underneath ./debian) also introduce new Diffstat class for mangling diff stats in various ways.
2008-06-24slightly smarter frontpage handlingSean Finney1-2/+3
2008-06-24remove Writers, move to templates to TemplatesSean Finney1-1/+1
2008-06-24remove hardcoded url assumptionsSean Finney1-10/+13
pagehandler now parses commands relative to Conf.root_url (which really should be called something else, like Conf.base_dir), allowing for both flexible subdir-based installs and vhost based installs.
2008-06-22big commit with db and cgi handling updatesSean Finney1-8/+37
i know it's bad form to lump this all together. oh well :p gen-patch-info now does very little besides processing packages and updating the relevant database entries. pretty much everything else is dynamically generated from pagehandler.py now.
2008-06-11further cgi related fixesSean Finney1-1/+6
2008-06-11initial stab at cgi-based patch generationSean Finney1-0/+74
complete with many ugly hacks to workaround the lack of an underlying database. hopefully it's all marked with XXX for later fixing :) does not cover all patch cases, in fact currently it only covers series patch viewing and downloading.