1. 12 Sep, 2019 1 commit
  2. 05 Apr, 2019 1 commit
    • Denis Laxalde's avatar
      Drop python2 support · 26744ad37953
      Denis Laxalde authored
      This mostly consists in removing the dependency on "six" and updating
      the code to use only Python3 idioms.
      
      Notice that we previously used TemporaryDirectory from
      cubicweb.devtools.testlib for compatibility with Python2. We now
      directly import it from tempfile.
      26744ad37953
  3. 28 Mar, 2019 1 commit
    • Philippe Pepiot's avatar
      [cwconfig] drop importing legacy cubes · e2db422752b4
      Philippe Pepiot authored
      This finally drop support for legacy cubes.
      
      In cwconfig, don't load modules in the "cubes" namespace.
      In cube_pkginfo() handle CW_MIGRATION_MAP which wasn't working with new style cube.
      Drop all method specific to legacy cubes importer: cubes_search_path(), extrapath(), cls_adjust_sys_path()
      Drop environment variables related to legacy cubes: CW_CUBES_PATH and CW_CUBES_DIR
      e2db422752b4
  4. 26 Mar, 2019 1 commit
  5. 22 Mar, 2019 1 commit
  6. 14 Mar, 2019 2 commits
  7. 30 Sep, 2016 1 commit
    • Sylvain Thénault's avatar
      flake8 and all · 432f87a63057
      Sylvain Thénault authored
      * update some copyright
      * drop most __docformat__ declaration
      * fix some flake8 warnings / errors
      432f87a63057
  8. 01 Oct, 2016 1 commit
  9. 19 Jan, 2017 1 commit
  10. 19 May, 2016 1 commit
  11. 16 Jan, 2016 1 commit
    • Denis Laxalde's avatar
      Reorganize source tree to have a "cubicweb" top-level package · 0b59724cb3f2
      Denis Laxalde authored
      Basically:
      
      mkdir cubicweb
      hg mv *.py -X setup.py cubicweb
      hg mv dataimport devtools entities etwist ext hooks i18n misc schemas server skeleton sobjects test web wsgi cubicweb
      
      Other changes:
      
      * adjust path to cubicweb-ctl in devtools tests
      * update setup.py to avoid importing __pkginfo__ (exec it instead),
        replace os.path.walk by os.walk and prepend `modname` here and there
      * update tox.ini to account for new test locations
      * update doc/conf.py so that it still finds __pkginfo__.py and CWDIR in
        doc/Makefile
      0b59724cb3f2
  12. 21 May, 2014 1 commit
    • Alain Leufroy's avatar
      [cwvreg] cleanup the event manager when reloading modules · 93a44cf0d030
      Alain Leufroy authored
      Closes #3848995
      
      The event manager callbacks are not cleaned during reloading.
      So the callback defined in the reloaded module appears twice (old and new
      version). This may cause problem when the old version is called.
      
      --HG--
      branch : stable
      93a44cf0d030
  13. 29 Jul, 2014 1 commit
  14. 27 Sep, 2013 1 commit
  15. 23 Jan, 2014 1 commit
    • Sylvain Thénault's avatar
      [multi-sources-removal] Drop entities.source column · 032825bbacab
      Sylvain Thénault authored
      Since we remove federated multi-sources support, the same value ('system')
      is always stored in this column and so could be removed. Also, cleanup
      repository caches and a few api where the very same useless information could
      be removed.
      
      Closes #2919300, at last
      
      [jcr: restore sanity check of etype against schema in checkintegrity.has_eid]
      032825bbacab
  16. 26 Aug, 2013 2 commits
    • Julien Cristau's avatar
      Rename cleanup_interface_sobjects into cleanup_unused_appobjects · 4e79f587c6ab
      Julien Cristau authored
      Interfaces are gone in 3.18
      
      Related to #2782004.
      4e79f587c6ab
    • Aurelien Campeas's avatar
      remove 3.9 bw compat · 697a8181ba30
      Aurelien Campeas authored
      In cw 3.9, interfaces are deprecated and replaced with adapters,
      yielding a lot of bw compat in many places -- most if this patch is
      concerned with the interface bw compat
      
      - cwvreg: interface cleanup
      
      - doc/adapters.rst: interface cleanup
      
      - entities/adapters.py, wfobjs.py: interfaces bw compat
      
      - entity.py: interfaces bw compat, also get_value, delete,
        attr_metadata, has_perm, set_related_cache, clear_related_cache,
        clear_related_cache, related_rql
      
      - predicates.py: score_interfaces & implements
      
      - interfaces.py & mixins.py: 100% gone
      
      - view.py: implement_adapter_compat, unwrap_adapter_compat
      
      - calendar.py, editcontroller.py, ibreadcrumbs.py, navigation.py, xmlrss.py:
        interface bw compat
      
      - treeview.py: salvage one function from mixins.py
      
      
      Related to #2782004.
      697a8181ba30
  17. 25 Apr, 2013 1 commit
  18. 24 Apr, 2013 1 commit
  19. 22 Feb, 2013 1 commit
  20. 14 Feb, 2013 2 commits
  21. 21 Jan, 2013 2 commits
  22. 25 Feb, 2013 1 commit
  23. 10 Sep, 2012 1 commit
    • Sylvain Thénault's avatar
      [config] turn internal configuration methods building appobjects search path... · e30d0a7f0087
      Sylvain Thénault authored
      [config] turn internal configuration methods building appobjects search path into normal method rather than class method
      
      as this is useless and make path filters difficult to override (we had to
      override the class attribute, as instance attributes were not seen).
      
      Also rename related methods for consistency with current vocabulary
      e30d0a7f0087
  24. 08 Jun, 2012 1 commit
  25. 23 Jan, 2012 1 commit
    • Sylvain Thénault's avatar
      [vreg] move base registry implementation to logilab.common. Closes #1916014 · 2a3c1b787688
      Sylvain Thénault authored
      A new logilab.common.registry module has been created with content from
      
      * cw.vreg (the whole things that was in there)
      * cw.appobject (base selectors and all).
      
      In the process, we've done some renaming:
      
      * former selector functions are now known as "predicate", though you still
        use predicates to build an object'selector
      
      * hence `objectify_selector` decorator is now `objectify_predicate`
      
      * the top level registry is now `RegistryStore` (was `VRegistry`)
      
      Also there is no more need for the @lltrace decorator.
      
      On the CubicWeb side, the `selectors` module has been renamed to `predicates`.
      
      There should be full backward compat with proper deprecation warnings.
      2a3c1b787688
  26. 21 Oct, 2011 1 commit
  27. 07 Jun, 2011 1 commit
  28. 06 Jun, 2011 1 commit
  29. 23 May, 2011 1 commit
  30. 04 May, 2011 1 commit
  31. 27 Apr, 2011 1 commit
  32. 11 Apr, 2011 1 commit
  33. 01 Apr, 2011 1 commit
    • Sylvain Thénault's avatar
      [time zone] support for TZDatetime and TZTime data type · dde161937d3e
      Sylvain Thénault authored
      Should be usable and cause no crash, though some stuff may still be
      refined (test value generation, display in views/forms...)
      
      Proprify some data structures dealing with yams base types along the
      way and adding warning when some were missing (eg Interval usually).
      dde161937d3e
  34. 31 Mar, 2011 1 commit
  35. 28 Feb, 2011 1 commit
  36. 31 Jan, 2011 1 commit