summaryrefslogtreecommitdiff
path: root/modules/g2_import
AgeCommit message (Collapse)Author
2010-10-25All modules should be named Xxx_Core for extensibility. Fixes #1458.Bharat Mediratta
2010-09-18When looking for G2 urls in the g2_map, try also swapping spaces for +Bharat Mediratta
in case the url had spaces in it. Fixes ticket #1388.
2010-09-18Fix a bug in that last commit where I was treating resource_type as a function.Bharat Mediratta
2010-09-18Redirect to the root album when there's an empty path and empty id.Bharat Mediratta
Fixes ticket #1387.
2010-09-08Tighten up the "your gallery2 has xxx in it" info display.Bharat Mediratta
2010-09-08Remove unnecessary g2_import CSS (which we were loading on every pageBharat Mediratta
-- doh!) and replace it with a new "enumeration" list style in the admin_wind CSS. Reshuffle the page a little bit to make it look cleaner.
2010-09-08Add information about disabling XCache during the import process. Fixes ↵Bharat Mediratta
ticket #1352.
2010-09-07The G2 import sets the sort_order to "asc"/"desc" butBharat Mediratta
Item_Model::get_position() expects "DESC". This breaks navigation in any album imported from G2 that has a descending sort order. Two things: 1) Use "ASC"/"DESC" in G2 import for consistency 2) Make Item_Model::get_position() more robust against capitalization Fixes ticket #1334.
2010-09-06Add "Options +FollowSymLinks" to the example mod_rewrite rules and putBharat Mediratta
it in a textarea for easy copying.
2010-08-29Properly identify the base G2 url when G2 isn't using the rewriteBharat Mediratta
module. Fixes ticket #1322.
2010-08-29Remember which comments we imported and don't import them a secondBharat Mediratta
time. Fixes ticket #1282.
2010-08-29Reformat comment.Bharat Mediratta
2010-08-29Don't concatenate two strings together as an argument for t() or t2();Bharat Mediratta
the l10n_scanner cannot parse it properly and drops those from the localization list. Fixes ticket #1284.
2010-08-08If the imported item from Gallery 2 has a preferred derivative with aBharat Mediratta
rotation, then rotate the imported image accordingly. Fixes ticket #1274..
2010-08-08Visually separate the G2 comment's subject and body when we blend themBharat Mediratta
into the G3 comment body. Fixes ticket #1269.
2010-08-08Backdate the created/updated dates for imported comments. Fixes ticket #1215.Bharat Mediratta
2010-08-08Handle "1" as a default order direction in G2. Why would we ever do that? ↵Bharat Mediratta
Dunno. Fixes ticket #1276.
2010-07-26Fix ticket #1253 where the maintenance page bombs if you have alreadyBharat Mediratta
configured your Gallery 2 import but you move your Gallery 3.
2010-07-03Internationalize the "Gallery 2 path saved." message and remove the trailing ↵Bharat Mediratta
period. Fixes ticket #1171.
2010-06-16If the G2 orderBy or orderDirection fields are blank, use the G2 defaults.Bharat Mediratta
Second half of fix for #1054.
2010-06-16Fix a bug introduced in 1077477a9032d5a4855e19e2dd4ce923472b711c whereBharat Mediratta
we don't generate album highlights correctly. Possible fix for #1054.
2010-06-16Fix two bugs:Bharat Mediratta
#1161: guest comments get dropped because of a missing email address. #1075: G2 comments with " get turned into "
2010-06-15The fact that we have a path to a G2 embed file doesn't mean that it's stillBharat Mediratta
valid so check to see that it's ok before proceeding. This should resolve #458.
2010-04-30Add page_title to admin views. Closes #1038.ckieffer
2010-03-30Move G2_Import_Exception into libraries because it's not a helper class.Bharat Mediratta
2010-03-28Merge branch 'master' of github.com:gallery/gallery3Bharat Mediratta
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-03-02Ignore fetchItemViewCount errors during import and default to 0. The error ↵Andy Staudacher
is still logged to the G3 syslog.
2010-02-28G2 importer stability improvements:Andy Staudacher
- Log which validation rule was violated if there's an ORM validation error. - Add more try / catch blocks to avoid abortion where possible.
2010-02-23Specify the type for movie Item_Models correctly. Fixes ticket #1033.Bharat Mediratta
2010-02-22Normalize invalid/missing G2 email addressesBharat Mediratta
2010-02-22Fix cut/paste typoBharat Mediratta
2010-02-09Revise the "review your permission" text to my liking.Bharat Mediratta
2010-02-09Change access::can to access::required in g2 redirect, to please the ↵Andy Staudacher
controller auth code audit test.
2010-02-09Import hashed passwords from G2 (which will only work if they're ↵Andy Staudacher
PasswordHash passwords, not if they're G2 style md5 / salted md5).
2010-02-09Better handling of G2's multi level sort order in g2_importAndy Staudacher
2010-02-09More g2_import model validation fixes, and make import less noisy (don't ↵Andy Staudacher
copy each comment text to the import log).
2010-02-09Fix g2_import bugs related to item and user model validation.Andy Staudacher
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-06Fixing G2 url mapping for G2 default style URLs (where ShowItem and ↵Andy Staudacher
DownloadItem URLs aren't rewritten in G2). Note: For a perfect solution, we should add 2 map entries for each of G2's ShowItem and DownloadItem URLs, one for short and one for long style URLs. E.g. A G2 installation might have been using short style URLs not for its complete lifetime. And long style URLs are supposed to work in G2 even when short style URLs are enabled (and its used that way in bbcode / as a way to get permenant, id based URLs from G2).
2010-02-06Add core.DownloadItem redirect for G2's Photo and Movie items (was ↵Andy Staudacher
previously omitted, but we already had core.DownloadItem redirects for derivatives)
2010-02-06Fix g2 redirects for non-admins. The g2 URL mapping controller was ↵Andy Staudacher
accidentally declared as admin controller. (The previous attempt to fix this isn't a bad change either, thus keeping the external permenant redirect).
2010-02-06Fix g2 redirect to use external redirect (and declare it as permanent).Andy Staudacher
Redirects weren't working for me in Firefox 3.5 when not signed into G3 (and all items are public).
2010-02-06Fix maintenance view, which was broken when the g2_import module was ↵Andy Staudacher
installed but not configured correctly.
2010-02-06Fix g2_import admin screen: It wouldn't work if it didn't know the location ↵Andy Staudacher
of G2 yet.
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.
2010-01-29Oops, forgot to bump the version to 2 in install().Bharat Mediratta
2010-01-27Convert back to using ORM::factory(..., $id) instead of calling where().Bharat Mediratta