Skip to content
  1. Jun 24, 2008
    • Jakob Petsovits's avatar
      * Lots and lots of CSS finetuning. I believe I can't make it any better · 6db07116
      Jakob Petsovits authored
        than this, only CSS gurus should be able to improve it even more.
      
      * On the coding side, file edit widgets are now real form elements.
        That means no buttons for such widgets, but instead they can come up
        with their own value callbacks and widget theme functions.
        Plus I now have them in their walled garden where they belong.
      6db07116
    • Jakob Petsovits's avatar
      AHAH uploads and deletions. · c985d8bc
      Jakob Petsovits authored
      Includes a bit more modularization of the uploading/deletion code.
      
      Known bugs:
      * Uploads work in Firefox but not in Konqueror, that is a regression
        compared to the D5 version. An ahah.js bug? (Drupal isn't even invoked.)
      * The AHAH submit-replacement behaviour won't attach to the new form,
        it seems. I experienced the same thing with the CCK "add more" button,
        let's have a look what goes wrong there.
      6.x-1.0-alpha1
      c985d8bc
  2. Jun 23, 2008
    • Jakob Petsovits's avatar
      Bugfix time: · a29b964b
      Jakob Petsovits authored
      * Re-add '#name' properties for the buttons, so that the right one
        is selected on submit.
      * Scrap the broken condition (using a wrong, previous variable name)
        so that the replaced file is added to the form state again on uploading.
      a29b964b
    • Jakob Petsovits's avatar
      * Move non-button elements to the respective container form elements. · 0c08790f
      Jakob Petsovits authored
        That way we can encapsulate as much as possible, and that's good for
        grouping the code. Consequently, widget code order is now sane at last:
        first comes hook_widget() which decides between upload and edit widget,
        then comes the upload widget, and then comes the edit widget.
        Finally some structure where I immediately find stuff.
      
      * Move file uploading from the value callback to the submit callback.
        I'm pretty convinced that we don't want to upload selected files
        if *any* button is pressed (not just the "Upload" button).
      
      * Rename $fieldname to $field_name, like used in core CCK code.
      0c08790f
    • Jakob Petsovits's avatar
      Refine the CSS, getting rid of unnecessary bottom margin in Konqueror. · ad7f7a17
      Jakob Petsovits authored
      Nice side effect: more filefield-classed divs for detailed themeability.
      ad7f7a17
    • Jakob Petsovits's avatar
      Views 2 integration. Now that was easier than I expected - · 419dea73
      Jakob Petsovits authored
      by defining a relationship to the {files} table, we get all
      the file filters for free. That's pretty neat.
      419dea73
  3. Jun 22, 2008
  4. Jun 21, 2008
  5. Jun 18, 2008
  6. Jun 10, 2008
  7. Dec 06, 2007
  8. Dec 05, 2007
    • Jakob Petsovits's avatar
      Remove the "Show 'List' option" widget setting, and replace it · 2c0b098a
      Jakob Petsovits authored
      by an "Always list files" field setting (= !$show_list).
      
      No upgrade path (yet?) - it's not possible to have a universally applicable
      upgrade path, but most people probably don't use different widget settings
      in different instances of that field... so, I'll try a heuristic solution.
      Scheduled for the next commit, that is.
      2c0b098a
  9. Nov 21, 2007
  10. Oct 14, 2007
  11. Sep 25, 2007
  12. Sep 03, 2007
  13. Aug 31, 2007
  14. Jul 20, 2007