Source

pmxbot / pmxbot / core.py

The default branch has multiple heads

Author Commit Message Labels Comments Date
Jason R. Coombs
Log config when starting up.
Jason R. Coombs
Update to use irc 5.0
Jason R. Coombs
Use new explicit exceptions to trap exceptions. Also trap unknown exceptions.
Tags
1103.7
Jason R. Coombs
Use %r for better reporting
Jason R. Coombs
Also trap errors about carriage returns
Tags
1103.6.7
Jason R. Coombs
Remove truncation logic - it doesn't work because the irc lib has to add 'PRIVMSG #channel' and other operation parameters. So instead, just trap the error.
Tags
1103.6.6
Jason R. Coombs
Extracted method for truncation because it now accounts for encoding in the size.
Tags
1103.6.4
Jason R. Coombs
'log' was already in locals(). Blarg.
Tags
1103.6.3
Jason R. Coombs
It's log.warn. ugh.
Tags
1103.6.2
Jason R. Coombs
Log the truncated message
Tags
1103.6.1
Jason R. Coombs
The latest irc module honors the RFC and doesn't allow messages longer than 512 characters. For now, prevent errors by truncating messages.
Jason R. Coombs
Allow more fine-grained control of chaining 'contains' commands - just pass 'allow_chain=True' in @contains decorator
Jason R. Coombs
Allow commands to remember their aliases
Jason R. Coombs
Now construct handlers using keyword arguments. No need for unused arguments for CommandHandler and AliasHandler
Jason R. Coombs
Use distinct classes instead of instance attributes to distinguish between different classes of handler
Jason R. Coombs
Handlers are no longer tuples
Jason R. Coombs
Use attributes of handler rather than tuple
Jason R. Coombs
Restore generate_results to focus on the function output. Now exceptions don't incidentally trap other generated output.
Chris Jowett
Allow for more than one @contains command to trigger, disabled by default
Jason R. Coombs
Corrected changelog. Fixed config parameter
Tags
1103.5.1
Jason R. Coombs
Add support for irc 3.3
Jason R. Coombs
Removed '_nolog' flag in favor of just checking the logged channels config
Jason R. Coombs
No longer decode messages - they should come from the IRC library as unicode.
Tags
1103.4.1
Jason R. Coombs
Fix for failing send of non-ascii messages
Tags
1103.1.8
Jason R. Coombs
Allow -m launching via 'pmxbot' and 'pmxbot.web'. Launching via 'pmxbot.core' caused problems because globals in pmxbot.core would be duplicated. Launching via -m runs the code in the module as a script and not as that module.
Jason R. Coombs
Ensure the bot doesn't start up without any handlers (seems to happen with python -m pmxbot.core)
Tags
1103.1.6
Jason R. Coombs
Now default config specified in pmxbot.__init__ and config parameter is optional
Jason R. Coombs
Add module execution points
Jason R. Coombs
Cleaned up lint and long lines in core
Jason R. Coombs
Moved storage finalization into storage module
  1. Prev
  2. 1
  3. 2
  4. Next