Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(upgrade): ajaxifies data directory migration #6733

Merged
merged 1 commit into from
Apr 17, 2014

Conversation

juho-jaakkola
Copy link
Member

This allows upgrade.php to complete more quickly by moving the user data directory migrations to a separate page with an ajax process.

Fixes #6202
Replaces #6336

Changes to Steve's original PR:

  • Uses the generic XHR upgrade view and js
  • Uses the ElggUpgrade object
  • Fixes a bug that made it upgrade only the first ten users
  • Rebased with latest master

@juho-jaakkola
Copy link
Member Author

I'll test all three XHR upgrades tomorrow with a clone of the community site.

@mrclay
Copy link
Member

mrclay commented Apr 16, 2014

LGTM

@ewinslow
Copy link
Contributor

Testing the upgrades on community would be awesome! Thanks!

}
$upgrade = new ElggUpgrade();
$upgrade->setURL("admin/upgrades/datadirs");
$upgrade->title = 'Data directory upgrade';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these be translatable?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not 100% sure, but apparently new translation strings aren't available at this point of the upgrade.

@ewinslow
Copy link
Contributor

Ship it!

This allows upgrade.php to complete more quickly by moving the
user data directory migrations to a separate page with an
ajax process.

Fixes Elgg#6202
juho-jaakkola pushed a commit that referenced this pull request Apr 17, 2014
perf(upgrade): ajaxifies data directory migration
@juho-jaakkola juho-jaakkola merged commit fce2631 into Elgg:master Apr 17, 2014
@juho-jaakkola juho-jaakkola deleted the datadir_migration_6202 branch August 26, 2014 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants