summaryrefslogtreecommitdiff
path: root/modules/g2_import/helpers
AgeCommit message (Collapse)Author
2013-05-05There is no $g2_album_id hereRasmus Lerdorf
I assume this should be $g2_album->getId() instead
2013-02-27#2021 - Cleanup thumb_dirty and resize_dirty instances.shadlaws
- g2_import: changed "false" assignment to "0" assignment for consistency. - admin_theme_options: removed unused variables (they're called/used nowhere else). - graphics: removed stanza that clears thumb_dirty and resize_dirty and returns if we have no ops. This has no effect on Gallery currently (for one, graphics::generate doesn't normally get called on an item with no dirty flags), but can inconsistently set resize_dirty of albums and movies to 0 where it's otherwise left at 1. Going forward, it may be useful to be consistent here. - gallery_installer: added v57 stanza to correct any resize_dirty flags of movies/albums that were previously reset to 0. - module.info, install.sql: update to v57
2013-01-31Drop the requirement to have the install() function set the moduleBharat Mediratta
version. It's redundant. Fixes #1985.
2013-01-21Update copyright to 2013. Fixes #1953.Bharat Mediratta
2012-02-27Update copyright to 2012. #1822Bharat Mediratta
2011-05-22Clear any existing, matching g2_map rows before mapping new rows.Bharat Mediratta
This is an extra query, but should keep duplicate rows out of the database and let new rows supercede old ones. Fixes #1737.
2011-05-22Leave the "updated" field alone when importing comments so that ifBharat Mediratta
Akismet marks them as spam, we don't immediately flush them out of the database on the next visit to Admin > Content > Comments. Also warn the user about Akismet, and fix up the G2 import code to reimport deleted comments.
2011-05-02Map the G2 album highlight thumbnail derivative id to the G3 album'sBharat Mediratta
thumbnail. Fixes #1729.
2011-04-30Differentiate between invalid, missing and broken G2 configs andBharat Mediratta
present the user with feedback in the form. Fixes #1727.
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-24Ignore the presort when transferring over sort orders. Fixes #1710.Bharat Mediratta
2011-04-24Fix a bug introduced in f2477703faa7cd05ff1aa16da3ecef7b666bef40 whichBharat Mediratta
was a fix for #1581 that caused us to skip adding highlights for any albums that had no sub-albums.
2011-04-24Sentence-case the url. Fixes #1706.Bharat Mediratta
2011-04-22Totally revamp the G2 Import UI to make it sexxxy. Fixes #1683.Bharat Mediratta
2011-02-23Added extra arg to gallery_graphics calls and updated userscolings
2011-01-21Update copyright to 2011.Bharat Mediratta
2011-01-07Added missing spaces (manual merging from ↵Joe7
0d36b97aca3b5ed53ea3ea398ce28b0f6198e577)
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
2011-01-07Fix against ticket #1581 - based on ↵Joe7
https://github.com/Joe7/gallery3/commit/0d36b97aca3b5ed53ea3ea398ce28b0f6198e577
2010-11-28Fix g2_import::g2_url() to only replace the $g2_base_url once at theBharat Mediratta
beginning of the url string. Also, only do this when we're about to put it into the map, not when we're getting the g2 url else the url is mangled for other purposes. Fixes #1512.
2010-11-08Dump something in the logs if GalleryEmbed::init() fails.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-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-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-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-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-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-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-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 maintenance view, which was broken when the g2_import module was ↵Andy Staudacher
installed but not configured correctly.