1. 11 Aug, 2010 2 commits
  2. 10 Aug, 2010 1 commit
  3. 16 Jul, 2010 1 commit
  4. 02 Jul, 2010 1 commit
  5. 18 Jun, 2010 1 commit
  6. 16 Jun, 2010 1 commit
  7. 11 Jun, 2010 3 commits
  8. 21 May, 2010 2 commits
  9. 20 May, 2010 2 commits
    • Sylvain Thénault's avatar
      [entity] continue cleanup of Entity/AnyEntity namespace · 1a534c596bff
      Sylvain Thénault authored
      * prefix by cw_ or _cw all '2nd zone' attributes / methods, other
        most commonly used will be done later (some methods used by client
        are made private anyway when they are for internal purpose anyway)
      
      * kill set_eid, use direct affectation instead
      
      * kill the auto-transmutation feature (pre_add_hook), hence releasing
        3.9 will require releasing file cube as well
      1a534c596bff
    • Sylvain Thénault's avatar
      [entity] introduce a new 'adapters' registry · 9ab2b4c74baf
      Sylvain Thénault authored
      This changeset introduces the notion in adapters (as in Zope Component Architecture)
      in a cubicweb way, eg using a specific registry of appobjects.
      
      This allows nicer code structure, by avoid clutering entity classes and moving
      code usually specific to a place of the ui (or something else) together with the
      code that use the interface.
      
      We don't use actual interface anymore, they are implied by adapters (which
      may be abstract), whose reg id is an interface name.
      
      Appobjects that used to 'implements(IFace)' should now be rewritten by:
      
      * coding an IFaceAdapter(EntityAdapter) defining (implementing if desired)
        the interface, usually with __regid__ = 'IFace'
      
      * use "adaptable('IFace')" as selector instead
      
      Also, the implements_adapter_compat decorator eases backward compatibility
      with adapter's methods that may still be found on entities implementing
      the interface.
      
      Notice that unlike ZCA, we don't support automatic adapters chain (yagni?).
      
      All interfaces defined in cubicweb have been turned into adapters, also
      some new ones have been introduced to cleanup Entity / AnyEntity classes
      namespace. At the end, the pluggable mixins mecanism should disappear in
      favor of adapters as well.
      9ab2b4c74baf
  10. 12 May, 2010 1 commit
  11. 28 Apr, 2010 2 commits
  12. 16 Apr, 2010 1 commit
  13. 09 Apr, 2010 1 commit
  14. 02 Apr, 2010 1 commit
  15. 01 Apr, 2010 1 commit
  16. 31 Mar, 2010 1 commit
    • Sylvain Thénault's avatar
      [repository] forbid usage of set_attributes() in before_add_entity · 2e43ef618d14
      Sylvain Thénault authored
      set_attributes() will generate a RQL query that will silently fail.
      An explicit error is better.
      
      You can still use the ``entity[attr] = value`` notation that
      won't generate a SQL query but still update the inner state
      of the entity and its edited_attributes attribute.
      
      --HG--
      branch : stable
      2e43ef618d14
  17. 25 Mar, 2010 1 commit
  18. 07 Apr, 2010 1 commit
  19. 24 Mar, 2010 4 commits
  20. 22 Mar, 2010 1 commit
  21. 19 Mar, 2010 1 commit
  22. 04 Mar, 2010 1 commit
    • Sylvain Thénault's avatar
      [fti] refactor and fix full text indexation handling · 4f12f59b1a13
      Sylvain Thénault authored
      * moved logic from repository to the native source
      * avoid creating a FTIndexOp when no full text indexation is needed
      * entities with fulltext_container set are not indexed even when not
        related to a container
      * avoid duplicated unindexation
      
      --HG--
      branch : stable
      4f12f59b1a13
  23. 01 Mar, 2010 1 commit
  24. 09 Mar, 2010 3 commits
  25. 08 Mar, 2010 1 commit
  26. 03 Mar, 2010 1 commit
  27. 26 Feb, 2010 1 commit
  28. 18 Feb, 2010 1 commit
  29. 05 Feb, 2010 1 commit