- Sep 24, 2024
-
-
Antoine Lambert authored
Origin visits having the same date are accessed by visit ids instead of timestamps but the generated URLs were missing the origin_url query parameter leading to 404 errors. Fixes #4809.
-
Hélène Jonin authored
-
- Sep 23, 2024
-
-
Hélène Jonin authored
-
- Sep 17, 2024
-
-
Antoine Lambert authored
-
Renaud Boyer authored
-
- Sep 13, 2024
-
-
Renaud Boyer authored
-
Renaud Boyer authored
-
Renaud Boyer authored
-
- Sep 12, 2024
-
- Sep 11, 2024
-
-
Antoine Lambert authored
Reorder badges URL patterns as URL pattern taking a SWHID as argument should be checked prior the one taking object_type and object_id as arguments (as a qualified SWHID can also match that URL pattern). Return more meaningful HTTP status code when an error occurs when attempting to generate a badge.
-
Antoine Lambert authored
Generated bearer tokens are stored encrypted in webapp database. To encrypt a token, the django secret is used plus the user id as salt. Previously, secret rotation was not taken into account which could result in token that could no longer be decrypted. So handle fallback secrets when attempting to decrypt a token and re-encrypt token with new django secret when secret was rotated. Also, return a more meaningful error when a secret could not be decrypted.
-
Antoine Lambert authored
-
Renaud Boyer authored
-
Renaud Boyer authored
-
Renaud Boyer authored
This way we could finally remove the deprecated swh.loader.git.from_disk module that would be not used anymore.
-
Renaud Boyer authored
-
Renaud Boyer authored
-
Renaud Boyer authored
-
Renaud Boyer authored
-
Renaud Boyer authored
-
Renaud Boyer authored
-
Renaud Boyer authored
-
Renaud Boyer authored
-
Renaud Boyer authored
-
Renaud Boyer authored
-
- Sep 09, 2024
-
-
Hélène Jonin authored
-
- Sep 05, 2024
-
-
Antoine Lambert authored
-
- Sep 04, 2024
-
-
Antoine Lambert authored
-
Hélène Jonin authored
-
Jérémy Bobbio (Lunar) authored
We catch MaskedObjectException at the webapp level and display a specific error page. The page lists the opaque identifier of the masking requests and the legal email address where to send inquiries. We also add support for MaskedObjectException in API responses. Thanks to @anlambert for deduplicating the error templates and fixtures. Thanks to @vlorentz for improving the wording of the error page.
-
- Aug 30, 2024
-
-
David Douard authored
That make it possible to show the end user the exception for the failure of the loading task, if any. Related to #4805
-
- Aug 29, 2024
-
-
Antoine Lambert authored
Add /provenance/whereis/ Web API endpoint wrapping call to whereis operation from swh-provenance API. It enables to get a qualified SWHID with provenance info from a core SWHID. Add /provenance/whereare/ Web API endpoint wrapping call to whereare operation from swh-provenance API. It enables to get qualified SWHIDs with provenance info from a list of core SWHIDs. These endpoints are protected by authentication and a user permission named "swh.web.api.provenance". Related to swh/infra/sysadm-environment#5397.
-
- Aug 28, 2024
-
-
Antoine Lambert authored
It enables to simplify the declaration of a webapp URL containing a SWHID in its path.
-
Antoine Lambert authored
-
- Aug 27, 2024
-
-
David Douard authored
-
David Douard authored
-
Antoine Lambert authored
Previously, it was hard to display the most recent counter value in histogram tooltip. This is no longer the case with this change.
-
- Aug 22, 2024
-
-
Antoine Lambert authored
Add Web API endpoint /api/1/origin/save/bulk/requests/ enabling a user to list the save bulk requests he submitted and get info URLs about them. Related to #4802.
-
Antoine Lambert authored
showdown-highlight is a plugin for showdownjs enabling to highlight a code block with highlightjs when rendering markdown to html. There was some issues at the time to use the npm version but it is no longer the case so fetch that code from the npm registry instead of vendoring it in swh-web frontend code. That updated version also fixes some rendering issues related to code blocks with no explicitly declared programming language.
-
Antoine Lambert authored
-