summaryrefslogtreecommitdiff
path: root/core/libraries
AgeCommit message (Collapse)Author
2009-02-26Minor style changes.Bharat Mediratta
2009-02-23Changing from binary(16) to char(32) as translation message key.Andy Staudacher
Although less efficient as a storage / transmission / comparison format, it's friendlier on the eyes and universally supported.
2009-02-19Adding a l10n scanner - scans for t() and t2() calls, inserts the extracted ↵Andy Staudacher
messages into incoming_translations. See: https://apps.sourceforge.net/trac/gallery/ticket/74
2009-02-12Change i18n message key to include the plural form (to ensure that it's ↵Andy Staudacher
truly unique).
2009-02-12Added a show comment form button. Add comment form is revealed when the ↵Chad Kieffer
button is clicked. Used jQuery UI Effect to .highlight() to bring attention to newly added comments. Also added a named anchor to our block library to allow direct linking/scrolling to those blocks on the page.
2009-02-10style fixes (style for method names, style for vars in locale.php)Andy Staudacher
2009-02-10Adding UI for site language selection and user language preference.Andy Staudacher
2009-02-10Remove extra blank linesBharat Mediratta
2009-02-10Move site default_locale into DB (vars) and add a per user locale preference.Andy Staudacher
There's no UI to select the locale yet.
2009-02-09Add local localization functionality. Local = no means to upload / download ↵Andy Staudacher
translations to a translation server yet. - Added an outgoing_translations table to store translations from the local translation UI. - I18n class is checking incoming_ and outgoing_translations for translations, giving the latter priority. - Not handling plural strings in the translations UI yet.
2009-02-09Adding translation UI. Not backed by any model yet (submissions are ignored).Andy Staudacher
The code is based on the l10n_client module from Drupal 6, by Gabor Hojtsy (http://drupal.org/user/4166).
2009-02-08Fix a bug that I think I introduced in my last sendmail refactor whereBharat Mediratta
I inverted the expectations on the result from mail() causing image uploads to fail (even though the mail gets sent!)
2009-02-06Correct comment on factoryTim Almdal
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-05Move test-related extensions to Sendmail into a subclass that we onlyBharat Mediratta
use in the test code (Sendmail_For_Test).
2009-02-05Minor code style changes.Bharat Mediratta
2009-02-03Doh! Fix a bug in add_after() that caused it to drop the item we were ↵Bharat Mediratta
adding it after.
2009-02-02Do 1 DB query for l10n per HTTP request (per locale), not one per t() call.Andy Staudacher
2009-02-02Changed the Sendmail library to allow the separator between mailTim Almdal
headers to be specified as a parameter. The documents say that it should be "\r\n". Some sendmail programs seem to violate the specification and get confused. In these cases the header separator is just "\n". This change allows the header separator to be set by the a configuration parameter.
2009-02-01Update the handling of the to field if the input field is an arrayTim Almdal
2009-01-29Add the ability to generate the id parameter on Menu Dialog.Tim Almdal
2009-01-29Fix an off-by-one issue-- the destination level is the target's child, not ↵Bharat Mediratta
the target itself.
2009-01-29Update the level when moving itemsBharat Mediratta
2009-01-28Add Menu::add_after()Bharat Mediratta
2009-01-28Create a sendmail library to wrap the call to the system sendmailTim Almdal
facility. Something quirky is happening in the first test, see comment in code, but I couldn't figure it out. Left a @todo for now.
2009-01-24Add move support. Use the move icon in the quick pane. You can'tBharat Mediratta
move an item into its own hierarchy, or into an album where you don't have edit permission.
2009-01-23Add support for parenthetical grouping to Database queries. Turns outBharat Mediratta
that this is something they kind of want for Kohana :-) Upstream ticket for this change: http://dev.kohanaphp.com/ticket/1070
2009-01-18Rename theme callback helpers from xxx_block to xxx_theme to make roomBharat Mediratta
for us to rename the dashboard helper to be a block helper since sidebar blocks are not just in the dashboard.
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