Skip to content
Commits on Apr 20, 2008
  1. @theory

    Got the delete graphic to disappear when no more container elements a…

    theory committed Apr 20, 2008
    …re allowed to be deleted. This is read to merge into trunk!
  2. @theory

    Gotta have the name.

    theory committed Apr 20, 2008
  3. - more synchronization of german help page for 'Element Type Profile'

    Steffen Schwigon committed Apr 20, 2008
      according to the english original text, especially
      * elements -> element types, 
      * no more mentioning of "burner" attributes
  4. - german translation for context-sensitive help of Min/Max

    Steffen Schwigon committed Apr 20, 2008
  5. @theory

    Got the delete graphic to appear only if you're allowed to delete ele…

    theory committed Apr 20, 2008
    …ments.
    
    However, if you require a minimum and have three, and then delete one, there
    are still delete graphics for the other two. The field requirement stuff
    doesn't work like that.
    
    So, Marshall: Where is the code to make those disappear when you delete a
    field? I need to dupe it for container elements.
  6. @theory

    s/can not/cannot/g

    theory committed Apr 20, 2008
  7. @theory

    * Switched to setting the "Min" and "Max" fields for subelement type…

    theory committed Apr 20, 2008
    …s to
    
       empty values instead of 0. I think that this will be less confusing to
       users.
     * Updated the callback for same, and refactored it.
     * Added JavaScript validation for these fields. I did this by starting a new
       validation approach, where a field just has a class that indicates how it
       should be validated ("validate-digits"), and a title attribute that can be
       used for the display of error messages. If only we'd had this sort of thing
       when we started! I expect that it can be greatly expanded upon in the
       future. Have at it, people!
     * Added documentation of the new "Min" and "Max" fields to the
       context-sensitive help. I copied the changes to be the same for all
       languages that are still untranslated -- that is, all except German and
       Russian. So those need to be updated!
Commits on Apr 19, 2008
  1. @theory

    Did that already. :-)

    theory committed Apr 19, 2008
  2. @theory

    Added ability to edit min_occurrence and max_occurrence on subelement…

    theory committed Apr 19, 2008
    … types to
    
    the element type profile. There are fields in the list of subelements that can
    be edited. Still left to do before I'd consider this complete:
    
    * Validate that the values are whole numbers via JavaScript (the callback
      already does it).
    * Add code to the container profile callback to do the same: to display an
      error message if a container cannot be deleted (you already can't delete it,
      but it's best to tell the user why she can't delete it).
    * Add code to `comp/widgets/container_prof/container.mc` to omit the delete
      graphic if a subelement is required. This will prevent the previous point
      from really happening much at all.
    
    I should be able to do most of this sometime this weekend. But for now, I'm
    off for the night.
  3. @theory

    Fixed another MySQL oversight.

    theory committed Apr 19, 2008
  4. @theory

    * Fixed some MySQL errors in the DDLs I updated a few months ago, but…

    theory committed Apr 19, 2008
    … never
    
      tested. Now I've tested them, and all tests pass. W00t!
    * Bit of reformatting in ElementType.pm.
  5. @theory
Commits on Apr 18, 2008
  1. @theory

    Merged from trunk r8079 into dev_elem_occurrence. There is one failin…

    theory committed Apr 18, 2008
    …g test due to errors with the element occurrence stuff, so I put in a `return` to work around it for now. I will fix it later today or sometime this weekened, them get the elem occurrenc stuff working in the UI.
Commits on Feb 5, 2008
  1. @theory
Commits on Feb 4, 2008
  1. @theory
  2. @theory

    Whitespace cleanup.

    theory committed Feb 4, 2008
Commits on Oct 21, 2007
  1. * Updated the AJAX delete buttons to only appear when the element is…

    Marshall Roch committed Oct 21, 2007
    … allowed to
    
     be deleted. If there are > min_occurrence occurrences, all occurrences have a
     delete button. As soon as you delete the last allowed occurrence, all the other
     delete buttons disappear.
    
     * Fixed a bug in Bric::Biz::Element::Container where the wrong type of object
     was being used, which caused an exception when deleting containers via the 
     container profile
    
     * Fixed a typo in Changes.pod causing test failures
    
     * Fixed a few other documentation typos
    
    TODO: It looks like the ability to set min_ and max_occurrence on containers
    was never added to the Element Type profile.
Commits on Oct 18, 2007
  1. Merged from trunk to dev_elem_occurrence r7903:7996

    Marshall Roch committed Oct 18, 2007
Commits on Jun 19, 2007
  1. @slanning

    site name was being displayed as HASH(0x08ae7cd3),

    slanning committed Jun 19, 2007
    (introduced by r7891 merge of dev_ajax)
Commits on Jun 17, 2007
  1. @theory

    Added the `related_story_id` and `related_media_id` parameters to

    theory committed Jun 17, 2007
    `Bric::Biz::Element::Container->list().`
Commits on Mar 14, 2007
  1. @haz

    Merged from trunk Ver: 7903

    haz committed Mar 14, 2007
Commits on Mar 12, 2007
  1. @haz

    Test commit

    haz committed Mar 12, 2007
Commits on Dec 4, 2006
Commits on Oct 25, 2006
  1. @slanning

    Added a NONE function to Bric::Util::DBI.

    slanning committed Oct 25, 2006
    Should be useable anywhere that ANY is.
    lib/Bric/Util/DBI.pm
    - added NONE function
    - updated where_clause and any_where to support NONE
    TODO:
    - tests (there are over 400 ANYs in the tests...)
    - docs (update everywhere ANY is documented)
Commits on Oct 19, 2006
  1. @slanning
  2. @slanning

    noted the addition of mysql support, which has been merged

    slanning committed Oct 19, 2006
    from dev_mysql
Commits on Oct 2, 2006
  1. @theory

    Eliminate warning.

    theory committed Oct 2, 2006
Commits on Sep 27, 2006
  1. Reverting last commit

    Andrei Arsu committed Sep 27, 2006
Commits on Sep 20, 2006
  1. @theory

    Ignore *.sql in inst.

    theory committed Sep 20, 2006
  2. @theory

    Make sure that the group IDs are distinct. And make sure that we don'…

    theory committed Sep 20, 2006
    …t try
    
    to split undef values (dunno where these come from, but the warnings go away, at least.)
  3. @theory

    Added more ALTER TABLE AUTO_INCRMENTs, both where they were missing i…

    theory committed Sep 20, 2006
    …n *.sql
    
    files and to .con files, since some constraints seem to reset the value, too. How
    annoying. At anyr rate, I am now back down to 48 test failures, and I think that they
    will be pretty easy to handle.
  4. @theory

    Better handling of the group_concat() aggregate. It was returning NUL…

    theory committed Sep 20, 2006
    …L under MySQL
    
    when there were no IDs, and I wanted it to return "" like it does under PostgreSQL.
    Also, it seems a lot cleaner to have one function handle it instead of four
    constants.
    
    This commit also adds the NULL and DEFAULT constraints for all MySQL timestamp
    columns that did not already have them, to prevent MySQL from helpfully making
    the defaults CURRENT_TIMESTAMP (for NOT NULL) and "0000-00-00 00:00:00" (for NULL).
Something went wrong with that request. Please try again.