summaryrefslogtreecommitdiff
path: root/core/helpers
AgeCommit message (Collapse)Author
2009-02-22Fix load_themes() to actually look up the right themes to use. Thanks to ↵Bharat Mediratta
Blake Turner.
2009-02-19Differentiate between available and installed languages. Provide admin UI to ↵Andy Staudacher
install languages. See: https://apps.sourceforge.net/trac/gallery/ticket/75 (first step for this task)
2009-02-19Fix indentation.Bharat Mediratta
2009-02-17Move private key generation into the installer so that we're notBharat Mediratta
generating it lazily.
2009-02-17Adding a private key. Based on Drupal 6's drupal_get_private_key() method.Andy Staudacher
2009-02-15Fix up some textBharat Mediratta
2009-02-15Album cover fixes. Don't bomb in generate if we can't load the albumBharat Mediratta
cover (it might be deleted and we forgot to update the album_cover_item_id column). Also, exclude albums with missing album_cover_item_id's from the dirty query.
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-14Truncate url to 255 charsBharat Mediratta
2009-02-14Fix rewritten urls to handle query params properly. This was breakingBharat Mediratta
code like: url::site("albums/3?page=2")
2009-02-14Fix indentation.Bharat Mediratta
2009-02-13Minor text tweakBharat Mediratta
2009-02-13Continue to replace raw sql with Database method calls. As per ticket #68Tim Almdal
2009-02-12Remove the Database::query call for deletes and updated and useTim Almdal
Database::delete or Database::update instead
2009-02-12Adding locale::display_name().Andy Staudacher
2009-02-12Move l10n enable/disable option to Options menu.Andy Staudacher
Only available to admins at this point.
2009-02-10Simplification pass that preserves almost all functionality (exceptBharat Mediratta
default_country) but removes a lot of the code.
2009-02-10Rename 'Language Settings' -> 'Language' since it's under the Settings menu ↵Bharat Mediratta
anyway
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-10Show the translation dashboard on admin pages also.Bharat 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-08Properly implement changing the thumbnail and resized image sizes byBharat Mediratta
updating the graphics rules as appropriate.
2009-02-08Change mark_all_dirty to mark_dirty and specify what we want to mark dirty. ↵Bharat Mediratta
This will be useful for Admin_Theme_Details
2009-02-08A better fix for the problem with special characters (this simple 2Tim Almdal
line change replaces r19995, r19998-r20001 (thanks Bharat)
2009-02-08rollback r20001-r19998, r19995. This may require a reinstallTim Almdal
2009-02-08Implement the "additional options" part of the quick menu. It's onlyBharat Mediratta
for albums, because we don't currently have additional options for photos yet.
2009-02-07Remove the try/catch as it was being fixed twiceTim Almdal
2009-02-07Changed the way album and photo creation guards against duplicateTim Almdal
names. Added similiar code to insure that path names are not duplicated.
2009-02-07Updated comments on photo::create to reflect the inclusion of theTim Almdal
owner_id and shamelessly broke it into two changes to to the 20k commit.
2009-02-07Updated comments on album::create to reflect the inclusion of the owner_idTim Almdal
2009-02-07Assign the Album|Photo path field explicitly instead of hiding that inTim Almdal
the item::__set magic method.
2009-02-06Implement fix for ticket #35. *** Requires reinstall of core ***Tim Almdal
* Added new field in items table (path) which is sanitized version of name. * Added __set method on Items_module to set the path field whenever the name field is changed. * Made some changes to the scaffolding so missing the path column would not kill the scaffolding. * Changed MY_url::site so not having a 3rd parameter won't throw an error.
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-05Addressed the issues in ticket 34.Tim Almdal
Surround the the attempt to use gd_info with a try catch block. Created a new class gInstalledToolkit which has the highlighting and the over pointer definition. Now if you mouse across an inactive toolkit it remains inert.
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-05Guard against the case where gd_info() isn't definedBharat Mediratta
2009-02-03Drop scaffolding menu link if welcome.php is missing.Bharat Mediratta
2009-01-29Add delete support as a quick-edit optionBharat Mediratta
2009-01-29Add support for pretty urls. So now instead of urls like:Bharat Mediratta
http://example.com/gallery3/index.php/albums/2 http://example.com/gallery3/index.php/photos/9 You'll see urls like: http://example.com/gallery3/index.php/Family/Weddings http://example.com/gallery3/index.php/Family/Weddings/Bob.jpg
2009-01-29Remove extra debug call to install()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-27Remove unused theme code left over from before virshu moved themeBharat Mediratta
settings into Admin_Themedetails.
2009-01-25Undo the adding underscores to the id on forge generated formsTim Almdal
2009-01-24Supply a form id on all forms. This id can be used by modules otherTim Almdal
than the originating module to provide additional functionality to the form.