summaryrefslogtreecommitdiff
path: root/modules/g2_import
AgeCommit message (Collapse)Author
2013-05-05There is no $g2_album_id hereRasmus Lerdorf
I assume this should be $g2_album->getId() instead
2013-03-10#2048 - Remove unneeded jquery.autocomplete.css/js inclusions.shadlaws
- removed autocomplete.css/js calls in server_add, tag, and g2_import. - revised xss_data.txt golden file (line number changes only).
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-02-17Fix autocomplete for admin_g2_import.Bharat Mediratta
2013-02-17Updated for the new jQuery tabs API.Bharat Mediratta
2013-02-13Merge pull request #143 from mikeage/g2_importBharat Mediratta
Replace = with ==
2013-02-13Replace = with ==Mike Miller
This was my mistake; I didn't test it thoroughly. It results in all g2 mappings being broken!
2013-02-01 #1987 g2_import module should redirect with a 301, not 302Mike Miller
As the g2_import process is generally assumed to be permanent, the redirect should be a 301, and not a 302.
2013-01-31Drop the requirement to have the install() function set the moduleBharat Mediratta
version. It's redundant. Fixes #1985.
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