1. 03 Jun, 2019 1 commit
  2. 12 Feb, 2019 1 commit
    • Arnaud Fontaine's avatar
      ZODB Components: Likewise Document, add Mixin (erp5.component.mixin) and... · e84d2b51
      Arnaud Fontaine authored
      ZODB Components: Likewise Document, add Mixin (erp5.component.mixin) and Interface (erp5.component.interface).
      
      * One Mixin/Interface class per ZODB Component.
        => Already the case for FS Mixin, not for Interfaces.
      * ZODB Components module name ('reference' property) and class name:
        + Mixin: FooMixin.
        + Interface: IFoo.
      
      Rationale:
        + Avoid current FS hacks: registry (Mixins, mixin_class_registry) or import
          all classes explicitly in __init__.py (Products.ERP5Type.interfaces).
        + Consistent naming.
        + Consistent with ZODB Documents Components.
      
      Also, modify pylint checker to handle Zope Interfaces:
        + E: 4, 0: Inheriting 'Interface', which is not a class. (inherit-non-class)
        + E: 5, 2: Method has no argument (no-method-argument)
      e84d2b51
  3. 15 Feb, 2018 1 commit
  4. 08 Jan, 2018 1 commit
  5. 25 Oct, 2017 2 commits
  6. 02 Nov, 2015 1 commit
  7. 24 Apr, 2015 1 commit
  8. 24 Sep, 2014 1 commit
    • Arnaud Fontaine's avatar
      ZODB Components: Add CodeMirror editor. · 3f5376be
      Arnaud Fontaine authored
      CodeMirror API is much more cleaner (from code and design point of view) than
      Ace Editor and include useful plugins, such as MergeView supported in ERP5 to
      diff with previous versions.
      3f5376be
  9. 04 Sep, 2014 1 commit
  10. 11 Oct, 2012 1 commit
  11. 27 Jan, 2012 1 commit
  12. 12 Apr, 2011 1 commit
  13. 11 Nov, 2010 1 commit
  14. 14 Oct, 2010 1 commit
  15. 16 Aug, 2010 1 commit
  16. 19 Mar, 2010 3 commits
  17. 07 Oct, 2009 1 commit
  18. 16 Sep, 2009 1 commit
  19. 03 Mar, 2009 1 commit
  20. 27 Jun, 2008 1 commit
    • Vincent Pelletier's avatar
      Update Formulator rendering API (except css and odt) to make it accept a new... · b4b92a1f
      Vincent Pelletier authored
      Update Formulator rendering API (except css and odt) to make it accept a new "render_prefix" parameter.
      Its basic purpose is similar to existing "key" parameter, but instead of replacing field id it gets prepended to it.
      Its "evolved" purpose is to make it possible to distinguish multiple renderings of the *same* field (same form, same field) in a single rendering sequence (ie, in the same web page).
      It's safe to just ignore it when writing a renderer.
      Update all existing renderers, and monkeypatch a few more.
      Ignore the new parameter in all of them except ListBox (stored on renderer instance but not used yet).
      
      
      git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21998 20353a03-c40f-0410-a6d1-a30d3c3de9de
      b4b92a1f
  21. 21 May, 2008 1 commit
    • Julien Muchembled's avatar
      Fix {Field,Widget}.render_view API so that Listbox's non-editable cells can access 'cell' in TALES: · ba489a0f
      Julien Muchembled authored
       * add a 'REQUEST=None' parameter to every render_view method:
         * new patches in FormulatorPatch to fix render_view of Field, Widget,
           MultiItemsWidget, LabelWidget, FileWidget, PasswordWidget and RadioWidget
         * reorder parameters in OOoChartWidget.render_view
         * add a 'REQUEST=None' parameter to DurationField.render_sub_field_view
       * forward REQUEST to field.get_value in:
         * ListWidget_render_view (my goal)
         * TALESWidget_render_view (why not?)
       * PatchedLinkWidget.render_view and
         MultiRelationStringFieldWidget.render_view
         needn't call get_request anymore if REQUEST isn't None
       * PatchedLinkWidget.render_view: change REQUEST.get('cell') into
         getattr(REQUEST,'cell',None) since 'cell' may be an attribute of REQUEST
       * add a unit test to check the signature of all registered fields/widgets
      
      git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21048 20353a03-c40f-0410-a6d1-a30d3c3de9de
      ba489a0f
  22. 27 Aug, 2007 1 commit
  23. 25 Mar, 2006 1 commit
  24. 23 Jan, 2006 1 commit