First step towards implementing Issue #1 -- sadly I couldn't find a way yet to implement the 'public' setting for it. # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # On branch master # Your branch is ahead of 'origin/master' by 1 commit. # # Changes to be committed: # (use "git reset HEAD^1 <file>..." to unstage) # # modified: logbot.py # # Changes not staged for commit: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # # modified: logbot.py # # Untracked files: # (use "git add <file>..." to include in what will be committed) # # logs/
…en doing a partial commit.
This will allow you to easily override CSS styles without having to edit the logbot.py script.
You can now create a file at CHANNEL_LOCATIONS_FILE that contains a list of channels and (pytz) timezone location names. All log files for specified channels from that point on will have their timestamps adjusted to the given timezone. If a channel is not specified in the config file, it will default to the timezone specified by DEFAULT_TIMEZONE (which defaults to UTC). I've started storing this info in a separate config file as I plan to move all the other settings into a config file as well so people don't need to edit the script (allowing the script to be re-used more easily).
In some rare cases a logfile with a different capitalisation was still being created.
Should prevent the quit messages from showing up in all channel logs.
…ick on the channel This should prevent nick changes appearing in logs that don't have the user on the channel.