Software /
code /
verse
Comparison
squishy @ 233:b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 27 Nov 2011 21:40:42 +0000 |
parent | 227:31019cb93d59 |
child | 238:9b6fca5d9a02 |
comparison
equal
deleted
inserted
replaced
232:5b49de3aa0f3 | 233:b5fd3292bdbd |
---|---|
27 Module "util.dataforms" "util/dataforms.lua" | 27 Module "util.dataforms" "util/dataforms.lua" |
28 Module "util.caps" "util/caps.lua" | 28 Module "util.caps" "util/caps.lua" |
29 Module "util.vcard" "util/vcard.lua" | 29 Module "util.vcard" "util/vcard.lua" |
30 | 30 |
31 -- Verse plugins | 31 -- Verse plugins |
32 local function Plugin(name) | 32 plugins = { |
33 Module("verse.plugins."..name)("plugins/"..name..".lua") | 33 -- Login |
34 "tls", "sasl", "bind", "session", "legacy", "compression"; | |
35 -- Reliability | |
36 "smacks", "keepalive"; | |
37 -- Queries | |
38 "disco", "version", "ping", "uptime"; | |
39 -- Privacy control | |
40 "blocking"; | |
41 -- Jingle / file transfer | |
42 "jingle", "jingle_ft", "jingle_s5b", "proxy65", "jingle_ibb"; | |
43 -- Pubsub | |
44 "pubsub", "pep"; | |
45 -- Command and control | |
46 "adhoc"; | |
47 -- Basics | |
48 "presence", "private", "roster", "register"; | |
49 -- MUC | |
50 "groupchat"; | |
51 -- vCard | |
52 "vcard", "vcard_update"; | |
53 -- Carbons | |
54 "carbons"; | |
55 } | |
56 | |
57 for _, plugin in ipairs(plugins) do | |
58 Module("verse.plugins."..plugin)("plugins/"..plugin..".lua") | |
34 end | 59 end |
35 Plugin "tls" | 60 |
36 Plugin "sasl" | |
37 Plugin "bind" | |
38 Plugin "legacy" | |
39 Plugin "pubsub" | |
40 Plugin "version" | |
41 Plugin "ping" | |
42 Plugin "session" | |
43 Plugin "compression" | |
44 Plugin "blocking" | |
45 Plugin "proxy65" | |
46 Plugin "jingle" | |
47 Plugin "jingle_ft" | |
48 Plugin "jingle_s5b" | |
49 Plugin "jingle_ibb" | |
50 Plugin "presence" | |
51 Plugin "disco" | |
52 Plugin "pep" | |
53 Plugin "adhoc" | |
54 Plugin "private" | |
55 Plugin "groupchat" | |
56 Plugin "uptime" | |
57 Plugin "smacks" | |
58 Plugin "keepalive" | |
59 Plugin "roster" | |
60 Plugin "vcard" | |
61 Plugin "vcard_update" | |
62 Plugin "carbons" | |
63 | |
64 Module "net.httpclient_listener" "net/httpclient_listener.lua" | 61 Module "net.httpclient_listener" "net/httpclient_listener.lua" |
65 Module "net.connlisteners" "net/connlisteners.lua" | 62 Module "net.connlisteners" "net/connlisteners.lua" |
66 Module "util.httpstream" "util/httpstream.lua" | 63 Module "util.httpstream" "util/httpstream.lua" |
67 Module "net.http" "net/http.lua" | 64 Module "net.http" "net/http.lua" |
68 | 65 |