- Jul 16, 2024
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-
- Jul 12, 2024
-
-
Antoine Lambert authored
Apply suggestion from rboyer.
-
Antoine Lambert authored
Add javascript function based on the use of the anchorjs package enabling to add anchors to headings. It enables users to easily get links to parts of a page by hovering mouse cursor on page headings. Use it in homepage, api pages but also in pages rendering a README file from the archive.
-
- Jul 08, 2024
-
-
Antoine Lambert authored
Upgrade highlightjs to its latest release and add a couple of new referenced plugins adding support for new programming languages.
-
Antoine Lambert authored
-
- Jul 04, 2024
-
-
Antoine Lambert authored
Add a new django application to manage bulk archival of origins. As a first step, add a new Web API endpoint to submit a list of origins to archive and a new endpoint enabling to retrieve that list of origins in a paginated way. The Web API endpoint enables an user with specific permission to submit a list of origin URLs and their visit types through a POST request. The endpoint performs some basic checks on the received origins data to verify origin URLs are well formed but also if provided visit types are supported. If provided origins data are valid, the request is accepted and a oneshot scheduler task is created to execute the bulk-save lister. That lister will consume that list of origins, perform some extra but more costly checks on them and those validated by it will then be scheduled for loading into the archive. If some origins data are not valid, the request is rejected and a list of bogus origins along the reasons of their rejections is returned to the user in the Web API response. The other endpoint is dedicated to be consumed by the bulk-save lister to retrieve the submitted origins list in a paginated way. It is better to store submitted origins data on the webapp side to avoid bloating the scheduler database with large JSON documents in case a big list of origins is submitted by an user. Related to #4802.
-
Antoine Lambert authored
-
Antoine Lambert authored
-
- Jul 02, 2024
-
-
Antoine Lambert authored
Synchronize it with the one used to render code elements in all pages of the webapp as it enables to better highlight them.
-
Nicolas Dandrimont authored
-
Hélène Jonin authored
-
- Jun 20, 2024
-
-
This should help avoiding implementation mistakes as mypy will now check typing when a client code use these interfaces. Fix some typing issues that were uncovered by this change.
-
Antoine Lambert authored
Instead of defining our own django assertion wrappers, prefer to use those from pytest-django.
-
- Jun 17, 2024
-
-
Hélène Jonin authored
-
Hélène Jonin authored
-
- Jun 06, 2024
-
-
Antoine Lambert authored
-
Antoine Lambert authored
OptimizeCSSAssetsPlugin is no longer maintained and must be replaced by CssMinimizerPlugin.
-
Antoine Lambert authored
It implied the migration of the eslint configuration files to the new flat format (thanks to the eslint-migrate-config CLI tool).
-
- May 27, 2024
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-
- May 23, 2024
-
-
Hélène Jonin authored
-
Hélène Jonin authored
-
Hélène Jonin authored
-
Hélène Jonin authored
-
-
-
-
-
-
-
-
Hélène Jonin authored
-
Hélène Jonin authored
- Create new route with origin url as query param - Redirect old route
-
- May 22, 2024
-
-
Antoine Lambert authored
The oldest part of the scheduler API was updated to use model classes (based on attr package) instead of dictionaries in order to improve typing.
-
- May 16, 2024
-
-
Pierre-Yves David authored
-
Pierre-Yves David authored
-
Antoine Lambert authored
swh-model was updated to fix deserializing of origin qualifier in a QualifiedSWHID instance which breaks a test of the webapp. Align test with changes in swh-model and improve it to check that a qualified SWHID containing special characters that must be escaped can be successfully resolved to a browse URL but also that the latter can be successfully browsed.
-
- May 02, 2024
-
-
David Douard authored
Improve the main template to use better rules to show the "Administration" section of the left menu. Add a "Users & groups" entry if the swh.web.admin app is enabled. This later opens the users admin page (either keycloak or the django admin page) in a new tab.
-
Antoine Lambert authored
Set hypothesis max_examples to 1 and remove subtest fixture use.
-