- Jan 18, 2024
-
-
Antoine Lambert authored
-
- Jan 16, 2024
-
-
vlorentz authored
-
- Jan 15, 2024
-
-
vlorentz authored
And add a (loosely related) test for the content API endpoint
-
- Jan 08, 2024
-
-
Antoine Lambert authored
-
Antoine Lambert authored
Add around 30 new programming languages that can he highlighted using the highlight.js library by registering associated hljs plugins.
-
- Jan 05, 2024
-
-
Antoine Lambert authored
Some SPDX expressions located in package.json can be invalid, full license name instead of SPDX code for instance. In order to workaround this type of issues, use the spdx-correct package enabling to get correct SPDX expression from an invalid one based on some heuristics.
-
- Jan 03, 2024
-
-
Antoine Lambert authored
As django unquotes arguments when parsing URL, we need to requote origin URL provided to the save code now API endpoint or the URL validation is failing otherwise due to invalid character(s) in it.
-
Antoine Lambert authored
-
- Dec 22, 2023
-
-
Antoine Lambert authored
The previously used regular permission was too permissive and arguments parsing for save code now API view were failing if the /url/url/ substring was contained in the origin URL also provided as URL argument.
-
- Dec 20, 2023
-
-
Antoine Lambert authored
-
- Dec 19, 2023
-
-
Antoine Lambert authored
Add webapp1.internal.softwareheritage.org as production server name. Allow to set the production server names through a new configuration entry named production_server_names. Related to swh/infra/sysadm-environment#5183.
-
It exist cases where bytes of a README file are not available in objstorage (for instance in mirrors due to replication lag) so ensure to handle such cases to avoid returning a 500 error in views rendering a README file. Related to #4773.
-
The resolve_swhid function was not supporting the resolving of a directory SWHID with path qualifier set and anchor qualifier set to a release targeting a directory.
-
When checking SWHID context checkboxes or selecting lines in a content, the addLinesInfo function updates the URLs to browse qualified SWHIDs but it was not setting the percent escaped URLs required to properly browse SWHIDS having special characters in their qualifiers. So ensure to set proper browse URLs to not break the browsing of such SWHIDs.
- Dec 18, 2023
-
-
When percent escaping a SWHID used as URL argument for the browse-swhid django view, ensure to not escape the percent character as it breaks the SWHID resolving when qualifiers have special characters in it (like = or ; for instance). Related to #4774.
-
-
- Dec 15, 2023
-
-
This should help ensure that the forge admin responses get sent to the correct recipients, no matter what reply function the forge admin uses. See-also: https://cr.yp.to/proto/replyto.html See-also: https://wiki.mozilla.org/Thunderbird:Help_Documentation:Mail-Followup-To_and_Mail-Reply-To
-
The SWH moderators will see mail sent to their address more quickly and mail sent only to the admin interface is harder to reply to. There could be multiple forge admins, they all need to be CCed, just in case they have some input into the forge archiving.
-
Makes it easier for submitters to add their comment without having to remove the whitespace first.
-
- Dec 14, 2023
-
-
Prevent inclusion of css/js files related to save_code_now and vault if the associated django apps are not enabled.
-
-
Since pdfjs using es6 modules, the loading of the pdfjs worker is failing in production as the web server does not include the MIME type for *.mjs files. So use .js extension instead of .mjs to fix the issue.
-
Antoine Lambert authored
Previously when using Firefox, core SWHIDs were displayed instead of qualified SWHIDs every two page reloads which was quite confusing. Related to #4768.
-
- Dec 13, 2023
-
-
Antoine Lambert authored
Align with other SWH packages as using a TOC messes up with the one of the full SWH documentation.
-
- Dec 06, 2023
-
-
Antoine Lambert authored
When using the swh-counters backend, the counters for origin_visit, skipped_content and snapshot were missing.
-
- Dec 05, 2023
-
-
David Douard authored
-
- Dec 04, 2023
-
-
Antoine Lambert authored
-
- Dec 03, 2023
-
-
David Douard authored
-
- Nov 30, 2023
-
-
Antoine Lambert authored
As a side effect, paths containing a sha1 sum could no longer be browsed. Related to swh/infra/sysadm-environment#4867.
-
Antoine Lambert authored
As trailing whitespaces are used in email signature format.
-
Antoine Lambert authored
Also align black version in tox.ini with the one in pre-commit hook.
-
Antoine Lambert authored
As the swh/__init__.py file was removed in swh packages, isort no longer detects swh.* packages being in the first party category but in third party one. So restore previous behavior by setting the known_first_party isort option.
-
David Douard authored
-
- Nov 28, 2023
-
-
David Douard authored
It has not been executed for years (skipped if nomossa is not installed) and so is completely broken (and pretty much useless).
-
Antoine Lambert authored
Side effect of swh/devel/swh-storage@e0010b7d.
-
- Nov 23, 2023
-
-
Antoine Lambert authored
Those should not be displayed when the sidebar is collapsed.
- Nov 22, 2023
-
-
Antoine Lambert authored
Some README sections were still in markdown format so turn their to rst. Include the README as a toc in index.
-