browse: Add save origin submission form
This commit adds a new page (Save origin) in browse enabling users to: - submit software origins (git, hg, svn) to save into the archive - see the list of submitted save origin requests Related T336 Related T1119
Showing
- debian/control 1 addition, 0 deletionsdebian/control
- docs/uri-scheme-api-origin.rst 0 additions, 2 deletionsdocs/uri-scheme-api-origin.rst
- package-lock.json 8 additions, 6 deletionspackage-lock.json
- package.json 1 addition, 0 deletionspackage.json
- requirements.txt 1 addition, 0 deletionsrequirements.txt
- swh/web/api/views/origin_save.py 14 additions, 3 deletionsswh/web/api/views/origin_save.py
- swh/web/assets/config/.eslintrc 2 additions, 1 deletionswh/web/assets/config/.eslintrc
- swh/web/assets/src/bundles/browse/index.js 1 addition, 0 deletionsswh/web/assets/src/bundles/browse/index.js
- swh/web/assets/src/bundles/browse/origin-save.js 161 additions, 0 deletionsswh/web/assets/src/bundles/browse/origin-save.js
- swh/web/browse/urls.py 9 additions, 0 deletionsswh/web/browse/urls.py
- swh/web/browse/views/origin_save.py 26 additions, 5 deletionsswh/web/browse/views/origin_save.py
- swh/web/common/origin_save.py 8 additions, 6 deletionsswh/web/common/origin_save.py
- swh/web/common/utils.py 43 additions, 0 deletionsswh/web/common/utils.py
- swh/web/config.py 5 additions, 0 deletionsswh/web/config.py
- swh/web/templates/browse/origin-save.html 108 additions, 0 deletionsswh/web/templates/browse/origin-save.html
- swh/web/templates/layout.html 7 additions, 1 deletionswh/web/templates/layout.html
- swh/web/tests/admin/test_origin_save.py 4 additions, 2 deletionsswh/web/tests/admin/test_origin_save.py
- yarn.lock 4 additions, 0 deletionsyarn.lock
Loading
Please register or sign in to comment