Pastebot is an irc bot that saves channels from large amounts ofpasted material. Text is pasted into a web form, and the botannounces an URL where it can be read. Interested people can partakein the joy without the whole channel scrolling to hell
Be the first to post a text review of pastebot. Rate and review a project by clicking thumbs up or thumbs down in the right column.
========================= 2006-10-05 18:09:31 v0_50 ========================= 2006-10-04 16:19:13 (r139) by rcaputo lib/Bot/Pastebot/Data.pm M; pastebot M; lib/Bot/Pastebot/Client/Irc.pm M; lib/Bot/Pastebot/Conf.pm M; lib/Bot/Pastebot/Server/Http.pm M Allow each bot module to configure itself. The main program collects configuration info from each module, then passes it to the Conf module. I've also added _class info to the configurations. I'm considering making each bot module its own object and having the Conf module instantiate them directly. 2006-10-04 16:19:11 (r138) by rcaputo; Makefile.PL M Grab the CHANGES from an explicit repository path since "svn info" doesn't work from svk. 2006-10-03 06:17:35 (r137) by rcaputo; MANIFEST M Uh... forgot to add the test to the MANIFEST. 2006-10-03 06:17:29 (r136) by rcaputo lib/Bot/Pastebot/Data.pm M; pastebot M; lib/Bot/Pastebot/Client/Irc.pm M; t A; t/01_basic.t A; lib/Bot/Pastebot/Conf.pm M; lib/Bot/Pastebot/Server/Http.pm M Move the initialization code from the main execution path to initialize() class methods. Call them from pastebot. Added a simple use_ok() test for all the modules, made possible because stuff doesn't immediately start up when classes are loaded now. 2006-10-03 00:54:57 (r135) by rcaputo lib/Bot/Pastebot/Data.pm M; pastebot M; lib/Bot/Pastebot/WebUtil.pm M; lib/Bot/Pastebot/Client/Irc.pm M; lib/Bot/Pastebot/Conf.pm M; lib/Bot/Pastebot/Server/Http.pm M r2309@poerbook: troc | 2006-10-02 20:54:43 -0400 Minor yet pervasive stylistic changes. 2006-10-01 22:10:59 (r134) by rcaputo; Makefile.PL M r2277@poerbook: troc | 2006-10-01 18:08:57 -0400 Fixed a typo in a dependency name. 2006-10-01 22:10:58 (r133) by rcaputo lib/Bot/Pastebot/Data.pm M; MANIFEST M; lib/Bot/Pastebot/Server/Http.pm M r2276@poerbook: troc | 2006-10-01 18:05:14 -0400 Minor Id-tag cleanups. 2006-10-01 22:10:56 (r132) by rcaputo pastebot M; lib/Bot/Pastebot/WebUtil.pm M; examples/pastebot.conf M; MANIFEST M; Makefile.PL M; lib/Bot/Pastebot/Conf.pm M; lib/Bot/Pastebot/Server/Http.pm M r2275@poerbook: troc | 2006-10-01 18:01:35 -0400 Install the static/* files in a location that File::ShareDir can find. Document "static" as being optional, and how you can find the default files. 2006-10-01 22:10:54 (r131) by rcaputo; examples/pastebot.conf M r2274@poerbook: troc | 2006-10-01 16:14:04 -0400 Fix the link in the sample pastebot.conf file. 2006-10-01 22:10:53 (r130) by rcaputo lib/Bot/Pastebot/Client/Irc.pm M; examples/pastebot.conf M r2273@poerbook: troc | 2006-10-01 16:13:21 -0400 Undo some changes that weren't needed. My local hybrid was denying usernames with "http" in them. 2006-10-01 22:10:50 (r129) by rcaputo static/paste-lookup.html M; static/paste-form.html M r2272@poerbook: troc | 2006-10-01 03:36:01 -0400 Static files are served out of /static now, not /data. 2006-10-01 22:10:48 (r128) by rcaputo examples A; examples/pastebot.conf A r2271@poerbook: troc | 2006-10-01 03:35:35 -0400 Fix tabs and generally get the configuration to work on my test server. 2006-10-01 22:10:47 (r127) by rcaputo; pastebot M r2270@poerbook: troc | 2006-10-01 03:35:08 -0400 Minor fixes. 2006-10-01 22:10:46 (r126) by rcaputo; lib/Bot/Pastebot/WebUtil.pm M r2269@poerbook: troc | 2006-10-01 03:34:38 -0400 Modernize exports. 2006-10-01 22:10:44 (r125) by rcaputo; Makefile.PL M r2268@poerbook: troc | 2006-10-01 03:34:17 -0400 Filter::Template is no longer needed. 2006-10-01 22:10:43 (r124) by rcaputo lib/Bot/Pastebot/Server/Http.pm M r2267@poerbook: troc | 2006-10-01 03:33:47 -0400 Modernize. Remove Filter::Template dependency. 2006-10-01 22:10:41 (r123) by rcaputo; lib/Bot/Pastebot/Data.pm M r2266@poerbook: troc | 2006-10-01 03:33:10 -0400 Modernize slightly. 2006-10-01 22:10:40 (r122) by rcaputo; lib/Bot/Pastebot/Conf.pm M r2265@poerbook: troc | 2006-10-01 03:32:39 -0400 Add the static parameter to the web server. Modernize exporter use. 2006-10-01 22:10:37 (r121) by rcaputo; lib/Bot/Pastebot/Client/Irc.pm M r2264@poerbook: troc | 2006-10-01 03:31:41 -0400 Modernize use of POE::Component::IRC and Exporter. 2006-10-01 22:10:36 (r120) by rcaputo; Makefile.PL M r2263@poerbook: troc | 2006-10-01 03:31:06 -0400 Minor whitespace fix. 2006-10-01 22:10:34 (r119) by rcaputo; MANIFEST.SKIP M r2262@poerbook: troc | 2006-10-01 03:30:45 -0400 Skip skipping some files we don't have anymore. 2006-10-01 22:10:33 (r118) by rcaputo; README M r2261@poerbook: troc | 2006-10-01 03:28:31 -0400 Major revisions since the installation method is all different now. 2006-10-01 22:10:32 (r117) by rcaputo pastebot M; pastebot.conf-dist D; COPYRIGHT D r2260@poerbook: troc | 2006-09-30 17:46:14 -0400 Document the pastebot in its main file, pastebot. "perldoc pastebot" should explain things to you, including invocation and configuration variables. Removed the COPYRIGHT file, since that information was subsumed into pastebot. Also removed pastebot.conf-dist for the same reason. 2006-10-01 22:10:31 (r116) by rcaputo; Makefile.PL A r2259@poerbook: troc | 2006-09-30 11:35:40 -0400 Add the beginnings of a proper Makefile.PL. 2006-10-01 22:10:30 (r115) by rcaputo; pastebot A r2258@poerbook: troc | 2006-09-29 02:38:32 -0400 Renamed from pastebot.perl. Also all the weird library loading code has been removed since the libs will be installed in normal places. 2006-10-01 22:10:28 (r114) by rcaputo; pastebot.perl D r2257@poerbook: troc | 2006-09-29 02:37:59 -0400 Renamed to pastebot, actually. 2006-10-01 22:10:27 (r113) by rcaputo static/paste-lookup.html M; static/paste-answer.html M; static/paste-form.html M r2256@poerbook: troc | 2006-09-29 02:37:19 -0400 Normalize some whitespace, but otherwise nothing changes here. 2006-10-01 22:10:26 (r112) by rcaputo; TODO M r2255@poerbook: troc | 2006-09-29 02:36:08 -0400 Update some pointers from SourceForge to ThirdLobe. Still a LOT of work needed. In fact, the whole thing should be migrated to trac. 2006-10-01 22:10:22 (r111) by rcaputo; README M r2254@poerbook: troc | 2006-09-29 02:35:27 -0400 Some minor modernizations. The README needs a LOT of work yet. 2006-10-01 22:10:21 (r110) by rcaputo; Makefile D r2253@poerbook: troc | 2006-09-29 02:34:50 -0400 Makefile will be generated soon. 2006-10-01 22:10:20 (r109) by rcaputo; pastebot.conf-dist M r2252@poerbook: troc | 2006-09-29 02:33:17 -0400 Standardize leading whitespace to tabs. 2006-10-01 22:10:17 (r108) by rcaputo lib/Bot/Pastebot/Client/Irc.pm M; lib/Bot/Pastebot/Server/Http.pm M r2251@poerbook: troc | 2006-09-29 02:32:42 -0400 Update module names, add warnings, and other minor modernizations. 2006-10-01 22:10:14 (r107) by rcaputo lib/Bot/Pastebot/Data.pm M; lib/Bot/Pastebot/WebUtil.pm M; lib/Bot/Pastebot/Conf.pm M r2250@poerbook: troc | 2006-09-29 02:32:09 -0400 Update module names, Exporter use, and add warnings. 2006-10-01 22:10:12 (r106) by rcaputo; MANIFEST M r2249@poerbook: troc | 2006-09-29 02:30:52 -0400 Stuff lives elsewhere now, and under new names. 2006-10-01 22:10:10 (r105) by rcaputo; COPYRIGHT M r2248@poerbook: troc | 2006-09-29 02:30:31 -0400 Update copyright dates and my e-mail address. 2006-10-01 22:10:08 (r104) by rcaputo templates D; lib/Bot/Pastebot/Data.pm A; lib/Bot/Pastebot/WebUtil.pm A; static/paste-answer.html A; static/nopaste.gif A; Server D; lib A; static/paste-form.html A; static/highlights.css A; data D; lib/Bot/Pastebot A; lib/Bot/Pastebot/Conf.pm A; lib/Bot/Pastebot/Server/Http.pm A; Util D; static/paste-lookup.html A; Client D; lib/Bot/Pastebot/Client/Irc.pm A; lib/Bot/Pastebot/Server A; static A; lib/Bot/Pastebot/Client A; lib/Bot A r2247@poerbook: troc | 2006-09-29 01:51:05 -0400 Initial file shuffling. Nothing works at this point because the code hasn't actually changed. 2006-07-21 01:55:49 (r99) by rcaputo; Server/Web.pm M Another POE::Preprocessor -> Filter::Template fix. 2006-07-21 01:04:55 (r98) by rcaputo; Server/Web.pm M; Util/Data.pm M Untested modernization of POE::Session constructors. 2006-07-21 01:01:36 (r97) by rcaputo; Server/Web.pm M First shot at eliminating POE::Preprocessor. 2004-11-01 16:08:42 (r96) by rcaputo; Util/Conf.pm M; pastebot.perl M Improve error messages, especially ones surrounding bad configuration files. 2004-09-09 04:00:44 (r95) by rcaputo; TODO M Migrate some of the TODO items into the SourceForge trackers. Comment on this in the TODO file so people know where to look. 2004-09-09 03:12:53 (r94) by rcaputo Util/Conf.pm M; Util/Data.pm M; pastebot.perl M Tweak the modules search paths. 2004-09-08 18:49:44 (r93) by rcaputo; Util/Conf.pm M; pastebot.perl M Expand the install search paths. 2004-09-08 16:46:11 (r92) by rcaputo; Makefile M Build the snapshot versions programmatically. 2004-09-08 16:06:34 (r90) by rcaputo; Makefile M Add the "tag" target for easy distributing. 2004-09-08 15:51:20 (r89) by rcaputo Makefile M; pastebot.perl M; MANIFEST M; MANIFEST.SKIP M Cleaned up "make dist" somewhat. Still needs to build the snapshot date programmatically, though. Cleaned up "make install" somewhat. Removed the need for a separate pasetbot.lib.sample file. It's generated by Makefile now. 2004-09-08 15:10:40 (r88) by rcaputo; README M; Makefile M Removed the bogus "&& \" from the makefile. I'm not sure whether that's just extra text or whether it indicates a missing command, though. More debugging is needed there. I fixed the install paths. Pastebot now installs in /usr/local/... rather than /usr/... It seemed more reasonable that way. The README is slightly updated. 2004-09-03 03:17:42 (r87) by rcaputo; Makefile M Removed an errant "&& \" from the end of one of the install directives. Thanks to buu for actually using the makefile and discovering the problem. It's kinda sad that he's a whiner, with such amazing initial feedback as "Someone fix pastebot =[". Luckily he responds with details when pressed, or this would probably never have been fixed. So in the end, go, buu! 2004-06-09 02:31:10 (r86) by rcaputo; Client/IRC.pm M Indigoid runs Memephage in a channel with a lot of color codes flying around. He discovered that Memephage was collecting broken URLs because of colorization attached to them, so he wrote a few regular expressions to remove them. This commit adds his color filtering code. 2004-05-14 06:54:25 (r84) by rcaputo; Server/Web.pm M; pastebot.perl M Clean up the missing modules error message, so it reports the actual missing module rather than the ones it thinks it needs. Plug a security leak. You are advised to upgrade to at least this version NOW. 2004-04-27 05:42:19 (r83) by tonycoz; pastebot.conf-dist M Added the newly required command 'store' to pastebot.conf-dist 2004-02-13 23:56:18 (r82) by rcaputo Makefile M; Util/Conf.pm M; README M; Util/Data.pm M; pastebot.perl M Applied a modified version of Jari Aalto's patch to support sitewide installation through revised configuration and library placement. He added Makefile targets for a standard installation. The README now includes instructions for using the new makefile targets. Util::Conf supports finding configuration files in standard locations. Util::Data accepts the persistent paste storage location from a configuration file. The local library directory is searched for at startup time rather than being hardcoded. 2004-02-13 17:04:28 (r81) by rcaputo; TODO M Add some more ideas to the TODO list. 2003-12-22 06:46:55 (r80) by rcaputo; Server/Web.pm M Make the page footer HTML 4.01 Transitional "OK" again. 2003-12-22 06:38:42 (r79) by rcaputo; Server/Web.pm M; Client/IRC.pm M Applied Jeremy Mates' patches. They add more robust URL handling, better X-Forwarded-For support, line counts to the on-channel announcement, and cleaner channel list building code. 2003-12-22 05:29:14 (r78) by rcaputo; README M Apply Jeremy Mates' documentation patches. He expanded upon the Apache proxypass documentation and documented another error message. This should get more pastebots on port 80 where they belong. :) 2003-12-05 17:29:45 (r77) by rcaputo templates/paste-form.html M; templates/paste-lookup.html M; templates/paste-answer.html M Matthijs van Duin (efnet, CPAN "xmath") insisted that the HTML responses aren't compliant with w3c's HTML 4.01 specification without including a character encoding. He STRONGLY insisted that some form of encoding be specified. | <xmath> [character encoding is] not "advisory".. without it [the | HTML] is not valid He provided the patch that I am applying with this commit. By applying this patch, I have disregarded the objections of Juerd and Yaakov: | <Yaakov> The ecoding type is NOT part of the HTML in that document, | it is a server issue. | <xmath> that's why you should specify it in the header | <xmath> Yaakov: if you just specify it on both the form page and the | result page, then at least people can enter extended chars | without worrying about them getting messed up | | <xmath> Juerd: I'm not sure all browsers can properly deal with | utf-8 | <xmath> though I guess modern ones do | <Juerd> xmath: Most modern browsers | <Juerd> xmath: But most ANY browsers guess charsets, and they're | rather good at that | <xmath> Juerd: yes, because there are so many broken pages | <Yaakov> Yes... I think that was my point. I don't know what will | be pasted. | | <xmath> if you want to rely on guessing | <xmath> fine | <xmath> but then don't put up a "Valid HTML 4.01" logo | <xmath> because it isn't | <xmath> anyway, dinner time | <xmath> bbl | | <Juerd> xmath: HTML 4.01 has nothing to do with the charset | <Yaakov> THAT IS MY POINT | <Yaakov> The HTML _IS_ VALID I will be happy to reverse this patch if it breaks more than it fixes. 2003-12-05 05:41:39 (r76) by tonycoz; Server/Web.pm M HTML escape the channel names in the drop-down list. Select the only channel as the default (instead of '(None)') if there is only one channel. 2003-11-30 17:27:17 (r75) by averelld Util/Conf.pm M; Client/IRC.pm M; pastebot.conf-dist M Rename stupidly named flag. 2003-11-30 16:05:14 (r74) by averelld Util/Conf.pm M; pastebot.conf-dist M; Client/IRC.pm M Add a new flag, to forbid invites to unknown channels. 2003-11-13 23:59:34 (r73) by rcaputo Server/Web.pm M; Util/Data.pm M; Client/IRC.pm M Channel management functions did not take into account that the bot may be on multiple networks at once. Add network differentiation to the bot's database, IRC client, and web server. 2003-11-13 05:01:27 (r72) by rcaputo; Client/IRC.pm M Whitespace changes. 2003-11-13 04:25:08 (r71) by rcaputo; Server/Web.pm M Select (none) as the default channel, to prevent pasting to wrong channels. 2003-11-13 04:08:49 (r70) by rcaputo; Util/Data.pm M Add an ID tag. 2003-11-13 03:59:05 (r69) by rcaputo; Client/IRC.pm M Nick tracking, rotation, reclamation was not keeping track of the bot's current nickname properly. This change gets it working well enough to build the channel list, anyway. It's untested for actual nick rotation/reclamation on clashes, however. I'm pressed for time to do this more right than absolutely necessary right now. 2003-11-13 03:41:49 (r68) by rcaputo; Util/Data.pm M; Client/IRC.pm M TonyC noticed that the dynamic channel listing was broken. It didn't list anything until the bot side was kicked and invited back, and then it only listed the channel it was re-invited to. This patch reworks the channel management functions in Util::Data and also disambiguates lc() calls in Client::IRC. Actually, it seems that a previous patch removed irc_join. We put it back as well. 2003-11-13 02:44:35 (r67) by rcaputo; MANIFEST M Remove SQLite. 2003-11-02 20:16:38 (r66) by juerd Server/Web.pm M; templates/paste-lookup.html M; Util/Web.pm M Added cookie support and HTML <label>s 2003-11-01 16:27:01 (r65) by averelld; TODO M; Client/IRC.pm M Minor fixing. remove /whois on commands 2003-11-01 14:49:30 (r64) by averelld; Client/IRC.pm M User tracking. Grabs /who, monitors changes. also +o -o. 2003-10-31 23:23:50 (r63) by averelld; Client/IRC.pm M Damn. Typofix here 2003-10-31 22:41:56 (r62) by averelld Util/Conf.pm M; pastebot.conf-dist M; Client/IRC.pm M Takes a list of nicknames now. Will try auto-reclaim if all in list are taken. Also indent was in different styles over the file, recommending diff -b. 2003-10-31 19:52:01 (r61) by rcaputo; Client/IRC.pm M Ok, damnit, this time with FEELING! Ah, ahem. Fix the port selection code so it doesn't clobber a very important closure variable. 2003-10-31 17:13:59 (r60) by rcaputo pastebot.conf-dist M; Client/IRC.pm M Add support for nonstandard server ports. Thanks to Chris Ellsworth for requesting it, or you'd still be waiting for it. :) Just throw a port number on the server lines in pastebot.conf, separated from the server host by spaces and/or colons, and you're good to go. The default is 6667 if you leave ports out. 2003-10-31 16:49:22 (r59) by rcaputo Makefile M; MANIFEST M; MANIFEST.SKIP M Woops. Forgot some things wrt snapshot building. 2003-10-31 16:35:13 (r57) by rcaputo; README M; Util/Data.pm M; TODO M Apply Averell's persistent database patch. Remove the persistent paste and ignores stores from the todo list. Update the README to include Storable as a new dependency (although it comes with modern Perl). 2003-10-30 17:38:55 (r56) by rcaputo Server/Web.pm M; templates/paste-form.html M; templates/paste-lookup.html M Allow the bot itself to serve small files. Alter Yaakov's new templates so the image links point into the bot. Now they're totally self-contained. 2003-10-30 17:37:13 (r55) by rcaputo; TODO M Log Yaakov's ideas for posterity. They need to be assimilated into the overall todo file structure. Quite likely the entire file should be redone in outline form. 2003-10-30 17:14:10 (r54) by rcaputo; data/nopaste.gif A; data A Added Yaakov's wonderful logo. 2003-10-30 17:12:53 (r53) by rcaputo templates/paste-form.html M; templates/paste-lookup.html M Apply Yaakov's stylish templates over the dreary ones we used to have. 2003-07-06 18:57:57 (r52) by rcaputo; TODO M Note that the bot should daemonize itself. 2003-07-06 17:49:09 (r51) by juerd Server/Web.pm M; Util/Data.pm M; Client/IRC.pm M Added dynamic channel management. Pastes can now only go to joined channels. Util::Data::channels() returns wantarray ? channel names : number of channels Util::Data::clear_channels() returns success ? true : false Util::Data::add_channel($channel) returns success ? new number of channels : false Util::Data::remove_channel($channel) returns success ? number of removed channels (should be 1) : false Removed my_chans in Client::IRC. channels() should be used now. Updated error message when pasting to unknown channel. Channel may be known ($ircconf{channel}), but not joined (channels()). 2003-06-11 17:32:41 (r50) by rcaputo README M; TODO M; pastebot.conf-dist M Make minor tweaks and add TODO tasks based on Nicholas Schuetz's feedback. 2003-06-08 16:10:56 (r49) by rcaputo; Util/Conf.pm M; Server/Web.pm M Justin Mitchell reported that the bot would crash if it was assigned no channels to listen on. This change fixes that and some collateral warnings. 2003-06-08 15:53:46 (r48) by rcaputo; Server/Web.pm M Applied Jeremy Mates' patch to fix /paste through port-80 proxies. Also the patch to fix selected channels. 2003-06-04 04:08:11 (r47) by rcaputo; Server/Web.pm M Applied Jeremy Mates' proxypass patch. Also his more forgiving URL format patch. Also his proxypass support patches. Also his patch to serve a text/plain MIME type on plaintext output. Also his patch for proper 404 content. Added preliminary support for wrapped (non-pre formatted) text. 2003-06-04 04:06:03 (r46) by rcaputo; Util/Web.pm M Replace our buggy, homegrown (and very old, stale) template engine with Text::Template. 2003-06-04 04:05:18 (r45) by rcaputo; templates/paste-lookup.html M Add the "wrap" (no pre tag) checkbox to drive the internal formatting change. 2003-06-04 04:04:37 (r44) by rcaputo; Util/Conf.pm M Apply Jeremy Mates' patch to support Apache proxypass better. 2003-06-04 04:04:10 (r43) by rcaputo; pastebot.conf-dist M Apply Jeremy Mates' patch for a new option to support proxypass in Apache. 2003-06-04 03:24:43 (r42) by rcaputo; README M Document the new Text::Template requirement. Applied Jeremy Mates' doc patch for proper ProxyPass use in Apache. 2003-06-04 03:23:24 (r41) by rcaputo templates/paste-form.html M; templates/paste-lookup.html M; templates/paste-answer.html M Updated the templates to use Text::Template syntax. 2003-02-03 04:50:49 (r40) by rcaputo; README M Added a note about missing prerequisite module errors, thanks to Hellaenergy. 2003-02-03 04:50:17 (r39) by rcaputo; pastebot.perl M Nicholas Schuetz (Hellaenergy) suggested that pastebot look in the current working directory for its libraries. This patch adds '.' to @INC. 2002-11-27 08:42:51 (r38) by rcaputo templates/paste-form.html M; pastebot.conf-dist M Make the network someone pastes to a little more prominent. This is in response to people pasting to the wrong network of a multi-net bot. 2002-11-03 22:23:13 (r37) by rcaputo; Server/Web.pm M Wrap the $summary in quotes on the IRC announcement. 2002-10-18 02:44:48 (r36) by rcaputo; Client/IRC.pm M Add an uptime command so we can have high-precision happiness about how long the bot runs. 2002-10-18 02:42:34 (r35) by rcaputo; Server/Web.pm M I forgot to wrap one of the Perl::Tidy invocations in eval{}. Make sure they're both done now, and replace the tidied content with $@ if there's been an error. 2002-10-18 02:10:17 (r34) by rcaputo templates/paste-form.html M; templates/highlights.css M; templates/paste-lookup.html M Trivial whitespace cleanup in highlights.css. Make the style sheet hrefs relative instead of absolute. Make the form actions relative instead of absolute. These should fix problems with using the web services through ProxyPass directives. 2002-10-18 02:02:30 (r33) by tonycoz Util/Conf.pm M; Server/Web.pm M; pastebot.conf-dist M add an option to see if there's a proxy, if the request came through the passthrough proxy, extract the originating IP address from the headers the proxy gives us. 2002-10-17 03:19:48 (r32) by tonycoz Makefile A; MANIFEST A; MANIFEST.SKIP A Added a makefile and manifest to make it simpler to build distributions. 2002-10-17 02:51:49 (r31) by tonycoz; Server/Web.pm M We were sending the summary HTML encoded to IRC 2002-10-16 16:16:22 (r30) by rcaputo; CHANGES D Remove CHANGES as it will be dynamically generated. 2002-10-15 22:14:02 (r29) by rcaputo; templates/paste-form.html M Included yossarian's jscript code to fill the paste textarea from the clipboard. This only works on IE, though. 2002-10-15 22:12:34 (r28) by rcaputo; Util/Conf.pm M; Util/Data.pm M Applied Jonathan Scott Duff's patches to periodically expire old pastes or force expiration of the oldest pastes when new ones would overflow some limit. These patches constrain the bot's memory footprint. 2002-10-15 22:10:55 (r27) by rcaputo; Server/Web.pm M Patched a security hole yossarian found. It is possible in previous versions to make the bot send arbitrary IRC commands. 2002-10-15 22:09:24 (r26) by rcaputo; Client/IRC.pm M Insignificant tweak to the debugging output. 2002-10-15 22:08:25 (r25) by rcaputo; pastebot.conf-dist M Apply Jonathan Scott Duff's configuration changes to specify the maximum number of pastes to keep and the maximum paste lifetime. 2002-07-23 22:04:15 (r23) by rcaputo; Server/Web.pm M; CHANGES M Made (none) the default channel so that morons who don't read the instructions don't spam some innocent channel with paste notices. 2002-06-25 14:49:47 (r22) by rcaputo; README M Pastebot is hostile towards people behind firewalls. It runs a separate server which often must not be on port 80 (because some other web server is there). Added notes for Apache's ProxyPass directive, so a port-80 server can forward requests to pastebot. 2002-06-08 18:23:28 (r21) by rcaputo; CHANGES M Tidy CHANGES for another release. 2002-06-08 18:17:57 (r20) by rcaputo; Util/Web.pm M Added an is_true() function to reduce many different forms of truth and falsity into 1 and 0 so perl can understand them. 2002-06-08 18:16:48 (r19) by rcaputo Server/Web.pm M; templates/paste-lookup.html M Added an option to render pasted text as text/plain without any adornments. This will let people fetch things like diffs with wget, and they should appear without whitespace munging that many browsers perpetrate during copy and paste. 2002-06-08 18:14:50 (r18) by rcaputo; TODO M; CHANGES M Documented changes and suggestions via IRC. 2002-05-21 13:10:03 (r17) by rcaputo; Server/Web.pm M; CHANGES M Kane discovered that MSIE does not treat <br> as a newline when copying text with <pre></pre>. Anything copied from pastebot was being put on the clipboard as one long line. <br> isn't needed within <pre></pre> anyway, so I removed the code to replace newlines with them. I also verified that isn't needed in preformatted text and removed the code to translate spaces into them. That'll save some bandwidth, too. 2002-05-18 00:59:02 (r16) by rcaputo; README M; TODO M; CHANGES M Document changes in a user-friendly fashion. Add Perl::Tidy to the list of dependencies in README. Remove done things from TODO. 2002-05-18 00:54:39 (r15) by rcaputo; Server/Web.pm M Replace the static content with templates. Implement better parameters for paste lookup, and a control panel of sorts to twiddle them. Add Perl::Tidy support for source beautification and highlighting. Put in a little footer that advertises the bot and POE. :) 2002-05-18 00:53:09 (r14) by rcaputo; Util/Web.pm M Prepare the templating code for use. It was kind of old. 2002-05-18 00:52:26 (r13) by rcaputo; pastebot.perl M Remove old comments. 2002-05-18 00:50:42 (r12) by rcaputo templates A; templates/paste-form.html A; templates/highlights.css A; templates/paste-lookup.html A; templates/paste-answer.html A Create templates for a large amount of the web interface's static content. Create a style sheet that defines how Perl source is highlighted. 2002-05-16 04:45:04 (r11) by tonycoz; TODO M uri's paste by email idea 2002-05-15 02:32:56 (r10) by rcaputo README M; pastebot.perl M; pastebot.conf D; pastebot.conf-dist A; COPYRIGHT M TonyC suggested renaming pastebot.conf to pastebot.conf-dist, so it won't clobber deveopers' and users' customized pastebot.conf files. It was a good idea, and now it's implemented. 2002-05-08 20:14:36 (r9) by rcaputo; pastebot.conf M; CHANGES M Tidy up some host names in the configuration file. 2002-05-08 16:19:59 (r8) by rcaputo; README M Add SourceForge URL. 2002-05-08 16:11:03 (r3) by rcaputo Util A; Util/Conf.pm A; README A; Server/Web.pm A; Client A; Util/Data.pm A; pastebot.perl A; pastebot.conf A; TODO A; Util/Web.pm A; Server A; Client/IRC.pm A; CHANGES A; COPYRIGHT A Initial revision 2002-05-08 16:11:02 (r1) by (nobody); /trunk A; /branches A; /tags A New repository initialized by cvs2svn. ============== End of Excerpt ==============
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?
Thanks for your review!
Get credit for your review by logging in via OpenID. Click your account provider: