summaryrefslogtreecommitdiff
path: root/modules/g2_import/helpers/g2_import_task.php
AgeCommit message (Collapse)Author
2013-01-21Update copyright to 2013. Fixes #1953.Bharat Mediratta
2012-02-27Update copyright to 2012. #1822Bharat Mediratta
2011-04-24Refactor the meat of g2_import::import_album() off into a separateBharat Mediratta
function so taht we can call it on the root album as well. Fixes
2011-04-22Totally revamp the G2 Import UI to make it sexxxy. Fixes #1683.Bharat Mediratta
2011-01-21Update copyright to 2011.Bharat Mediratta
2011-01-07Added batch importer for groupsJoe7
Added missing ordering for comments and tags retrieving queries (One might gets the same output without ordering especially if column is the primary key, but the only way to go for sure it by setting it)
2011-01-07Importing Gallery2 users in batchesJoe7
Fixes Ticket #1554
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-02-07Import G2 permissions in the import process. Ignores user and item specific ↵Andy Staudacher
permissions.
2010-02-06Fix maintenance view for the case when g2_import is configured and the user ↵Andy Staudacher
replaced the original g2 directory with the .htaccess file only.
2010-02-06Fix maintenance view, which was broken when the g2_import module was ↵Andy Staudacher
installed but not configured correctly.
2010-02-01Corrected copy paste errors in g2_import task. Fixes ticket #949.Tim Almdal
2010-01-31Fix lots of warnings that pop up when we're in E_STRICT mode. They'reBharat Mediratta
mostly issues around uninitialized variables, calling non-static functions in a static context, calling Session functions directly instead of on its singleton, passing non-variables by reference, and subclasses not using the same interface as the parent class.
2009-11-26Convert all DB where() calls to take 3 arguments.Bharat Mediratta
Convert all open_paren() calls to and_open() or or_open() as appropriate.
2009-11-25Preliminary work to cut over to Kohana 2.4Bharat Mediratta
- Kohana::log() -> Kohana_Log::add() - Kohana::config_XXX -> Kohana_Config::instance()->XXX - Implement View::set_global in MY_View - Updated Cache_Database_Driver to latest APIs - ORM::$loaded -> ORM::loaded() - Updated item::viewable() to use K2.4 parenthesization
2009-07-06Fix for tickets #312 and #370. Added a task logging api. Changed g2_importTim Almdal
to write all activity to the "log file". The "log file" is stored in the persistent cache.
2009-06-23Gracefully handle the case when the gallery2 instances moves somewhereBharat Mediratta
else (or gets deleted). Fixes ticket #458
2009-05-19Import album highlights. Fixes ticket #221.Bharat Mediratta
2009-05-17Skip over empty import modes. Fixes ticket #227Bharat Mediratta
2009-05-13Gee it's May already. Update copyright to 2009.Bharat Mediratta
2009-05-12Beautify the status textBharat Mediratta
2009-05-12Import keywords as tags.Bharat Mediratta
Refactor the general flow of g2_import_task::import() to simplify it and make it more sensible. It had gotten a little overgrown. It's still a little overgrown, but I don't see an easy way to simplify it from here.
2009-05-12Import tags.Bharat Mediratta
2009-05-11Framework for importing comments -- we don't actually do the import yetBharat Mediratta
2009-05-09Usability and performance improvementsBharat Mediratta
Significantly speed up the process by copying Gallery2 thumbnails and resizes wherever possible instead of regenerating them. This requires us to figure out the dimensions of the original G2 derivative and make sure that it matches in some reasonable way. To allow users to take advantage of this, calculate the optimal thumb and resize size to set in G3 to match what was used in G2. While we're at it, give the user some idea of how much data is available in G2 to import.
2009-05-05Return an array from available_tasks() when unconfigured.Bharat Mediratta
Fixes ticket #247.
2009-04-21Highlight: we can now import photos and movies.Bharat Mediratta
Notes: * Don't store the g2->g3 map in the task; it gets too large and overflows the context column. * Import album sort orders * Try to treat duplication in the summary and description fields sensibly. * Move the g2 import config page under the Settings menu * Clean up the settings page slightly and send users to the maintenance page to do the actual import (not an optimal UI, but it works).
2009-04-18Properly import groups and put users into groups. Mark admin usersBharat Mediratta
appropriately.
2009-04-18Track what we've already imported in the G2_Map_Model and keep itBharat Mediratta
around in the task so that on subsequent import runs we don't try to reimport stuff we've already pulled in. This also gives us a mapping so that we will be able to translate old G2 urls into the hot new G3 urls.
2009-04-17Import albums. Just the basics; misses permissions and a lot ofBharat Mediratta
metadata, and doesn't import photos yet.
2009-04-15Very early round of Gallery 2 import code. It can import users (withBharat Mediratta
the wrong password) and import groups, with a basic UI. Needs a ton more work.