summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-11-25Change url() to use url::file() since it's more concise.Bharat Mediratta
2008-11-25Remove module() since it's now unused. We can add it back if we decide that ↵Bharat Mediratta
we want it again.
2008-11-25Move the in-place-edit JS into the page_footer callback and out ofBharat Mediratta
Theme.php.
2008-11-25tag::add_tag() -> tag::addBharat Mediratta
2008-11-25Make the annotated block titles 10% larger.Bharat Mediratta
2008-11-25Simplify the API. We don't have a need to add multiple tags toBharat Mediratta
multiple items, so don't create a confusing API where we don't need one. The caller can just as easily loop over items and tags. Use ORM::has() instead of manually looping over items, which would be wildly inefficient on large installs. Document that we're calling ORM::has() a second time just so that we can update the count correctly.
2008-11-25Remove a stray comma that was making IE sad.Bharat Mediratta
2008-11-25Add gClearFix to the annotated theme elements, which makes the box surround ↵Bharat Mediratta
its contents better (thanks thumb!)
2008-11-25Round the corners on the annotated titles, gently.Bharat Mediratta
2008-11-25Add theme debugging. Activate it in the [info] tab in theBharat Mediratta
scaffolding, then browse around your Gallery3 to see where you can add visible elements via modules.
2008-11-25Escape CDATA blocks to avoid JS errorsBharat Mediratta
2008-11-25Reposition album_top and album_bottom slightlyBharat Mediratta
2008-11-25Move comment listing into the comment moduleBharat Mediratta
2008-11-25Oops, fix a typo causing us to treat an array like a string.Bharat Mediratta
2008-11-25Don't add in-place-edit CSS unless there's a logged-in user.Bharat Mediratta
2008-11-25Fix a bug in thumbnail_info where we were printing out the data instead of ↵Bharat Mediratta
returning it
2008-11-24Moved the creation of tags into the tag helper library. Added a count field ↵Tim Almdal
to the tags table. Bharat, I know you said not to worry about caching, but I want to explore what are some of the issues with keeping track of the counts as we go. (i.e. is it a pain in the a__)
2008-11-24Add @todo to look at normalizing the url functions to the ones already in ↵Tim Almdal
MY_url.php
2008-11-24Show a link to the item with the most tags.Bharat Mediratta
2008-11-24Fix a typo in _show() that broke proper redirectionBharat Mediratta
2008-11-24Show the tag count, too.Bharat Mediratta
Try using array_rand to simplify tag creation logic. Is it better? Maybe.
2008-11-24Detect browsers that prefer XHTML (Chrome!) and normalize it to HTMLBharat Mediratta
so that we don't ship XML down to Chrome.
2008-11-24Changed comment sort order asc. Changed ajax comment add to append comment ↵Chad Kieffer
li to comment thread ul. Added fadeIn for user login.
2008-11-24Don't bother trying to check if the class file exists, just use ↵Tim Almdal
method_exists, which will use the php auto loader to find the class.
2008-11-24Revert the site_title changeTim Almdal
2008-11-24Remove the has_many_and_belongs_to_many relations from the item modelTim Almdal
2008-11-24Add the creation of tags to the scaffolding codeTim Almdal
2008-11-24Make login form JS unobtrusive. Needs work.Chad Kieffer
2008-11-23Prefer variable interpolation to sprintf where possible (less code, more ↵Bharat Mediratta
readable) Prefer url::abs_site() to atom::get_base_url()
2008-11-23Fix double-escaping in the item comments feed.Jozef Selesi
2008-11-23Show the # of commentsBharat Mediratta
2008-11-23Change the map, for kicks.Bharat Mediratta
2008-11-23When removing #gCommentForm I forgot to update the jQuery selectors used ↵Chad Kieffer
here. In place commenting works again.
2008-11-23Escape Javascript to avoid validation errors.Bharat Mediratta
2008-11-23Fix HTML errors.Bharat Mediratta
2008-11-23Fix a few minor bugs in the tags db schema and simplify it a bit.Bharat Mediratta
Avoid using restrictions on our data in the database; let's design the system to keep integrity in the app (and make the app robust against minor integrity issues like duplicate tags, etc).
2008-11-23This should have been checked in with r18815.Chad Kieffer
2008-11-23Tag module database definitionsTim Almdal
2008-11-23Add a site-config parameter to the config.php file. Created a ↵Tim Almdal
core_block:head method to insert the title into the head section. If the config value is false, the default Browse Photos::$item->title is used. A string value with a trailing '-' will append the config value to $item-title. Otherwise, the page title is set with the supplied value.
2008-11-23Changed and extended the Atom library a little so that the code for creating ↵Jozef Selesi
entries and feeds has been considerably simplified and reduced.
2008-11-23Remove extra quotes around variable that already contained a string valueTim Almdal
2008-11-23Move search out into its own module and have it display its link atBharat Mediratta
the header_bottom() insertion point.
2008-11-23Add a button to install all plugins at once, now that we have so many.Bharat Mediratta
Improve the style a bit, sort the plugins, put core first and make it stand out so that you don't accidentally uninstall it.
2008-11-23Fixed up the pager a bit, added missing images. Let's float items instead of ↵Chad Kieffer
using absolute positioning (slideshow link). CSS comment org and comment updates.
2008-11-23* Individual comment views now output valid Atom 1.0 entries:Jozef Selesi
http://example.gallery.com/index.php/comments/{comment_id}?_format=atom * Changed Content-Type of Atom feeds and entries to XML for easier debugging. * Added an Atom helper class with some common functions and cleaned up entry and feed generation code a bit in the comment helper. * Style fixes.
2008-11-22* Fixed a bug in the Atom library where child elements were not added to ↵Jozef Selesi
their proper parents. * Added valid Atom 1.0 feeds for comments. They can be seen at: http://gallery.example.com/index.php/comments?item_id={photo_id}&_format=atom
2008-11-22Create thumbnail insertion points (top/bottom/info) and moveBharat Mediratta
the generic item info into the info module.
2008-11-22Pass extra args on to the block function.Bharat Mediratta
Avoid excess string concatenation (not benchmarked).
2008-11-22Move all block callbacks from View::block_type() toBharat Mediratta
$theme->block_type() so that the themer has a consistent interface. Also added a bunch more callbacks and normalized the names so that the module author has plenty of options for where stuff gets put on the page. Especially renamed album/photo/sidebar to be album_blocks() photo_blocks() and sidebar_blocks() to make it clear that those are going to be larger content sections and not just basic insertion points. Used __call() to collapse all functions in the theme, which incidentally makes it trivially easy to add a new insertion point.
2008-11-22Cleanup of header to normalize margins and white space. Improved display of ↵Chad Kieffer
user login form. Added gHide, gShowBlock, gShowInline, gClose classes to handle show and hide functions. Half-baked idea which will need refinement.