Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | migrator: Trick net.server into thinking the config is loaded | Kim Alvefur | 2021-07-29 | 1 | -0/+1 |
| | | | | Fixes "Loading outside Prosody or Prosody not yet initialized" | ||||
* | migrator: Customise startup sequence to fix #1673 (Thanks acidsys) | Kim Alvefur | 2021-07-29 | 1 | -2/+19 |
| | | | | | | | | | | | | Diverge from util.startup.prosodyctl() in order to skip unneeded behavior, such as loading the *Prosody* config file, which we do not need here, based on the `--config` flag which should point at the migrator config file instead. Notably removed: * read_config() since this loads the Prosody config * check_unwriteable() which checks logfiles specified in the Prosody config, so not relevant * make_dummy_hosts() but the migrator sets up its own hosts during migration | ||||
* | tools/jabberd14sql2prosody: Tweak wording in comments | Kim Alvefur | 2021-07-13 | 1 | -2/+2 |
| | |||||
* | tools/xep227toprosody: Tweak wording in comments | Kim Alvefur | 2021-07-13 | 1 | -2/+2 |
| | |||||
* | tools/cfgdump: Serialize individual (table) settings in stable order too | Kim Alvefur | 2021-05-17 | 1 | -2/+9 |
| | |||||
* | tools/cfgdump: Iterate in sort order to give stable output | Kim Alvefur | 2021-05-17 | 1 | -5/+6 |
| | | | | | Should allow using this tool for comparing configs without hash table order messing things up. | ||||
* | tools.modtrace: Pass config to serialize() | Matthew Wild | 2020-10-30 | 1 | -1/+8 |
| | |||||
* | tools.modtrace: Library for tracing/debugging Lua module and method calls | Matthew Wild | 2020-10-30 | 1 | -0/+152 |
| | |||||
* | tools/form2table: Convert XEP-0004 dataform from XML to util.dataforms Lua ↵ | Kim Alvefur | 2020-10-28 | 1 | -0/+48 |
| | | | | | | format Used this to generate code for a number of PubSub forms IIRC | ||||
* | tools/linedebug: Print each line of source executed | Kim Alvefur | 2020-10-28 | 1 | -0/+18 |
| | | | | | The extremely verbose debug output. Nice for getting some idea which code runs most often, or where it pauses for no reason etc. | ||||
* | tools/cfgdump: Reads Prosody config file and pretty-prints it back out | Kim Alvefur | 2020-10-28 | 1 | -0/+120 |
| | | | | | | | | | Useful for comparing what you think you have in your config with what Prosody sees, e.g. wrt (lack of) significance of indentation, order of options vs scope etc. (global options do not go at the end!) Could probably be turned into a prosodyctl command, especially if it learns to redact secrets and passwords. | ||||
* | tools/tb2err: Formats Lua traceback in errors.err format | Kim Alvefur | 2020-10-28 | 1 | -0/+21 |
| | | | | | | | | | | | | Manually opening to the files and line numbers from a Lua traceback is tedious. This tool converts tracebacks into a format that many compilers and such tools use, which is also compatible with Vim (and possibly other editors). Thus if someone sends you a pastebin link with a traceback, a command like the following gets you right to the relevant lines: curl paste.example/abc123.txt | tb2err > errors.err; vim -q | ||||
* | migrator: Don't create unused directory | Kim Alvefur | 2020-04-19 | 1 | -1/+0 |
| | | | | I guess this contained the old per-store migrators | ||||
* | migrator: Inject data- and plugin paths during build | Kim Alvefur | 2020-04-19 | 1 | -1/+3 |
| | | | | Same way as with the prosody and prosodyctl executables | ||||
* | make_repo.lua: Moved to /tools/make_repo.lua | João Duarte | 2019-07-29 | 1 | -0/+44 |
| | |||||
* | migrator: Add support for archives (fixes #651) | Kim Alvefur | 2019-05-05 | 1 | -0/+6 |
| | |||||
* | migrator: Rewrite to use storage modules | Kim Alvefur | 2019-05-05 | 6 | -439/+142 |
| | | | | | This allows migrating to and from any storage module that supports the right methods. Based on experimental mod_migrate work. | ||||
* | tools: Add a tool to generate net.http.codes from IANA registry | Kim Alvefur | 2018-02-08 | 1 | -0/+43 |
| | |||||
* | Merge 0.10->trunk | Kim Alvefur | 2017-04-10 | 1 | -6/+6 |
|\ | |||||
| * | SQL: Use standard quotes for columns and other identifiers, rewrite to grave ↵ | Kim Alvefur | 2017-04-10 | 1 | -6/+6 |
| | | | | | | | | accents for MySQL only (fixes #885) | ||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-04-09 | 1 | -1/+1 |
|\| | |||||
| * | migration/prosody_sql: Commit transaction when all items have been processed | Kim Alvefur | 2017-04-08 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-04-08 | 2 | -80/+63 |
|\| | |||||
| * | migrator/prosody_sql: Abort and demand database be upgraded if it needs to ↵ | Kim Alvefur | 2017-04-07 | 1 | -1/+32 |
| | | | | | | | | be (#635) | ||||
| * | migrator.prosody_sql: Switch to util.sql (#635) | Kim Alvefur | 2017-04-07 | 1 | -73/+30 |
| | | |||||
| * | migrator: Remove broken distinction between a load error or a missing ↵ | Kim Alvefur | 2017-04-07 | 1 | -7/+2 |
| | | | | | | | | storage handler (worked with module()?) | ||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-02-15 | 1 | -8/+7 |
|\| | |||||
| * | migrator: Fix missing word | Kim Alvefur | 2017-02-15 | 1 | -1/+1 |
| | | |||||
| * | migrator: Fix argument parsing | Kim Alvefur | 2017-02-15 | 1 | -5/+4 |
| | | |||||
| * | migrator: Unexpand whitespace | Kim Alvefur | 2017-02-15 | 1 | -2/+2 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-02-04 | 5 | -25/+23 |
|\| | |||||
| * | tools/migration/migrator/*: Remove use of module() | Kim Alvefur | 2017-02-02 | 4 | -15/+22 |
| | | |||||
| * | migrator: Remove wrapper around envloadfile since envloadfile does the right ↵ | Kim Alvefur | 2017-02-02 | 1 | -10/+1 |
| | | | | | | | | thing in a compatible way | ||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-01-09 | 1 | -2/+2 |
|\| | |||||
| * | tools/erlparse: Remove use of deprecated module() function | Kim Alvefur | 2017-01-09 | 1 | -2/+2 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-08-18 | 1 | -28/+24 |
|\| | |||||
| * | ejabberdsql2prosody: rename variable 't' to prevent shadowing upvalues ↵ | Anton Shestakov | 2016-08-12 | 1 | -9/+9 |
| | | | | | | | | | | | | [luacheck] Let's make the result of parseFile() have a more descriptive name. | ||||
| * | ejabberdsql2prosody: rename variable 'host' to prevent shadowing upvalue ↵ | Anton Shestakov | 2016-08-12 | 1 | -15/+15 |
| | | | | | | | | | | | | | | | | | | | | | | [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 | ||||
| * | ejabberdsql2prosody: remove unused one-letter loop variables [luacheck] | Anton Shestakov | 2016-08-12 | 1 | -6/+6 |
| | | |||||
| * | ejabberdsql2prosody: remove unused function pushback() [luacheck] | Anton Shestakov | 2016-08-12 | 1 | -4/+0 |
| | | | | | | | | The same function seems to exist in tools/erlparse.lua, also unused. | ||||
* | | Update every link to the documentation to use HTTPS | Emmanuel Gil Peyrot | 2016-04-16 | 1 | -1/+1 |
|/ | |||||
* | Merge 0.9->0.10 | Kim Alvefur | 2015-09-25 | 1 | -3/+3 |
|\ | |||||
| * | xep227toprosody: Pass parser to callbacks (needed since addition of stanza ↵ | Kim Alvefur | 2015-09-18 | 1 | -3/+3 |
| | | | | | | | | size limits) | ||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2015-08-26 | 1 | -1/+16 |
|\| | |||||
| * | ejabberd2prosody: Support password stored as SCRAM hashes | Kim Alvefur | 2015-08-20 | 1 | -1/+16 |
| | | |||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2015-02-21 | 1 | -3/+3 |
|\| | |||||
| * | configure, Makefile: Add --libdir option to ./configure, allowing you to ↵ | Matthew Wild | 2015-02-20 | 1 | -3/+3 |
| | | | | | | | | override the $PREFIX/lib/ default. Fixes #470. | ||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2014-06-21 | 1 | -14/+13 |
|\| | |||||
| * | tools/ejabberd2prosody.lua: Fix JID building, node-less jids became ↵ | Kim Alvefur | 2014-06-17 | 1 | -14/+13 |
| | | | | | | | | @hostname in some cases | ||||
* | | Merge 0.9->0.10 | Kim Alvefur | 2014-04-23 | 1 | -1/+1 |
|\| |