Changes between Version 24 and Version 25 of IrcLogsPlugin
- Timestamp:
- Nov 19, 2015, 9:28:00 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IrcLogsPlugin
v24 v25 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = IRC Logs Plugin3 = Display IRC logs 4 4 5 5 == Description … … 9 9 Key features: 10 10 * Multi-channel support. 11 * J Scalendar provided by jquery-ui (much prettier).11 * Javascript calendar provided by jquery-ui (much prettier). 12 12 * Hard pyndexter dependency removed. 13 13 * Out-of-the-box gozerbot support. 14 14 * More flexible parser: 15 * configuration based (add new formats with no code changes).16 * multi-file support (some loggers split logs into different files, gozerbot simple format for example).17 * D B backend support (look at the gozerbot chatlog plugin to create db irclogs).15 * configuration based: add new formats with no code changes. 16 * multi-file support: some loggers split logs into different files, gozerbot simple format for example. 17 * Database backend support: look at the gozerbot chatlog plugin to create database irc logs. 18 18 * Better timezone support, logs are displayed in the user's timezone. 19 19 * Unit tests. … … 21 21 === Known issues 22 22 23 * Search is busted. It's on my list.24 * Days without logs are no longer shaded in the calendar. This is because we are using the user's timezone and it's much harder to tell what days have logs without doing an insane amount of parsing on each request. I hope to have some caching in the future that will allow this feature to come back. For most people it's not a problem because there is at least one message in their irc channel everyday.23 * Search is not functional yet. 24 * Days without logs are no longer shaded in the calendar. This is because we are using the user's timezone and it's much harder to tell what days have logs without doing an insane amount of parsing on each request. I hope to have some caching in the future that will allow this feature to come back. For most people it's not a problem, because there is at least one message in their irc channel everyday. 25 25 26 26 == Bugs/Feature Requests 27 27 28 Existing bugs and feature requests for IrcLogsPlugin are [ query:status!=closed&component=IrcLogsPlugin&order=priority here].28 Existing bugs and feature requests for IrcLogsPlugin are [report:9?COMPONENT=IrcLogsPlugin here]. 29 29 30 30 If you have any issues, create a [/newticket?component=IrcLogsPlugin new ticket]. … … 34 34 == Download and Source 35 35 36 Download the [download:irclogsplugin zipped source], check out [/svn/irclogsplugin using Subversion], or [source:irclogsplugin browse the source] with Trac. 36 Download the zipped source from [export:irclogsplugin here]. 37 38 == Source 39 40 Check out IrcLogsPlugin from [/svn/irclogsplugin here] using Subversion, or [source:irclogsplugin browse the source] with Trac. 37 41 38 42 == Installation 39 43 40 Run "easy_install http://trac-hacks.org/svn/irclogsplugin/0.10/"for 0.10.4 Trac installations (not supported).41 42 Run "easy_install http://trac-hacks.org/svn/irclogsplugin/0.11/"for 0.11+ Trac installations.43 44 Run "easy_install http://trac-hacks.org/svn/irclogsplugin/parsing_refactor/"for cutting edge beta version (0.11+ Trac).45 46 The IrcLogsPlugin 0.11 depends on the http://swapoff.org/wiki/pyndexter python indexer. The beta version doesn't require pyndexter, but it will be needed for search capability. It is installed automatically by easy_install.44 Run `easy_install http://trac-hacks.org/svn/irclogsplugin/0.10/` for 0.10.4 Trac installations (not supported). 45 46 Run `easy_install http://trac-hacks.org/svn/irclogsplugin/0.11/` for 0.11+ Trac installations. 47 48 Run `easy_install http://trac-hacks.org/svn/irclogsplugin/parsing_refactor/` for cutting edge beta version (0.11+ Trac). 49 50 The IrcLogsPlugin 0.11 depends on the [http://swapoff.org/wiki/pyndexter python indexer]. The beta version doesn't require pyndexter, but it will be needed for search capability. It is installed automatically by easy_install. 47 51 48 52 == Configuration 0.11 … … 83 87 }}} 84 88 85 To (re)index your log files, use this [attachment:"indexer.py" py dexter indexing python script]. Be sure to edit the two variables for file locations in the script.89 To (re)index your log files, use this [attachment:"indexer.py" pyndexter indexing python script]. Be sure to edit the two variables for file locations in the script. 86 90 87 91 '''Note:''' In order to enable indexing for 0.11, you'll currently need a patch, see comment:ticket:1183:6. … … 121 125 === Database Configuration 122 126 123 The database should take a standard Trac d b connection string. If none is specified, then the Trac dbwill be used as the default. The database must contain a table with the following columns (time, network, target, nick, type, message). It is suggested that indexes are put on the time, (network, target) sets. Target is usually the channel name.127 The database should take a standard Trac database connection string. If none is specified, then the Trac database will be used as the default. The database must contain a table with the following columns (time, network, target, nick, type, message). It is suggested that indexes are put on the time, (network, target) sets. Target is usually the channel name. 124 128 125 129 {{{#!ini … … 188 192 === "Live" Log 189 193 190 Show a "live" AJAX log display. 194 Show a "live" AJAX log display. '''Note:''' This macro should be used sparingly; it should not be on the front page of a project in most cases. 191 195 {{{ 192 196 [[IrcLogLive]] … … 203 207 }}} 204 208 205 The format is (channel)-(timestamp). 209 The format is (channel)-(timestamp). For the default channel, simply use timestamp. Timestamp is UTC date formatted to ''UTCYYYY-MM-DDTHH:MM:SS''. 206 210 207 211 === Quote … … 211 215 [[IrcLogQuote(channel=trac, datetime=UTC2009-07-19T13:20:30, offset=3360)]] 212 216 }}} 213 channel is the default channel if none is specified. ''There may not be a default channel setup though.''217 channel is the default channel if none is specified. There may not be a default channel setup though. 214 218 215 219 UTC date formatted to ''UTCYYYY-MM-DDTHH:MM:SS'', and (optional) offset, number of seconds to display. … … 224 228 '''Note:''' This macro should be used sparingly; it should not be on the front page of a project in most cases. 225 229 226 This macro optionally takes threearguments: poll_frequency (default is 60), count (default is 10) and channel (default is default):230 This macro takes 3 optional arguments: poll_frequency (default is 60), count (default is 10) and channel (default is default): 227 231 228 232 {{{