summaryrefslogtreecommitdiff
path: root/core/libraries
AgeCommit message (Collapse)Author
2009-03-20Rather than moving the themeroller and all of its associated filesTim Almdal
into each theme. I chose to create methods Theme_View::file($path) and Admin_View::file($path). These methods check for a theme override file in the theme and return a link to it if it exists. So to override the themeroller files. just create a lib/themeroller in the theme and the files will be picked up.
2009-03-19Fix syntax errors.Bharat Mediratta
2009-03-18Fix for ticket 142: Choose plural form "other" for count == 0 (unless the ↵Andy Staudacher
locale has a specific plural form for zero)
2009-03-18Fix for ticket #142. Valiant: u might want to check the implicationsTim Almdal
of this.
2009-03-18Corrections based on feedbackTim Almdal
2009-03-17Fix for ticket #101Tim Almdal
2009-03-16Set $item and $tag in the Theme_View so that calls like $theme->item()Bharat Mediratta
which fall through to calling &View::__get() have an lvalue to return, else you can't return them by reference. Also, don't show sidebar blocks for pages that don't have an item so that the rss and tag modules don't break the search page.
2009-03-16Provide an empty sidebar by defaultBharat Mediratta
2009-03-16Clean up the login, maintenance login and required-top-level-login code.Bharat Mediratta
We now have two clear and separate login approaches: login/ajax login/html Choose the one that's appropriate. Totally simplified the maintenance page to be separate from the theme and dead simple, and use login/html approach there. Totally simplified the top level login (login_page.html.php) to just be a login page, not the rest of the chrome on the page and use the login/ajax approach there. Don't use access::required in albums and then catch the exception, instead use access::can and check the return code. Improve the text for maintenance mode.
2009-03-15Remove the word 'album' from phpdoc.Bharat Mediratta
2009-03-15Move references to "album" out of ORM_MPTT since it's supposed to beBharat Mediratta
implementation agnostic.
2009-03-12Rename tag.html.php to dynamic.html.php as part of ticket #115Tim Almdal
creating Dynamic Albums. This name change reflects the usage better and allows multiple dynamic albums (including tags) to use the same page template.
2009-03-12Handle no prefix being set when building key/value table mapTim Almdal
2009-03-12Strip down the loin page (not sure if this is what bharat had in mind)Tim Almdal
2009-03-12Attempt to reduce the chance of replacing text in sql statements thatTim Almdal
is not a table name (but contained in braces) with the database prefix by building and maintaining a cache of database tables and prefixes.
2009-03-09Override the ORM_MTTP::children and ORM_MTPP::descendants methods inTim Almdal
the item model and always pass the orderby fields. This insures that all children or descendant calls will respect the album sort order.
2009-03-09Get rid of Task_Definition types: they're not necessary. ThisBharat Mediratta
incidentally fixes the the problem that admin/maintenance tasks have been broken.
2009-03-08Implement Sortable albums. Current sort fields include (CreationTim Almdal
Date, Update Date, Random Key, Title, Mime Type, Item Type & Number of views)
2009-03-08Don't show the pager if there're no photos on the page.Bharat Mediratta
2009-03-05Avoid using default task types. Require task::get_definitions() toBharat Mediratta
specify a single type and ask for it appropriately in admin_maintenance. Specify a type for every existing task.
2009-03-05Implement a Maintenance mode as per ticket: #15Tim Almdal
2009-02-28Change the pattern to identify tables that need prefix substitution toTim Almdal
mirror the drupal pattern of using braces {}.
2009-02-27This implements table prefix for all the queries in core, user, exif,Tim Almdal
tag, search, comment and notification modules (Ticket #68)
2009-02-27* Refactor task management methods from admin_maintenance.php toTim Almdal
task.php * Added a owner_id field to the task database * Modified the admin maintenace to show the owner of the task <<**** Requires a reinstallation of core ****>>
2009-02-27Replace the string [table_name] with {$prefix}table_name. SlowlyTim Almdal
working through setting up the database access to support table prefixes. (Ticket#68) Before going ahead, just wanted to check this approach... whatcha think?
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