1. 09 Dec, 2015 1 commit
    • Julien Cristau's avatar
      Backout "[entity,storage] remove hackish code from the bfss path · dc572d116731
      Julien Cristau authored
      The merge of the repo-side and web-side entity caches doesn't actually work,
      because entities have a _cw attribute which is sometimes a connection and
      sometimes a web request, and whose nature changes not-really-predictably
      whenever ResultSet.get_entity() is called and brings it out of the cache.
      
      This reverts commit 59a79300f213.
      dc572d116731
  2. 05 Oct, 2015 1 commit
  3. 21 Aug, 2015 1 commit
  4. 22 Sep, 2015 1 commit
    • Sylvain Thénault's avatar
      fix bad-caching of datetime with tz info at sql generation time · cfded6d0da11
      Sylvain Thénault authored
      There is a special handling for datetime with tzinfo, where value was stored in
      the query cache. The implementation of merge_args was simply overwriting
      parameters of the query with those in the query cache, expecting no collision.
      
      To fix this:
      * handle replacement of tzinfo in merge_args, not at sql generation time
      * add an assertion to ensure we've actually no collision
      
      Closes #6978316
      cfded6d0da11
  5. 29 Sep, 2015 2 commits
  6. 24 Jul, 2015 2 commits
  7. 22 Jul, 2015 1 commit
  8. 27 Jul, 2015 1 commit
  9. 10 Jul, 2015 1 commit
  10. 24 Nov, 2015 1 commit
  11. 30 Jun, 2015 1 commit
    • Sylvain Thénault's avatar
      [repository] deprecate the extid2eid based multi-sources API · fed8bd56f223
      Sylvain Thénault authored
      This API is cumbersome and lead to obfuscated code because of the callback
      mecanism implied when some entity has to be created.
      
      Since we dropped the "true" multi-source, this mecanism is not needed anymore
      and one should prefer to use the dataimport API inside its parser instead.
      
      Notice the cwxml parser will trigger the deprecation warning, it should not be
      used anymore in favor of ad-hoc parsers.
      fed8bd56f223
  12. 23 Nov, 2015 1 commit
  13. 11 Jun, 2015 1 commit
  14. 19 Nov, 2015 2 commits
  15. 08 Sep, 2015 1 commit
  16. 14 Oct, 2015 1 commit
  17. 05 Oct, 2015 3 commits
  18. 01 Oct, 2015 2 commits
  19. 18 Sep, 2015 1 commit
    • Rémi Cardona's avatar
      [server] Port BFSS to py3k · b261d90149d0
      Rémi Cardona authored
      The BFSS API changes in python 3:
      
      * 'defaultdir' MUST be a unicode object
      * 'fsencoding' MUST NOT be set
      
      In python 2, fsencoding handles both the encoding of file paths on the
      file system (utf-8 by default, but the system may actually be using
      something else) and the encoding of file paths that will be stored in
      the database.
      
      So in python 3, we wipe the slate clean:
      
      * rely on sys.getfilesystemencoding() to convert unicode objects to
        bytes
      * always encode paths to utf-8 for storage in the database
      
      Caveat emptor / here be dragons:
      
      * sys.getfilesystemencoding() depends on the current locale, which
        therefore MUST be set properly
      * when migrating an existing instance from py2 to py3, one MAY need
        to reencode file paths stored in the database
      b261d90149d0
  20. 15 Sep, 2015 2 commits
  21. 18 Sep, 2015 1 commit
  22. 11 Sep, 2015 1 commit
  23. 13 Oct, 2015 1 commit
  24. 15 Sep, 2015 1 commit
  25. 08 Sep, 2015 1 commit
  26. 14 Sep, 2015 2 commits
  27. 16 Sep, 2015 1 commit
  28. 15 Sep, 2015 2 commits
  29. 22 Sep, 2015 1 commit
  30. 14 Sep, 2015 1 commit
  31. 11 Sep, 2015 1 commit