Archive for the ‘Development’ Category

Revision 41

Saturday, January 31st, 2009

I added two components to the page that displays logfiles in the web application, namely:

  • a selection box to limit the number of results per page
  • and a check box to show or hide non chat messages.
logfile.pl rev

logfile.pl rev41

The code for the web application is in some really bad shape. What’s killing me, is the fact that the view and the logic are not separated from each other, along with a whole bunch of other bad practices. If anything needs a rewrite, it’s going to be this part of the software!

On the same note; the entire web application could use a paintjob! A neat CSS stylesheet might just do the trick though.

Revision 40

Tuesday, January 20th, 2009

Since I hadn’t worked on the source code for a very long time, I wanted to try and improve or fix something minor. So I skimmed through the source code in an attempt to refresh my memory.

From the synopsis of the parselog script it read that you can set the path where local copies of images and thumbnails are stored from the command line using –imagedir. Turns out that this option was not yet implemented. The setting could be set from a config file, but not as an argument to the parselog script.

While fixing this I noticed that it’s better to install the Perl modules on the workstation as well so EPIC (plugin for Eclipse to support Perl syntax highlighting and object outline) wouldn’t yell at modules it can’t find. Haven’t made the trip to CPAN as of yet, but I’m planning to! ;-)

I tested the change and it works like a charm. Then I committed the changes to the source code repository and revision 40 was called into existence.

On to bigger challenges…