- Jan 27, 2023
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-
Antoine Lambert authored
-
- Jan 20, 2023
-
-
Antoine Lambert authored
Related to #4728
-
- Jan 19, 2023
-
-
Antoine Lambert authored
-
- Jan 16, 2023
-
-
Antoine Lambert authored
-
Antoine Lambert authored
Update top banner announcing downtime of SWH services from Tuesday 2023-01-24 09:00 to Wednesday 2023-01-25 18:00 UTC+0100. Related to #4728
-
- Jan 12, 2023
-
-
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.
-
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.
-
Antoine Lambert authored
metadata_authorities_url field is returned when querying the /api/1/origin*/ endpoints, not the /api/1/origin/visit*/ ones.
-
- Jan 11, 2023
-
-
Antoine Lambert authored
-
- Jan 10, 2023
-
-
vlorentz authored
Many emails still use non-UTF8 encoding, especially ISO 8601-1; before this commit they ended up with the Unicode Replacement Character
-
- Dec 19, 2022
-
-
Antoine Lambert authored
In order to remove warnings about /apidoc/*.rst files being included multiple times in toc when building full swh documentation, prefer to include module indices only when building standalone package documentation. Related to T4496
-
- Dec 15, 2022
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-
- Dec 13, 2022
-
-
Antoine Lambert authored
-
- Dec 12, 2022
-
-
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.
-
- Dec 09, 2022
-
-
Antoine Lambert authored
Quoted white spaces might have been automatically unquoted when a SWHID is passed as URL argument so ensure to quote them back in get_swhid function.
-
- Dec 07, 2022
-
-
Antoine Lambert authored
Django might try to access the file if the value provided to the filename query parameter of associated views is an absolute path.
-
- Dec 06, 2022
-
-
Antoine Lambert authored
-
- Nov 30, 2022
-
-
Antoine Lambert authored
-
Antoine Lambert authored
In the save code now requests table, add a webhook icon in the Info column indicating if a request was created from a popular forge webhook receiver. Related to T4548
-
Antoine Lambert authored
-
Antoine Lambert authored
It enables to have some statistics in grafana about the number of save code now requests created from forge webhook receivers. Related to T4548
-
Antoine Lambert authored
It enables to distinguish which requests were created from a forge webhook receiver and which forge type sent the webhook. Related to T4548
-
- Nov 25, 2022
-
-
Antoine Lambert authored
-
- Nov 24, 2022
-
-
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
-
- Nov 23, 2022
-
-
Antoine Lambert authored
-
- Nov 22, 2022
-
-
Antoine Lambert authored
It should make cypress tests execution on Jenkins more stable.
-
Antoine Lambert authored
It still breaks parallel tests on Jenkins so revert that upgrade until issue is fixed.
-
Antoine Lambert authored
-
- Nov 21, 2022
-
-
Antoine Lambert authored
Private repositories cannot be cloned without authentication so we cannot create save requests for those. So return an HTTP 400 error code when receiving push webhooks for such repositories and inform users about the fact they cannot be publicly cloned. Related to T4548
-
Antoine Lambert authored
Previously, github webhook receiver was returning a 400 HTTP error code for a ping event which can be confusing for users so ensure to return a 200 HTTP code. Related to T4548
-
Antoine Lambert authored
Notably bump cypress to 11.0.1 (11.1.0 makes test hang on Jenkins so we cannot upgrade to latest version yet) and cy2 to 3.2.0.
-
- Nov 16, 2022
-
-
Antoine Lambert authored
It breaks parallel tests on Jenkins so revert that upgrade until finding a fix.
-
Antoine Lambert authored
-
Antoine Lambert authored
Increase first column width in tables of endpoints list page. Add ids to endpoint sections and links to the sections in top of that page. Use absolute URL in specific endpoint documentation (to ease copy paste).
-
Antoine Lambert authored
Previously, the save code now service was not allowing to create a new request for an origin if a previously created one for the same origin was currently running. However, new commits might have been pushed to the origin while a loading task is running so this restriction does not make sense, especially for the new forge webhook receivers feature. Related to T4548
-
- Nov 15, 2022
-
-
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
-