summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/l10n_client.php
AgeCommit message (Collapse)Author
2013-01-22gallery.menalto.com -> galleryproject.orgBharat Mediratta
codex.gallery2.org -> codex.galleryproject.org Fixes #1957.
2013-01-21Update copyright to 2013. Fixes #1953.Bharat Mediratta
2012-02-27Update copyright to 2012. #1822Bharat Mediratta
2011-01-21Update copyright to 2011.Bharat Mediratta
2011-01-11Two improvements to Joe's fix for #1504:Bharat Mediratta
1) Trap all exceptions, eg dns or connectivity issues and report back in the form (but put the stack trace in the logs) 2) Rename "noconn" to "no_connection"
2011-01-12Returning 2 flags from l10n_client::validate_api_key(), 1 to reflect if ↵Joe7
connection was built up properly (just a boolean, not distuingishing between reasons in case of a failure), the other to reflect API validating success status. Using this presenting a slightly more meaningfull error msg to user in case the connection would fail. Fixes Ticket #1504
2010-11-28Replace self::func() with <helper_name>::func() for all public APIsBharat Mediratta
and constants to make overloading easier. Fixes #1510.
2010-07-22Initialize $request in submit_translations(). Fixes ticket #1239.Bharat Mediratta
2010-07-20Cleanup on the Admin > Languages page.Bharat Mediratta
Hide the fieldset and legend in the theme, since they don't add any value. Change l10n_client::_server_url() to use the short style GMC urls and make the API a little tighter.
2010-03-03Update the copyright to 2010. It's only 3 months into the year :-)Bharat Mediratta
2010-01-31Fix lots of warnings that pop up when we're in E_STRICT mode. They'reBharat Mediratta
mostly issues around uninitialized variables, calling non-static functions in a static context, calling Session functions directly instead of on its singleton, passing non-variables by reference, and subclasses not using the same interface as the parent class.
2010-01-22Change "fetch translations" task to fetch them in batches.Andy Staudacher
The request limit was in place already, but the client didn't respect it before, leading to unhappy users in case they had lots of 3rd party modules installed, or more than 2-3 locales enabled. This is all taken care of now.
2009-12-02Update a couple more queries.Bharat Mediratta
2009-11-26Convert all DB where() calls to take 3 arguments.Bharat Mediratta
Convert all open_paren() calls to and_open() or or_open() as appropriate.
2009-11-25Preliminary work to cut over to Kohana 2.4Bharat Mediratta
- Kohana::log() -> Kohana_Log::add() - Kohana::config_XXX -> Kohana_Config::instance()->XXX - Implement View::set_global in MY_View - Updated Cache_Database_Driver to latest APIs - ORM::$loaded -> ORM::loaded() - Updated item::viewable() to use K2.4 parenthesization
2009-07-19Remove excess success logging. In the rebuild images case, it canBharat Mediratta
make a huge log file. In the l10n_client case, it's not really necessary to know that level of detail and it makes for a weird API.
2009-07-17Rename "locale" helper to "locales" to avoid conflicting with PHP 5.3.Bharat Mediratta
Fixes ticket #194
2009-07-09Revert "Revert "Add task logging to the "Update Search Index" task""Tim Almdal
This reverts commit 5118afc959650469874733a1060fbe22364d8c28.
2009-07-09Revert "Add task logging to the "Update Search Index" task"Tim Almdal
This reverts commit 6ac5238b83d58824eb9327406a2ee50b7e603214.
2009-07-08Add task logging to the "Update Search Index" taskTim Almdal
2009-07-08Add task logging to the Update translationsTim Almdal
2009-07-01Fix a bunch of XSS vulnerabilities turned up by manual inspectionBharat Mediratta
using the checklist in ticket #385.
2009-06-09Fix for fetching l10n plural messages. Need to cast from stdclass to ↵Andy Staudacher
array(), as I18n expects all messages to be either string or array.
2009-06-03Sanitize all data we return via json_encode() to guard against XSS andBharat Mediratta
other data leaks.
2009-06-02Extend L10n client to provide UI for plural translation.Andy Staudacher
Ticket 148.
2009-05-27Update all references to the core application to now point to theBharat Mediratta
gallery module. This type of mass update is prone to some small bugs.
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.