summaryrefslogtreecommitdiff
path: root/core/helpers/core_menu.php
AgeCommit message (Collapse)Author
2009-05-27Restructure things so that the application is now just another module.Bharat Mediratta
Kohana makes this type of transition fairly straightforward in that all controllers/helpers/etc are still located in the cascading filesystem without any extra effort, except that I've temporarily added a hack to force modules/gallery into the module path. Rename what's left of "core" to be "application" so that it conforms more closely to the Kohana standard (basically, just application/config/config.php which is the minimal thing that you need in the application directory) There's still considerable work left to be done here.
2009-05-26Restructure the module lifecycle.Bharat Mediratta
Install: <module>_installer::install() is called, any necessary tables are created. Activate: <module>_installer::activate() is called. Module controllers are routable, helpers are accessible, etc. The module is in use. Deactivate: <module>_installer::deactivate() is called. Module code is not accessible or routable. Module is *not* in use, but its tables are still around. Uninstall: <module>_installer::uninstall() is called. Module is completely removed from the database. Admin > Modules will install and activate modules, but will only deactivate (will NOT uninstall modules).
2009-05-16Rename the theme menu options under the Appearance menu.Bharat Mediratta
2009-05-13I should test this stuff before I submit it, eh.Bharat Mediratta
2009-05-13Fix menu typo.Bharat Mediratta
2009-05-13Gee it's May already. Update copyright to 2009.Bharat Mediratta
2009-05-13Add the "advanced settings" controller which lets you see all theBharat Mediratta
vars. We'll eventually turn this into a registry where you can edit settings directly (at your own risk).
2009-04-09Fix the spelling of "appearance_menu" and update user_menu so that theBharat Mediratta
user/groups admin menu option appears again.
2009-04-06Rework the links section of the "Welcome to Gallery3" block so thatBharat Mediratta
the links work and it's more helpful. In the process, rename the Presentation menu to be Appearance because that makes more sense to me (and at least one other user who wrote about it on -devel).
2009-03-16Illegal use of $this in static function site(). Replace with $theme.Bharat Mediratta
2009-03-16Thin down the scaffolding code so that all that is there is the testTim Almdal
data creation and the packaging code. The rest ofthe functionality is either no longer required, or moved to the developer module (MPTT Tree). Also provide checking for the active user to be an admin.
2009-03-15Move the start/stop translating menu item to the admin menuTim Almdal
2009-03-15Move profiling and debugging out of the scaffolding and into theTim Almdal
developer module.
2009-03-10Add profiling/debugging switches in the Scaffold menu.Bharat Mediratta
2009-02-26Make scaffold into a menu, move translation option into it and shortenBharat Mediratta
it so that it fits on one line.
2009-02-23Removed hybrid album view link. Not used, probably won't be part of core.Chad Kieffer
2009-02-14Say hello to the new Flash based uploader, courtesy of Eric Zelermyer.Bharat Mediratta
This requires a little trickery to proxy the session id and user agent through the ActionScript code so that we can assume the same session in the uploader. It's also using its own path to add photos since we'll want to have a slightly different protocol for dealing with responses (as opposed to JSON or HTML). A work in progress for sure, but it's already better than what we had before.?\024
2009-02-12Move l10n enable/disable option to Options menu.Andy Staudacher
Only available to admins at this point.
2009-02-10Rename 'Language Settings' -> 'Language' since it's under the Settings menu ↵Bharat Mediratta
anyway
2009-02-10Adding UI for site language selection and user language preference.Andy Staudacher
2009-02-06Convert all item->type == "album" to item->is_album()Tim Almdal
Convert all item->type == "photo" to item->is_photo()
2009-02-06Apply default link styles to links in dialogs, including the Forgot Password ↵Chad Kieffer
link.
2009-02-05Add full size image display. Changes the core menu now checks that theTim Almdal
user has authotization before displaying the view fullsize icon. It probably needs a better icon, (but u make do with what u have or don't have :-) )
2009-02-05Rename "welcome" controller to "scaffold" so that we can eventuallyBharat Mediratta
have a welcome page.
2009-02-03Drop scaffolding menu link if welcome.php is missing.Bharat Mediratta
2009-01-28Fully implement the user administration backend with drag/drop to addBharat Mediratta
users to groups.
2009-01-27Rename Admin_Themedetails -> Admin_Theme_DetailsBharat Mediratta
2009-01-22Theme details. Initial releaseFelix Rabinovich
2009-01-15Added gQuick to album_top, started implementation, but incomplete so far. ↵Chad Kieffer
Need edit album methods added to the quick controller.
2009-01-14Make sure that helper functions are all static. Add newBharat Mediratta
File_Structure_Test to make sure we don't regress. According to the PHP docs, the "public" keyword is implied on static functions, so remove it. Also, require private static functions to start with an _. http://php.net/manual/en/language.oop5.visibility.php
2009-01-11Site menu restructure:Bharat Mediratta
* Add 'Scaffold' link to make it more obvious what's going on there * 'Home' link now goes to albums/1 * 'Admin' is now pushed to the far right.
2009-01-11Merge the site admin menu in under the regular Admin menu.Bharat Mediratta
2009-01-08i18n refactoring: Rename all _() (reserved by gettext) calls to t().Andy Staudacher
- And refactor printf to our string interpolation / pluralization syntax - Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
2009-01-07Turn statistics into a menuBharat Mediratta
2009-01-04Allow passing a query string as an argument to Item_Model::url()Bharat Mediratta
2009-01-04Linked up a photo's return to parent album view.Chad Kieffer
2009-01-04Extend Theme_View to look in modules for photo and album menus. MoveBharat Mediratta
"view comments" link to the comment menu helper.
2009-01-04Started to wire up album and photo view menus. Need photo's parent album ↵Chad Kieffer
link added. Also need add the slideshow link to the menu.
2009-01-02Restructire site admin menu a bit:Bharat Mediratta
Rename menu "General Settings" -> "Settings" Rename "Comments Moderation" -> "Comments" Move "Content" -> "Configure Spam Filtering" -> "Settings" -> "Spam Filtering"
2009-01-01Theme Administration implementationFelix Rabinovich
2008-12-31Turn permission dialog into a browser where you can look at permissions back ↵Bharat Mediratta
up the tree
2008-12-31Preliminary "Edit Permissions" dialog. You can't change permissionsBharat Mediratta
yet, but it shows you which items have locked view perms.
2008-12-30Add a "Graphics Settings" page that lets admins choose which graphicsBharat Mediratta
toolkit we use. We only allow users to use one toolkit. The UI needs work!
2008-12-28First round of a task framework. Tasks are job definitions stored inBharat Mediratta
the database. They're started with admin/maintenance/start/[task_name] which sends down some JS/HTML which regularly pings the task at admin/maintenance/start/[task_id] until its done. The UI is still very rough. It works, though!
2008-12-25Big round of normalization of the way that our controllersBharat Mediratta
communicate. Almost all controllers now use JSON to speak to the theme when we're dealing with form processing. This means tht we only send the form back and forth, but we use a JSON protocol to tell the browser success/error status as well as the location of any newly created resources, or where the browser should redirect the user. Lots of small changes: 1) Admin -> Edit Profile is gone. Instead I fixed the "Modify Profile" link in the top right corner to be a modal dialog 2) We use json_encode everywhere. No more Atom/XML for now. We can bring those back later, though. For now there's a lot of code duplication but that'll be easy to clean up. 3) REST_Controller is no longer abstract. All methods its subclasses should create throw exceptions, which means that subclasses don't have to implement stubs for those methods. 4) New pattern: helper method get_add_form calls take an Item_Model, not an id since we have to load the Item_Model in the controller anyway to check permissions. 5) User/Groups REST resources are separate from User/Group in the site admin. They do different things, we should avoid confusing overlap.
2008-12-24Lots of deltas rolled up into a bigger change. Sorry for the mess.Bharat Mediratta
1) Deleted in-place-editing. We'll be replacing this with a real edit system that groups settings together and is more coherent. 2) Tweaked the way that dialog boxes work to get the ajax stuff working again. It's imperfect and does not work properly for uploading images. This is going to get redone also, but this is a good resting point. 3) Created edit forms for albums and photos. Moved _update and _create out of Items_Controller and into the individual subclasses. 4) Created access::required which is a shorthand for: if (!access::can(...)) { access::forbidden(); } 5) Added validation rules to Items_Model 6) Converted login to use the regular modal dialog approach in the theme.
2008-12-22Fix admin/modules url.Bharat Mediratta
2008-12-22Change the way that we track modules.Bharat Mediratta
Each module now has a "module.info" file that has information about the module, including the core. We can display the installed version, and the version in the code. Also take a first shot at a modules admin page.
2008-12-21Swap "Content" and "Modules"Bharat Mediratta
2008-12-19Create a new pattern for Site Admin controllers:Bharat Mediratta
1) They must all start with "admin_". This pattern is not directly routable. 2) Their urls must be /admin/xxx. 3) The Admin_Controller will take the xxx and look for Admin_Xxx_Controller and will delegate to that admin controller, after doing security checks. Moved the users and dashboard views into individual modules for now.