summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-12-18Add <generator> element to try to make Polar Rose happy (it doesn't work, ↵Bharat Mediratta
though)
2008-12-18Absoluteify some urls to make feedvalidator.org happyBharat Mediratta
2008-12-18Polar Rose facial recognition module. Currently in a non-workingBharat Mediratta
state because their server is not RFC2109 compliant. Filing a bug.
2008-12-18Add item view permission checks.Bharat Mediratta
Switch from absolute urls to relative ones. Relative urls break the flash based slideshow, but the Cooliris extension works. I'll file a bug.
2008-12-17Add Item_Model::viewable() which we can use to restrict any query toBharat Mediratta
just items viewable by the active user. Ie: ORM::factory("item") ->where("name", "foo") ->find_all() Would get all items with the name "foo". ORM::factory("item") ->viewable() ->where("name", "foo") ->find_all() Restricts it to just the set of items that the user is allowed to see.
2008-12-17Update Kohana code to r3799 from their svn head. All tests pass.Bharat Mediratta
Resolved upstream tickets: http://dev.kohanaphp.com/ticket/972 Command: svn merge -c19275 vendor/kohana/modified/kohana trunk/kohana
2008-12-17Fix a bug where setting the active user did not reset group_ids (unit tests ↵Bharat Mediratta
ftw!)
2008-12-17Fix some lint errorsBharat Mediratta
2008-12-17Clear out module list in load_modules() before trying any db operationsBharat Mediratta
2008-12-17Extend the changes in list_tables() and list_fields() that usesBharat Mediratta
TEST_MODE to avoid static members.
2008-12-17Switch from cookie sessions to database sessions. We can't use cookieBharat Mediratta
sessions; it encodes all the value into the cookie which means little/no security, transfer costs, and storage limits.
2008-12-17Add initialization to the user module to put the user and group_idsBharat Mediratta
into the session, for easy access. This cuts down the number of queries when we're loading images through file_proxy.php
2008-12-17Put Gallery3 under GPLv2Bharat Mediratta
2008-12-17Added .gLoadingLarge and .gLoadingSmall to show ajax loading indicator. ↵Chad Kieffer
Applied to modal dialogs.
2008-12-17Improve performance by finding the item without walking the tree.Bharat Mediratta
Instead, use the level and the name to get a short list of candidates, and check each one of those. In most cases, this query should give us the right result the first time.
2008-12-17Change the album thumbnail/resize from _album.jpg to .album.pjgBharat Mediratta
because the leading underscore confuses the Kohana router.
2008-12-17Separate thumbnails out into var/thumbs. This clears up some ambiguity in ↵Bharat Mediratta
Item_Model and simplifies file_proxy. It also means we can stop munging file names in the var/resizes hierarchy. In the process, rename "thumbnail" to "thumb" everywhere in honor of Chad (well, ok because it's shorter)..
2008-12-17Drag & Drop the watermark now works and so does the dropdown box. The ↵Tim Almdal
target image is divided into a 3x3 quadrant referenced as: northwest, north, northeast, west, center, east, southeast, south, southwest. Similiar to the imagemagik garvities. Currently the watermark is placed in the left top of the particular quadrant.
2008-12-17Added label to add tag form inputChad Kieffer
2008-12-17Added JS to set/reset simple forms' input values to their corresponding ↵Chad Kieffer
labels' value. Labels should always be used with visible inputs. Use this to style and control short form input display and behavior.
2008-12-16Remove error checking; if this fails let it fail noisily for now so that we ↵Bharat Mediratta
can find problems faster.
2008-12-16Remove all caching from ORM_MPTT. This was premature optimization: itBharat Mediratta
wasn't benefitting us, and it will get in the way when we want to add implicit view protection to our queries.
2008-12-16Dump out the stack trace on errors.Bharat Mediratta
2008-12-16Fix preambleBharat Mediratta
2008-12-16Add file_proxy. This is controller gets triggered by .htaccessBharat Mediratta
protection on var/albums and var/resizes and only displays files to the user if they have "view" permission on the base ite.
2008-12-16(no commit message)Tim Almdal
2008-12-16Oops, remove the () on the parameter to $("#Dialog").ready(...) so we pass ↵Tim Almdal
the function, not the results of the function call.
2008-12-16Separate the handling of the dialog resizing into the watermark.js, so we ↵Tim Almdal
don't have to download the watermark dialog initialization with each request.
2008-12-161) change the selector for the the function to gDialogTim Almdal
2) Once the dialog is resized, center it
2008-12-161) Remove the load watermark from the scaffolding... use the menu optionTim Almdal
2) The set watermark dialog is now sizing properly. @todo is recenter in the window
2008-12-16Submit the form using ajaxSubmitTim Almdal
2008-12-16Add Submit and Reset buttons to the dialog in order to trap the form ↵Tim Almdal
submission so the form doesn't close. There might be a better way, but i couldn't think of it.
2008-12-16Make the breadcrumb a little largerBharat Mediratta
2008-12-16Alphabetize field names to make it easier to find 'em.Bharat Mediratta
2008-12-16Change htaccess rules to use mod_rewriteBharat Mediratta
2008-12-16TEST_MODE always exists now, so check its value, don't rely on its existence ↵Bharat Mediratta
to know that we're in test mode.
2008-12-16Don't use model_cache for get_version and set_version; that breaks the ↵Bharat Mediratta
installer.
2008-12-16Use model_cache::get() to reduce duplicate queriesBharat Mediratta
2008-12-16Fix a bug where we were using module::set_var() instead of module::get_var() ↵Bharat Mediratta
resulting in loading all photos in an album on a single page and updating the var on every page load.
2008-12-16Make the profiler output more legible by adding some padding to the table.Bharat Mediratta
2008-12-16Define TEST_MODE 0 when we're in productionBharat Mediratta
2008-12-16Various optimizations:Bharat Mediratta
o Add model_cache::get() which caches models avoiding duplicate lookups o Stop using ORM relationships for Item_Model::owner so that we can use caching o For Item_Model::xxx_edit fields, don't make them editable for guests o Other minor stuff. These optimizations reduce the number of queries for a 9-photos page from ~200 to ~45. Still way too many!
2008-12-16Fix a bug where we were not deleting the .htaccess file on access::reset()Bharat Mediratta
2008-12-16Colorize test outputBharat Mediratta
2008-12-16Create and delete .htaccess files based on the view permissions forBharat Mediratta
the group::everybody() user.
2008-12-16Fix capitalization.Bharat Mediratta
2008-12-16phpdoc cleanupBharat Mediratta
2008-12-16Permission only function on albums.Bharat Mediratta
2008-12-15Start of the dialog to specify the watermark placement. For convience, ↵Tim Almdal
using the imagemagik nomicalture regarding watermark locations (east, west, center, etc.) You can drag the watermark around but it doesn't stay in place. Need to figure out how to resize the dialog box and all of the supporting javascript
2008-12-15Protect menus and blocks against the fact that we don't have an itemBharat Mediratta
on tag pages.