Ben Kurtovic
e8b078d4d0
More bugfixes and cleanup.
14 år sedan
Ben Kurtovic
78ac1b8a80
Tons of refactoring, miscellaneous cleanup, and improvements.
* _ResourceManager: allow resources to be named anything as long as they
inherit from the base resource class; gave resources proper names.
* Renamed BaseCommand to Command and BaseTask to Task; applied renames
throughout earwigbot.commands and earwigbot.tasks.
* Data: refactored argument and command parsing to be completely internal.
Added docstrings to attributes. Applied changes to Frontend.
* IRCConnection: improved such that we accurately detect disconnects with
server pings; timeout support. Applied changes to Bot.
* Updated documentation and other minor fixes.
14 år sedan
Ben Kurtovic
b34dd94f0d
Command.commands; small change in managers; !time
14 år sedan
Ben Kurtovic
526151e031
!geolocate command, plus some cleanup to other commands
14 år sedan
Ben Kurtovic
e67ea9a91f
Replacing custom Blowfish implementation with pycrypto
14 år sedan
Ben Kurtovic
30e9d30f9f
Using function aliases whenever possible; !join and !part
14 år sedan
Ben Kurtovic
1d02af98fa
Relocate BaseCommand to earwigbot.commands; _CommandManager class
14 år sedan
Ben Kurtovic
2da906109b
Copyright update for 2012.
14 år sedan
Ben Kurtovic
bff00f9b28
Restruturing codebase to be a bit more Pythonic.
15 år sedan
Ben Kurtovic
3405845303
minor fixes, cleanup, and general improvements
15 år sedan
Ben Kurtovic
9237a7ed9e
all IRC commands should work now; renamed tasks.py to threads.py to avoid conflicting with bot/tasks/
15 år sedan
Ben Kurtovic
af2e01a330
fixing imports in IRC commands
15 år sedan
Ben Kurtovic
68af0e796f
restructuring everything for unit tests, etc; bot doesn't work anymore, but I'll fix that in a bit
15 år sedan
Ben Kurtovic
d0cf12aa86
fix in crypt.py
15 år sedan
Ben Kurtovic
848ac58e7a
dramatically simplify error handling with !encrypt/!decrypt irc commands, thanks to previous commit
15 år sedan
Ben Kurtovic
f90167e8e7
blowfish.encrypt(key, plaintext), blowfish.decrypt(key, cyphertext); clean up certain things; 'python lib/blowfish.py' is interactive; implement blowfish in Cryptography()
15 år sedan
Ben Kurtovic
1e89d2a06f
new blowfish.py module, some changes in Cryptography(), LICENSE cleanup
15 år sedan
Ben Kurtovic
02b8fbdd1b
ugh I am an idiot
15 år sedan
Ben Kurtovic
369b60b823
adding Cryptography() IRC command class with hash functions via hashlib
15 år sedan