- Oct 12, 2021
-
-
Antoine Lambert authored
Related to T3603
-
Antoine Lambert authored
Using such hypothesis strategies have several drawbacks so let's turn them into pytest fixtures as it feels a better way to do so. Related to T3603
-
- Oct 11, 2021
-
-
Jayesh authored
Add an extra parameter called directory_url in the snapshot_context. To fix the missing URL to the code (directory) view in case the snapshot is missing an origin context. Fixes T3644
-
- Oct 08, 2021
-
-
vlorentz authored
-
- Oct 07, 2021
-
-
Antoine Lambert authored
swh.model.swhids module should be used instead from now on. Also remove references to *_identifier functions in documentation.
-
- Oct 06, 2021
-
-
Antoine Lambert authored
Users with the "swh.web.api.save_origin" permission: - will not be rate limited on the /api/1/origin/save/ endpoint - will have their save requests immediately accepted
-
Antoine Lambert authored
-
Antoine Lambert authored
It ensures it will be ignored by git and will not be committed accidentally.
-
Antoine Lambert authored
-
Antoine Lambert authored
Ensure to restore origin visits visualization state (aka visits filtering) when reloading page.
-
Antoine Lambert authored
Handle "created" and "not_found" statuses in origin visits visualization. Put visit statuses colors in a dedicated file in order to share them between modules.
-
- Oct 05, 2021
-
-
Antoine Lambert authored
The generation of raw extrinsic metdata links only available for staff users at the moment was not covered by tests and some bugs slip through. That commit fixes those errors and improve related tests implementation.
-
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
-
- Oct 04, 2021
-
-
vlorentz authored
-
- Oct 01, 2021
-
-
Antoine Lambert authored
When logged in as a staff user, a new checkbox will be displayed enabling to search origins with the swh-search query language. Remove not needed configuration entry. Open query language documentation in a new browser tab. Related to T2254
-
Jayesh authored
Added reset_sequence=True in the db fixture Pinned psycopg2 to < 2.9 (To fix UTC related assertion error) Changed conftest to use sqlite3 for frontend tests
-
- Sep 29, 2021
-
-
Antoine Lambert authored
Related to T3424
-
Antoine Lambert authored
-
Antoine Lambert authored
This produces a lot of noise when running tests and capturing output so silent those debug logs.
-
Antoine Lambert authored
The Origin model from swh-model now includes the origin id leading to errors when serializing to JSON. So filter out that field from the conversion to remove thsoe errors plus it should not be leaked to end users in Web API responses.
-
- Sep 24, 2021
-
-
Antoine Lambert authored
-
David Douard authored
This should allow to write your config file like: web.yaml: production_db: name: postgresql:///?service=swh-web thus allowing to use pg_services and pgpass to declare postgresl access configuration. Might help for containerized execution environment where db configuration can be dynamic.
-
David Douard authored
-
Antoine Lambert authored
-
- Sep 23, 2021
-
-
Those should have been replaced since some time now as swh-web was the latest component to use these constants.
-
- Sep 22, 2021
-
-
Stefan Sperling authored
Includes changes from anlambert suggested during code review.
-
- Sep 21, 2021
-
-
vlorentz authored
-
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
-