Permalink
Commits on Jun 28, 2011
  1. This is a sample commit.

    committed Jun 28, 2011
Commits on Jun 27, 2011
  1. 0 is a valid value to be handed to HDT::date_create() and should not …

    …be confused with null.
    chrismeller committed Jun 27, 2011
  2. Allow Habari to obtain database connection details from the $_SERVER …

    …variable.
    Owen Winkler committed Jun 27, 2011
Commits on Jun 26, 2011
Commits on Jun 19, 2011
  1. automatic POT template generation

    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5145 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    Matt Read committed Jun 19, 2011
Commits on Jun 17, 2011
  1. If a user can read any posts, there's no reason to check to see if he…

    … can read his own posts. Moving this inside the if() to avoid adding parameters to the $params_where that throw database errors related to unbound parameters.
    
    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5144 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    committed Jun 17, 2011
  2. Force .hidden style using !important. This is needed to override othe…

    …r display rules, like that used for displaying tags inline on the tags page. This in turn fixes #1434
    
    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5143 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    lildude committed Jun 17, 2011
  3. Added "manage_dash_modules" token to default token list. Bumped DB ve…

    …rsion and added an upgrade_db_post method to recall an older function that adds this token for those who have not upgraded from such an old version. Fixes #1460
    
    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5142 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    lildude committed Jun 17, 2011
Commits on Jun 14, 2011
Commits on Jun 13, 2011
  1. K2 and Charcoal now correctly add the menu blocks on activation when …

    …no blocks exist. This also now happens for K2 when it is activated on initial installation. This fixes #1439
    
    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5140 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    lildude committed Jun 13, 2011
  2. Coding standards in K2 theme

    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5139 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    lildude committed Jun 13, 2011
  3. Coding standards in Mzingi theme

    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5138 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    lildude committed Jun 13, 2011
  4. Fixed errors seen when activating Charcoal theme since tags info was …

    …added in r5059
    
    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5137 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    lildude committed Jun 13, 2011
Commits on Jun 12, 2011
  1. automatic POT template generation

    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5136 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    Matt Read committed Jun 12, 2011
Commits on Jun 8, 2011
  1. Do not call the mbstring mb_check_encoding() method to validate data …

    …if we're not using the mbstring library.
    
    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5135 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    chrismeller committed Jun 8, 2011
Commits on Jun 5, 2011
  1. automatic POT template generation

    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5134 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    Matt Read committed Jun 5, 2011
Commits on Jun 2, 2011
Commits on May 29, 2011
  1. automatic POT template generation

    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5130 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    Matt Read committed May 29, 2011
Commits on May 25, 2011
Commits on May 22, 2011
  1. automatic POT template generation

    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5128 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    Matt Read committed May 22, 2011
Commits on May 15, 2011
  1. Allow classes and objects to register plugin hook functions using the…

    … same load method that plugins use.
    
    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5127 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    committed May 15, 2011
  2. automatic POT template generation

    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5126 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    Matt Read committed May 15, 2011
Commits on May 14, 2011
  1. Replace the php 5.3-only DateTime method that was being called on the…

    … logs page for filtering by dates. Fixes #1447.
    
    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5125 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    chrismeller committed May 14, 2011
  2. Added maxlength support. Fixes #1454. Thanks samir.

    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5124 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    lildude committed May 14, 2011
Commits on May 13, 2011
  1. $_SERVER['QUERY_STRING'] appears to always be set, but not necesarily…

    … empty. Change to check it is empty before appending query string.
    
    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5123 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    lildude committed May 13, 2011
Commits on May 12, 2011
  1. Allow values in the options table to be specified by default in the c…

    …onfig file. Settings assigned to the array in the config file for default_options can be overridden by settings in the database but will provide an initial setting. Settings assigned to the array in the config file for static_options will override any values that are specified in the database.
    
    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5121 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    committed May 12, 2011
  2. Allow the config for the tree output to be specified when creating th…

    …e TreeControl for a form.
    
    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5120 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    committed May 12, 2011
Commits on May 8, 2011
  1. HabariSilo now correctly displays generic icons for non-image file ty…

    …pes. Coding standards related changes too.
    
    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5117 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    lildude committed May 8, 2011
  2. A much more elegent method of resolving #1403. Still does the same th…

    …ing as the previous fix, just more elegently.
    
    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5116 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    lildude committed May 8, 2011
Commits on May 7, 2011
  1. automatic POT template generation

    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5114 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    Matt Read committed May 7, 2011
  2. habari.media.resize_media_row now resizes the media_row of the visibl…

    …e silo tab using information from the visible silo and not the first silo in the list. This fixed #1403.
    
    The problem here was the resize_media_row was using the $('.mediaphotos').outerWidth() of the first "mediaphotos" it found and not the one of the active silo tab.  Accordingly, the result of this little calculation was always 0 when NOT viewing the first tab and hence the row was never resized and we didn't see the silo contents on Chrome.  
    
    I'm not exactly sure why this was only a problem on Chrome, but I suspect it may have something to do with the fact Chrome seems to enforce the "display:block" for divs in the default user agent stylesheet differently from Firefox.
    
    This fix may be a bit crude, but it does the job, and consistently across Chrome, Safari and Firefox on OS X.  Being more silo specific should probably be considered elsewhere in media.js to reduce the chances of a similar issue occurring in the future, but I'll leave that for the moment.
    
    
    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5113 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    lildude committed May 7, 2011
Commits on Apr 30, 2011
  1. automatic POT template generation

    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5108 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    Matt Read committed Apr 30, 2011
Commits on Apr 28, 2011
  1. Fix a problem with MySQL databases with a non-utf8 collation.

    The important difference is that SET CHARACTER SET sets collation_connection to the collation of the selected database, and then in turn uses that value to set character_set_connection. Thus, the two statements are equivalent ONLY if the collation of the database Habari uses is utf8_*.
    
    
    
    git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5102 653ae4dd-d31e-0410-96ef-6bf7bf53c507
    Matthias Bauer committed Apr 28, 2011