summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
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
2009-05-11Fix for #226Tim Almdal
2009-05-11Save and Restore the $_POST variable in tests that manipulate it soTim Almdal
other tests don't fail unexpectedly
2009-05-11Avoid using ORM_MPTT::parents() in relative_path() so that we're notBharat Mediratta
calling ORM just to get paths. This is a 10x performance increase.
2009-05-10remove_rule() should mark thumbs/resizes dirty also. Resolves ticket #269, ↵Bharat Mediratta
thanks jstricker!
2009-05-10Beautify the error message.Bharat Mediratta
2009-05-10Warn users if they have suhosin.session.encrypt enabled that it'll break the ↵Bharat Mediratta
uploader
2009-05-10Document why we skip the parent state for the root album.Bharat Mediratta
2009-05-10Disable default sorting for performance. (thanks Romain LE DISEZ)Bharat Mediratta
2009-05-10Change TINYINT(2) to SMALLINT for compliance (thanks Romain LE DISEZ)Bharat Mediratta
2009-05-09Move the thumb_proportion method into Theme_View and set it by defaultTim Almdal
if the page type is album. Leave a todo if we ever set up a theme default API
2009-05-09Force the 'GD Version' key to existBharat Mediratta
2009-05-09Fix for ticket #255Tim Almdal
2nd iteration
2009-05-09Fix for ticket #255Tim Almdal