- Apr 13, 2023
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-
- Apr 12, 2023
-
-
vlorentz authored
-
- Apr 05, 2023
-
-
Antoine Lambert authored
-
Antoine Lambert authored
With docutils >= 0.17, an exception was raised when trying to render a topic node in a rst document.
-
When a restructuredText document could not be successfully parsed and tranformed to HTML by docutils, render the raw rst document instead of displaying "Readme bytes are not available" error message.
-
- Apr 04, 2023
-
-
Nicolas Dandrimont authored
This config would be parsed as a "None" string cache URI, which then doesn't resolve and yields confusing errors.
-
- Mar 30, 2023
-
-
Antoine Lambert authored
Files are installed in site.USER_BASE in that case not in sys.prefix.
-
- Mar 24, 2023
-
-
Antoine Lambert authored
-
Antoine Lambert authored
When a staff user is logged in, add a button above the Save Code Now requests list to download CSV export of requests data. Related to #4740.
-
Antoine Lambert authored
Add a command to dump important data about save code now requests to compute some statistics about them. Fix #4740.
-
Antoine Lambert authored
Recent changes could lead to en infinite loop due to recursive mail link replacements.
-
- Mar 21, 2023
-
-
Antoine Lambert authored
Those were badly detected as email addresses and mailto links were generated instead of classic links.
-
- Mar 14, 2023
-
-
Antoine Lambert authored
-
- Mar 10, 2023
-
-
Antoine Lambert authored
Apply djlint processing to all swh-web Django templates in order to have a consistent formatting style and fix linting errors.
-
Antoine Lambert authored
djLint is a recent tool enabling to format Django HTML templates in a consistent style but also to lint them in order to detect errors and bad practices. So add two new pre-commit hooks to apply such processings on swh-web Django templates.
-
- Mar 06, 2023
-
-
Antoine Lambert authored
It is not needed in that case and could trigger javascript errors if a user changes the selected language. Related to #4725
-
Antoine Lambert authored
Due to that long sentence, the SWHIDs tab was not fully displayed on non full HD screens (bottom was cropped). So shorten the sentence to improve SWHIDs tab display.
-
Antoine Lambert authored
Background color was different than the one used for buttons in bootstrap theme, also improve text alignement with surrounding buttons.
-
Antoine Lambert authored
It should be image/svg+xml instead of image/svg in order to fix rendering by browsers.
-
- Mar 02, 2023
-
-
vlorentz authored
-
- Mar 01, 2023
-
-
Antoine Lambert authored
PyPI forbids to upload a package with a git based requirement so use the patched django-js-reverse package uploaded on the swh PyPI account instead.
-
Antoine Lambert authored
-
Antoine Lambert authored
Some README files written in markdown can contain relative links to files or directories reachable from the directory containing the README. The javascript library we are using to render markdown to HTML, showdown, transforms such links to invalid browse URLs leading to 404 errors. Those URLs are in the form /browse.*/directory/<path>/ while the correct ones should be in the form /browse.*/directory/?path=<path>.* So implement a post process step after rendering markdown to HTML in order to fix this type of links and browse the targeted contents or directories. Related to #4331
-
Antoine Lambert authored
When requesting to browse a path from a directory targeting a content, without any snapshot or origin context, ensure to prepend directory id to the path parameter of the content view. It ensures that breadcrumbs navigation is still available when browsing the content. Related to #4331
-
- Feb 27, 2023
-
-
Antoine Lambert authored
python-memcached backend has been replaced by pymemcache since django 3.2. Related to #4734
-
- Feb 23, 2023
-
-
Antoine Lambert authored
It also enables to remove the version restriction on psycopg2. However, upstream django-js-reverse requirement is not compatible with django 4.x so we have to use a patched version. Related to #4734
-
Antoine Lambert authored
Related to #4734
-
Antoine Lambert authored
Related to #4734
-
Antoine Lambert authored
-
Antoine Lambert authored
Browse views used to render a directory have a path query parameter to request the display of a sub-path reachable from the directory. If the path was targeting a file, the views were returning a 404 error so prefer to redirect to the content view instead. Related to #4331
-
Antoine Lambert authored
Currently when querying the /browse/content/raw endpoint, the Content-Type header of the HTTP response is set to text/plain when the content is textual to force browser rendering and to application/octet-stream otherwise to force file download. However some image formats can be rendered by browsers and it seems better to display them instead of offering their downloads, so ensure those will be rendered by browsers.
-
- Feb 21, 2023
-
-
Antoine Lambert authored
img tag was not closed and alt attribute was missing. Thanks to Baptiste MÉLÈS for reporting that issue.
-
- Feb 20, 2023
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-
Related to swh/meta#4959
-
- Feb 17, 2023
-
-
Antoine Lambert authored
Related to swh/meta#4960
-
- Feb 02, 2023
-
-
Antoine Lambert authored
This fixes python 3.7 support due to poetry, a dependency of isort, that removed support for that Python version in a recent release.
-
- Jan 27, 2023
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-