summaryrefslogtreecommitdiff
path: root/modules/gallery
AgeCommit message (Collapse)Author
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-28Modify the cache table to make id the primary key for consistency withBharat Mediratta
other gallery 3 tables. Update the driver to match, add more upgrader code, update the installer block and change the gallery module version to 6.
2009-06-28Tweak the cache implementationBharat Mediratta
1) Drop the *_modified key, we don't really need it. The modification date is not relevant to our browser caching strategy. 2) Fix multiple issues with the Expires header and just hardcode it to the biggest possibly value for code clarity. 3) print the $content out directly instead of using fwrite 4) Minor cleanups in the installer.
2009-06-28Change the combined javascript to use the new caching functionality and ↵Tim Almdal
respect the HTTP_IF_MODIFIED_SINCE header request.
2009-06-28Change the cache column of the caches table to a large blob. This fixes ↵Tim Almdal
ticket #485 and gives us the extra adavantage of not having to serialize the data (as the database driver handles that for us)
2009-06-28Clean up code (i.e. preamble, tabs) from the caching implementation so the ↵Tim Almdal
unit tests pass
2009-06-27The rest of the caching driver implementation that i somehow forgot.Tim Almdal
2009-06-27Update the version number and upgrade method for gallery to reflect the ↵Tim Almdal
addition of the cache table.
2009-06-27Implemented a Database driver for the Kohana Cache library. Rather then ↵Tim Almdal
writing our own caching algorithm, we can leverage the Kohana library. This has the added advantage of allowing the administrator to replace the default caching with a 3rd party caching algorithm.
2009-06-27Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
2009-06-27Create a new thumb_menu() and convert Digibug over to use it.Bharat Mediratta
1) Eliminate digibug_album.html 2) Get rid of the $(document).ready() in digibug.js and rename popUp() to digibug_popup() then just make direct calls to digibug_popup() in the menu urls.
2009-06-26Implement the combined javascript controller.Tim Almdal
2009-06-26Create a theme_view function script which allows modules in the head or ↵Tim Almdal
admin_head functions to specify javascript files that are required for this page. In this commit, these script files are expressed at the end of the head or admin_head calls and appended to the beginning of the block stack. In a future commit these will be combined and gzipped for download.
2009-06-26Move the inclusion of photo and movie specific javascript into gallery_themeTim Almdal
2009-06-26Change the movie controller to set the page type to "movie". Ticket #467Tim Almdal
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-06-26Change the movie controller to set the page type to "movie". Ticket #467Tim Almdal
2009-06-261) Move the generation of script tags to gallery_theme::head and ↵Tim Almdal
gallery_theme::admin_head. This allows us to potentially manage the scripts like we do in g2 (single file and compressed) 2) Change Theme_View::_call to always call the gallery_theme::$function first.
2009-06-24Use ENT_QUOTEs when decoding the $current_uri otherwise apostrophesBharat Mediratta
are treated as &#039; which doesn't match in our relative_path_cache.
2009-06-24Look in /opt/local/bin for binaries, too.Bharat Mediratta
Fixes ticket #423.
2009-06-23Cache the page_type in pane() instead of looking it up twice.Bharat Mediratta
2009-06-23Fix broken rotate urls.Bharat Mediratta
2009-06-23Remove stray ? that was breaking ccw rotation.Bharat Mediratta
2009-06-23Add gDialogLink to the delete button, since its got a jQueryBharat Mediratta
confirmation dialog now. This was a regression in fa4bb5b7ac89bbbd0325e5c336c2e9b31f59d12b. Fixes ticket #459.
2009-06-23Add a new "show credits" check box in the theme options so that youBharat Mediratta
can disable any module credits if you want. Update the theme to obey it.
2009-06-23Fix get_position() to properly deal with duplicate values in the sort ↵Bharat Mediratta
column. Fixes #389
2009-06-23Escape {$this->sort_column} in get_position()Bharat Mediratta
2009-06-23Don't allow renaming of the root album.Bharat Mediratta
2009-06-23Refactor the install/upgrade code to be more flexible.Bharat Mediratta
Add xxx_installer::upgrade($version) method so that upgrade stanzas are separate from install stanzas. In the old code, to do an upgrade meant that you had to re-evolve everything from the initial install because we'd step through each version's changes. But what we really want is for the initial install to start off in the perfect initial state, and the upgrades to do the work behind the scenes. So now the install() function gets things set up properly the first time, and the upgrade() function does any work to catch you up to the latest code. See gallery_installer.php for a good example.
2009-06-23Order log entries by id as well so that multiple events in the sameBharat Mediratta
second are still shown in descending order.
2009-06-22Fix css indentationBharat Mediratta
2009-06-22Update version comparison to match latest gallery module versionBharat Mediratta
2009-06-22UpdatedBharat Mediratta
2009-06-22Remove debugging output that was overlookedTim Almdal
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-06-22Change the quick pan from static to dynamic. This allows modules to add ↵Tim Almdal
buttons to the quick pane. The quick pane is now divided into 4 sections: left, center, right and additional. Additional items appear in the drop down box. Buttons are not sorted within the groupings. In addition, the quick pane will overflow onto the "additional" dropdown if there is not enough room to display all the buttons. The use case is the digibug printing module needed to add a button to the quick pane, and I don't like putting code into core that says if module is active... That's another one of those code smells :-) Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
2009-06-21Add Session::abort_save() to Kohana.Bharat Mediratta
Filed upstream as: http://dev.kohanaphp.com/issues/1801
2009-06-20Center the "all done" dialog. Use Jquery and externalize the CSS (I was beingBharat Mediratta
too conservative before). Fixes ticket #413.
2009-06-20Fix a bug in gallery_installer where on an initial install we wereBharat Mediratta
only implementing schema version 1. This caused install.sql to be populated from version 1 which meant that after install you'd have to run the upgrader. No harm done, and the pattern is fixed for the future. Alphabetize the tables so it's easier to find stuff.
2009-06-19Improve the task dialogBharat Mediratta
1) Put a "starting up..." message before there's any feedback from the server 2) show the title of the task in the dialog.
2009-06-18Fix format of source message in l10n client (adding a newline between plural ↵Andy Staudacher
forms)
2009-06-18Fix plural messages in l10n scanner - Bad typo lead to basically breaking ↵Andy Staudacher
all plural ("other") forms.
2009-06-18Fix/remove unnecessary escaping of double quotes in l10n scanner.Andy Staudacher
2009-06-17Correct the "inappropriate intimacy" smell that bharat's refined senses pick upTim Almdal
2009-06-17Fix for ticket #366Tim Almdal
Move the creation of the setting menu back to gallery_menu::admin, now that there is a mechanism to remove empty menu items
2009-06-17Fix for ticket #366Tim Almdal
1) Stored the menu element type in the menu element 2) Scanned the menu before display removing any empty sub menus. Went with the removal approach because there will more users than developers
2009-06-16Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-06-16Fix a bug that was overwriting the quick-pane HTML causing the quickBharat Mediratta
panes not to appear. Oops. Bug was introduced in the rss refactor: 1b656be7135efe51ba0eb34d6ac76c2632ec193a
2009-06-16Change the page.html file so that if the type of page is login, the sidebar ↵Tim Almdal
contents are are not shown