summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2009-07-02Partial pass of server_add cleanup. It's broken at this stage sinceBharat Mediratta
I've redone the browsing code but I have not implemented the adding code. 1) Rename index() to browse() since index is too generic. 2) Simplify the data that we pass to _dialog and _tree 3) Change _tree to return list items only, so that the outer dialog can be a <ul> for consistency. 4) Simplify the data structures so that we're not tracking checked vs. unchecked status in the PHP code, it's all done in jquery where we can do it with just a line or two of JS 5) use glob() which pretty much entirely replaces _get_children
2009-07-02Fix for ticket #390.Tim Almdal
Added a call to GalleryCoreApi::fetchItemViewCounts to retrieve the gallery2 view counts forthe imported items.
2009-07-02Suppress the filesize error if the thumbnail is not found so we can getTim Almdal
an EMPTY_INPUT_FILE exception which we can then log and continue.
2009-07-02Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-07-02Eliminate temporary variables by passing the $item into the view andBharat Mediratta
making API calls on the item.
2009-07-02Remove empty <script> block.Bharat Mediratta
2009-07-02ORM::Factory -> ORM::factoryBharat Mediratta
2009-07-02In remove_path(), if the path is invalid don't echo it back in the UI.Bharat Mediratta
2009-07-01Start of fixing a problem with importing movies w/o a thumbnailTim Almdal
2009-07-012 fixes:Bharat Mediratta
1) Include the url in the cache key so that if the Gallery moves, we don't use old cached entries. 2) Use the relative path to files in the comments that we embed in our files so that we don't leak local paths.
2009-07-01Fix for ticket #357.Tim Almdal
Changed the set the created date as part of the import and change models/comment::save() to not set the creation date if it is already set.
2009-07-01Updated to Exifer r4159Tim Almdal
2009-07-01Add the partner id to the message being sent to digibugTim Almdal
2009-07-01Fix a bunch of XSS vulnerabilities turned up by manual inspectionBharat Mediratta
using the checklist in ticket #385.
2009-07-01Reapply c65bfb5a10b125b2cf04ebd5c5d1b58051281f8c without extraBharat Mediratta
whitespace changes.
2009-07-01Revert "Fix for ticket #437"Bharat Mediratta
This change had unintentional whitespace changes. Reverting for now, will reapply it. This reverts commit c65bfb5a10b125b2cf04ebd5c5d1b58051281f8c.
2009-07-01Fix for ticket #437Tim Almdal
Tracking vendor ticket: http://bit.ly/16b7Zj
2009-06-30Display owner's full name rather than username, ticket #421.Chad Kieffer
2009-06-30Merge branch 'master' of git://github.com/hiwilson/gallery3Bharat Mediratta
2009-06-30Revert the change that removed adding the click handler for the digibug printTim Almdal
functionality. Just return false when using javascript:digibug_popup was not enough from having the browser switch pages and show a page with the word false. Using an event handler allows us to call event.preventDefault which cancels the page switch.
2009-06-30Fix issues with Digibug printing where the preview ws not showing up.Tim Almdal
2009-06-30Update Exif_test to match change made in ↵Bharat Mediratta
4943103700332a11f16319496e485cfd7fd9e36a Get rid of vestigial third column in exif::_keys().
2009-06-30Checkpoint.Bharat Mediratta
2009-06-30Rejigger the way we handle "done" status in the upgrader. Now weBharat Mediratta
present the done box if you're done and let you get rid of it if you want. It's not beautiful, by any means, but it gives you an easy link back to your Gallery when you're finished. Fixes ticket #479.
2009-06-30Unlink the old rewritten path files in var/modules/g2_import when weBharat Mediratta
validate the embed path. This resolves an issue with b1 installs which had versions of the rewritten code that were buggy and can be replaced.
2009-06-30Fix for #319.Tim Almdal
Created a new view "movieplayer.html.php", which is rendered by Item_Model::movie_img(). Changed movie.html.php to use movie_img to render the movie player link.
2009-06-30Fix for #437. Use Exposure Time instead of Shutter Speed as suggested byTim Almdal
hiwilson.
2009-06-30Fix i18n issue - accidentally called t() on translated messages. Please ↵Andy Staudacher
truncate incoming_translations after this update to get rid of bad messages in your DB.
2009-06-29Partial fix for ticket 471 - Fix parsing of module/theme info files in l10n ↵Andy Staudacher
scanner.
2009-06-29Partial fix for ticket 471 - i18n of module names in upgrader.Andy Staudacher
2009-06-29Let the "Popular tags" sidebar block display on tag or search page.hiwilson
2009-06-29i18n theme name / description in admin themes. Partial fix for ticket 471.Andy Staudacher
2009-06-29Merge branch 'master' of git@github.com:gallery/gallery3Andy Staudacher
2009-06-29Partial fix for ticket 471 - i18n of "Translate Text" button in l10n clientAndy Staudacher
2009-06-29Use the appropriate content-type for javascript (application/javascript).Bharat Mediratta
2009-06-29Pass back Cache-Control and Expires headers when we send back a 304,Bharat Mediratta
otherwise some browsers (Firefox, at least) thinks that it needs to revalidate. At least in my case, it appears that my proxy tacks on restrictive Cache-Control headers if they aren't there.
2009-06-29Fix a few more issuesBharat Mediratta
1) Don't use $_SERVER, use Input::instance()->server(). This fixes the problem that when you use a browser that doesn't pass in an Accept-Encoding, we'd barf on a missing array key 2) Don't bother looking up the _gz key if we don't have gzencode, because we probably didn't store one. 3) Only emit the gzip Content-Encoding header if we're actually sending back gzipped data.
2009-06-29Remove the testing code to force rebuilding the cache.Tim Almdal
2009-06-29Revert to serializing and deserializing data. The cache table can'tBharat Mediratta
accept PHP constructs like arrays (the tests were choking on this). Update tests to reflect the new `key` column.
2009-06-29Checkpoint.Bharat Mediratta
2009-06-29If the argument to app() is not an album id, switch to the item parent.Bharat Mediratta
Fixes ticket #489.
2009-06-29Oops, "head" => "admin_head" to make the admin dashboard work.Bharat Mediratta
2009-06-29Merge branch 'master' of git@github.com:gallery/gallery3Andy Staudacher
2009-06-29Fix HTML in l10n messageAndy Staudacher
2009-06-29Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-06-29Don't repeat the default locale in the installed locales list.Andy Staudacher
2009-06-29Fix some bugs in the combined JS/CSS code (most of which I introducedBharat Mediratta
in my last refactor): 1) Actually combine the JS (I was only combining the CSS) 2) Add line breaks between the files and comment them so that we can find a specific file inside the blob. 3) Add an HTML comment to help developers figure out why they can't find their CSS/JS.
2009-06-29Add a media type using the most common media type from our CSS. ThisBharat Mediratta
doesn't fix the problem that we need to support multiple media types (the original code had superfish using just "screen", and some other deviations). There's no code yet to support multiple media types, but it would not be too difficult to create buckets based on media.
2009-06-29Refactor combine_xxx() functions together into combine_files() and useBharat Mediratta
html functions to generate the resulting elements. Add phpdoc.
2009-06-29Refactor combined controller a bitBharat Mediratta
1) Create public javascript() and css() functions and turn __call() into a private function to protect us against having some random type show up in there. Otherwise anything you put in the 2nd argument gets emitted in the header which is a security hole. 2) Fix a bug ("$key = $key[0]") which was breaking functionality. Eliminate the hex check, it's not really necessary in the majority case and doesn't hurt us in edge cases. 3) Convert some empty() calls to !, no need for a function call there. 4) Add phpDoc.