summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-05-16Don't allow photos, albums or movies to have a trailing period to avoidBharat Mediratta
security problems. Ref http://dev.kohanaphp.com/issues/684). This plus r20823 resolves ticket #248.
2009-05-16Don't allow albums/photos/movies to end in "." because it risksBharat Mediratta
securit issues (and so Kohana won't route them, see http://dev.kohanaphp.com/issues/684). Partial fix for ticket #248.
2009-05-16Modify the module::event method to accept 2 additional parametersTim Almdal
instead of a variable list and then pass both of these parameters by reference to the event handlers. 2 parameters cover 100% of our existing event calls.
2009-05-16Support renaming albums, photos and movies.Bharat Mediratta
Fixes ticket #278.
2009-05-16Don't allow the various ::create() methods to take "/" in the name.Bharat Mediratta
2009-05-16Item_Model::rename() cannot accept new filenames that contain "/"Bharat Mediratta
2009-05-16Implement Item_Model::rename(), with unit tests.Bharat Mediratta
2009-05-16Rename the theme menu options under the Appearance menu.Bharat Mediratta
2009-05-15Only cache rows if they are objects, which assumes also that they are ↵Bharat Mediratta
instances of ORM.
2009-05-15Make denied links not clickable at the root level when the permissionBharat Mediratta
is already denied. Ie, at the root level you can't click the item to reset because there's no permission to inherit from, so denied is now just a non-actionable status.
2009-05-14Use ternary operators to tighten up some logicBharat Mediratta
2009-05-14Get rid of the 'View comments on this item' menu option for photos.Bharat Mediratta
It doesn't fit in with the others and as Jakob points out, the scroll wheel on the mouse is perfectly sufficient. I'll leave the icon around, though.
2009-05-14Provide tooltips for Menu_Element_LinkBharat Mediratta
2009-05-14Tell the user the location of VARPATH so that they know where their photos ↵Bharat Mediratta
are getting installed.
2009-05-14Fix save() to stop using ORM objects.Bharat Mediratta
2009-05-14Convert spaces into underscores when generating the album name from the titleBharat Mediratta
2009-05-14Fix for ticket #268Tim Almdal
1) Added a clear method to model_cache 2) Cleared the model_cache, when the make_album_cover or remove_album_cover is called.
2009-05-14Specify the internal_cache_path (even though we're not using this yet).Bharat Mediratta
2009-05-14Bind to the change() event also so that we can pick up autocompletions in ↵Bharat Mediratta
the title box.
2009-05-14Change the way we update view_count to use math instead of ORM for better ↵Bharat Mediratta
accuracy
2009-05-14Use the active user as the new item's owner, if no owner id is specifiedBharat Mediratta
2009-05-14Cache variables in core._cache so that we can retrieve them all in aBharat Mediratta
single query. In most cases, we were fetching 4-5 variables per page load, so this is 2-3x faster.
2009-05-14Introduce a relative_path_cache column in the items table. This letsBharat Mediratta
us avoid doing lots of MPTT lookups to find the parent path when we're trying to generate thumbnails, etc. Invalidate the cache at all the right times. This greatly reduces our query count on album page views. This fixes ticket #40.
2009-05-14Updated to match r20797Bharat Mediratta
2009-05-14Overload ORM_Iterator to cache models as we pull them out of theBharat Mediratta
result set. This allows us to see the cache and avoid further lookups.
2009-05-14Use model_cache() instead of ORM::factory()Bharat Mediratta
2009-05-14permissions UI faceliftJakob Hilden
2009-05-14Beautify only the title, not the filenameBharat Mediratta
2009-05-13Fix a bad redirect.Bharat Mediratta
2009-05-13Use the $filename not the $name to find the path extension.Bharat Mediratta
2009-05-13Add a little JS sugar to set the album directory name to the same asBharat Mediratta
the album title.
2009-05-13Address the final point in #226. Disable the make album cover icon ifTim Almdal
the pane has the ui-state-disabled class
2009-05-13Suppress some warningsBharat Mediratta
2009-05-13Allow admins to modify variables. This way when something goes wrong,Bharat Mediratta
we can tell them what to do in the forums and we don't have to build super smart admin UIs to help users with weird edge cases. This plus r20789 is probably a good enough fix for #232.
2009-05-13I should test this stuff before I submit it, eh.Bharat Mediratta
2009-05-13Store the ffmpeg path in a variable.Bharat Mediratta
2009-05-13Fix menu typo.Bharat Mediratta
2009-05-13Gee it's May already. Update copyright to 2009.Bharat Mediratta
2009-05-13Add the "advanced settings" controller which lets you see all theBharat Mediratta
vars. We'll eventually turn this into a registry where you can edit settings directly (at your own risk).
2009-05-13Create a new "add" permission and require it at the controller levelBharat Mediratta
when adding photos/movies/albums
2009-05-13Unlink var/modules dir also when packagingBharat Mediratta
2009-05-13Set the default transparency to 1 (no transparency at all)Bharat Mediratta
2009-05-13Exclude the root album from the "dirty images" queryBharat Mediratta
Clean some HTML out of a translated string.
2009-05-13updated to reflect tinyint(2) -> smallint(6) changeBharat Mediratta
2009-05-13Clean out old dirs before packaging.Bharat Mediratta
2009-05-13Oops, use filename instead of nameBharat Mediratta
2009-05-13Empty dirBharat Mediratta
2009-05-13Don't allow admins to delete the guest user. Fixes ticket #213Bharat Mediratta
2009-05-13Make the 'this user cannot be deleted' link actually not clickable.Bharat Mediratta
2009-05-13Variety of changes to the way we do user editing:Bharat Mediratta
1) Allow admins to edit the admin bit of other admins 2) Don't allow admins to delete themselves (partial fix for ticket #213) 3) Inline user::update(). Don't do form processing in helper methods! 4) Inline user::_get_edit_form() so that we can treat edit forms differently. Trying to hard to make common functions makes for weird edge cases.