Opened 15 years ago

Closed 15 years ago

Last modified 5 years ago

#4349 closed defect

WEB: Incorrect title in IRC Daily Logs

Reported by: dreammaster Owned by: SF/ender
Priority: normal Component: Web
Version: Keywords:
Cc: Game:


Very minor bug, but on the website, if you look at any daily log file, the title will be 'ScummVM IRC Log - $date'. ie. rather than showing the actual date for the log file, it's showing '$date'.

Ticket imported from: #2795972. Ticket imported from: bugs/4349.

Change History (7)

comment:1 by sev-, 15 years ago

Owner: set to SF/fredrik_w

comment:2 by SF/fredrik_w, 15 years ago

I would gladly take a stab at this if I knew where this IRC log generator is at, and how it works.

comment:3 by fingolfin, 15 years ago

Owner: changed from SF/fredrik_w to SF/ender

comment:4 by fingolfin, 15 years ago

The only person who has control over the content of and also LeChuck is Ender. Maybe we are lucky and he will reply (I am assigning this item to him so that he sees it).

However, I would not hold my breath on that... So far, repeated requests by Eugene and me for control over LeChuck etc. were fruitless.

If somebody wants to make another attempt at contacting Ender via email, have a go at it -- we simply need LeChuck's source. Then, we can host LeChuck on our server, and could put the logs into a different place (and maybe also give it a CSS design matching that of the main website?). Note that DNS is under our control, so an alternative solution would be to simply change to point to some other logger.

comment:5 by SF/ender, 15 years ago

Status: newclosed

comment:6 by SF/ender, 15 years ago

I've fixed this, but honestly the log parser is one of those horrible bits of PHP 'uncode' that gives the language its bad name.

I've given the login details to Fingolfin, please feel free to replace logs/scummvm/index.php and logs/scummvm/log.php with something better and less nasty. Script is pretty self-explanatory, it just loops over a directory of logfiles.

I'm changing the naming format from dMy to yyyymmdd soon, at aquadrans request, to match the residual logs. That should make the job simpler, once I write a script to rename all the existing logfiles :)

comment:7 by digitall, 5 years ago

Component: Web
Note: See TracTickets for help on using tickets.