Skip to content
Snippets Groups Projects
  1. Jan 27, 2023
  2. Jan 20, 2023
  3. Jan 19, 2023
  4. Jan 16, 2023
  5. 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.
      v0.2.12
      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
  6. Jan 11, 2023
  7. Jan 10, 2023
  8. Dec 19, 2022
  9. Dec 15, 2022
  10. Dec 13, 2022
  11. 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
  12. Dec 09, 2022
  13. Dec 07, 2022
  14. Dec 06, 2022
  15. Nov 30, 2022
  16. Nov 25, 2022
  17. 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
  18. Nov 23, 2022
  19. Nov 22, 2022
  20. Nov 21, 2022
  21. Nov 16, 2022
  22. Nov 15, 2022
    • Antoine Lambert's avatar
      browse: Display branches names in snapshot releases view · 694802b2
      Antoine Lambert authored
      Previously the snapshot releases view was only displaying the releases
      names and not the branches names targeting those.
      
      But it exist cases where multiple branches target the same release in
      a snapshot so also display branches names in the releases table in order
      to avoid confusion about duplicated releases.
      
      Related to T4686
      694802b2
    • vlorentz's avatar
      origin-search: Only request 'url' field · 6531a365
      vlorentz authored
      By default, an extra query is sent to swh-indexer to (maybe) populate
      the 'metadata' field, which is not used by the client, so it unnecessarily
      increases latency to get results
      v0.2.4
      6531a365
Loading