summaryrefslogtreecommitdiff
path: root/core/libraries
AgeCommit message (Collapse)Author
2009-01-16Rename Task to Task_Definition to avoid confusion with Task_Model.Bharat Mediratta
Order the finished tasks by update time in the task list.
2009-01-16Break task definitions out into the <module>_task helper and create aBharat Mediratta
Task library class as a data structure to hold task definitions.
2009-01-15Changing t() placeholder syntax from {{replace_me}} to %replace_me.Andy Staudacher
2009-01-15Simplifying the way t() is called. Refactoring localization function ↵Andy Staudacher
t($message, $options=array()) into 2 separate functions: - the new t($message, $options=array()) is for simple strings, optionally with placeholder interpolation. - t2($singular, $plural, $count, $options=array()) is for plurals.
2009-01-13Change admin/themes to show both styles of themes side by side. ThisBharat Mediratta
eliminates the menu, which is kind of clunky. While I'm at it, let's call the "regular" themes a "site theme" so we have "site" and "admin" themes.
2009-01-13Reverse the last change; forgot that {$key} is treated speciallyBharat Mediratta
inside a string. We could do "{{{$key}}}" but that's misleading.
2009-01-13Use variable interpolation to reduce code sizeBharat Mediratta
2009-01-13Models should be named in adjective_noun form to make pluralizatoinBharat Mediratta
more intuitive. Renamed Translations_Incoming to Incoming_Translation to suit.
2009-01-12Implement deleting dashboard blocks.Bharat Mediratta
* Refactor blocks so that they have a separate id vs css_id. This way we can have a unique identifier for each visual block. * Store blocks with a random id as their unique identifier * Add Admin_Dashboard::remove_block() and modify themes/admin_default/views/block.html.php to call it when you click the remove box.
2009-01-12Dashboard blocks are now data driven, and you can add new blocks toBharat Mediratta
both the sidebar and the center content area from a dropdown at the top of the dashboard sidebar.
2009-01-11Deleted unused MY_Form_RadioBharat Mediratta
2009-01-11Let admins override the theme with a query paramBharat Mediratta
2009-01-10Use the theme's avatar as the default if Gravatar doesn't have one.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-08First step of i18n refactoring:Andy Staudacher
- Using DB table translations_incomings as translations storage (file cache to be added) - Removed overly complex i18n code which will be unnecessary with the future compiled cache files - Added t() as a translation function (global refactoring from _() to t() to follow)
2009-01-07Properly implement 'root' as a legal factory typeBharat Mediratta
2009-01-07Add 'root' as a legal factory typeBharat Mediratta
2009-01-06Tabs -> spacesBharat Mediratta
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-02fix line endingsBharat Mediratta
2009-01-01Standard Forge Library doesn't support radio buttons.Felix Rabinovich
Added support from http://forum.kohanaphp.com/comments.php?DiscussionID=164
2009-01-01Move debug CSS into core/css/debug.css, and enable it for admin themes alsoBharat Mediratta
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-30Add site_status() to the regular Theme_ViewBharat Mediratta
2008-12-29Separate permanent messages out of the message helper and put themBharat Mediratta
into site_status. Show site status in the header in the admin theme.
2008-12-25Ajaxify 'add users'Felix Rabinovich
2008-12-24Normalize our Admin controllers so that functions always print outBharat Mediratta
their results, as opposed to having them return their view back upstream. This is a little more code in every controller, but it's much less magical and more consistent. Look up the active_theme and active_admin_theme inside the view itself, no need to do that in the controllers. This makes view initialization easier in the controllers.
2008-12-23Reload parent after adding a new item since the left/right pointers have ↵Bharat Mediratta
changed.
2008-12-22Add messaging system for reporting actions back to the user. MakeBharat Mediratta
module install/uninstall work and tie it into the messaging system.
2008-12-22Normalize CSRF handling into the access helper. Probably not the bestBharat Mediratta
place for it, but it'll do for now. Do CSRF checking in the Admin controller so that we're safe across the board on the admin side.
2008-12-22Add some admin theme callbacks and make them explicitly admin_xxx for ↵Bharat Mediratta
consistency with the callbacks in the xxx_block helpers. So in the theme we have: admin.html.php: $theme->admin_page_bottom() then in the helpers: core_block.php: function admin_page_bottom() { }
2008-12-20Add admin sidebar blocks, and move the stats block into that pattern.Bharat Mediratta
2008-12-20Create a pattern for admin dashboard blocks and make the "welcome"Bharat Mediratta
block.
2008-12-19Add session based CSRF protection to all formsBharat Mediratta
2008-12-18Refactor site admin menu into a theme function and build the menus inBharat Mediratta
the various modules. In the process, rename xxx_menu::site_navigation() to just xxx_menu::site(). And add xxx_menu::admin(). The menus are the same as before, but I changed the HTML to be consistent with the way that we do it in the regular site, and this broke the superfish styles. I don't know how to fix this.. help me Chad!
2008-12-17Separate thumbnails out into var/thumbs. This clears up some ambiguity in ↵Bharat Mediratta
Item_Model and simplifies file_proxy. It also means we can stop munging file names in the var/resizes hierarchy. In the process, rename "thumbnail" to "thumb" everywhere in honor of Chad (well, ok because it's shorter)..
2008-12-16Remove all caching from ORM_MPTT. This was premature optimization: itBharat Mediratta
wasn't benefitting us, and it will get in the way when we want to add implicit view protection to our queries.
2008-12-16Various optimizations:Bharat Mediratta
o Add model_cache::get() which caches models avoiding duplicate lookups o Stop using ORM relationships for Item_Model::owner so that we can use caching o For Item_Model::xxx_edit fields, don't make them editable for guests o Other minor stuff. These optimizations reduce the number of queries for a 9-photos page from ~200 to ~45. Still way too many!
2008-12-15Add Admin_ViewBharat Mediratta
2008-12-15Refactor admin dashboard.Bharat Mediratta
o Copy all the assets from default to default_admin so that they're totally separate o Get rid of $item_theme o Rename list_users.html.php to users.html.php o use __call in admin controller to allow us to load any admin page
2008-12-12Get rid of all pseudo users and pseudo groups, while preserving allBharat Mediratta
other functionality. This makes our user/group and access code fully consistent.
2008-12-11Convert a stray <li> to </li>Bharat Mediratta
2008-12-11Changes to the Menu.php:Tim Almdal
1) separate the classes that are generated by the Menu class from what is used for the rendering. The classes that are generated are gMenu, gMenuElement, and gMenuDialog for the Menu, Menu_Element and MenuDialog classes respectively. 2) Changed the ui.init.js to add the appropriate rendering classes to the above classes. All gMenu elements have the sf-menu class added. All elements of class gMenuDialog have the gDialogLink class added. 3) Use Superfish for the menus so they now float properly.
2008-12-10Remove navigation_top() and navigation_bottom() as they're subsumed by the ↵Bharat Mediratta
new menu code
2008-12-08Refactor Menu code to create allow you to create menus using aBharat Mediratta
chainable factory interface and retrieve them by ids. Streamlined the HTML creation code a little bit in the process, moved the basic menu functionality into Theme_View and created the option to have different menus other than site_navigation().
2008-12-08Replace protected array and __get() with just class variables. This is ↵Bharat Mediratta
faster and tighter.
2008-12-08Restructure Menu processing to respect the differnent types of menu items ↵Tim Almdal
(Menu's, Menu_Link, Menu_Dialog)
2008-12-07correct menu processing such that urls=# aren't given class gDialogLinkTim Almdal
2008-12-07Change the menu processing to add the gDialogLink class if the url starts ↵Tim Almdal
with a #. this results in a modal dialog box being opened. At this point the url is not retrieved and the text just shows up in the dialog box... need to look at that