summaryrefslogtreecommitdiff
path: root/core
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-14Provide tooltips for Menu_Element_LinkBharat Mediratta
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-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-13Exclude the root album from the "dirty images" queryBharat Mediratta
Clean some HTML out of a translated string.
2009-05-13Clean out old dirs before packaging.Bharat Mediratta
2009-05-13Oops, use filename instead of nameBharat Mediratta
2009-05-13Beautify the title of uploaded files. Convert underscores to spaces, ↵Bharat Mediratta
collapse multiple spaces, drop the extension. Fixes ticket #237
2009-05-13Display the server load average in the platform block. Fixes ticket #198.Bharat Mediratta
2009-05-13Log the complete exception information for exceptions that happen in tasks ↵Bharat Mediratta
so that we have some clue as to what went wrong
2009-05-12Fire off the module_change event whenever we install or uninstall a moduleBharat Mediratta
2009-05-12Simplify delete()Bharat Mediratta
2009-05-12Fix a bug where deleting an album sometimes deletes everything in var. ↵Bharat Mediratta
Fixes ticket #282
2009-05-12parent() should return null if there's no parent idBharat Mediratta
2009-05-12fix comment typo.Bharat Mediratta
2009-05-12Allow configurable padding optionsBharat Mediratta
2009-05-11Add has_thumb() public API methodBharat Mediratta