- Sep 21, 2021
-
-
Antoine Lambert authored
Optional rejection note for a save request will be send in POST request body of the "admin-origin-save-request-reject" django admin view. Related to T3256
-
Antoine Lambert authored
It will enable to store a swh-web admin redacted note related to the save request, for instance the reason of rejection or explain why a submitted save request failed. Related to T3256
-
Antoine Lambert authored
Package for debian unstable currently fails as django has been bumped from 2.x to 3.x.
-
- Sep 20, 2021
-
-
Antoine Lambert authored
- Sep 14, 2021
-
-
vlorentz authored
The next version of the vault will return more lines as part of the status. This will be useful when sending notification emails, but this UI should only show the one-line summary.
-
- Sep 10, 2021
-
-
vlorentz authored
They are very noisy and we can't do anything about them.
-
- Sep 09, 2021
-
-
Antoine Lambert authored
It exists some cases (nix and guix origins for instance) when a snapshot branch targets a revision that is missing in the archive. So ensure to remove Web UI components related to missing objects (revision and directory) as they will lead to errors when following the links they contain.
-
Antoine Lambert authored
Piwik script should only be included in production website but checking the value of the DJANGO_SETTINGS_MODULE variable is not reliable enough (swh-web in docker uses Django production settings for instance).
-
vlorentz authored
The vault API returns CoreSWHID, but mocks in tests returned strings...
-
vlorentz authored
This broke Guix's client implementation: https://lists.gnu.org/archive/html/guix-devel/2021-09/msg00115.html
-
- Sep 08, 2021
-
-
Antoine Lambert authored
Instead of hardcoding the list of visit types that can be used in search queries, retrieve it dynamically using swh-search. Also remove visit_types from global template context processor and move it to seach related views only to avoid sending a request to elasticsearch on every page load. Related to T3441
-
Add a new Django view that can be embedded in an iframe to display contents and directories archived by Software Heritage in a minimalist Web UI. The URL targetting that view is /embed/(swhid)/. The view enables to navigate in a source tree and to display SWHIDs of currently browsed objects. It also has a fixed header with a link to softwareheritage.org and a link to browse current object on the main archive website. Code fragment highlighting for content objects is also supported if the input SWHID has a lines qualifier. Related to T3489
-
vlorentz authored
This partially replaces the existing 'Show metadata' that only works for metadata written directly on revision objects.
-
vlorentz authored
It's always allowed with the API; but still restricted on the UI for now, while we make sure that are no major issues.
-
- Sep 07, 2021
-
-
Antoine Lambert authored
While pull request branches are hidden by default in Web UI, they should remain browsable. That commit fixes the error that was previously raised when attempting to browse such a branch.
-
vlorentz authored
When working from home, I run swh-web remotely, so it's not on localhost. Allow any host makes this simpler.
-
Vincent Sellier authored
this property is only used for the metadata search. Naming it search_config.backend is confusing as it lets suppose it's the global search configuration
-
Antoine Lambert authored
Web API links generated by the urlize_links_and_mails template filter are removed by highlight.js when highlighting JSON response. So ensure to restore them once JSON highlighting has been performed.
-
Antoine Lambert authored
-
Antoine Lambert authored
Those were missed by continous integration because the httpdomain warnings were disabled on Jenkins (see D6193).
-
- Sep 06, 2021
-
-
Antoine Lambert authored
It will simplify the adding of new visit types for Save code now. Related to D5992
-
- Sep 03, 2021
- Sep 02, 2021
-
-
Antoine Lambert authored
Add new origins types that we now archived. Update source code provider logos to png only in order to ease the integration of future ones Split origins in multiple categories: listed, legacy and deposited. Add global origins counts per origin type. Add detailed origins counts for each listed forge, those details are hidden by default and can be displayed on demand through collapsible elements. Remove dead code. Related to T3127
-
Antoine Lambert authored
-
Antoine Lambert authored
In order to ease the integration of new visit types for the "Save code now" service, filter out those with no associated task type in scheduler db. It means that a new visit type can be added to "Save code now" implementation but it will not be available until the associated scheduler load task type gets created. It enables to test the new visit type in dev environments and deploy safely to production if the associated scheduler load task type did not get created yet. Also remove the internal endpoint to get savable visit types, those can be simply added in Django template. As that change broke a lot of tests due to scheduler being previously mocked, most of the tests related to "Save code now" got improved by removing the mocks and using the swh_scheduler pytest fixture. Related to D5992
-
- Aug 30, 2021
-
-
Antoine Lambert authored
When a content cannot be displayed (for instance due to a too large size), remove script tag from template to prevent execution errors. Closes T3454
-
- Aug 27, 2021
- Aug 26, 2021
- Aug 25, 2021
-
-
vlorentz authored
It's brittle, and not the right place.
-
vlorentz authored
This is to match changes in the vault interface, see D6112 for the rationale. All existing queries still work, through "fallback" views. There are some minor changes in returned fields (removed obj_type, and replace obj_id with swhid), but I don't think anyone used them (since that info is already available to them before they send the request).
-
vlorentz authored
-
vlorentz authored
So tests don't have side-effects
-