Ben Kurtovic
|
8e5af3dff8
|
import lib.blowfish in core.config and decrypt passwords correctly; Exception -> Error in custom config exception names
|
há 13 anos |
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'
|
há 13 anos |
Ben Kurtovic
|
94848ab0bc
|
wrap parse_config() to catch ConfigParseExceptions and report them to the user cleanly; some minor doc changes.
|
há 13 anos |
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
|
há 13 anos |
Ben Kurtovic
|
7c8d3a33ab
|
more config-parsing backbone work; parsing the <components> tag is functional; some other cleanup/changes
|
há 13 anos |
Ben Kurtovic
|
26e0058ca3
|
allow a default value for attribute_to_bool(); rework config.xml structure slightly
|
há 13 anos |
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()
|
há 13 anos |
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
|
há 13 anos |
Ben Kurtovic
|
13cfffb5c0
|
making entire config/ folder ignored by git; there's no reason to track this bot-specific information
|
há 13 anos |
Ben Kurtovic
|
e105a8dd78
|
some stuff; nothing really substantial and probably doesn't work, but I wanted to get this out on paper
|
há 13 anos |
Ben Kurtovic
|
e96189593d
|
removed config check from earwigbot.py launcher
|
há 13 anos |
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
|
há 13 anos |
Ben Kurtovic
|
14d7b62e11
|
sleep before joining and add a mode() function to Connection: thanks DeltaQuad
|
há 13 anos |
Ben Kurtovic
|
87d3e9a74a
|
more nitpicking
|
há 13 anos |
Ben Kurtovic
|
11fb9df87e
|
convert ident to str
|
há 13 anos |
Ben Kurtovic
|
07ce4a38f2
|
message cleanup
|
há 13 anos |
Ben Kurtovic
|
77f334d106
|
fix
|
há 13 anos |
Ben Kurtovic
|
7caa07b4d8
|
make task sleep for a bit so I can catch it when active
|
há 13 anos |
Ben Kurtovic
|
217ef360e1
|
hehe, I knew that
|
há 13 anos |
Ben Kurtovic
|
c9d161b2fc
|
ugh, fix
|
há 13 anos |
Ben Kurtovic
|
ea83a59372
|
give ids of active tasks with .tasks listall; give start time of threads with .tasks list; fix in task_manager.py
|
há 13 anos |
Ben Kurtovic
|
f403e13982
|
say New move: instead of New edit: when a move occurs
|
há 13 anos |
Ben Kurtovic
|
11a484c67b
|
improvements to .tasks listall and .tasks start; adding parse_kwargs() to Data
|
há 13 anos |
Ben Kurtovic
|
642428d15d
|
clarify that we're displaying idents here
|
há 13 anos |
Ben Kurtovic
|
0d0709624a
|
more tweaks
|
há 13 anos |
Ben Kurtovic
|
dd386e14fe
|
more tweaks
|
há 13 anos |
Ben Kurtovic
|
8095641145
|
try to make a prettier task list
|
há 13 anos |
Ben Kurtovic
|
e429c9270b
|
some careless errors, and giving command name in traceback
|
há 13 anos |
Ben Kurtovic
|
7f4d5a3320
|
derp
|
há 13 anos |
Ben Kurtovic
|
89ff934c59
|
new command to track task status and start new stasks, currently can only be used by bot owners
|
há 13 anos |
Ben Kurtovic
|
20ffe4b55a
|
hopefully catch command exceptions properly this time
|
há 13 anos |
Ben Kurtovic
|
83a5d04624
|
nicer syntax
|
há 13 anos |
Ben Kurtovic
|
17f798c8fd
|
fix
|
há 13 anos |
Ben Kurtovic
|
655fe78312
|
creating backbone for wiki-editing tasks: they can be spawned on a cron-like schedule with config/schedule.py, in response to certain edits in config/watcher.py, or through IRC (not implemented yet - I'll need to figure out permissions); task files are in wiki/tasks/, and the wiki-editing tools (think very simplified pywikipedia) will be in wiki/tools/
|
há 13 anos |
Ben Kurtovic
|
406bd73a44
|
make status one msg instead of two
|
há 13 anos |
Ben Kurtovic
|
32e20d1a2f
|
git is slightly more verbose now; comment fix for RC
|
há 13 anos |
Ben Kurtovic
|
4614352701
|
fix self
|
há 13 anos |
Ben Kurtovic
|
e6c98ac30b
|
work in RC class: adding (somewhat basic) color to get_pretty, some other minor changes
|
há 13 anos |
Ben Kurtovic
|
b7a04ddb1b
|
argh
|
há 13 anos |
Ben Kurtovic
|
acfbca3b1f
|
ugh *headdesk*
|
há 13 anos |
Ben Kurtovic
|
b5ce2fa675
|
moving watcher rules to their own file in config/ so bot is easier to customize
|
há 13 anos |
Ben Kurtovic
|
934cbba21d
|
ignore pydev's hidden files
|
há 13 anos |
Ben Kurtovic
|
7cb6fb2b43
|
make git checkout print original branch in addition to new branch
|
há 13 anos |
Ben Kurtovic
|
2350ba9cef
|
config/irc_config.py -> config/irc.py; secure_config.py -> secure.py; update in files
|
há 13 anos |
Ben Kurtovic
|
23bb094acb
|
test fix in broken redirect status
|
há 13 anos |
Ben Kurtovic
|
e00202fccf
|
bugfix in afc_status
|
há 13 anos |
Ben Kurtovic
|
795c03a5ee
|
adding a calculator module, based on frink
|
há 13 anos |
Ben Kurtovic
|
93caf53cf9
|
colorrrrr
|
há 13 anos |
Ben Kurtovic
|
086a80d443
|
convert agg_num to int following .status agg <number>
|
há 13 anos |
Ben Kurtovic
|
1568b31846
|
KeyError -> IndexError (please shoot me now)
|
há 13 anos |