summaryrefslogtreecommitdiff
path: root/modules/gallery
AgeCommit message (Collapse)Author
2011-01-10Stop using "which" to find binaries. Create system::find_binary()Bharat Mediratta
which traverses the $PATH and returns any executable binary of the appropriate name that it can find. Fixes #1555.
2011-01-10Allow File_Proxy_Controller to run in private gallery mode since itBharat Mediratta
does all the right permission checks. This prevents a hotlink to a private photo in a private gallery from kicking the user out to a login page. Fixes #1594.
2011-01-10Fix up the version detecting regex for GraphicsMagick and don't crashBharat Mediratta
if the regex doesn't return properly. Follow on to 3ec0ba956dced01a97f2ee7bd943d326c42350e3 for ticket #1595.
2011-01-10Merge branch 'graphics/detect_toolkits()_refactoring' of ↵Bharat Mediratta
git://github.com/Joe7/gallery3
2011-01-09Merge remote branch 'upstream/master'colings
2011-01-09Fixed item controllers so that any item position is computed correctly, when ↵Jérémy Subtil
some other items belonging to the same parent album are not viewable. Changed depracated calls to item_Model::get_position() to item::get_position().
2011-01-09Moved item_Model::get_position() method to the Item helper. It now calls ↵Jérémy Subtil
the viewable() method on every query.
2011-01-08Improve gallery::find_file() to do a better job of detecting the ↵Bharat Mediratta
modules/themes directories. Fixes #1590.
2011-01-09Made t() calls parsable by localization scannerJoe7
2011-01-08Revert "Warn admins after login if their PHP install has the"Bharat Mediratta
This reverts commit 612ddd7050889974fc1f7e449e715b4c1129c0bb.
2011-01-08Use the code version when installing a module that has no installer,Bharat Mediratta
instead of hardcoding version 1. Fixes #1589.
2011-01-08Minor coding style fixJoe7
2011-01-08Refactored graphics::detect_toolkits() so ImageMagick and GraphicsMagick ↵Joe7
shares the same loop. Just as premarked as todo. Will make https://sourceforge.net/apps/trac/gallery/ticket/1555#comment:3 an even quicker task
2011-01-07Merge branch 'Ticket#1154' of git://github.com/Joe7/gallery3Bharat Mediratta
2011-01-08Set video player to keep the aspect ratio of the video when playing in ↵Joe7
fullscreen Fixes ticket #1154 - credit goes to floridave
2011-01-07Don't enable the REST module by default (fixes #1585).Bharat Mediratta
Bump the info module per changes for #662.
2011-01-07Allow '..' segment in photo/album paths through file_proxy (as is not ↵Joe7
forbidden in other places like add album/item) and explitely look for /../ instead Note: directory path can't end in '.' forcibly so this shall be fine Fixes Ticket #1518
2011-01-06Merge branch 'master' into organize_devBharat Mediratta
2011-01-05Keep Item_Model::scale_dimensions from upscaling. Fixes #1579.Bharat Mediratta
2011-01-03Some small follow on fixes for #1559 and #1568:Bharat Mediratta
1) Make database changes in gallery_installer::install() instead of in installer/install.ql 2) Bump the version number in modules/gallery/module.info
2011-01-03Follow on to cfaa62370ecbdb3badf4ab68bbefa7cfedaea154 to fix indentation.Bharat Mediratta
Fixes #1569.
2011-01-03Using array support introduced in 8295201adf948ea35f21f75801b7a8bf36c27569Joe7
2011-01-03Reimplemented Kohana 2.3's View::set_global() with array support.Joe7
Allows for cleaner code and fewer function calls.
2011-01-03case fixJoe7
2011-01-03Bugfix: input validation validates description up to length of 65535 chars, ↵Joe7
but DB trimmed data over 2048 chars. Converting column into TEXT type. Note: The effective maximum length of a VARCHAR in MySQL 5.0.3 and later is subject to the maximum row size (65,535 bytes, which is shared among all columns) and the character set used. In contrast to CHAR, VARCHAR values are stored as a one-byte or two-byte length prefix plus data. The length prefix indicates the number of bytes in the value. A column uses one length byte if values require no more than 255 bytes, two length bytes if values may require more than 255 bytes.
2011-01-03Removed accidental whitespaceJoe7
2011-01-03Keep view counters of all item types accurateJoe7
Added common increment_view_count() func in item model for reuse
2011-01-02Tweak to include parent_id in resize call, for custom albums.colings
2010-12-29Improve the solution for #1545 by sorting the settings menu properlyBharat Mediratta
to be naturally ordered and case insensitive.
2010-12-28Coding style fixes: identation on line 48+removed trailing whitespaces, ↵Joe7
added spaces around =s
2010-12-28Truncating table first againt collides when converting INDEX into UniqueJoe7
2010-12-28Added changes to installer and upgrader scripts to support INSERT ON ↵Joe7
DUPLICATE KEY UPDATE SYNTAX in cache lib
2010-12-28Using ON DUPLICATE KEY UPDATE instead of SELECT+UPDATE/INSERT style method ↵Joe7
(that does 2 trips to Database server and is less optimal). exists() method is not needed anymore thus got removed
2010-12-28Added limit on select as for the outcome it doesn't matter if there are 20 ↵Joe7
rows or just 1. Is sufficient to return straight after reading 1 row.
2010-12-28Use db::expr instead of "new Database_Expression". Resolves #1560.Bharat Mediratta
2010-12-28Update test to match change in Item_Model::as_restful_array made inBharat Mediratta
7e31f97b4cbc5cf1894611de1e9de7a3efc6ad50 for #1536.
2010-12-28Update golden file to reflect the change inBharat Mediratta
c989981041e66e336f1410b651173305ab184aba for #1520.
2010-12-24Added Croatian as hr_HR. Fixes #1514.Bharat Mediratta
2010-12-23Create a way for controllers to exempty themselves from maintenanceBharat Mediratta
mode and private gallery mode by setting the following constants in the controller to true. ALLOW_MAINTENANCE_MODE ALLOW_PRIVATE_GALLERY Fixes #1411 and the subsequent refactoring fixes #1551 as well.
2010-12-23Fix PHPDoc for composite().Bharat Mediratta
2010-12-21Change MY_url::parse_url to use item::find_by_relative_url.Bharat Mediratta
2010-12-21Implement item::find_by_relative_url with tests.Bharat Mediratta
2010-12-21Updated to use the new item::find_by_path() API.Bharat Mediratta
2010-12-21Change item::find_by_path() to check the relative_path_cache first,Bharat Mediratta
and only fall back the name/level comparison if there's no cached entry. Update tests accordingly.
2010-12-21Return an empty Item_Model when item::find_by_path failsBharat Mediratta
2010-12-21Tighten up item::find_by_path slightly. Augment the tests to coverBharat Mediratta
special characters in the file name ("+" is an edge case differentiator between rawurlencode and urlencode).
2010-12-21Fix assertion order to be (expected,actual)Bharat Mediratta
Change strinct concatenation to be variable interpolation to tighten it up.
2010-12-22Minor changes to satisfy the G3 code standards.Kriss Andsten
2010-12-22Packaging + tests of Bharat's find_by_path routine.Kriss Andsten
2010-12-18Warn admins after login if their PHP install has theBharat Mediratta
session.use_trans_sid feature enabled, since this will cause random logouts. Partial fix for #1316.