summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-06-29Use the appropriate content-type for javascript (application/javascript).Bharat Mediratta
2009-06-29Pass back Cache-Control and Expires headers when we send back a 304,Bharat Mediratta
otherwise some browsers (Firefox, at least) thinks that it needs to revalidate. At least in my case, it appears that my proxy tacks on restrictive Cache-Control headers if they aren't there.
2009-06-29Add instructions for using mod_expiresBharat Mediratta
2009-06-29Fix a few more issuesBharat Mediratta
1) Don't use $_SERVER, use Input::instance()->server(). This fixes the problem that when you use a browser that doesn't pass in an Accept-Encoding, we'd barf on a missing array key 2) Don't bother looking up the _gz key if we don't have gzencode, because we probably didn't store one. 3) Only emit the gzip Content-Encoding header if we're actually sending back gzipped data.
2009-06-29Remove the testing code to force rebuilding the cache.Tim Almdal
2009-06-29Ticket 86 (addendum) - Guard against themes that don't define MSG_CANCEL and ↵Andy Staudacher
add the message to admin_default as well.
2009-06-29Fix for ticket 86 - Make Cancel button in doalogs localizable.Andy Staudacher
2009-06-29Revert to serializing and deserializing data. The cache table can'tBharat Mediratta
accept PHP constructs like arrays (the tests were choking on this). Update tests to reflect the new `key` column.
2009-06-29Checkpoint.Bharat Mediratta
2009-06-29Change XXX to @todoBharat Mediratta
2009-06-29Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-06-29If the argument to app() is not an album id, switch to the item parent.Bharat Mediratta
Fixes ticket #489.
2009-06-29Merge branch 'master' of git@github.com:gallery/gallery3Andy Staudacher
2009-06-29Fix for ticket 481 - Better plural handling for 2 messages with multiple ↵Andy Staudacher
%count variables.
2009-06-29Remove fix-ie.css scripts from the combined bundle, since we only wantBharat Mediratta
to load them conditionally.
2009-06-29Oops, "head" => "admin_head" to make the admin dashboard work.Bharat Mediratta
2009-06-29Merge branch 'master' of git@github.com:gallery/gallery3Andy Staudacher
2009-06-29Fix HTML in l10n messageAndy Staudacher
2009-06-29Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-06-29Don't repeat the default locale in the installed locales list.Andy Staudacher
2009-06-29Fix permissions for files to remove executable bit.Bharat Mediratta
2009-06-29Fix some bugs in the combined JS/CSS code (most of which I introducedBharat Mediratta
in my last refactor): 1) Actually combine the JS (I was only combining the CSS) 2) Add line breaks between the files and comment them so that we can find a specific file inside the blob. 3) Add an HTML comment to help developers figure out why they can't find their CSS/JS.
2009-06-29Add a media type using the most common media type from our CSS. ThisBharat Mediratta
doesn't fix the problem that we need to support multiple media types (the original code had superfish using just "screen", and some other deviations). There's no code yet to support multiple media types, but it would not be too difficult to create buckets based on media.
2009-06-29Refactor combine_xxx() functions together into combine_files() and useBharat Mediratta
html functions to generate the resulting elements. Add phpdoc.
2009-06-29Refactor combined controller a bitBharat Mediratta
1) Create public javascript() and css() functions and turn __call() into a private function to protect us against having some random type show up in there. Otherwise anything you put in the 2nd argument gets emitted in the header which is a security hole. 2) Fix a bug ("$key = $key[0]") which was breaking functionality. Eliminate the hex check, it's not really necessary in the majority case and doesn't hurt us in edge cases. 3) Convert some empty() calls to !, no need for a function call there. 4) Add phpDoc.
2009-06-29Combine the Combined::javascript and Combined::css into a single method ↵Tim Almdal
implemented by the magic method __call. The first parameter is the content type for text/xxxx and the 2nd parameter is the key of the combined file.
2009-06-29Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-06-29admin dashboard blocks can now be moved from left to right sidebarjhilden
fix for bug report #92 removed containment parameter for the jQuery sortable plugin seems to work in Firefox, Chrome and IE 8
2009-06-29Merge branch 'master' of git@github.com:gallery/gallery3jhilden
2009-06-29added textual description of upload progressjhilden
moved the cancel link to above the upload queue (where the textual upload progress also is)
2009-06-29A Combined javascript seems to work.Tim Almdal
1) CSS files are added to the combined version by use of $theme->css() or $theme->css_theme() methods 2) url references in the css are converted to full paths as opposed to relative 3) @import statements in the css are resolved as well. 4) need to move the [if IE] statements into the css files so the will be honored in the browser. currently the ie fix css are always included.
2009-06-29Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-06-29Remove unused $theme_relative arg from theme_script().Bharat Mediratta
2009-06-29*Note* work in progress.Tim Almdal
Implement the combined css functionality. Local url references and replace with absolute urls instead of relative.
2009-06-29Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
Conflicts: modules/gallery/libraries/Theme_View.php themes/admin_default/views/admin.html.php
2009-06-29Temporary checkin to allow merge with trunk... don't integrateTim Almdal
2009-06-28Rename $theme->url() to $theme->theme_url() for consistency wihtBharat Mediratta
$theme->theme_script().
2009-06-28Clean up the combined javascript change and refactor out theBharat Mediratta
Gallery_View base class from Theme_View and Admin_View. 1) Move all the theme specific jquery stuff from gallery_theme::head() and admin_head() into the theme files. Use $theme->script() as appropriate. 2) Get rid of the extra boolean on $theme->url() that we were using so that we could call $theme->script($theme->url(...)) -- add $theme->theme_script() instead (poorly named, but still clearer than what we had before) 3) Fix the bug that combined scripts didn't work at all in the admin theme. 4) Get rid of $theme->display() in favor of new View(...)
2009-06-28Use Number() instead of toFixed().. FF 3.x doesn't seem to like toFixed() on ↵Bharat Mediratta
native types.
2009-06-28Get rid of references to vestigial check.html.php page.Bharat Mediratta
2009-06-28Move the mysql_xxx() override function definitions insideBharat Mediratta
installer::connect(), otherwise they're defined before we call check_environment, then we think we have mysql_query when we really don't.
2009-06-28Undo my last change; it's not the right fix for the problem.Bharat Mediratta
2009-06-28Pass the item into the block.Bharat Mediratta
2009-06-28Set the gallery module version to 6 in install() (missed this in my last ↵Bharat Mediratta
change). Refresh the install.sql.
2009-06-28Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-06-28use jquery.scrollTo to scroll the active upload into view.Bharat Mediratta
2009-06-28Rename the combined javascript controller from javascript/combined to ↵Tim Almdal
combined/javascript.
2009-06-28Merge branch 'master' of git@github.com:gallery/gallery3Chad Kieffer
2009-06-28Convert info module's block to use a list instead of a table. Addresses ↵Chad Kieffer
request in ticket #441.
2009-06-28Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal