Ben Kurtovic
|
a2ceb7a855
|
Update AFCStatus and Rights IRC commands per wikitools updates.
|
пре 13 година |
Ben Kurtovic
|
b290582dbf
|
added a bunch of new methods to User in wikitools; added one user-related exception to wikitools; moved .get_rights() call in IRC command !rights to .get_groups(), because get_rights() now returns actual rights (thanks to the API)
|
пре 13 година |
Ben Kurtovic
|
28cbbd7221
|
afcAFCStatus and Rights IRC commands now use wikitools
|
пре 13 година |
Ben Kurtovic
|
f81229a999
|
don't give a status report to ourselves when we join the AFC channel
|
пре 13 година |
Ben Kurtovic
|
5be9dea1d5
|
docstrings in Tasks command; make !task work with !tasks and !threads; make the afc_statistics task skeleton print kwargs in run() for testing
|
пре 13 година |
Ben Kurtovic
|
e6b3f4c616
|
tweaking aggregate algorithm to better match {{AFC status}}; cleanup and docstringing on methods
|
пре 13 година |
Ben Kurtovic
|
b6873cf992
|
missed a couple selfs
|
пре 13 година |
Ben Kurtovic
|
bbc5cc6e7c
|
adding a new command, !report, as AFCReport in irc/commands/afc_report.py
|
пре 13 година |
Ben Kurtovic
|
c44bc87b93
|
http://en.wikipedia.org/wiki/ -> http://enwp.org/
|
пре 13 година |
Ben Kurtovic
|
21e87d9d3c
|
in AFCStatus, use 'if x.y and x.z in [a, b, c]' instead of 'if x.y and (x.z == a or x.z == b or x.z ==c)'
|
пре 13 година |
Ben Kurtovic
|
e5ba64bef8
|
content -> message, oops
|
пре 13 година |
Ben Kurtovic
|
12c71675d3
|
adding a !remind command from old EarwigBot, which spawns a new thread that sleeps until its time is up, so impimplementing in !tasks list; {} -> {0}, etc in tasks.py for Python 2.6 support; stripping indentation on blank lines in tasks.py
|
пре 13 година |
Ben Kurtovic
|
413f6c840b
|
saying user is redundant - removing
|
пре 13 година |
Ben Kurtovic
|
b99a24fbbd
|
forgot that I need to insert a space when joining data.args; typo fix
|
пре 13 година |
Ben Kurtovic
|
ffe05d3463
|
adding a !rights command to get user rights/groups
|
пре 13 година |
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)
|
пре 13 година |
Ben Kurtovic
|
a06e35ecef
|
moving IRC class modules (base_command.py, connection.py, data.py, rc.py) to irc/classes/
|
пре 13 година |
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/
|
пре 13 година |
Ben Kurtovic
|
848ac58e7a
|
dramatically simplify error handling with !encrypt/!decrypt irc commands, thanks to previous commit
|
пре 13 година |
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()
|
пре 13 година |
Ben Kurtovic
|
1e89d2a06f
|
new blowfish.py module, some changes in Cryptography(), LICENSE cleanup
|
пре 13 година |
Ben Kurtovic
|
02b8fbdd1b
|
ugh I am an idiot
|
пре 13 година |
Ben Kurtovic
|
369b60b823
|
adding Cryptography() IRC command class with hash functions via hashlib
|
пре 13 година |
Ben Kurtovic
|
9701638305
|
bugfix in branch names with .git checkout
|
пре 13 година |
Ben Kurtovic
|
87d3e9a74a
|
more nitpicking
|
пре 13 година |
Ben Kurtovic
|
11fb9df87e
|
convert ident to str
|
пре 13 година |
Ben Kurtovic
|
07ce4a38f2
|
message cleanup
|
пре 13 година |
Ben Kurtovic
|
77f334d106
|
fix
|
пре 13 година |
Ben Kurtovic
|
ea83a59372
|
give ids of active tasks with .tasks listall; give start time of threads with .tasks list; fix in task_manager.py
|
пре 13 година |
Ben Kurtovic
|
11a484c67b
|
improvements to .tasks listall and .tasks start; adding parse_kwargs() to Data
|
пре 13 година |
Ben Kurtovic
|
642428d15d
|
clarify that we're displaying idents here
|
пре 13 година |
Ben Kurtovic
|
0d0709624a
|
more tweaks
|
пре 13 година |
Ben Kurtovic
|
dd386e14fe
|
more tweaks
|
пре 13 година |
Ben Kurtovic
|
8095641145
|
try to make a prettier task list
|
пре 13 година |
Ben Kurtovic
|
e429c9270b
|
some careless errors, and giving command name in traceback
|
пре 13 година |
Ben Kurtovic
|
7f4d5a3320
|
derp
|
пре 13 година |
Ben Kurtovic
|
89ff934c59
|
new command to track task status and start new stasks, currently can only be used by bot owners
|
пре 13 година |
Ben Kurtovic
|
83a5d04624
|
nicer syntax
|
пре 13 година |
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/
|
пре 13 година |
Ben Kurtovic
|
406bd73a44
|
make status one msg instead of two
|
пре 13 година |
Ben Kurtovic
|
32e20d1a2f
|
git is slightly more verbose now; comment fix for RC
|
пре 13 година |
Ben Kurtovic
|
b7a04ddb1b
|
argh
|
пре 13 година |
Ben Kurtovic
|
7cb6fb2b43
|
make git checkout print original branch in addition to new branch
|
пре 13 година |
Ben Kurtovic
|
2350ba9cef
|
config/irc_config.py -> config/irc.py; secure_config.py -> secure.py; update in files
|
пре 13 година |
Ben Kurtovic
|
23bb094acb
|
test fix in broken redirect status
|
пре 13 година |
Ben Kurtovic
|
e00202fccf
|
bugfix in afc_status
|
пре 13 година |
Ben Kurtovic
|
795c03a5ee
|
adding a calculator module, based on frink
|
пре 13 година |
Ben Kurtovic
|
93caf53cf9
|
colorrrrr
|
пре 13 година |
Ben Kurtovic
|
086a80d443
|
convert agg_num to int following .status agg <number>
|
пре 13 година |
Ben Kurtovic
|
1568b31846
|
KeyError -> IndexError (please shoot me now)
|
пре 13 година |