View | Annotate | Download (11.9 KB)
- Added qtv_reconnect_delay, qtv_backoff and qtv_max_reconnect_delay that allows you to decide if reconnect attempts to QTV sources should be done by "backing off" by qtv_reconnect_delay on each reconnect attempt until the qtv_max_reconnect_delay is reached, default is 30 seconds and 24 hours.
1) Some minor security issue was fixed. 2) Changed FS_OpenFile() behavior, if gamedir is NULL then open file as is = do not search it in qw or id1, well, absolute paths are prohibited. 3) Renamed Sys_SafePath to FS_SafePath and Sys_FileExtension to FS_FileExtension and moved to fs.c file....
BUGFIX of BUGFIX: No! definantly don't unescape ALL urls ALL the time, we should only do this in specific places... Otherwise there would be no point in escaping stuff. Only do it for demo names when streaming/downloading in this case. Johnny_cz's previous fix broke the "watch now" button.
bugfix: couldn't download demos with names containing [ and ] e.g. in firefox
Should be aryan enough for gcc now...
Lets see if this makes gcc shutup... http://qw-dev.net/issues/show/160
send proper http headers for errorneous pages
Open HELP link in new window/tab
Added HELP link to QTV Wiki
- Removed my retarded strstrrev and replaced it with strendswith (since that's what it did in a broken way anyway :P). - Moved strchrrev to sys.c from source.c - Fixed some warnings
BUGFIX: strstrrev seems to cause segmentation fault on 64-bit linux, need to investigate :p Using Sys_Filextension to find out if a png is requested.
- Added HTTPSV_GetURLFromRequest which extracts the url from a GET/POST request. We use this instead of poking around directly in the request buffer now. - Made the GetMethod function less "copy and paste". Also made a generic solution for serving images instead of having one case for each image, this way you can refer to any image name in your css, not only hard coded ones.
- BUGFIX: Replaced Spikes url unescape code which had a bug in it that caused "tut%5Bbla%5Dtut" to become "tut[Bbla]Dtut" instead of "tut[bla]tut". Placed this in a separate function instead HTTPSV_UnescapeURL. - Added HTTPSV_UnescapeURL that unescapes urls using sscanf....
BUGFIX: Fixed HTMLprintf so that it first converts from quakechars to normal chars before escaping html chars.
- Started splitting up the huuuge SV_ReadPendingProxy() - Let HTTPSV_PostMethod find out where the postdata is on itself (before it was passed as an argument). This is how HTTPSV_GetMethod works, so lets make it more consistent :) - Fixed a spelling error "Downoload" => "Download" :P
- Made HTTPSV_GetHeaderField non-destructive. (Only used twice currently, but if we want to be able to get more than 1 header this is needed). -Renamed HTTPSV_GenerateHTMLBackGroundImg to HTTPSV_GenerateImage, since that better describes what it does :)
Cleaned some code + got rid of copy/paste stuff.
Added a rss <link> element and made /rss not just /rss/ work also :)
Added RSS support. Needs some testing :) .. Url /rss
sprintf -> snprintf, but it was safe IMO
BUGFIX: thx Oscar Linderholm aka slime. Still HTTPSV_GetHeaderField() suck.
design for the Demos page, template by bps
nothing fancy, just add http://ip:port/status url to web interface, just willing to know uptime of qtv.
1) bugfix for HTMLprintf 2) use HTMLprintf for demolist, this allow & < > symbols in demo names. I hope.
you can download demos from /demos/ section of web interface.
well, not levelshots files may have any size, same with qtvbg01.png.
Added version number and changed (stupid) build number to be day based.
Local images patch submitted by Johnny_Cz, fixes #93 and fixes #6.
XHTML patch by Johnny_Cz for Zalon's request. Closes #87.
We said... QTV! Not liking it? Who CARES?!
Initial commit
Web analytics