Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-07-02 | Suppress the filesize error if the thumbnail is not found so we can get | Tim Almdal | |
an EMPTY_INPUT_FILE exception which we can then log and continue. | |||
2009-07-01 | Start of fixing a problem with importing movies w/o a thumbnail | Tim Almdal | |
2009-07-01 | Fix for ticket #357. | Tim Almdal | |
Changed the set the created date as part of the import and change models/comment::save() to not set the creation date if it is already set. | |||
2009-06-30 | Unlink the old rewritten path files in var/modules/g2_import when we | Bharat Mediratta | |
validate the embed path. This resolves an issue with b1 installs which had versions of the rewritten code that were buggy and can be replaced. | |||
2009-06-23 | Add support for Gallery 2.2.2 style bootstrap syntax. | Bharat Mediratta | |
2009-06-23 | Gracefully handle the case when the gallery2 instances moves somewhere | Bharat Mediratta | |
else (or gets deleted). Fixes ticket #458 | |||
2009-06-23 | Refactor the install/upgrade code to be more flexible. | Bharat Mediratta | |
Add xxx_installer::upgrade($version) method so that upgrade stanzas are separate from install stanzas. In the old code, to do an upgrade meant that you had to re-evolve everything from the initial install because we'd step through each version's changes. But what we really want is for the initial install to start off in the perfect initial state, and the upgrades to do the work behind the scenes. So now the install() function gets things set up properly the first time, and the upgrade() function does any work to catch you up to the latest code. See gallery_installer.php for a good example. | |||
2009-06-20 | Keywords in G2 are free form. So we don't know what our user used as a ↵ | Bharat Mediratta | |
separator. Try to be smart about it. If we see a comma or a semicolon, expect the keywords to be separated by that delimeter. Otherwise, use space as the delimiter. Fixes ticket #446 | |||
2009-06-19 | Swap the order of two lines to make the debug output have the right data. | Bharat Mediratta | |
2009-06-18 | Make an attempt to catch all situations where loading an item from G2 | Bharat Mediratta | |
returns an error, and log them appropriately. This should fix a slew of import failures from corrupt G2 installs. | |||
2009-06-15 | Don't try to require GalleryCommentHelper.class if the module is not | Bharat Mediratta | |
active, since the code may not even be present. This assumes that if the G2 comment module *is* active that the code is present, but that's part of the assumption that the G2 we're importing from is healthy. Fixes ticket #409 | |||
2009-06-14 | Trap gallery2 errors when we try to load an invalid user id and abort ↵ | Bharat Mediratta | |
loading that user. | |||
2009-06-12 | Support imports from multisite G2 installs. | Bharat Mediratta | |
2009-06-12 | Work around different initialization code in earlier versions of Gallery 2. | Bharat Mediratta | |
2009-06-11 | Trap exceptions from movie::create() and mark those movies as corrupt. | Bharat Mediratta | |
2009-06-07 | Improve error handling support for corrupt images and report them | Bharat Mediratta | |
appropriately in g2_import. | |||
2009-05-28 | Prepend all code files we copy from Gallery2 and put into var with our | Bharat Mediratta | |
code preamble for security. Update File_Structure_Test::code_files_start_with_preamble_test to check all the php files in var, too. | |||
2009-05-28 | Get rid of entire gallery2 session id param from the urls that we use to alert | Bharat Mediratta | |
users about images that failed to import. | |||
2009-05-27 | Commit an egregious hack to work around the fact that both Gallery 2 | Bharat Mediratta | |
and Gallery 3 have a class named Gallery. Clone a subset of the Gallery 2 files and munge them so that we can rename the Galery 2 version to G2_Gallery. Also, update the disclaimer in Admin > Settings > Gallery 2 Import. | |||
2009-05-27 | Update all references to the core application to now point to the | Bharat Mediratta | |
gallery module. This type of mass update is prone to some small bugs. | |||
2009-05-26 | Restructure the module lifecycle. | Bharat Mediratta | |
Install: <module>_installer::install() is called, any necessary tables are created. Activate: <module>_installer::activate() is called. Module controllers are routable, helpers are accessible, etc. The module is in use. Deactivate: <module>_installer::deactivate() is called. Module code is not accessible or routable. Module is *not* in use, but its tables are still around. Uninstall: <module>_installer::uninstall() is called. Module is completely removed from the database. Admin > Modules will install and activate modules, but will only deactivate (will NOT uninstall modules). | |||
2009-05-20 | Don't import non-viewable image types (eg: psd). Swap in a broken | Bharat Mediratta | |
image instead so that we at least have a target for comments. Fixes ticket #294 | |||
2009-05-19 | Import album highlights. Fixes ticket #221. | Bharat Mediratta | |
2009-05-19 | If there's a missing source image during import, swap in our "broken | Bharat Mediratta | |
image" placeholder and keep on trucking. Oh, and notify the admin. Fixes ticket #287 | |||
2009-05-17 | Skip over empty import modes. Fixes ticket #227 | Bharat Mediratta | |
2009-05-13 | Gee it's May already. Update copyright to 2009. | Bharat Mediratta | |
2009-05-12 | Gracefully handle duplicate groups. Fixes ticket #280 | Bharat Mediratta | |
2009-05-12 | Deal with the user-entered g2 embed.php path a little more sanely so that if ↵ | Bharat Mediratta | |
the user enters the path to G2 itself, we find the embed.php path from there. | |||
2009-05-12 | Beautify the status text | Bharat Mediratta | |
2009-05-12 | Skip the copy if the watermark module is enabled *and* there's a watermark. | Bharat Mediratta | |
2009-05-12 | Import 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-12 | Import tags. | Bharat Mediratta | |
2009-05-12 | Deal gracefully with the case that the Gallery 2 instance didn't have | Bharat Mediratta | |
any resizes (or thumbnails). Fix a case where we were over-weighting the max dimension for square resizes and thumbs. | |||
2009-05-11 | Import comments. This was a lot easier than I thought it would be | Bharat Mediratta | |
2009-05-11 | Framework for importing comments -- we don't actually do the import yet | Bharat Mediratta | |
2009-05-11 | Add some comments | Bharat Mediratta | |
2009-05-11 | Don't attempt to interact with comments if the Gallery2 comment module is ↵ | Bharat Mediratta | |
not installed. Resolves ticket #276 | |||
2009-05-10 | Only 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-10 | Change wording to avoid breaking File_Structure_Test | Bharat Mediratta | |
2009-05-10 | Make the code that copies g2 derivatives more robust if the g2 data file ↵ | Bharat Mediratta | |
doesn't exist. | |||
2009-05-10 | Fix a bug where when we copied over the g2 thumb or resize, we weren't | Bharat Mediratta | |
saving its dimensions to the item. Also, import originationTimestamp as captured field. | |||
2009-05-09 | Sigh.. fix it the *right* way. | Bharat Mediratta | |
2009-05-09 | Oops, add in a missing ] (thanks kb7sei!) | Bharat Mediratta | |
2009-05-09 | Usability and performance improvements | Bharat 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-07 | Add debug log strings with the G2 stack trace when there's a failure in a g2 ↵ | Bharat Mediratta | |
call. | |||
2009-05-06 | Don't fail when trying to import site admin group. Resolves ticket #249 | Bharat Mediratta | |
2009-05-05 | Return an array from available_tasks() when unconfigured. | Bharat Mediratta | |
Fixes ticket #247. | |||
2009-05-02 | Cache the entry in our in-memory map when we map a g2 item to a g3 | Bharat 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-23 | Fix bug in the item_before_delete() event handler | Bharat Mediratta | |
2009-04-23 | Remember to import album highlights | Bharat Mediratta | |