summaryrefslogtreecommitdiff
path: root/modules/g2_import
AgeCommit message (Collapse)Author
2009-05-11Framework for importing comments -- we don't actually do the import yetBharat Mediratta
2009-05-11Add some commentsBharat Mediratta
2009-05-11Don't attempt to interact with comments if the Gallery2 comment module is ↵Bharat Mediratta
not installed. Resolves ticket #276
2009-05-10Only run copy_matching_thumbnails_and_resizes() when we're doing an import, ↵Bharat Mediratta
else it interferes with thumbnail/resize generation during regular imports
2009-05-10Change wording to avoid breaking File_Structure_TestBharat Mediratta
2009-05-10Make the code that copies g2 derivatives more robust if the g2 data file ↵Bharat Mediratta
doesn't exist.
2009-05-10Fix a bug where when we copied over the g2 thumb or resize, we weren'tBharat Mediratta
saving its dimensions to the item. Also, import originationTimestamp as captured field.
2009-05-09Sigh.. fix it the *right* way.Bharat Mediratta
2009-05-09Oops, add in a missing ] (thanks kb7sei!)Bharat Mediratta
2009-05-09Don't try to put g2_stats and g2_size into the view if g2 is not initialized.Bharat 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-09Fix indentation.Bharat Mediratta
2009-05-07Add debug log strings with the G2 stack trace when there's a failure in a g2 ↵Bharat Mediratta
call.
2009-05-06Don't fail when trying to import site admin group. Resolves ticket #249Bharat Mediratta
2009-05-05Return an array from available_tasks() when unconfigured.Bharat Mediratta
Fixes ticket #247.
2009-05-02Cache the entry in our in-memory map when we map a g2 item to a g3Bharat Mediratta
item in the database. This fixes the problem that the import fails the first time around because the various groups are mapped in the db but aren't available in the request.
2009-04-23Fix bug in the item_before_delete() event handlerBharat Mediratta
2009-04-23Remember to import album highlightsBharat Mediratta
2009-04-22Minor cleanups:Bharat Mediratta
* Delete g2_map records when the corresponding item is removed. * Improve text on g2 import settings page * Minor comment fixes.
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-19import album owners and be a little smarter about summary/description ↵Bharat Mediratta
duplication
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.