summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2008-12-21Add a logging facility, and instrument login/logout to use it.Bharat Mediratta
2008-12-21Implement the "recent comments" block with real data.Bharat Mediratta
2008-12-21Change "datetime" to "created" to give some semantics to this field.Bharat Mediratta
2008-12-20Fix a problem with magentaBharat Mediratta
2008-12-20Add view counts and show them properly.Bharat Mediratta
2008-12-20Fix preambleBharat Mediratta
2008-12-20Move Recent Comments into its own block.Bharat Mediratta
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-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-19Don't try to validate the form unless it's a POST request.Bharat Mediratta
2008-12-19Fix indentation.Bharat Mediratta
2008-12-19Don't restrict image overlaysBharat Mediratta
2008-12-18Add labels to the form groups.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-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-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-17Fix a bug where setting the active user did not reset group_ids (unit tests ↵Bharat Mediratta
ftw!)
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-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-16Dump out the stack trace on errors.Bharat Mediratta
2008-12-16Fix preambleBharat Mediratta
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-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-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-16Colorize test outputBharat 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-15Update to reflect changes in Kohana ORM relationship code.Bharat Mediratta
Now you must call ORM::save() after ORM::add() and ORM::remove().
2008-12-15(merge of vendor/kohana/modified/modules/unit_test r19226) Re-add english ↵Bharat Mediratta
versions of unit test messages
2008-12-15Reapply r19116:Bharat Mediratta
Add support for filtering tests down to the Class::method level. Upstream ticket: http://dev.kohanaphp.com/ticket/961
2008-12-15Reapply patch to make tests always call teardown.Bharat Mediratta
Upstream ticket: http://dev.kohanaphp.com/ticket/960
2008-12-15Refresh of Forge r168 from vendor/forge/modifiedBharat Mediratta
2008-12-15Delete forge in preparation to refresh it from vendors/forge/modifiedBharat Mediratta
2008-12-15Refresh from kohana svn trunk r3771Bharat Mediratta
2008-12-15Delete trunk/kohana and trunk/modules/unit_test in preparation to refreshBharat Mediratta
them properly from the vendor branch.
2008-12-15Fix the reference to jquery-ui.packed.jsTim Almdal
2008-12-15Change the label on the watermark form upload element, so the error message ↵Tim Almdal
is at least somewhat meaningful
2008-12-15Cleanup watermark.jsTim Almdal