summaryrefslogtreecommitdiff
path: root/modules/g2_import
AgeCommit message (Collapse)Author
2013-01-30Merge pull request #110 from mikeage/g2_importBharat Mediratta
#1973 Handle redirected G2 URLs for tags, including g2_itemId passed
2013-01-30 #1973 Handle redirected G2 URLs for tags, including g2_itemId passedMike Miller
2013-01-25#1956 - Escape LIKE queries (for _ and %).shadlaws
In MySQL queries, _ and % characters are treated as wildcards (similar to ? and *, respectively). - Added escape_for_like function to MY_Database.php - Added unit test to Database_Test - Corrected the five unescaped instances in the code using this function.
2013-01-22gallery.menalto.com -> galleryproject.orgBharat Mediratta
codex.gallery2.org -> codex.galleryproject.org Fixes #1957.
2013-01-21Update copyright to 2013. Fixes #1953.Bharat Mediratta
2013-01-13Tags by name (includes a G2 mapping)Mike Miller
2012-06-05Follow on to a9be0691d9efd84cbf5a9f05236caf4df23bcfdb for #1872.Bharat Mediratta
2012-05-19Create an ajax response framework that inserts <meta> tags to guardBharat Mediratta
against UTF-7, and create a $.gallery_autocomplete variant of jQuery's autocomplete that expects the first line to be a <meta> tag and discards it. More complete fix for #1871.
2012-05-11Fix canonical name for this module. Fixes #1858.Bharat Mediratta
2012-02-27Update copyright to 2012. #1822Bharat Mediratta
2011-06-27[Fixes #1757] Redirect to root album if path comes in as main.php or index.phpAndy Lindeman
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-02Track and redirect core.DownloadItem requests properly. This canBharat Mediratta
happen if the G2 was imported with rewrite on, so the g2_url in the g2_map table has a shortened url, but then rewrite is disabled and the .htaccess mod_rewrite rules are sending over a &g2_view=core.DownloadItem request. Fixes #1728.
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-24Show the tabs after the page has loaded to prevent Firefox from rendering theBharat Mediratta
unstyled page and then flashing. Fixes #1705.
2011-04-24Merge branch 'master' of git://github.com/ckieffer/gallery3Bharat Mediratta
2011-04-24Look for and return embed.php files in the autocomplete list if we canBharat Mediratta
find them. Fixes #1708.
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-24Merge branch 'master' of git://github.com/gallery/gallery3Chad Kieffer
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-24Merge branch 'master' of git://github.com/gallery/gallery3Chad Kieffer
2011-04-24Third times the charm. Rethink unordered lists and bullets. Revert to ↵Chad Kieffer
turning them off by default and provide a new class, g-text, to define a list or a section of text as needing to display bullets.
2011-04-24Sentence-case the url. Fixes #1706.Bharat Mediratta
2011-04-23Oops, fix broken codex urls. For #1698.Bharat Mediratta
2011-04-23Oops, this is the rest of the modules and themes for #1696 and #1698.Bharat Mediratta
2011-04-23Merge branch 'master' of git://github.com/gallery/gallery3Chad Kieffer
2011-04-23Remove enumeration unordered list class, it's no longer needed.Chad Kieffer
2011-04-23Enable autocomplete for the embed path. Fixes #1687.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-09Add an extra line break after the RewriteBase line so that theBharat Mediratta
RewriteBase and RewriteRule lines don't get merged in the resulting textarea. Fixes #1481.
2010-11-08Dump something in the logs if GalleryEmbed::init() fails.Bharat Mediratta
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.