- Jan 06, 2023
-
-
Kumar Shivendu authored
Summary: Autocomplete for the search query langauge using the swh_ql.wasm file generated from swh-search Reviewers: #reviewers Differential Revision: https://forge.softwareheritage.org/D6091
-
- Feb 10, 2022
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-
Antoine Lambert authored
To install the new hook: $ pre-commit install -t commit-msg
-
Antoine Lambert authored
Numerous tests are broken since rDSCHc46ffadf7adf24c7eb3ffce062e8ade3818c79cc has landed in swh-scheduler. Ensure to restore the old loading task names for tests to succeed.
-
vlorentz authored
So we can show this to beta-testers who aren't staff.
-
- Feb 07, 2022
-
-
vlorentz authored
-
vlorentz authored
This will log all incoming HTTP requests on update events (assuming the user is authorized), for audit purposes.
-
vlorentz authored
-
vlorentz authored
-
vlorentz authored
Instead of a generic 500.
-
vlorentz authored
This will be useful for debugging and checking records are indeed configured.
-
Antoine Lambert authored
Hypothesis can generate multiple times the same origin URL which makes test fail due to the use of django cache in get_origin_visits. So force the generation of a single hypothesis example for that test.
-
Antoine Lambert authored
-
Antoine Lambert authored
There is a lot of origins without any full visit in the archive so in that case the origin visits page looks empty when reaching it as the default is to display full visits with different snapshots. So prefer to display all visits by default and disable the full visits switch radio buttons when there is no such visits.
-
- Feb 05, 2022
-
-
vlorentz authored
-
-
- Feb 04, 2022
-
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
The command refreshes all the active mailmaps, and disables every mailmap that has recently been updated and marked as disabled, once. To do these actions as atomically as possible, we make sure to select all rows for update, and to defer all _date fields in the default queryset manager for UserMailmap objects to avoid resetting them to earlier values by mistake.
-
pytest v7.0.0 removed _pytest.tmpdir.TempdirFactory, which is used by some of the pytest plugins we use.
-
Nicolas Dandrimont authored
The command refreshes all the active mailmaps, and disables every mailmap that has recently been updated and marked as disabled, once. To do these actions as atomically as possible, we make sure to select all rows for update, and to defer all _date fields in the default queryset manager for UserMailmap objects to avoid resetting them to earlier values by mistake.
-
Antoine Lambert authored
Related to T3908
-
Antoine Lambert authored
pytest v7.0.0 removed _pytest.tmpdir.TempdirFactory, which is used by some of the pytest plugins we use.
-
Antoine R. Dumont authored
This clarifies the current code and optimizes the re-fetching of all origin visits / origin visit statuses when new visits happen. It's an optimization providing previous visits are in the cache already. The second part serves also as a workaround of some problematic origins (the ones with a high number of visits). It's only a workaround though because when voiding the cache (e.g. restart the cache service), the initial error (e.g. crash 500 or 502, ...) will still happen. Another change is on its way to try and fix that specific problem. Related to T3905
-
- Feb 03, 2022
-
-
Antoine Lambert authored
-
Antoine R. Dumont authored
-
Antoine Lambert authored
Add a new database table to store mailmap settings that will be used to add display names for an authors that can be found in the archive. Add endpoints to add or update these mailmap settings restricted to staff users or users with special permission. They will be used in the upcoming Web UI to manage mailmaps.
-
Antoine Lambert authored
Signature of storage.revision_log has changed in 4544d7ca8e9e and the limit parameter is not at the same position as before, so better passing it as keyword parameter to avoid future errors of this type.
-
- Feb 02, 2022
-
-
Antoine Lambert authored
- Jan 31, 2022
-
-
Antoine Lambert authored
The campaign is now over.
-
Antoine Lambert authored
This reverts commit 615ef02e.
-
- Jan 26, 2022
-
-
Antoine Lambert authored
In the Save Code Now Web UI, add the link to browse a saved origin only if the visit status is valid. This prevents to browse the saved origin when loading data are not yet available in storage database (replication lag for instance). Related to T3848
-
Antoine Lambert authored
Simulate HTML form behavior by adding a keyup event listener on the vault modals dedicated to tasks creation. Related to T3845
-
Antoine Lambert authored
Some fields returned in the elasticsearch document got renamed since so fix their extraction.
-
Antoine Lambert authored
-
Antoine Lambert authored
-
- Jan 25, 2022
-
-
Antoine Lambert authored
Add support for new programming languages to highlight in the webapp by integrating highlight.js language plugins in the highlightjs chunk generated by webpack. Fix issue in Python code that was preventing to map a mimetype to a language through its aliases.
-
Antoine Lambert authored
Some module folders do not have package.json file in it but licenses can still be overridden using the licenseOverride option of the plugin. Previously, package.json file was attempted to be read regardless of possible license override, which was causing error.
-
- Jan 21, 2022
-
-
vlorentz authored
-