1. 02 Dec, 2020 1 commit
  2. 12 Sep, 2019 1 commit
    • Denis Laxalde's avatar
      Update data_name from data's filename when the former is unchanged · 4f6c82e1e5e2
      Denis Laxalde authored
      This follows up on changeset 134521c47201 which introduced the extra
      check about the absence of 'data_name' in cw_edited. However, when
      coming from a web form (at least as of today's behavior of cubicweb),
      this field is always present leading to the if: block never being
      executed.
      
      We hence change it to only avoid override of 'data_name' if is explicitly
      changed (i.e. when the "old" and "new" values differ).
      
      Test (test_file_name_priority) introduced in aforementioned changesets
      still passes.
      4f6c82e1e5e2
  3. 08 Mar, 2019 1 commit
  4. 28 Feb, 2019 1 commit
  5. 12 Jun, 2018 1 commit
  6. 19 Jun, 2018 1 commit
    • David Douard's avatar
      make hash algorithm configurable · 746b8ca3d97e
      David Douard authored
      - replace File.data_sha1hex by File.data_hash
      - update hooks accordingly
      - store the hash with a "header" ("{SHA1}", "{MD5}" etc.)
      - deprecate 'File.compute_sha1hex()' method
      - add a 'File.compute_hash()' method
      - add a 'File.hash_value' property
      - add an helper 'File.check_hash()' method
      - rename 'compute-sha1hex' config option as 'compute-hash'
      - add a 'hash-algorithm' config option
      - add a migration script
      746b8ca3d97e
  7. 30 Oct, 2017 1 commit
  8. 21 Sep, 2015 1 commit
  9. 16 Sep, 2015 1 commit
  10. 07 Jul, 2015 1 commit
  11. 30 Sep, 2013 1 commit
  12. 16 Sep, 2013 1 commit
  13. 24 Sep, 2013 1 commit
  14. 01 Aug, 2013 3 commits
  15. 09 Jul, 2013 2 commits
  16. 08 Jul, 2013 1 commit
  17. 07 Mar, 2013 1 commit
  18. 25 Jan, 2013 1 commit
  19. 09 Jul, 2012 1 commit
  20. 06 Jul, 2012 1 commit
  21. 30 Jan, 2012 1 commit
  22. 27 Oct, 2011 1 commit
  23. 06 Sep, 2011 2 commits
  24. 13 Oct, 2010 1 commit
  25. 07 Jul, 2010 1 commit
  26. 06 Jul, 2010 1 commit
  27. 05 Jul, 2010 1 commit
  28. 02 Jul, 2010 2 commits
  29. 21 May, 2010 1 commit
  30. 18 Mar, 2010 1 commit
  31. 09 Mar, 2010 1 commit
  32. 10 Dec, 2009 1 commit
  33. 09 Dec, 2009 2 commits
  34. 01 Dec, 2009 1 commit