- Jun 27, 2023
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-
Antoine Lambert authored
-
Antoine Lambert authored
Related to swh/meta#5043.
-
Antoine Lambert authored
Previously, CSS max-height property was always set to none due to an invalid test in django template. Also bump its value from 150px to 200px.
-
- Jun 26, 2023
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-
- Jun 23, 2023
-
-
Antoine Lambert authored
Set height of the logo to 100% in CSS. Do not display partner logo on small screens as it overlaps with navbar text.
-
Antoine Lambert authored
Related to #4748.
-
Antoine Lambert authored
The display of the corner ribbon now depends on the value of the show_corner_ribbon configuration key. Related to #4748.
-
Antoine Lambert authored
In order for other tests to use that feature, wrap swh-web config overriding and django settings reloading in the config_updater fixture from the main conftest.py file.
-
Antoine Lambert authored
Counters data are requested through a XHR request so ensure to not send it for mirror version of swh-web. Related to #4748.
-
- Jun 22, 2023
-
-
Antoine Lambert authored
By executing "make run-mirror-demo" in the root directory of swh-web, a demo of the mirror version of swh-web is executed. Its configuration can be found in the mirror_demo directory in the root folder of the repository. Related to #4748.
-
Antoine Lambert authored
-
Antoine Lambert authored
It is more flexible to proceed this way, especially for mirrors. Related to #4748.
- Jun 20, 2023
-
-
Antoine Lambert authored
By providing the path where templates are stored in configuration, a mirror version of swh-web can customize the homepage and the footer according to its needs. Related to #4748.
-
Antoine Lambert authored
As the Add Forge Now service will not be available for mirrors, redirect to the main archive in a new browser tab when clicking on the Add Forge Now link in the main menu, also ensure related URLs will not be defined by removing the swh.web.add_forge_now django application from the enabled applications list. Also rework external Save Code Now integration by proceeding the same. Related to #4748
-
Antoine Lambert authored
By providing mirror partner URL in configuration, the partner logo is turned into an external link that opens in a new browser tab. Related to #4748
-
Antoine Lambert authored
No administration features will be available for mirror versions of swh-web so ensure the admin menu is not displayed. Related to #4748
-
- Jun 19, 2023
-
-
Add more transitions from waiting_for_feedback status (accepted, suspended, rejected, unsuccessful). Adapt "send message to forge admin" email template to the status of the request.
-
- Jun 14, 2023
-
-
Antoine Lambert authored
Matomo script to compute statistics about website visits will only be included if a matomo URL and a site identifier can be found in configuration. Related to #4748
-
- Jun 13, 2023
-
-
Antoine Lambert authored
It enables to configure the different links it contains, especially for the mirror versions of swh-web. Related to #4748
-
Antoine Lambert authored
In order to avoid abusing the archival service offered by Software Heritage or creating too many requests for the same origin in a short amount of time (when multiple commits are pushed in a row for instance), at most one request per hour for a given origin will be created. When a save request has been recently submitted from a webhook, a new one is created but its execution is delayed. Subsequent requests submitted before the delayed request execution will return the latter instead of creating a new request in swh-web database. Related to #4548, #4731
-
- Jun 12, 2023
-
-
Antoine Lambert authored
As the Save Code Now service will not be available for mirrors, redirect to the main archive in a new browser tab when clicking on the Save Code Now link in the main menu or when requesting to take a new snapshot of a software origin. Related to #4748
-
Antoine Lambert authored
To avoid loading a local config file, set the SWH_CONFIG_FILENAME environment variable to a non existing path.
-
Antoine Lambert authored
After providing a custom static path and partner logo static path in mirror section of webapp configuration, display the partner logo in the top right part of the Web UI. Related to #4748
-
- Jun 09, 2023
-
-
Antoine Lambert authored
When providing the origin_url query parameter, the request form in the Save Code Now views will be autofilled. Related to #4748
-
Antoine Lambert authored
The cypress team recently put effort to block the use of sorry-cypress, an open source tests orchestrator for cypress. Fortunately, the sorry-cypress team created cypress-cloud, a new tool designed to bypass those restrictions. So add cypress-cloud support as we rely on sorry-cypress in Jenkinks jobs for swh-web.
-
Antoine Lambert authored
-
- Jun 07, 2023
-
-
Antoine Lambert authored
When the webapp is used to browse a mirror, replace the classical SWH logo on the top left of the UI by the SWH mirror logo. Also slightly modify text under logo position for better alignment. Related to #4748
-
- Jun 05, 2023
-
-
Antoine Lambert authored
Through a new configuration entry of type dict "mirror_config", enable to update page titles for a mirror version of swh-web containing the name of the partner hosting the mirror. Related to #4748.
-
- Jun 01, 2023
-
-
Antoine Lambert authored
It will simplify the webapp adaptation to archive mirrors. Related to #4748.
-
- May 29, 2023
-
-
Antoine Lambert authored
GitLab has a dedicated webhook event when pushing a tag in contrary of GitHub and Gitea. So ensure to not reject it and trigger an archival request.
-
- May 23, 2023
-
-
vlorentz authored
-
Antoine Lambert authored
-
- May 19, 2023
-
-
Antoine Lambert authored
The storage API already returns the next branch token along the results when listing snapshot branches or releases so no need to compute it from the webapp side.
-
- May 11, 2023
-
-
Antoine Lambert authored
-
- May 10, 2023
-
-
Antoine Lambert authored
The previous HTML layout for the full endpoint URL prevented to properly copy paste the URL as an extra line break was inserted in the copied text.