1. 06 Oct, 2017 4 commits
  2. 05 Oct, 2017 1 commit
    • Sylvain Thénault's avatar
      [web/form] Relax condition for non-translating field names · 95e0883e2375
      Sylvain Thénault authored
      we should test true condition instead of None, so if one raise a ValidationError
      using an empty string as 'no-field' marker instead of None, we don't get the PO
      file header that gettext likes to return when one attempt to translate an empty
      string.
      
      --HG--
      branch : 3.25
      95e0883e2375
  3. 26 Sep, 2017 1 commit
    • Denis Laxalde's avatar
      [entities] Restore dc_ methods instead of __getattr__ proxy · 1c912b7d9503
      Denis Laxalde authored
      In 8de62610cea2, a __getattr__ proxy was introduced to handle compatibility
      with dc_* methods being called on entity instances instead of through the
      IDublinCore adapter. Unfortunately, __getattr__ does not play well with
      super() and since the latter is often used by, we here restore all dc_ methods
      with an explicit proxy to the adapter. More verbose but should work.
      
      Closes #17103999.
      
      --HG--
      branch : 3.25
      1c912b7d9503
  4. 13 Sep, 2017 1 commit
  5. 12 Sep, 2017 1 commit
  6. 11 Sep, 2017 1 commit
  7. 22 Jun, 2017 1 commit
  8. 04 Apr, 2017 1 commit
  9. 28 Jul, 2017 1 commit
    • Jérôme Roy's avatar
      [doc] Fix option_*() migration commands in doc · b6b87c36beed
      Jérôme Roy authored
      The function signature in the doc is not the same as in the code. Also option_removed should probably be removed from the doc since the function in migration.py is empty
      
      --HG--
      branch : 3.25
      b6b87c36beed
  10. 03 May, 2017 2 commits
  11. 10 May, 2017 1 commit
  12. 10 Jul, 2017 2 commits
  13. 06 Jun, 2017 1 commit
    • Denis Laxalde's avatar
      [pyramid] Only expose 'cubicweb.bwcompat' setting for "all-in-one" configuration type · 36f1c7ab9010
      Denis Laxalde authored
      The "pyramid" instance configuration does not work with "cubiwceb.bwcompat"
      mode (on purpose). Yet, having the setting exposed in development.ini file
      (generate by `cubicweb-ctl create --config pyramid <cube> <instance>` command)
      is misleading and we want to remove it.
      
      Thus, we only query this setting when cubicweb configuration is "all-in-one" and
      drop the setting line from templated development.ini file. If the option is
      found and True for any other configuration type, we issue a user warning (and
      ignore the option).
      
      --HG--
      branch : 3.25
      36f1c7ab9010
  14. 27 Apr, 2017 1 commit
  15. 05 May, 2017 1 commit
  16. 19 Apr, 2017 1 commit
  17. 14 Apr, 2017 3 commits
  18. 13 Apr, 2017 3 commits
    • Sylvain Thénault's avatar
      [entities] Fix backward compat of IDublinCore adapter wrt dc_long_title · 608481168432
      Sylvain Thénault authored
      `entity.dc_long_title()` used to fallback to `dc_title()`, and most entity types
      were relying on this, thus only implementing the later.
      
      Since introduction of the IDublinCore adapter, if one call
      `entity.dc_long_title()` on an entity that only implements `dc_title()`, it will retrieve
      the adapter which will then call its own `title()` method instead of the
      `dc_title()` method of the entity as expected.
      
      Fix this by calling instead `entity.dc_title()` which will eventually kick in the
      backward compat layer if necessary.
      
      --HG--
      branch : 3.25
      608481168432
    • Denis Laxalde's avatar
      [web] Do not try to rmtree symlinks in rmtreecontent() · 8a1306c43656
      Denis Laxalde authored
      There is a symlink in data directory (created by generate_static_dir() method)
      and trying to rmtree() it will fail with an OSError. So we unlink() it
      instead.
      
      --HG--
      branch : 3.25
      8a1306c43656
    • Denis Laxalde's avatar
      [pkg] Version 3.25.0rc3 · 241bb09c67f7
      Denis Laxalde authored
      --HG--
      branch : 3.25
      241bb09c67f7
  19. 12 Apr, 2017 11 commits
  20. 05 Apr, 2017 1 commit
    • Denis Laxalde's avatar
      [server] Add source_by_eid and source_by_uri methods to repository · d540defa0591
      Denis Laxalde authored
      Most of the times we only need to retrieve one source (either by uri or eid)
      and querying sources_by_eid and sources_by_uri properties on repository just
      for one item is costly. So these methods query what's needed. We issue a
      ValueError (instead of KeyError for sources_by_{eid,uri} dict) in case the key
      is not found.
      
      --HG--
      branch : 3.25
      d540defa0591
  21. 04 Apr, 2017 1 commit