Changeset 138
- Timestamp:
- 06/07/08 14:59:49 (4 months ago)
- Files:
-
- trunk/antimatter/luke/gozerbot/generic.py (modified) (1 diff)
- trunk/antimatter/luke/gozerbot/generic.pyc (modified) (previous)
- trunk/antimatter/luke/gozerdata/config (modified) (1 diff)
- trunk/antimatter/luke/gozerdata/fleet (modified) (1 diff)
- trunk/antimatter/luke/gozerdata/main.userhosts (modified) (2 diffs)
- trunk/antimatter/luke/gozerdata/pluginsstate (modified) (1 diff)
- trunk/antimatter/luke/gozerdata/users (modified) (1 diff)
- trunk/antimatter/luke/gozerplugs/plugs/reload.py (modified) (1 diff)
- trunk/antimatter/luke/myplugs/libtracker/auth.py (modified) (1 diff)
- trunk/antimatter/luke/myplugs/libtracker/tracker.py (modified) (1 diff)
- trunk/antimatter/luke/myplugs/tracker.py (deleted)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/antimatter/luke/gozerbot/generic.py
r130 r138 928 928 if os.path.isdir(dirname + os.sep + i): 929 929 result.append(i) 930 # for j in os.listdir(dirname + os.sep + i): 931 # if j.endswith('.py'): 932 # if j != '__init__.py': 933 # result.append(i + os.sep + j[:-3]) 930 934 elif i.endswith('.py'): 931 935 result.append(i[:-3]) trunk/antimatter/luke/gozerdata/config
r130 r138 30 30 # if it doesn't match you will get an userhost denied message when you 31 31 # try to send commands to the bot 32 owneruserhost = ['Landon@ 208.83.233.64', 'bkuhn@sflc/staff/conservancy.president.bkuhn']32 owneruserhost = ['Landon@unaffiliated/landon', 'bkuhn@sflc/staff/conservancy.president.bkuhn'] 33 33 34 34 # the nick the bot tries to use, only used if no nick is set trunk/antimatter/luke/gozerdata/fleet
r130 r138 6 6 p3 7 7 a(lp4 8 S'Landon@ 208.83.233.64'8 S'Landon@unaffiliated/landon' 9 9 p5 10 10 aS'bkuhn@sflc/staff/conservancy.president.bkuhn' trunk/antimatter/luke/gozerdata/main.userhosts
r130 r138 1 1 (dp0 2 V cia-492 Vgozerbot 3 3 p1 4 V CIA@208.69.182.1494 Vgozerbot@gozerbot.org 5 5 p2 6 sVlandon_ 7 p3 8 VLandon@208.83.233.64 9 p4 6 10 sVchanserv 7 p 311 p5 8 12 VChanServ@services. 9 p 413 p6 10 14 sVgb51 11 p 515 p7 12 16 VLazyLuke@ip70-179-170-189.fv.ks.cox.net 13 p 617 p8 14 18 sVlandon 15 p 716 VLandon@ 208.83.233.6417 p 819 p9 20 VLandon@unaffiliated/landon 21 p10 18 22 sVoldtimbot 19 p 923 p11 20 24 VTimeTrac@ip70-179-170-189.fv.ks.cox.net 21 p1 025 p12 22 26 sVgb65 23 p1124 VLazyLuke@ip70-179-170-189.fv.ks.cox.net25 p1226 sVlazyluke27 27 p13 28 28 VLazyLuke@ip70-179-170-189.fv.ks.cox.net 29 29 p14 30 sVlazyluke 31 p15 32 VLazyLuke@ip70-179-170-189.fv.ks.cox.net 33 p16 30 34 sVsflc_log 31 p1 535 p17 32 36 VLogger@thurgood-marshall.sflc.info 33 p1634 sVisullivan35 p1736 Vsullivan@john-marshall.sflc.info37 37 p18 38 38 sVgb59 … … 40 40 VLazyLuke@ip70-179-170-189.fv.ks.cox.net 41 41 p20 42 sVdunkert` 43 p21 44 Vdunker@bla.gozerbot.org 45 p22 46 sVdunker 47 p23 48 Vbart@ip5657f74a.direct-adsl.nl 49 p24 42 50 sVbkuhn 43 p2 144 Vbkuhn@ atheist.ebb.org45 p2 251 p25 52 Vbkuhn@sflc/staff/conservancy.president.bkuhn 53 p26 46 54 sVdunk_ 47 p2 355 p27 48 56 Vdunker@bla.gozerbot.org 49 p2 450 sV landon_51 p2 557 p28 58 sVeclipsor 59 p29 52 60 VLandon@208.83.233.64 53 p26 61 p30 62 sVisullivan 63 p31 64 Vsullivan@john-marshall.sflc.info 65 p32 54 66 sV[omegentoox] 55 p 2767 p33 56 68 Vmharriso@c-71-192-101-221.hsd1.ma.comcast.net 57 p28 69 p34 70 sVbkuhn` 71 p35 72 Vbkuhn@john-marshall.sflc.info 73 p36 58 74 sVbkuhnidle 59 p 2975 p37 60 76 Vbkuhn@sflc/staff/conservancy.president.bkuhn 61 p3 077 p38 62 78 sVjrgarrison 63 p3 179 p39 64 80 Vjrgarris@sflc/staff/jrgarrison 65 p 3266 sV dunkert`67 p 3368 V dunker@bla.gozerbot.org69 p 3481 p40 82 sVcia-49 83 p41 84 VCIA@208.69.182.149 85 p42 70 86 s. trunk/antimatter/luke/gozerdata/pluginsstate
r130 r138 7 7 aVeval 8 8 p4 9 aV tracker9 aVdummy 10 10 p5 11 a Vdummy11 aS'auth' 12 12 p6 13 aS'tracker' 14 p7 13 15 as. trunk/antimatter/luke/gozerdata/users
r130 r138 49 49 aS'bkuhn@sflc/staff/conservancy.president.bkuhn' 50 50 p28 51 aS'Landon@unaffiliated/landon' 52 p29 51 53 asS'email' 52 p 2954 p30 53 55 g24 54 56 sS'permit' 55 p3 056 (lp3 157 p31 58 (lp32 57 59 sbag1 58 60 (g2 59 61 g3 60 Ntp3 261 Rp3 362 (dp3 462 Ntp33 63 Rp34 64 (dp35 63 65 S'status' 64 p3 565 (lp3 666 p36 67 (lp37 66 68 sS'userdata' 67 p37 68 (dp38 69 sS'allowed' 70 p39 71 (lp40 69 p38 70 (dp39 72 71 sS'name' 72 p40 73 S'dunk_' 73 74 p41 74 S'dunk_'75 sS'notallowed' 75 76 p42 76 sS'notallowed' 77 p43 78 (lp44 77 (lp43 79 78 sS'perms' 80 p4 581 (lp4 679 p44 80 (lp45 82 81 S'USER' 82 p46 83 asS'allowed' 83 84 p47 84 asS'userhosts' 85 p48 86 (lp49 85 (lp48 86 sS'tempuserhosts' 87 p49 88 (lp50 89 sS'passwd' 90 p51 91 g24 92 sS'userhosts' 93 p52 94 (lp53 87 95 Vdunker@bla.gozerbot.org 88 p50 89 asS'tempuserhosts' 90 p51 91 (lp52 92 sS'passwd' 93 p53 96 p54 97 asS'email' 98 p55 94 99 g24 95 100 sS'permit' 96 p5497 (lp5598 sS'email'99 101 p56 100 g24 102 (lp57 101 103 sbag1 102 104 (g2 103 105 g3 104 Ntp57 105 Rp58 106 (dp59 107 g35 108 (lp60 109 sg37 110 (dp61 111 sg39 112 (lp62 113 sg41 106 Ntp58 107 Rp59 108 (dp60 109 g36 110 (lp61 111 sg38 112 (dp62 113 sg40 114 114 S'[omegentoox]' 115 115 p63 116 sg4 3116 sg42 117 117 (lp64 118 sg4 5118 sg44 119 119 (lp65 120 g4 7121 asg4 8120 g46 121 asg47 122 122 (lp66 123 sg49 124 (lp67 125 sg51 126 g24 127 sg52 128 (lp68 123 129 Vmharriso@c-71-192-101-221.hsd1.ma.comcast.net 124 p67 125 asg51 126 (lp68 127 sg53 130 p69 131 asg55 128 132 g24 129 sg54130 (lp69131 133 sg56 132 g24 134 (lp70 133 135 sba. trunk/antimatter/luke/gozerplugs/plugs/reload.py
r130 r138 32 32 got = [] 33 33 base = 'myplugs' + os.sep + plug 34 if os.path.isfile(base + '.py') or os.path.isdir(base):34 if os.path.isfile(base + '.py'): 35 35 got = plugins.reload('myplugs', plug) 36 elif os.path.isdir(base): 37 my_import(base) 38 myplugs = my_import(base + '.__init__') 39 for p in myplugs.__all__: 40 got.extend(plugins.reload(base, p)) 36 41 else: 37 42 if config['dbenable']: trunk/antimatter/luke/myplugs/libtracker/auth.py
r137 r138 1 1 """ Simple user authentication script """ 2 from gozerbot.generic import waitforuser 3 2 from gozerbot.generic import waitforuser, rlog 4 3 def authenticate_name(bot, ievent): 5 4 """ Not authentication, just checks that the name exists """ 6 5 bot.say("Landon","Username?") 6 rlog(99,"Debug","Testing for auth reload") 7 7 username = waitforuser(bot, ievent.userhost, 30) 8 8 return username.txt trunk/antimatter/luke/myplugs/libtracker/tracker.py
r137 r138 5 5 6 6 def start_tracker(bot, ievent): 7 ievent.reply("whoo?")8 7 user = auth.authenticate_name(bot, ievent) 9 8 ievent.reply(user)