Software /
code /
verse
Annotate
squishy @ 293:65fb9ae79014
plugins.archive: Import util.stanza directly and use it
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 20 Apr 2012 00:33:46 +0200 |
parent | 278:6f58f6f3986d |
child | 299:a86d83ad1fea |
rev | line source |
---|---|
26 | 1 Output "verse.lua" |
0 | 2 |
3 -- Verse-specific versions of libraries | |
4 Module "util.encodings" "libs/encodings.lua" | |
131
1c30dd51ca6b
squishy: Add util.hashes [libs/hashes.lua]
Matthew Wild <mwild1@gmail.com>
parents:
123
diff
changeset
|
5 Module "util.hashes" "libs/hashes.lua" |
136
3a85c62f544c
squishy: Re-organise and add net.dns, net.adns and util.ztact
Matthew Wild <mwild1@gmail.com>
parents:
134
diff
changeset
|
6 Module "util.sha1" "util/sha1.lua" |
3a85c62f544c
squishy: Re-organise and add net.dns, net.adns and util.ztact
Matthew Wild <mwild1@gmail.com>
parents:
134
diff
changeset
|
7 Module "lib.adhoc" "libs/adhoc.lib.lua" |
0 | 8 |
9 -- Prosody libraries | |
158
068176069dfa
squishy: Add --prosody option to specify a path to a Prosody checkout to use when squishing
Matthew Wild <mwild1@gmail.com>
parents:
157
diff
changeset
|
10 if not GetOption("prosody") then |
068176069dfa
squishy: Add --prosody option to specify a path to a Prosody checkout to use when squishing
Matthew Wild <mwild1@gmail.com>
parents:
157
diff
changeset
|
11 AutoFetchURL "http://prosody.im/tip/?" |
068176069dfa
squishy: Add --prosody option to specify a path to a Prosody checkout to use when squishing
Matthew Wild <mwild1@gmail.com>
parents:
157
diff
changeset
|
12 else |
068176069dfa
squishy: Add --prosody option to specify a path to a Prosody checkout to use when squishing
Matthew Wild <mwild1@gmail.com>
parents:
157
diff
changeset
|
13 AutoFetchURL(GetOption("prosody").."/?") |
068176069dfa
squishy: Add --prosody option to specify a path to a Prosody checkout to use when squishing
Matthew Wild <mwild1@gmail.com>
parents:
157
diff
changeset
|
14 end |
0 | 15 |
16 Module "util.stanza" "util/stanza.lua" | |
18 | 17 Module "util.timer" "util/timer.lua" |
0 | 18 Module "util.termcolours" "util/termcolours.lua" |
24
db0ed736785a
squishy: Add util.uuid dependency
Matthew Wild <mwild1@gmail.com>
parents:
19
diff
changeset
|
19 Module "util.uuid" "util/uuid.lua" |
136
3a85c62f544c
squishy: Re-organise and add net.dns, net.adns and util.ztact
Matthew Wild <mwild1@gmail.com>
parents:
134
diff
changeset
|
20 Module "net.dns" "net/dns.lua" |
3a85c62f544c
squishy: Re-organise and add net.dns, net.adns and util.ztact
Matthew Wild <mwild1@gmail.com>
parents:
134
diff
changeset
|
21 Module "net.adns" "net/adns.lua" |
30
9c96318913f7
Revert module names throughout to their Prosody equivalents
Matthew Wild <mwild1@gmail.com>
parents:
26
diff
changeset
|
22 Module "net.server" "net/server_select.lua" |
161
b177bcea2006
squishy, verse.client, verse.component, verse.bosh: Port to util.xmppstream instead of xmlhandlers which has been removed from Prosody. Also remove util.ztact from squishy for the same reason.
Matthew Wild <mwild1@gmail.com>
parents:
158
diff
changeset
|
23 Module "util.xmppstream" "util/xmppstream.lua" |
30
9c96318913f7
Revert module names throughout to their Prosody equivalents
Matthew Wild <mwild1@gmail.com>
parents:
26
diff
changeset
|
24 Module "util.jid" "util/jid.lua" |
9c96318913f7
Revert module names throughout to their Prosody equivalents
Matthew Wild <mwild1@gmail.com>
parents:
26
diff
changeset
|
25 Module "util.events" "util/events.lua" |
123
8a079aa70b84
util.dataforms, squishy: Add util.dataforms library
Matthew Wild <mwild1@gmail.com>
parents:
116
diff
changeset
|
26 Module "util.dataforms" "util/dataforms.lua" |
214
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
27 Module "util.caps" "util/caps.lua" |
227
31019cb93d59
util.vcard: Add util for converting vCard3 to/from XEP 54
Kim Alvefur <zash@zash.se>
parents:
225
diff
changeset
|
28 Module "util.vcard" "util/vcard.lua" |
238
9b6fca5d9a02
verse, squishy: Port to Prosody's util.logger. Adds new function, verse.set_log_handler(handler, levels).
Matthew Wild <mwild1@gmail.com>
parents:
233
diff
changeset
|
29 Module "util.logger" "util/logger.lua" |
278 | 30 Module "util.datetime" "util/datetime.lua" |
116
151c8cc776df
verse.plugins.adhoc: XEP-0050 Ad-hoc commands plugin
Matthew Wild <mwild1@gmail.com>
parents:
114
diff
changeset
|
31 |
14 | 32 -- Verse plugins |
233
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
33 plugins = { |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
34 -- Login |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
35 "tls", "sasl", "bind", "session", "legacy", "compression"; |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
36 -- Reliability |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
37 "smacks", "keepalive"; |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
38 -- Queries |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
39 "disco", "version", "ping", "uptime"; |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
40 -- Privacy control |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
41 "blocking"; |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
42 -- Jingle / file transfer |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
43 "jingle", "jingle_ft", "jingle_s5b", "proxy65", "jingle_ibb"; |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
44 -- Pubsub |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
45 "pubsub", "pep"; |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
46 -- Command and control |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
47 "adhoc"; |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
48 -- Basics |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
49 "presence", "private", "roster", "register"; |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
50 -- MUC |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
51 "groupchat"; |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
52 -- vCard |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
53 "vcard", "vcard_update"; |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
54 -- Carbons |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
55 "carbons"; |
273
c5b7a4c717a6
plugins.archive: Experimental implementation of the Message Archive Management ProtoXEP
Kim Alvefur <zash@zash.se>
parents:
238
diff
changeset
|
56 |
c5b7a4c717a6
plugins.archive: Experimental implementation of the Message Archive Management ProtoXEP
Kim Alvefur <zash@zash.se>
parents:
238
diff
changeset
|
57 "archive"; |
233
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
58 } |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
59 |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
60 for _, plugin in ipairs(plugins) do |
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
61 Module("verse.plugins."..plugin)("plugins/"..plugin..".lua") |
214
78ae20c875cd
squishy: Add a convenience function for plugins
Kim Alvefur <zash@zash.se>
parents:
208
diff
changeset
|
62 end |
233
b5fd3292bdbd
squishy: Rewrite in an attempt to curb the unbounded growth of the plugin list
Matthew Wild <mwild1@gmail.com>
parents:
227
diff
changeset
|
63 |
157
7c47e5639c00
squishy: Add util.httpstream. Now also squishes bosh by default
Matthew Wild <mwild1@gmail.com>
parents:
156
diff
changeset
|
64 Module "net.httpclient_listener" "net/httpclient_listener.lua" |
7c47e5639c00
squishy: Add util.httpstream. Now also squishes bosh by default
Matthew Wild <mwild1@gmail.com>
parents:
156
diff
changeset
|
65 Module "net.connlisteners" "net/connlisteners.lua" |
7c47e5639c00
squishy: Add util.httpstream. Now also squishes bosh by default
Matthew Wild <mwild1@gmail.com>
parents:
156
diff
changeset
|
66 Module "util.httpstream" "util/httpstream.lua" |
7c47e5639c00
squishy: Add util.httpstream. Now also squishes bosh by default
Matthew Wild <mwild1@gmail.com>
parents:
156
diff
changeset
|
67 Module "net.http" "net/http.lua" |
90
aa0b78053cec
squishy: Add --with-bosh option to squish with verse.bosh and necessarylibraries
Matthew Wild <mwild1@gmail.com>
parents:
80
diff
changeset
|
68 |
157
7c47e5639c00
squishy: Add util.httpstream. Now also squishes bosh by default
Matthew Wild <mwild1@gmail.com>
parents:
156
diff
changeset
|
69 Module "verse.bosh" "bosh.lua" |
90
aa0b78053cec
squishy: Add --with-bosh option to squish with verse.bosh and necessarylibraries
Matthew Wild <mwild1@gmail.com>
parents:
80
diff
changeset
|
70 |
134
2101acbb27c4
squishy: Use --internal-bit-module to squish with the pure-Lua bit library
Matthew Wild <mwild1@gmail.com>
parents:
131
diff
changeset
|
71 if GetOption "internal-bit-module" then |
2101acbb27c4
squishy: Use --internal-bit-module to squish with the pure-Lua bit library
Matthew Wild <mwild1@gmail.com>
parents:
131
diff
changeset
|
72 Module "bit" "libs/bit.lua" |
2101acbb27c4
squishy: Use --internal-bit-module to squish with the pure-Lua bit library
Matthew Wild <mwild1@gmail.com>
parents:
131
diff
changeset
|
73 end |
2101acbb27c4
squishy: Use --internal-bit-module to squish with the pure-Lua bit library
Matthew Wild <mwild1@gmail.com>
parents:
131
diff
changeset
|
74 |
26 | 75 Module "verse.client" "client.lua" |
138
35971523c8fc
squishy: Add verse.component
Matthew Wild <mwild1@gmail.com>
parents:
136
diff
changeset
|
76 Module "verse.component" "component.lua" |
0 | 77 |
78 -- Main verse file | |
79 Main "init.lua" |