Ben Kurtovic
|
56738eaede
|
argh - bugfix in lib/blowfish.py
|
il y a 13 ans |
Ben Kurtovic
|
bea5a3bc7e
|
update message in README to be a tad more verbose (and to match the github description)
|
il y a 13 ans |
Ben Kurtovic
|
7dc33cb9af
|
Merge branch 'feature/config_rewrite' into develop
|
il y a 13 ans |
Ben Kurtovic
|
e11cbffa92
|
uh, right...
|
il y a 13 ans |
Ben Kurtovic
|
7311ae4bb8
|
switching from XML config to JSON config - it's just much easier to parse and little easier on the eyes (not to mention shorter in length)
|
il y a 13 ans |
Ben Kurtovic
|
a06e35ecef
|
moving IRC class modules (base_command.py, connection.py, data.py, rc.py) to irc/classes/
|
il y a 13 ans |
Ben Kurtovic
|
d57f2623d2
|
parse remaining parts of config.xml; getting rid of config.watcher and moving to irc/watcher_logic.py; convert irc/watcher.py and wiki/task_manager.py to new config system; other changes/fixes/whatever
|
il y a 13 ans |
Ben Kurtovic
|
e21a4dfb76
|
converting four IRC command classes to use new config system; everything's been converted except for irc/watcher.py and everything in wiki/
|
il y a 13 ans |
Ben Kurtovic
|
430ba061af
|
store config differently (in five separate global variables instead of one) to make accessing it cleaner; convert core/main.py to new config system as well as irc/frontend.py -- both seem to be working
|
il y a 13 ans |
Ben Kurtovic
|
848ac58e7a
|
dramatically simplify error handling with !encrypt/!decrypt irc commands, thanks to previous commit
|
il y a 13 ans |
Ben Kurtovic
|
814c9efdce
|
nicer error message that actually tells us what's going on, thanks to the changes in lib.blowfish upstream (on develop)
|
il y a 13 ans |
Ben Kurtovic
|
2c7b684fa0
|
simplify exceptions into four classes instead of eight; make error messages more verbose
|
il y a 13 ans |
Ben Kurtovic
|
8e5af3dff8
|
import lib.blowfish in core.config and decrypt passwords correctly; Exception -> Error in custom config exception names
|
il y a 13 ans |
Ben Kurtovic
|
db0b125897
|
specify core/main.py as an absolute path, so we don't have to run 'python earwigbot.py' from within earwigbot/, but we can also do 'python /path/to/earwigbot.py'
|
il y a 13 ans |
Ben Kurtovic
|
d9dd0a8bd8
|
Merge branch 'feature/cryptography' into develop
|
il y a 13 ans |
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()
|
il y a 13 ans |
Ben Kurtovic
|
1e89d2a06f
|
new blowfish.py module, some changes in Cryptography(), LICENSE cleanup
|
il y a 13 ans |
Ben Kurtovic
|
02b8fbdd1b
|
ugh I am an idiot
|
il y a 13 ans |
Ben Kurtovic
|
369b60b823
|
adding Cryptography() IRC command class with hash functions via hashlib
|
il y a 13 ans |
Ben Kurtovic
|
94848ab0bc
|
wrap parse_config() to catch ConfigParseExceptions and report them to the user cleanly; some minor doc changes.
|
il y a 13 ans |
Ben Kurtovic
|
6869900b65
|
core/config.py can now parse the <irc> tag fully; added some new functions that I pulled out of parse_components(); added stubs for encrypting/decrypting passwords; nitpick in core/main.py
|
il y a 13 ans |
Ben Kurtovic
|
7c8d3a33ab
|
more config-parsing backbone work; parsing the <components> tag is functional; some other cleanup/changes
|
il y a 13 ans |
Ben Kurtovic
|
26e0058ca3
|
allow a default value for attribute_to_bool(); rework config.xml structure slightly
|
il y a 13 ans |
Ben Kurtovic
|
a568ec6777
|
lots of work on config.py, earwigbot.py, and main.py; TODO: actually parse config files; convert components to new config format; make_new_config()
|
il y a 13 ans |
Ben Kurtovic
|
c8add512f4
|
dropping config/ subdirectory in favor of a single config.xml file, located in the bot's root dir, with encrypted passwords instead of a secure.xml file
|
il y a 13 ans |
Ben Kurtovic
|
13cfffb5c0
|
making entire config/ folder ignored by git; there's no reason to track this bot-specific information
|
il y a 13 ans |
Ben Kurtovic
|
e105a8dd78
|
some stuff; nothing really substantial and probably doesn't work, but I wanted to get this out on paper
|
il y a 13 ans |
Ben Kurtovic
|
d3abfc3370
|
convert README to markdown (hopefully)
|
il y a 13 ans |
Ben Kurtovic
|
e96189593d
|
removed config check from earwigbot.py launcher
|
il y a 13 ans |
Ben Kurtovic
|
665ee391fb
|
deleted old config files and started from scratch with config/main.cfg and config/secure.cfg; the parser will be in core/config.py
|
il y a 13 ans |
Ben Kurtovic
|
9701638305
|
bugfix in branch names with .git checkout
|
il y a 13 ans |
Ben Kurtovic
|
14d7b62e11
|
sleep before joining and add a mode() function to Connection: thanks DeltaQuad
|
il y a 13 ans |
Ben Kurtovic
|
87d3e9a74a
|
more nitpicking
|
il y a 13 ans |
Ben Kurtovic
|
11fb9df87e
|
convert ident to str
|
il y a 13 ans |
Ben Kurtovic
|
07ce4a38f2
|
message cleanup
|
il y a 13 ans |
Ben Kurtovic
|
77f334d106
|
fix
|
il y a 13 ans |
Ben Kurtovic
|
7caa07b4d8
|
make task sleep for a bit so I can catch it when active
|
il y a 13 ans |
Ben Kurtovic
|
217ef360e1
|
hehe, I knew that
|
il y a 13 ans |
Ben Kurtovic
|
c9d161b2fc
|
ugh, fix
|
il y a 13 ans |
Ben Kurtovic
|
ea83a59372
|
give ids of active tasks with .tasks listall; give start time of threads with .tasks list; fix in task_manager.py
|
il y a 13 ans |
Ben Kurtovic
|
f403e13982
|
say New move: instead of New edit: when a move occurs
|
il y a 13 ans |
Ben Kurtovic
|
11a484c67b
|
improvements to .tasks listall and .tasks start; adding parse_kwargs() to Data
|
il y a 13 ans |
Ben Kurtovic
|
642428d15d
|
clarify that we're displaying idents here
|
il y a 13 ans |
Ben Kurtovic
|
0d0709624a
|
more tweaks
|
il y a 13 ans |
Ben Kurtovic
|
dd386e14fe
|
more tweaks
|
il y a 13 ans |
Ben Kurtovic
|
8095641145
|
try to make a prettier task list
|
il y a 13 ans |
Ben Kurtovic
|
e429c9270b
|
some careless errors, and giving command name in traceback
|
il y a 13 ans |
Ben Kurtovic
|
7f4d5a3320
|
derp
|
il y a 13 ans |
Ben Kurtovic
|
89ff934c59
|
new command to track task status and start new stasks, currently can only be used by bot owners
|
il y a 13 ans |
Ben Kurtovic
|
20ffe4b55a
|
hopefully catch command exceptions properly this time
|
il y a 13 ans |