Don't try to output html in error/debug messages
Packages::CGI: Remove support for msgs and notes Unused code.
string2id(): Also allow ":.-"
Improve error handling: - Make it possible to control the returned HTTP code - Use always the html error template, we have no others anyway - Try to avoid mixing the apache generated and our own error messages (this needs more work)
Finally fix the new packages rss feed
Add string2id function that is useful in generating HTML id attributes from random data.
The Big, the Fat and the Ugly commit ;) - Make output via Template Toolkit (libtemplate-perl) and not "manual". This should seperate the logic of data retrieval and data display and make adding new output formats and styles easier. Lets see how this turns out :) - While doing this I also reworked most of the site designs and added a lot of new information and hopefully structure to the output Currently broken: - Most of the l10n stuff since I need to find a good way to feed the templates to gettext first. (this is not "RC" for an use on p.d.o) - RSS feed of new packages. Didn't came around yet to convert this one. (this one is "RC") - probably a lot of minor things
Escape any & we add in make_search_url
- Further fixes to the arch handling - Give some hints for related searches
Fix some minor issues
* completly overhaul URL generating. Now things like debug or language options should get preserved on subsequent links * Move param handling from Search.pm to CGI.pm since that is more appropriate nowadays (some of the other stuff should really move to DB.pm, too) * be stricter about what is allowed after package name in URLs (only architecture really) so that we can avoid more false URL interpretation
Move $debug_allowed to CGI as a real constant and modify all debug() calls with a if DEBUG so that perl can possibly optimise them away completly
Big CSS cleanup, move all style definitions to CSS files. Split CSS files in debian.css and packages.css.
Only have one CGI-Script and move most of the code from the old ones to modules
* complete virtual package support * hardcode encoding of script output to be declared as utf-8 for now, better than the CGI.pm default of ISO-8859-1
Fix several minor issues, mostly configuration-like stuff
show_package.pl Basic stuff works with still some rough edges and dirty corners
Forgot to commit some new files related to the mod_perl changes