-
- Downloads
browse: Use intrinsic info in URLs
Use intrinsic info to reference SWH origins and visits in the browse URI scheme (see updated doc): - origins are now referenced by their type and their url - visits are now referenced by their date Also add a new query parameter 'visit_id' to disambiguate visits with the same date. Closes T877
Showing
- docs/uri-scheme-browse-origin.rst 72 additions, 209 deletionsdocs/uri-scheme-browse-origin.rst
- swh/web/browse/urls.py 5 additions, 4 deletionsswh/web/browse/urls.py
- swh/web/browse/utils.py 92 additions, 56 deletionsswh/web/browse/utils.py
- swh/web/browse/views/origin.py 202 additions, 199 deletionsswh/web/browse/views/origin.py
- swh/web/browse/views/revision.py 12 additions, 14 deletionsswh/web/browse/views/revision.py
- swh/web/common/utils.py 10 additions, 7 deletionsswh/web/common/utils.py
- swh/web/static/js/calendar.js 1 addition, 1 deletionswh/web/static/js/calendar.js
- swh/web/templates/directory.html 2 additions, 2 deletionsswh/web/templates/directory.html
- swh/web/templates/includes/origins-search.html 2 additions, 2 deletionsswh/web/templates/includes/origins-search.html
- swh/web/templates/includes/top-navigation.html 3 additions, 3 deletionsswh/web/templates/includes/top-navigation.html
- swh/web/templates/origin.html 1 addition, 1 deletionswh/web/templates/origin.html
- swh/web/tests/browse/test_utils.py 46 additions, 20 deletionsswh/web/tests/browse/test_utils.py
- swh/web/tests/browse/views/data/origin_test_data.py 12 additions, 5 deletionsswh/web/tests/browse/views/data/origin_test_data.py
- swh/web/tests/browse/views/test_origin.py 121 additions, 94 deletionsswh/web/tests/browse/views/test_origin.py
- swh/web/tests/browse/views/test_revision.py 20 additions, 13 deletionsswh/web/tests/browse/views/test_revision.py
Loading
-
Some references in the commit message have been migrated:
- T877 is now #877 (closed)
Please register or sign in to comment