summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-12-20Create module::load_themes() to load the correct theme after we doBharat Mediratta
routing and know whether we're going to an /admin page or a regular one.
2008-12-19Implement admin user editing. It's still very rough. Trying toBharat Mediratta
figure out how to share forms between user and admin editing. Incremental improvement
2008-12-19Fix a bug in admin delegation.Bharat Mediratta
2008-12-19Add access::forbidden()Bharat Mediratta
2008-12-19Create a new pattern for Site Admin controllers:Bharat Mediratta
1) They must all start with "admin_". This pattern is not directly routable. 2) Their urls must be /admin/xxx. 3) The Admin_Controller will take the xxx and look for Admin_Xxx_Controller and will delegate to that admin controller, after doing security checks. Moved the users and dashboard views into individual modules for now.
2008-12-19Delete the var/thumbs .htaccess files, too.Bharat Mediratta
2008-12-19Add a bit more space under gHeader.Chad Kieffer
2008-12-19Don't try to validate the form unless it's a POST request.Bharat Mediratta
2008-12-19Fix indentation.Bharat Mediratta
2008-12-19Missed this in last commit. Say it with me, run svn status before svn ci :)Chad Kieffer
2008-12-19Restored admin menu. Restored call to default theme's style sheet during ↵Chad Kieffer
development, to simplify the process. Admin specific styles go in admin_default/css/screen.css. Moved jquery files out to css and js.
2008-12-19We always have at least 1 page in an album.Bharat Mediratta
2008-12-19Add session based CSRF protection to all formsBharat Mediratta
2008-12-19Allow server-side adding of images to other albums than the rootBharat Mediratta
2008-12-19Don't restrict image overlaysBharat Mediratta
2008-12-18Add labels to the form groups.Bharat Mediratta
2008-12-18Don't wrap hidden inputs in <li/>Bharat Mediratta
2008-12-18Add <fh:complete/>Bharat Mediratta
2008-12-18Refactor site admin menu into a theme function and build the menus inBharat Mediratta
the various modules. In the process, rename xxx_menu::site_navigation() to just xxx_menu::site(). And add xxx_menu::admin(). The menus are the same as before, but I changed the HTML to be consistent with the way that we do it in the regular site, and this broke the superfish styles. I don't know how to fix this.. help me Chad!
2008-12-18I'm tired of clicking. Here are a few Selenium IDE tests.Chad Kieffer
2008-12-18Dialog polishing. They now resize their height. Updated form styles in the ↵Chad Kieffer
context of dialog display (don't show legends, fieldset border, or submit button). Let's make sure that all forms generated are complete and well formed and then use JS and CSS to control their display and behavior in different contexts.
2008-12-18Update cookie handling to ignore $Version, $Path and $Domain cookieBharat Mediratta
attributes and make it RF2109 compliant.
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.