Skip to content
Snippets Groups Projects
  1. Feb 27, 2023
  2. Feb 23, 2023
  3. Feb 21, 2023
  4. Feb 20, 2023
  5. Feb 17, 2023
  6. Feb 02, 2023
  7. Jan 27, 2023
  8. Jan 20, 2023
  9. Jan 19, 2023
  10. Jan 16, 2023
  11. Jan 12, 2023
    • Antoine Lambert's avatar
      save_code_now: Add Web API endpoint to get info about a single request · 89f986cf
      Antoine Lambert authored
      It can be useful to follow up on a single Save Code Now request through
      the Web API.
      
      To do so, add a new Web API endpoint /api/1/origin/save/(request_id)/
      to get info about a request using its unique identifier.
      
      Add request identifier and its info URL in the JSON data returned by the
      /api/1/origin/save/(visit_type)/url/(origin_url)/ endpoint and the save
      origin webhook ones.
      89f986cf
    • Antoine Lambert's avatar
      save_code_now: Add snasphot info in data returned by API endpoint · 0af09527
      Antoine Lambert authored
      When sending a GET request to /api/1/origin/save/(visit_type)/url/(origin_url)/
      endpoint, the SWHID of the resulting snapshot for a save request is now part of
      the returned data along with the snapshot URL.
      
      The snapshots associated to the save code now visits for a given origin are
      retrieved on demand and then put in cache in the SaveOriginRequest django
      model.
      0af09527
    • Antoine Lambert's avatar
      api/views/origin: Fix endpoints documentation · 722dbf23
      Antoine Lambert authored
      metadata_authorities_url field is returned when querying the /api/1/origin*/
      endpoints, not the /api/1/origin/visit*/ ones.
      722dbf23
  12. Jan 11, 2023
  13. Jan 10, 2023
  14. Dec 19, 2022
  15. Dec 15, 2022
  16. Dec 13, 2022
  17. Dec 12, 2022
    • Antoine Lambert's avatar
      utils: Fix unquoted SWHID URLs generated by get_swhids_info · 473583b6
      Antoine Lambert authored
      As a SWHID with qualifiers might have some percent encoded characters (like ;
      which is used as separator between qualifiers) and HTTP servers will unquote
      received URL arguments, a SWHID must also be percent encoded when used as an
      URL argument.
      
      This prevent HTTP errors when trying to browse such SWHIDs as previously the
      unquoting performed by HTTP servers would remove percent encoding of qualifiers
      and thus break escaping of ; used ad separation character.
      473583b6
  18. Dec 09, 2022
  19. Dec 07, 2022
  20. Dec 06, 2022
  21. Nov 30, 2022
  22. Nov 25, 2022
  23. Nov 24, 2022
    • Antoine Lambert's avatar
      vault/assets: Fix cooking task creation when there is a pending one · c32edb66
      Antoine Lambert authored
      When requesting a vault cooking creation but there is already a pending one
      for the same SWHID, ensure task creation modal is displayed as previously an
      error was erroneoulsy reported in the Web UI.
      
      Under the hood, no new cooking task will be created but the pending one will
      be displayed in the vault UI. Nevertheless the email possibly submitted by the
      user in the modal will be added to the list of emails to notify by the vault
      backend.
      
      Related to T4698
      c32edb66
Loading