<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/gallery/patches/" rel="alternate"/><link href="https://sourceforge.net/p/gallery/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/gallery/patches/</id><updated>2019-09-26T11:45:41.726000Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>#270 martabak paling enak</title><link href="https://sourceforge.net/p/gallery/patches/270/?limit=25#7687" rel="alternate"/><published>2019-09-26T11:45:41.726000Z</published><updated>2019-09-26T11:45:41.726000Z</updated><author><name>Balkis Anton Nurohman</name><uri>https://sourceforge.net/u/balkisanton/</uri></author><id>https://sourceforge.net4bab88baad966abb2607a6015e73cf1b1c29999a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a href="https://sourceforge.net/p/tips-dan-trik/blog/2019/09/game-offline-android-terbaik/"&gt;https://sourceforge.net/p/tips-dan-trik/blog/2019/09/game-offline-android-terbaik/&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>martabak paling enak</title><link href="https://sourceforge.net/p/gallery/patches/270/" rel="alternate"/><published>2015-05-11T16:08:13.079000Z</published><updated>2015-05-11T16:08:13.079000Z</updated><author><name>masihakudisini</name><uri>https://sourceforge.net/u/masihakudisini/</uri></author><id>https://sourceforge.net9c247ea977b41ca02dfb9a4526dab3eb47b55184</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Bingung mencari camilan saat sibuk di kantor, mungkin Martabak Orins, &lt;a class="" href="http://masihakudisini.blogspot.com/2015/04/martabak-paling-enak-di-jakarta.html" rel="nofollow"&gt;martabak paling enak di Jakarta&lt;/a&gt;, bisa menjadi pilihan bagi anda yang doyan ngemil di sela-sela kesibukan bekerja, karena selain rasanya yang nikmat layanan pesan antar merupakan jasa unggulan yang ditawarkan pengelola jajanan ini. Yang membedakan martabak ini dengan martabak lainya adalah tektur adonannya yang lembut serta pilihan beragam toping yang bisa disesuaikan dengan selera, mulai coklat kacang wijen, pisang coklat hingga kombinasi keju kacang dan coklat yang disajikan tanpa melipat layaknya martabak-martabak lain sehingga terlihat seperti sajian Pizza, hal inilah yang menjadikan martabak Orins punya ciri tersendiri.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RSS thumbnail image URL fix</title><link href="https://sourceforge.net/p/gallery/patches/269/" rel="alternate"/><published>2010-03-26T04:32:48Z</published><updated>2010-03-26T04:32:48Z</updated><author><name>Armen Kaleshian</name><uri>https://sourceforge.net/u/kriation/</uri></author><id>https://sourceforge.net0d83fbf18acd872595d92dcbbf14cdc50a357ad2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This patch is for Gallery v2.3.1.&lt;/p&gt;
&lt;p&gt;While attempting to add an image RSS feed to my Google Profile, I noticed that all the images in the widget were 'clickable' but not showing their respective thumbnails. Digging a bit deeper, it appeared that when using Media RSS tags, the thumbnail URL was being set to the actual link within the gallery, and not the img src link.&lt;/p&gt;
&lt;p&gt;I searched through the bug entries, and found &amp;lt;a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;amp;aid=2541381&amp;amp;group_id=7130&amp;amp;atid=107130"&amp;gt;Bug #: 2541381&amp;lt;/a&amp;gt; which was opened for the same issue. I wasn't sure if bubbawilson's fix was correct, so I came up with my own which made the change in RssGenerator.class, instead of RssHelper.class&lt;/p&gt;
&lt;p&gt;In addition to fixing the image URL, I also added the image type which was missing.&lt;/p&gt;
&lt;p&gt;After applying the fix, and testing it, the Google widget showed the correct thumbnail image, and once clicked, brought me to the correct gallery link for the full image.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Native MS SQL Server Support</title><link href="https://sourceforge.net/p/gallery/patches/268/" rel="alternate"/><published>2010-01-28T22:40:56Z</published><updated>2010-01-28T22:40:56Z</updated><author><name>chrisdpucci</name><uri>https://sourceforge.net/u/chrisdpucci/</uri></author><id>https://sourceforge.netedbdb2e1fdd76adbe5e7d3e7d220f2861d3b7511</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Currently Gallery 2 only supports the community mssql driver for php, (via ADOdb).&lt;/p&gt;
&lt;p&gt;Our team has created an ADODB driver package that uses the Native SQL Server driver for PHP which was recently released by Microsoft (currently in v1.1).&lt;/p&gt;
&lt;p&gt;More information regarding the Native SQL Server driver for PHP can be found here:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=61BF87E0-D031-466B-B09A-6597C21A2E2A&amp;amp;displaylang=en" rel="nofollow"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=61BF87E0-D031-466B-B09A-6597C21A2E2A&amp;amp;displaylang=en&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I've attached the full patch file that adds Native SQL Server support to Gallery 2 to this request and would love to work with the developers/maintainers in order to have this package officially supported. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Bug in GalleryDataCache::putPageData()</title><link href="https://sourceforge.net/p/gallery/patches/267/" rel="alternate"/><published>2009-12-22T17:43:56Z</published><updated>2009-12-22T17:43:56Z</updated><author><name>Alexander Bergolth</name><uri>https://sourceforge.net/u/bergolth/</uri></author><id>https://sourceforge.net346c76fefb14e10c3c2bed8c25781ea1b62d3513</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;There is a bug in GalleryDataCache::putPageData() that causes a database error when two requests for the same page are sent within one second. (Double click on the "next-image" Button or on the browser reload button.)&lt;/p&gt;
&lt;p&gt;The problem is that $storage-&amp;gt;getAffectedRows() after updateMapEntry only returns 1 if any data has actually been changed!&lt;br /&gt;
This seems to be a known problem in mysqli:&lt;br /&gt;
&lt;a href="http://www.databasesandlife.com/mysqli_affected_rows/" rel="nofollow"&gt;http://www.databasesandlife.com/mysqli_affected_rows/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If the second UPDATE comes within the same second, the values to update are identically to the values that have already been written by the first request. So $storage-&amp;gt;getAffectedRows() thinks that the UPDATE didn't match any row and tries an INSERT. This, of course fails, another UPDATE is done, which yields affectedRows=0 again. And the second INSERT causes the ERROR_STORAGE_FAILURE.&lt;/p&gt;
&lt;p&gt;This error applys at least to systems using the mysql or mysqli database driver.&lt;/p&gt;
&lt;p&gt;Unfortunately there is no database independent way of getting the number of rows matched (as opposed to the number of rows changed) by the the UPDATE in GalleryCoreApi::updateMapEntry().&lt;/p&gt;
&lt;p&gt;The attached suboptimal patch fixes the problem for now.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fix another "new by reference" warning in PHP 5.3</title><link href="https://sourceforge.net/p/gallery/patches/266/" rel="alternate"/><published>2009-11-20T19:20:46Z</published><updated>2009-11-20T19:20:46Z</updated><author><name>hanno boeck</name><uri>https://sourceforge.net/u/ctulhu/</uri></author><id>https://sourceforge.netb7f06ddcdfc11103cad6a3f142e3b9bb579a722a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;PHP 5.3 / G2 svn trunk brings this warning:&lt;br /&gt;
"Deprecated: Assigning the return value of new by reference is deprecated in /var/www/localhost/htdocs/gc/modules/gd/classes/GdToolkitHelper.class on line 388 "&lt;/p&gt;
&lt;p&gt;Most such warnings are fixed in svn, this was probably forgotten. Patch attached.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Replace split calls for php 5.3</title><link href="https://sourceforge.net/p/gallery/patches/265/" rel="alternate"/><published>2009-11-20T18:50:52Z</published><updated>2009-11-20T18:50:52Z</updated><author><name>hanno boeck</name><uri>https://sourceforge.net/u/ctulhu/</uri></author><id>https://sourceforge.net9cc5d82871fd1fae653f65191691924900ff33b9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;PHP 5.3 brings deprecation warnings on split. All split calls should be replaced by preg_split (if they need regexp functionality) or explode (if they don't need regexps, which is also faster).&lt;/p&gt;
&lt;p&gt;I've done this for most of the split-appearences in g2 svn trunk. Though there are five left that I was unsure about. I'll have a deeper look at them later.&lt;/p&gt;
&lt;p&gt;Please apply attached patch.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Escaping command args in UnixPlatform.class</title><link href="https://sourceforge.net/p/gallery/patches/264/" rel="alternate"/><published>2009-08-13T15:04:16Z</published><updated>2009-08-13T15:04:16Z</updated><author><name>sonique</name><uri>https://sourceforge.net/u/userid-1263800/</uri></author><id>https://sourceforge.nete603ff79bbba2555c635742b005218568f32a9a2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br /&gt;
First thank you for your work.&lt;br /&gt;
In UnixPlatform.class, command arguements are escaped using double quotes, but, it's not safe, a better way is using escapeshellarg(). In addition, with escapeshellargs, it's become safe mode/ exec_dir patch compatible.&lt;/p&gt;
&lt;p&gt;You can found in attachment the patch.&lt;br /&gt;
Hope it will be include in the next release&lt;br /&gt;
Regards&lt;/p&gt;
&lt;p&gt;Cédric&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.php.net/escapeshellarg" rel="nofollow"&gt;http://www.php.net/escapeshellarg&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>cart: add to cart redirects to the original page</title><link href="https://sourceforge.net/p/gallery/patches/263/" rel="alternate"/><published>2009-05-13T22:08:28Z</published><updated>2009-05-13T22:08:28Z</updated><author><name>Oliver Kopp</name><uri>https://sourceforge.net/u/olly98/</uri></author><id>https://sourceforge.net7d6cecdf191dc748c2e0f3e3ede6c9f8b9815988</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Old behavior: Click on “add a photo to cart” makes gallery to jump to the cart.&lt;br /&gt;
New behavior: Click on “add a photo to cart” jumps to the current page.&lt;/p&gt;
&lt;p&gt;See also&lt;br /&gt;
* &lt;a href="http://gallery.menalto.com/node/77813" rel="nofollow"&gt;http://gallery.menalto.com/node/77813&lt;/a&gt;&lt;br /&gt;
* tracker #1799278)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>[G2] HTTP_RANGE iPhone Video Patch</title><link href="https://sourceforge.net/p/gallery/patches/262/" rel="alternate"/><published>2009-03-20T18:41:30Z</published><updated>2009-03-20T18:41:30Z</updated><author><name>Alexander Barker</name><uri>https://sourceforge.net/u/kwhat/</uri></author><id>https://sourceforge.net167e5c51e9d71a6e6ad82dabeec8e07d0b7f3225</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This patch provides http_range support for item downloads.  The primary reason for this patch is to allow videos to play on the iPhone but should allow for better streaming of video and audio to devices that support it.&lt;/p&gt;
&lt;p&gt;This patch was adapted from the solution provided by Arnoldjw (  &lt;a href="http://gallery.menalto.com/node/84561" rel="nofollow"&gt;http://gallery.menalto.com/node/84561&lt;/a&gt; ) in the forums.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>