Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tools: Update imports to use new prosody.* namespace | Kim Alvefur | 2023-06-08 | 2 | -11/+18 |
| | |||||
* | Spelling: Fix various spelling mistakes (thanks timeless) | Kim Alvefur | 2022-03-07 | 1 | -2/+2 |
| | | | | | | Words, sometimes I wonder how they even work Maybe I missed something. | ||||
* | migrator: Support pubsub and pep as a special-case | Kim Alvefur | 2022-01-09 | 2 | -10/+25 |
| | | | | | This sorta overloads the type suffix but PEP is used for enough stuff to justify this hack | ||||
* | migrator: Enhance logging | Kim Alvefur | 2022-01-09 | 1 | -4/+11 |
| | |||||
* | migrator: Add option to keep going despite errors | Kim Alvefur | 2022-01-09 | 1 | -0/+14 |
| | |||||
* | migrator: Also migrate host/non-user archive data | Kim Alvefur | 2022-01-09 | 1 | -3/+2 |
| | | | | Needed for things like mod_http_file_share | ||||
* | migrator: Refactor out individual item migrator for code deduplication | Kim Alvefur | 2022-01-09 | 1 | -16/+18 |
| | |||||
* | migrator: Include --options in usage info | Kim Alvefur | 2022-01-09 | 1 | -1/+4 |
| | |||||
* | migrator: Reuse earlier usage text | Kim Alvefur | 2022-01-09 | 1 | -3/+7 |
| | |||||
* | migrator: Customise cli argument parsing (--help, --verbose) | Kim Alvefur | 2022-01-09 | 1 | -1/+8 |
| | | | | | Previously -v etc would do nothing and --config without argument would not have worked correctly. | ||||
* | migrator: Silence assert in core.moduleapi | Kim Alvefur | 2021-07-29 | 1 | -0/+4 |
| | | | | | The assert triggers because we're not loading the stanza route, because we are unlikely to need it during migration. | ||||
* | migrator: Use parsed command line flags already parsed by util.startup | Kim Alvefur | 2021-07-29 | 1 | -14/+1 |
| | |||||
* | 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 | ||||
* | 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 | ||||
* | 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. | ||||
* | 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 | ||||
* | | 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-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 | Matthew Wild | 2014-01-12 | 1 | -4/+8 |
|\| | |||||
| * | tools/migration/migrator/prosody_files: Fix undefined global access of ↵ | Waqas Hussain | 2014-01-03 | 1 | -4/+8 |
| | | | | | | | | ‘error’, print the actual error message and correct file path in the error message when we fail to load a file, skip broken files instead of failing migration. | ||||
* | | Remove all trailing whitespace | Florian Zeitz | 2013-08-09 | 2 | -2/+2 |
|/ | |||||
* | tools/migration/Makefile: Apply Lua runtime override (see 53f741a5a73a) | Kim Alvefur | 2013-03-31 | 1 | -1/+2 |
| | |||||
* | tools/migration/migrator/jabberd14: Use util.xml. | Waqas Hussain | 2012-12-03 | 1 | -50/+1 |
| | |||||
* | Eliminate direct setfenv usage | Florian Zeitz | 2012-06-08 | 2 | -14/+11 |
| | |||||
* | migrator/jabberd14: Minor refactoring. | Waqas Hussain | 2011-12-09 | 1 | -9/+6 |
| | |||||
* | migrator/jabberd14: Support for reading jabberd14 spool files. | Waqas Hussain | 2011-11-19 | 1 | -0/+194 |
| | |||||
* | migrator/prosody_sql.lua: Fix for compatibility with non-MySQL databases | Matthew Wild | 2011-06-05 | 1 | -1/+1 |
| | |||||
* | migrator/prosody_sql.lua: Create (and upgrade) MySQL tables to use ↵ | Matthew Wild | 2011-06-03 | 1 | -0/+18 |
| | | | | MEDIUMTEXT for the 'value' column to avoid truncation | ||||
* | migrator/prosody_files: Don't choke on empty data stores for a user (thanks ↵ | Matthew Wild | 2011-06-02 | 1 | -1/+6 |
| | | | | @eoranged) | ||||
* | tools/migration/migrator/prosody_sql.lua: Fix compatibility with PostgreSQL ↵ | Matthew Wild | 2011-04-11 | 1 | -1/+5 |
| | | | | (thanks Timo) | ||||
* | tools/migration/migrator/prosody_files.lua: Fix for previous commitvault/0.8.00.8.0 | Matthew Wild | 2011-04-05 | 1 | -1/+2 |
| | |||||
* | tools/migration/prosody-migrator.lua: Add messages to show when migration is ↵ | Matthew Wild | 2011-04-05 | 1 | -1/+2 |
| | | | | in progress |