- Mar 04, 2025
-
-
Renaud Boyer authored
-
Renaud Boyer authored
-
- Mar 03, 2025
-
-
Renaud Boyer authored
-
When calling the content_get_data method from the storage interface, ensure to provide all content hashes as parameter to avoid an extra request on the storage server to fetch missing hashes. Factorize code a bit to reuse the lookup_content function instead of duplicating code.
-
These just result in a rejection from the archival moderation team. The GitLab API sets the appropriate CORS headers for this to work. Co-authored-by:
Antoine Lambert <anlambert@softwareheritage.org>
-
- Feb 26, 2025
-
-
Antoine Lambert authored
When the greater_or_equal parameter is set to True and there is no visit date greater or equal to the one passed as parameter, this function should return None. This fixes generated browse links in the Save Code Now Web UI when the same origin was submitted multiple times for archival.
-
- Feb 20, 2025
-
-
Antoine Lambert authored
-
- Feb 19, 2025
-
-
Some javascript errors could occur under certain circumstances.
-
We missed it as swh-web tests are executed with a memory storage backend.
-
Antoine R. Dumont authored
Refs. !1391 Refs. swh/infra/sysadm-environment#5534
-
Guillaume Samson authored
Related to swh/infra/sysadm-environment#5534
-
Antoine Lambert authored
-
- Feb 18, 2025
-
-
Antoine Lambert authored
It allows to simplify the static files configuration with django and to remove the use of the deprecated data_files option from setuptools.
-
- Feb 17, 2025
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-
Antoine Lambert authored
Bump development tools: mypy, codespell, isort, ... Move all tools configuration in pyproject.toml. Remove no longer needed mypy overrides.
-
- Feb 13, 2025
-
-
A better dedicated lister has been implemented since so there is no need to display that kind of visit type anymore. Fixes #4829.
-
Antoine Lambert authored
The has_visits field is only returned by the /origin/search endpoint.
-
- Feb 12, 2025
-
-
Antoine Lambert authored
When searching for an origin URL, the search interface redirects to its browse interface if the origin URL exists in SWH database. Nevertheless, it the origin could not be archived, the redirection was still done leading to a 404 error so ensure to check the origin has a snapshot before redirecting. Fixes #4828.
-
Antoine Lambert authored
-
- Feb 11, 2025
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-
- Feb 05, 2025
-
-
Renaud Boyer authored
-
- Jan 27, 2025
-
-
Sort releases according to their version numbers instead of their names.
-
- Jan 22, 2025
-
-
Antoine Lambert authored
nodejs 18 is close to EOL and some swh-web dependencies (pdfjs for instance) bump minimal required nodejs version to 20 so time to upgrade.
-
Renaud Boyer authored
-
Renaud Boyer authored
-
- Jan 20, 2025
-
-
Guillaume Samson authored
Related to swh/infra/sysadm-environment#5534
-
- Jan 17, 2025
-
-
Renaud Boyer authored
-
- Jan 16, 2025
-
-
Antoine Lambert authored
The swh.web.settings.tests settings are now dedicated to run Python tests. The swh.web.settings.cypress settings should be used instead in that Makefile as they do not use postgres but sqlite3 instead.
-
David Douard authored
-
- Jan 15, 2025
-
-
David Douard authored
- django rename_app is no longer needed, - mypy execution is now properly configured (in pyproject.toml).
-
David Douard authored
-
- Jan 14, 2025
-
-
django-stubs package requires mypy >= 1.12 and its latest release pins mypy to >= 1.14.0 which fails to validate some valid typings related to the standard Python module email. So bump and pin mypy to 1.13.0 to avoid typing errors in Jenkins CI.
-
David Douard authored
There is a discrepancy between the config entry and the module name, so deal with it...
-
Renaud Boyer authored
-
- Jan 10, 2025
-
-
David Douard authored
This is a dict which will automatically raise a ConfigurationError when trying to access a non-existent key.
-
David Douard authored
-
David Douard authored
-
David Douard authored
But keep it activate for development mode (aka when using the swh.web.settings.development config file).
-