summaryrefslogtreecommitdiff
path: root/modules/gallery
AgeCommit message (Collapse)Author
2009-11-18Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-11-18For album pagination, don't let the last_visible_position exceed theBharat Mediratta
total. Fixes ticket #903.
2009-11-18Revert "Simplify the maintenance of the xss golden file by having each ↵Tim Almdal
module contibute its own golden file to a consolidated one. This will make it easier for -contrib modules or themes to be included in the xss security test w/o having to keep modifying a central golden file." This reverts commit 4fe5801c885088e5e6c11b8a20a561415941b864.
2009-11-18Simplify the maintenance of the xss golden file by having each module ↵Tim Almdal
contibute its own golden file to a consolidated one. This will make it easier for -contrib modules or themes to be included in the xss security test w/o having to keep modifying a central golden file.
2009-11-18Update the xss golden file so tests pass.Tim Almdal
2009-11-18Create a helper to load the theme information from theme.infoTim Almdal
2009-11-17Address RTL issues reported in ticket #869. Placement of checkboxes and ↵Chad Kieffer
radio buttons and sidebar block management lists.
2009-11-17Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-11-17Tweak load_themes() to match exactly "/admin" or the "/admin/" prefix,Bharat Mediratta
but not just the "/admin" prefix because that breaks if you add an image like "admin_photostream".
2009-11-17White-space fix and quoting update.Chad Kieffer
2009-11-17Redesign the way that we consider page types to create buckets of pageBharat Mediratta
types, and a subtype for specifics. Currently the top level bucket collection, item, other Here are the core subtypes so far: collection: album, search, tag item: movie, photo other: login, reset, comment-fragment, comment It's legal to create new page_subtypes whenever you want. Use the appropriate page_type to get the coarse grain behavior that you want.
2009-11-16Store the directory, files and translation cache in the gallery3 cache ↵Tim Almdal
instead of trying to store it in the task. It is possible with lots of modules and lots of incoming translations to go beyond the 64K limit in the task context. Possible fix for #886.
2009-11-16If an empty array is passed into set method, then make sure the tag value ↵Tim Almdal
being stored in the database is null, not "Array"
2009-11-16Use some hacky css to get the buttons alighned properly. Fixes ticket #880.Tim Almdal
2009-11-15Xss data updateBharat Mediratta
2009-11-15Use text::alternate() instead of hand-rolled even/odd code.Bharat Mediratta
2009-11-15Updated xss data.Bharat Mediratta
2009-11-15Use 'git ls-files' instead of glob() so that we only check files knownBharat Mediratta
to Git. This means that local files which we choose to exclude from git don't have to follow the same permission model.
2009-11-15Save/restore $_SERVER before/after tests to avoid contamination.Bharat Mediratta
Fix albums/photos tests to make sure we're really getting the HTTP_REFERER back.
2009-11-15Try to keep users from leaving the upgrade page, or running theBharat Mediratta
upgrade twice. 1) Disable the "Upgrade all" link once clicked 2) Put up a "upgrade in progress" link to show that there's something happening. Fixes ticket #837.
2009-11-15Change "confirmation" to "dialog" in preparation for putting up aBharat Mediratta
"we're working, stay tuned" message.
2009-11-15Tweak upgrader html and css so that we set opacity properly for rowsBharat Mediratta
that are done, and disable the upgrade link when there're no actions to take.
2009-11-15Fix a bug where we were using <? ?> tags in css to figure out whether weBharat Mediratta
should gray out an element.
2009-11-15Close the confirmation box with a fade, instead of a slide.Bharat Mediratta
2009-11-15Fix a couple of errors in the refctored paginator code:Bharat Mediratta
1) We weren't showing previous page links for albums when we should have 2) We needed to wrap the results of url::merge() in url::site() so that we generate server-relative urls.
2009-11-14Oops. Fix a typo that the forced page_type to always be "tag"Bharat Mediratta
2009-11-14Fix pagination so that it does not require any domain specific logicBharat Mediratta
to support tags and search. Instead, just modify the page param to the current page.
2009-11-14Rename "pager" to "paginator" so that we differentiate page.html.phpBharat Mediratta
from paginator.html.php
2009-11-14Normalize pagination so that pager.html.php can handle pagination forBharat Mediratta
both albums and movies. Kohana's paginator is not quite sufficient for this, so create our own pagination logic in Theme_View with only the stuff we need. Clearly document the variables available in pager.html so that themers know how to use it. Fixes ticket #626.
2009-11-14Fix a bunch of little issues in the version 16, 17, and 18 upgraders.Bharat Mediratta
- Add a missing loop in 15->16 causing ticket #881 - Comment the blocks correctly - Remove unnecessary loop from 18->19
2009-11-13In order for us to provide a button that is style the way we want it to, we ↵Tim Almdal
need to make the object transparent and hide its button, then our styling shows through. But what worked the other day no longer works, so until thumb gets a chance to look at the style so the buttons line up, we will just go with the default button so it works.
2009-11-13Standardize the name of the blocks.Tim Almdal
2009-11-13Undo using the md5 hash of the module name and block_id, so duplicate blocks ↵Tim Almdal
are no allowed again
2009-11-12Re-generate the install.sql so that the keys of the block lists are an md5 ↵Tim Almdal
hash of the module_name:block_id. Also change the packager so we delete the _cache variable for the module gallery not core.
2009-11-12Change the keys of the block arrays in block manager to be a md5 hash of ↵Tim Almdal
module_name:block_id. This allows easier lookup of blocks to remove when modules are being deactivated. Change the module activation/deactivation to call (activate|deactivate)_blocks instead of just the sidebar blocks. This insures that when a module is deactivated any admin dashboard blocks are removed as well the site sideboard blocks. Fix for ticket #876.
2009-11-11Add some padding to the add photo's button so when the focus goes on the ↵Tim Almdal
flash object, it lines up with the button.
2009-11-11Make the browse button look more like the current one.Tim Almdal
2009-11-11Improve error handling.Tim Almdal
2009-11-10Pass two of uploadify... remove the default.css file, removed the folder ↵Tim Almdal
option and create a status area where succesful uploads are listed.
2009-11-09First cut at replacing swfupload with uploadify. Probably need to review ↵Tim Almdal
the css and remove extra swfupload selectors. Also changed the dialog so tags can be entered for all the files being uploaded. Probably need to add better start processing so the batch is started before the first image is loaded. Maybe add a module variable so the number of simultaneous uploads can be initiated (currently hard ocded to 10.
2009-11-09Revert "Try an new approach to extending forms. Create an extend_form ↵Tim Almdal
event. For the first attempt replace the comment_add_form and item_add_form events." This reverts commit 809e738536b6639bb42ecae8eb1e183543fed93c.
2009-11-09Merge branch 'master' into talmdal_devTim Almdal
2009-11-08Fix an accidental old use of $photo in the extension renaming code.Bharat Mediratta
2009-11-08Merge branch 'master' of github.com:gallery/gallery3Chad Kieffer
2009-11-08No need to abbreviate text in CSS class names. Thx bharat!Chad Kieffer
2009-11-07Merge branch 'master' into talmdal_devTim Almdal
2009-11-07Remove debugging statementTim Almdal
2009-11-07Move the Remove all completed tasks back out of the th, shouldn't have put ↵Chad Kieffer
it there in the first place.
2009-11-07Merge branch 'master' into talmdal_devTim Almdal
2009-11-071) Change the name of the form and message to g-in-place-edit-form and ↵Tim Almdal
g-in-place-edit-message. 2) Make sure the cancel button works and cleans up the dom appropriately.