Kim Alvefur
1541284108
tools: Update imports to use new prosody.* namespace
2023-06-08 09:37:01 +02:00
Anton Shestakov
9129ea5b4c
ejabberdsql2prosody: rename variable 't' to prevent shadowing upvalues [luacheck]
...
Let's make the result of parseFile() have a more descriptive name.
2016-08-12 13:51:38 +08:00
Anton Shestakov
41c7847806
ejabberdsql2prosody: rename variable 'host' to prevent shadowing upvalue [luacheck]
...
Functions roster(), roster_pending(), roster_group(), private_storage() and
offline_msg() have argument named "host", which used to shadow upvalue of this
variable before this change. Instead of renaming this argument, let's rename
the variable to match what the script says in usage:
Usage: ejabberdsql2prosody.lua filename.txt hostname
2016-08-12 13:44:47 +08:00
Anton Shestakov
b6969ffbeb
ejabberdsql2prosody: remove unused one-letter loop variables [luacheck]
2016-08-12 13:31:16 +08:00
Anton Shestakov
0bbcab4e51
ejabberdsql2prosody: remove unused function pushback() [luacheck]
...
The same function seems to exist in tools/erlparse.lua, also unused.
2016-08-12 13:29:27 +08:00
Matthew Wild
996847e180
Merge 0.9->0.10
2014-01-18 18:46:12 +00:00
Waqas Hussain
0adfe40738
tools/ejabberdsql2prosody: Skip invalid XML in data, and print out errors.
2014-01-16 14:03:27 -05:00
Florian Zeitz
1d833bb807
Remove all trailing whitespace
2013-08-09 17:48:21 +02:00
Vadim Misbakh-Soloviov
ceff8cb313
package{,c}path fixes for migration tools
2013-06-14 15:15:05 +07:00
Vadim Misbakh-Soloviov
5554e15437
package{,c}path fixes for migration tools
2013-06-14 15:15:05 +07:00
Waqas Hussain
60d77168d0
tools/ejabberdsql2prosody: Use util.xml.
2012-12-03 05:34:46 +05:00
Waqas Hussain
84090686e4
tools/ejabberdsql2prosody: Handle INSERT statement form where column list is specified (by skipping the column list).
2012-02-05 00:10:13 +05:00
Matthew Wild
662e7a289f
tools/ejabberdsql2prosody: Track current line for error reporting
2011-09-20 23:30:58 +01:00
Waqas Hussain
1df82fb6a9
ejabberdsql2prosody: Added a global 'prosody' table to fix a traceback.
2010-10-20 03:57:47 +05:00
Matthew Wild
2bc0606453
Update copyright headers for 2010
2010-03-22 17:06:15 +00:00
Matthew Wild
1d6033d805
ejabberdsql2prosody: Don't print password of imported accounts (thanks azerttyu)
2010-02-21 16:42:26 +00:00
Waqas Hussain
f0887b0864
ejabberdsql2prosody: Removed unnecessary stanza reserialization for private storage
2009-08-08 23:23:21 +05:00
Waqas Hussain
0eeeba2863
ejabberdsql2prosody: Added support for offline messages
2009-08-08 23:17:32 +05:00
Waqas Hussain
5e6b8cabbe
ejabberdsql2prosody: Fix access of undefined global
2009-08-08 21:10:25 +05:00
Waqas Hussain
21801b6bf4
ejabberdsql2prosody: Added support for Private XML Storage
2009-08-02 14:40:34 +05:00
Waqas Hussain
f964308d22
ejabberdsql2prosody: Added support for vCards
2009-08-02 14:35:41 +05:00
Waqas Hussain
1016cb7d48
ejabberdsql2prosody: Added an XML parser
2009-08-02 14:35:03 +05:00
Waqas Hussain
39e1b4b1df
ejabberdsql2prosody: Allow for multiple INSERTs to the same table
2009-07-28 05:33:51 +05:00
Waqas Hussain
d6f3ce748b
ejabberdsql2prosody: Fixed a nil global access error
2009-07-26 18:22:10 +05:00
Waqas Hussain
89fb5fa885
ejabberdsql2prosody: Add support for rosterusers.ask == "B" (both pending in and out subscriptions)
2009-07-26 18:17:54 +05:00
Waqas Hussain
ea959556cf
ejabberdsql2prosody: Fix typo, and improve the warning message
2009-07-26 18:12:32 +05:00
Waqas Hussain
7dfd0a1012
ejabberdsql2prosody: Display a warning if a row has more columns than expected
2009-07-26 18:05:05 +05:00
Waqas Hussain
3582b62a76
ejabberdsql2prosody: Added support for all mysql escape sequences
2009-07-26 17:51:36 +05:00
Waqas Hussain
b46f068a87
ejabberdsql2prosody: Added support for the escape sequence '\\' in strings
2009-07-26 17:29:56 +05:00
Waqas Hussain
9e6182bb11
ejabberdsql2prosody: Fixed: 'ask' value should be nil for pending-in subscriptions
2009-07-26 15:36:06 +05:00
Waqas Hussain
8bba19d620
ejabberdsql2prosody: Fixed: pending-in subscriptions could halt processing
2009-07-26 15:28:04 +05:00
Waqas Hussain
33fa4514f4
ejabberdsql2prosody: Added support for rosters
2009-07-26 00:32:51 +05:00
Waqas Hussain
b481cd3ad7
ejabberdsql2prosody: Added a second required command line parameter: hostname
2009-07-25 23:40:33 +05:00
Waqas Hussain
e999fe7984
ejabberdsql2prosody: Improved help message
2009-07-25 23:37:52 +05:00
Waqas Hussain
e13e4b98ef
ejabberdsql2prosody: Initial commit
...
- full parser
- only exports account data at the moment
2009-07-25 23:19:39 +05:00