Closed ghost closed 5 years ago
Deleting the extension data isn't an option, we can't throw out all the user data.
I'll find a way to handle this.
Updated. For updating the extension, disable the running installation, apply the changes and enable it again. The migration file will rename the module and modes. Tested the migration from 1.0.1 to 1.0.2 several times without any problems. It will also work if there is not a running installation (first install) and deleting all extension data will work after the migration too.
I have made some more changes and will leave the pr in this state.
I have some other ideas and can't say how or if they affect these changes and it is probably best to wait with any reviews until I have decided how to proceed.
Nothing will happen here in the near future.
Reopening, as I still plan to review and merge this once time permits.
Ok, good to know.
See https://github.com/OpenRA/openrauseraccounts/pull/39#issuecomment-443545899. This will be superseded by another PR.
A full rewrite of the ACP badges module with changes to the template and most language keys. The module info has also been changed which probably requires to delete the extension data to be safe. Otherwise the changes to the module info will break phpbb. We will have to repeat this for the foreseeable changes of the UCP module info too. Reason for the module info changes are foreseeable problems when adding more modules.
Notable changes in
badges_module.php
:modes
and switch overaction
for each. Define submits within the actions.SELECT COUNT(*)
queriesI restructured the code quite heavily so the diff is not really helpful I fear.