Skip to content
Snippets Groups Projects
  1. Feb 24, 2022
    • vlorentz's avatar
      Remove dependency on xmltodict · f520d976
      vlorentz authored
      We don't have much use for it anymore, let's use ElementTree everywhere
      for consistency.
      f520d976
    • vlorentz's avatar
      Replace xmltodict with ElementTree to handle SWORD documents · cf92b5f2
      vlorentz authored
      xmltodict was already on the way out for the deposit, and the latest
      libexpat security update broke it entirely when dealing with namespaces,
      which means we cannot use it until this is addressed.
      
      https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006317
      
      Functional changes of this commit:
      
      1. No more writes to the 'metadata' jsonb column in the DB (as it
         strongly depends on xmltodict)
      2. ServiceDocumentDepositClient always outputs a list of collections,
         instead of None/dict/List[dict] depending on the number of
         collections (artefact of using xmltodict, which is replaced by proper
         parsing)
      cf92b5f2
  2. Sep 30, 2021
  3. Feb 25, 2021
  4. Nov 18, 2020
  5. Sep 28, 2020
  6. Sep 17, 2020
  7. Apr 08, 2020
    • David Douard's avatar
      Enable black · f5426d67
      David Douard authored
      - blackify all the python files,
      - enable black in pre-commit,
      - add a black tox environment.
      f5426d67
  8. Nov 07, 2019
  9. Oct 20, 2019
  10. Apr 13, 2019
  11. Oct 24, 2018
  12. Oct 12, 2018
  13. Jul 06, 2018
  14. Jan 15, 2018
  15. Nov 27, 2017
  16. Oct 20, 2017
  17. Oct 19, 2017
  18. Oct 17, 2017
  19. Oct 12, 2017
  20. Oct 05, 2017
  21. Sep 28, 2017
Loading