Skip to content
Snippets Groups Projects
  1. Sep 21, 2021
  2. Sep 20, 2021
  3. Sep 14, 2021
  4. Sep 10, 2021
  5. Sep 09, 2021
  6. Sep 08, 2021
    • Antoine Lambert's avatar
      common/utils: Add function to get origin visit types dynamically · 3d6abb9a
      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
      3d6abb9a
    • Antoine Lambert's avatar
      misc: Add iframe view for contents and directories · e2b48563
      Antoine Lambert authored and Antoine Lambert's avatar Antoine Lambert committed
      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
      e2b48563
    • vlorentz's avatar
      Add link to extrinsic metadata API from the browse view · ec198950
      vlorentz authored
      This partially replaces the existing 'Show metadata' that only works for
      metadata written directly on revision objects.
      ec198950
    • vlorentz's avatar
      Add 'swh.vault.git_bare.ui' use role, to display the 'git bare' button on the UI · 95440eca
      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.
      95440eca
  7. Sep 07, 2021
  8. Sep 06, 2021
  9. Sep 03, 2021
  10. Sep 02, 2021
    • Antoine Lambert's avatar
      misc/coverage: Revamp and improve archive coverage widget in homepage · d0335365
      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
      d0335365
    • Antoine Lambert's avatar
      package.json: Upgrade dependencies · 2a6ce0bc
      Antoine Lambert authored
      2a6ce0bc
    • Antoine Lambert's avatar
      origin_save: Filter out visit type with no scheduler load-* task type · 9ef590cb
      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
      9ef590cb
  11. Aug 30, 2021
  12. Aug 27, 2021
  13. Aug 26, 2021
  14. Aug 25, 2021
Loading