summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2008-11-27Move the ADMIN global nav option into the core module and only show it if ↵Bharat Mediratta
we're logged in as an admin user
2008-11-27Add navigation_top() and navigation_bottom() insertion pointsBharat Mediratta
Move "My Gallery" navigation tab into the user module and only show it if you're logged in
2008-11-27Make tags look a little better.Bharat Mediratta
2008-11-27Centralize logging around installing/uninstalling modules.Bharat Mediratta
2008-11-27Add children_count to album/photo controllers for consistency with tagsBharat Mediratta
2008-11-27Add page_type() functionBharat Mediratta
2008-11-26Link to the albums in the album tree.Bharat Mediratta
2008-11-26Draw an album tree in the access -> permissions tab.Bharat Mediratta
2008-11-26Add a new "tag" page type.Bharat Mediratta
Create the concept of "page types" which let us specify the kind of page that we're rendering in high level terms. Currently there are three page types: album, photo and tag. The tag page type uses slightly different variables. It has a $tag but no $item. Adjust all sidebar_block() functions to avoid printing stuff that's dependent on the item if there is no item. Simplify the tag code to stop trying to fake an item. Update the theme slightly to use $item and $tag where appropriate (notably, for making the <title> element).
2008-11-26NULL -> nullBharat Mediratta
2008-11-26Some code audit fixes and adding some directory separator normalization code ↵Andy Staudacher
to make it work on Windows as well.
2008-11-26Add a thumbnail to the root directory, in case it gets displayed in a tag ↵Tim Almdal
dynamic album
2008-11-26Initial commit of the translation class, I18n_Core and some tests.Andy Staudacher
- Port of Ruby's I18n gem (http://rails-i18n.org/) - Added proper plural handling on top of that. - Using CLDR 1.6's plural form data - See I18n_Test for example usage. - Not integrated into G3 templates yet. Probably adding __() as alias for I18n::instance->translate(). - No specific plan yet where localization files should live.
2008-11-26Add support for marking users as "admin"Bharat Mediratta
2008-11-26Add support in the scaffolding for adding users to groups, adding andBharat Mediratta
removing users and groups.
2008-11-26Use lorem2 words as inputs to generateTags. Limiting the number ofBharat Mediratta
tags results in a better distribution of the tags (so the cloud looks nicer).
2008-11-26Create user/group create/delete functions and have the scaffolding use them.Bharat Mediratta
2008-11-251) Changed how the test tags are generated to be able to create a better ↵Tim Almdal
distribution 2) Added a new helper function "load_buckets" assign the class suffix to each tag 3) Created a unit test to test the load_buckets function
2008-11-25Rename get_absolute_url to abs_currentTim Almdal
2008-11-25Normalize atom url generationTim Almdal
2008-11-25The scaffolding can now add and delete users and groups. Yippee!Bharat Mediratta
2008-11-25Add a "Access" tab to the scaffolding and list users and groups.Bharat Mediratta
Refactor welcome.php a little bit to make index() more readable.
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-25Add gClearFix to the annotated theme elements, which makes the box surround ↵Bharat Mediratta
its contents better (thanks thumb!)
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-25Don't add in-place-edit CSS unless there's a logged-in user.Bharat Mediratta
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-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-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-23Show the # of commentsBharat Mediratta
2008-11-23Escape Javascript to avoid validation errors.Bharat Mediratta
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-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-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-22An Atom library prototype. Its purpose is to explore the cost of us ↵Jozef Selesi
supporting Atom as the default input and output format of RESTful controllers. Only the constructs necessary for representing comment feeds and entries have been implemented. Its output are valid Atom 1.0 documents. The test contains examples of how to make feeds and entries.