summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2008-12-01Prototype access control model. There's much left to do, but it's aBharat Mediratta
working implementation.
2008-11-30Move rearrange HTML generation into welcome.php so that we gracefullyBharat Mediratta
handle the case where the DB is not installed yet.
2008-11-29Add access model (not fully baked yet).Bharat Mediratta
Update scaffolding to allow addition of just albums (helpful for testing permissions)
2008-11-29The gui part of rearranging albums and photos on the welcome page. Haven't ↵Tim Almdal
finished the ajax back end to actually do the move, but thought i'd put the gui up so people can play
2008-11-29Insure that the page and offset refere to valid itemsTim Almdal
2008-11-28Remove debugging statementsTim Almdal
2008-11-28Dynamically create the list of available modules. This permits new modules ↵Tim Almdal
to be added without having to update the config.php file
2008-11-28Create module::event() which runs Gallery events. It works byBharat Mediratta
convention. To respond to the "photo_created" event in the gmaps module, you create modules/gmaps/helpers/gmaps_event.php containing class gmaps_event which has function photo_created. Renamed all events from gallery.foo.bar to foo_bar Updated tag module to use new convention.
2008-11-28Rename module::get_list() to module::installed()Bharat Mediratta
2008-11-28Add credits theme callback, point the powered-by link at GMCBharat Mediratta
2008-11-28Add an easy way to add a bunch of servers from the server sideBharat Mediratta
2008-11-28Correct parameter on gallery.album.created event firingTim Almdal
2008-11-28Move the form drawing code back into form.html.php -- I'm going toBharat Mediratta
take a shot at fixing it up in the view file so that it's mostly HTML, not mostly PHP. If that fails, I'll move it back into a helper.
2008-11-28Add tag() functionBharat Mediratta
2008-11-28Rename item events and create events for comment create, login, logout, user ↵Tim Almdal
creation. I probably forgot some, but its a start.
2008-11-28Add event plumbing to allow the tag module to be notified when a photo is ↵Tim Almdal
created. Eventually this will be used to parse the image meta data and extract tags;
2008-11-27Set resize to 640x480 for now to avoid breaking the default theme layoutBharat Mediratta
2008-11-27Create a form_helper class containing the function Draw_Form so we don't ↵Tim Almdal
have to always check to see if the DrawForm method is already defined in pages that could have multiple forms.
2008-11-271) Create a Theme_View class that combines the functionality of the Theme ↵Tim Almdal
class with the View class. 2) Only define the form.html.php::DrawForm method once if there are multiple forms on the page (i.e. comments and add tags)
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__)