1. 12 Oct, 2015 1 commit
  2. 09 Oct, 2015 4 commits
  3. 08 Oct, 2015 4 commits
  4. 06 Oct, 2015 2 commits
  5. 05 Oct, 2015 1 commit
  6. 29 Sep, 2015 1 commit
  7. 23 Sep, 2015 2 commits
    • Julien Cristau's avatar
      [hooks/syncschema] make sure CWUniqueTogetherConstraintDelOp happens before CWConstraintDelOp · 22f330f829ae
      Julien Cristau authored
      SQLServer refuses to index an unlimited text column, so we should drop
      unique_together constraints (which imply an index) before we drop size
      constraints.  Closes #5560601.
      22f330f829ae
    • Aurelien Campeas's avatar
      [hooks/syncschema] only call "ALTER TABLE" once when changing a size constraint · 80236876ee4d
      Aurelien Campeas authored
      Until now we would:
      
      - remove the old size constraint from the in-memory schema
      - call update_rdef_column which removes the size restriction from the
        column's type
      - add the new constraint object
      - call update_rdef_column which adds the size restriction back
      
      This breaks on SQL Server when the column is involved in an index (e.g.
      as part of a multi-column unique constraint), because in the
      intermediate stage the column's type is "nvarchar(max)", which is not
      indexable.
      
      Of course we must still detect the case where a size constraint is
      really dropped and update the db schema accordingly.
      
      Closes #5557633.
      80236876ee4d
  8. 09 Sep, 2015 1 commit
    • Sylvain Thénault's avatar
      [autoform] fix appearance of link to add inlined creation form · a8b33789b982
      Sylvain Thénault authored
      
      On entity creation, if there are some local permissions on the relation,
      we have no way of checking them since neither the subject nor the object
      of the relation exists yet. In such a case, we should add the link by
      default, for consistency (see other places where we use
      `may_have_permission`).
      
      Closes #6711900
      a8b33789b982
  9. 08 Oct, 2015 2 commits
  10. 02 Sep, 2015 1 commit
  11. 07 Oct, 2015 1 commit
  12. 02 Sep, 2015 1 commit
  13. 25 Aug, 2015 1 commit
  14. 21 Aug, 2015 1 commit
  15. 24 Jul, 2015 1 commit
    • Julien Cristau's avatar
      [devtools] add has_cache for postgres (closes #5739624) · c43e5dc41f8b
      Julien Cristau authored
      devtools stores info about existing dbs in the db handler, but in the
      case of postgresql that doesn't take into account the path to the
      cluster's datadir.  Which means if we run two test modules (in the same
      test run), we'll create a "__default_empty_db__" for the first one,
      cache its existence, and then when moving on to the other module,
      believe the template already exists (but since the datadir depends on
      the test module's path, it does not).  This patch is a bit of a kludge,
      and it would be better to make the cache key include enough data to not
      need this, but I'm not sure how to do that.
      c43e5dc41f8b
  16. 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
  17. 29 Sep, 2015 5 commits
  18. 24 Jul, 2015 2 commits
  19. 27 Jul, 2015 1 commit
  20. 06 Aug, 2015 2 commits
  21. 25 Aug, 2015 1 commit
  22. 31 Jul, 2015 1 commit
  23. 29 Jul, 2015 1 commit
  24. 28 Jul, 2015 2 commits
    • Julien Cristau's avatar
      [pkg] Let dh_installdocs deal with doc-base · a8a0de0298a5
      Julien Cristau authored
      a8a0de0298a5
    • Julien Cristau's avatar
      [pkg] various debian packaging fixes · 5821ae654dfd
      Julien Cristau authored
      - stop using *.install.in files, just use wildcards in *.install
      - switch to X-Python-Version (preferred for dh_python2)
      - also call dh_python2 for /usr/share/cubicweb, not just public modules
      - drop long obsolete ginco and erudi migration code from cubicweb-ctl.postinst
      - fix cubicweb-ctl cleanup: purge code belongs in postrm, not prerm
      - don't compress changelog.html
      5821ae654dfd