Commit Graph

43 Commits (bc3d454dd6f46292f08f4f724203de22a85800ca)

Author SHA1 Message Date
Kim Alvefur 1796c07956 SQL: Use standard quotes for columns and other identifiers, rewrite to grave accents for MySQL only (fixes #885) 9 years ago
Kim Alvefur 1146267e9c migration/prosody_sql: Commit transaction when all items have been processed 9 years ago
Kim Alvefur f345e640e5 migrator/prosody_sql: Abort and demand database be upgraded if it needs to be (#635) 9 years ago
Kim Alvefur 5192599730 migrator.prosody_sql: Switch to util.sql (#635) 9 years ago
Kim Alvefur fd4b07e6dd migrator: Remove broken distinction between a load error or a missing storage handler (worked with module()?) 9 years ago
Kim Alvefur 49ae1e60fd migrator: Fix missing word 9 years ago
Kim Alvefur 374f61a26b migrator: Fix argument parsing 9 years ago
Kim Alvefur 03eeb56d06 migrator: Unexpand whitespace 9 years ago
Kim Alvefur 04c82ce1bc tools/migration/migrator/*: Remove use of module() 9 years ago
Kim Alvefur 429bf04ce4 migrator: Remove wrapper around envloadfile since envloadfile does the right thing in a compatible way 9 years ago
Emmanuel Gil Peyrot bbf1653e04 Update every link to the documentation to use HTTPS 10 years ago
Matthew Wild 3425d38067 configure, Makefile: Add --libdir option to ./configure, allowing you to override the $PREFIX/lib/ default. Fixes #470. 11 years ago
Waqas Hussain 6ca55e2bdd tools/migration/migrator/prosody_files: Fix undefined global access of ?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. 12 years ago
Florian Zeitz 4b618a8727 Remove all trailing whitespace 13 years ago
Kim Alvefur b9c102c4b5 tools/migration/Makefile: Apply Lua runtime override (see 53f741a5a73a) 13 years ago
Waqas Hussain 83c822db8f tools/migration/migrator/jabberd14: Use util.xml. 13 years ago
Florian Zeitz 40ea2230d1 Eliminate direct setfenv usage 14 years ago
Waqas Hussain 7f60996cff migrator/jabberd14: Minor refactoring. 14 years ago
Waqas Hussain 54aa5182e9 migrator/jabberd14: Support for reading jabberd14 spool files. 14 years ago
Matthew Wild 27bc9300b8 migrator/prosody_sql.lua: Create (and upgrade) MySQL tables to use MEDIUMTEXT for the 'value' column to avoid truncation 15 years ago
Matthew Wild aded9653e0 migrator/prosody_files: Don't choke on empty data stores for a user (thanks @eoranged) 15 years ago
Matthew Wild 32c5970584 tools/migration/migrator/prosody_sql.lua: Fix compatibility with PostgreSQL (thanks Timo) 15 years ago
Matthew Wild f9191fdb2c tools/migration/migrator/prosody_files.lua: Fix for previous commit 15 years ago
Matthew Wild 747f5e7ccf tools/migration/prosody-migrator.lua: Add messages to show when migration is in progress 15 years ago
Matthew Wild 667fc392e9 tools/migration: Support for ~/ in paths 15 years ago
Matthew Wild 0e4599d1b5 tools/migration/prosody-migrator.lua: Refactor store handler loading to report errors they throw 15 years ago
Matthew Wild cef7f598c0 tools/migration/migrator/prosody_sql: Throw a friendlier error when LuaDBI is not found 15 years ago
Matthew Wild 1f049ed80d tools/migration: Rename main.lua -> prosody-migrator.lua and update the Makefile 15 years ago
Matthew Wild 2c97611fed migrator/prosody_sql.lua: Fix for compatibility with non-MySQL databases 15 years ago
Matthew Wild ceffa60caf tools/migration/Makefile: Don't install main.lua (we already install it as prosody-migrator) (thanks Enrico) 15 years ago
Matthew Wild 2b4811c843 tools/migration/*: Numerous changes and restructuring, and the addition of a Makefile 15 years ago
Matthew Wild 35a339b1d3 tools/migration/*.lua: Rename config to migrator.cfg.lua, add error handling for config and command-line parameters 15 years ago
Matthew Wild 103f240572 tools/migration/*.lua: Rename config to migrator.cfg.lua, add error handling for config and command-line parameters 15 years ago
Matthew Wild 7c054e5160 tools/migration/main.lua: Add command-line parsing, including --config=CONFIG_FILE, and the ability to specify to/from stores to migrate 15 years ago
Matthew Wild f3bd60789e tools/migration/main.lua: Add command-line parsing, including --config=CONFIG_FILE, and the ability to specify to/from stores to migrate 15 years ago
Matthew Wild a33886bcb1 tools/migration/config.lua: Minor fixes for more sensible defaults 15 years ago
Matthew Wild f17b62707f tools/migration/config.lua: Minor fixes for more sensible defaults 15 years ago
Matthew Wild bbb6356dd9 tools/migration/*.lua: Convert to unix line endings 15 years ago
Matthew Wild ba01859e1c tools/migration/*.lua: Convert to unix line endings 15 years ago
Waqas Hussain e5196d4395 tools/migration/*: Initial commit of a new migration tool. Currently supports Prosody files and Prosody SQL as input and output. 15 years ago
Waqas Hussain 0a2b87128f tools/migration/*: Initial commit of a new migration tool. Currently supports Prosody files and Prosody SQL as input and output. 15 years ago