- Oct 18, 2022
-
-
Antoine Lambert authored
-
- Oct 12, 2022
-
-
Antoine Lambert authored
-
Antoine Lambert authored
Add the following origin types for new listers/loaders currently in development: conda, cpan, puppet and rubygems.
- Sep 28, 2022
-
-
Antoine Lambert authored
In public requests table and moderation one, add a link to search for origins loaded from a forge once request status is FIRST_ORIGIN_LOADED. Also add a more visual link to navigate to request moderation page in requests moderation table. Related to T4552
- Sep 26, 2022
-
-
Antoine Lambert authored
Triggering a new visit from the visits page was previously not available while it makes sense to have such action here. Related to T4553
-
- Sep 21, 2022
-
-
Antoine Lambert authored
The submit command bypass HTML checks validating form so prefer to click on submit button instead to avoid missing validation issues.
-
- Sep 20, 2022
-
-
vlorentz authored
It rejected all URLs, because the protocol always ends with a colon.
-
- Sep 15, 2022
-
-
Antoine Lambert authored
It enables to instantly refresh the visit types for origins loaded into a development archive, docker one for instance.
-
Antoine Lambert authored
It seems there is an issue with the before hooks of cypress regarding their execution order when running tests in parallel. So turn some before hooks into beforeEach ones to fix some flaky tests.
-
Antoine Lambert authored
This fixes an issue when executing the webapp in docker environment as such file is not available here.
-
- Sep 14, 2022
-
-
Antoine Lambert authored
It should have been removed in 104f3b79 as these settings are now handled in swh.web.settings.common. This fixes webapp execution in docker environment.
-
- Sep 13, 2022
-
-
Antoine Lambert authored
This fixes migrations when deploying swh-web in production or staging environment.
-
Antoine Lambert authored
Add the following origin types for listers in development: - Arch Linux - Arch Linux User Repository - Bower - Crates - Gogs - Golang - Hackage - PubDev Origin types with no listed origins will be automatically hidden in production and staging.
-
Antoine Lambert authored
Declare login and logout URLs in django settings: - basic authentication is used in development mode and when running cypress tests - OIDC authentication is used in production mode and when running Python tests (in terms of login/logout URLs) Do not expose basic authentication login URL in production webapp for obvious security reasons. Align query parameter name for redirection after login in basic authentication backend with the OIDC one, it is now named next_path. Simplify some code in django templates. Remove documentation about API authentication when using the basic django backend as no bearer token can be generated in that case.
-
vlorentz authored
It happens frequently for some reason, but it does not seem to be reproducible.
-
- Sep 07, 2022
-
-
Antoine Lambert authored
For each swh-web django application, create an assets folder in application one and move related static assets source code (js, css, ...) in it. Also modify webpack configuration to generate bundles the following way: - if swh/web/<app>/assets/index.js exists, a bundle named <app> is generated - if swh/web/<app>/assets/<bundle>/index.js exists, a bundle named <bundle> is generated After these changes, some bundles got renamed but also new ones are generated so update django templates and js code accordingly. Related to T4398
-
Antoine Lambert authored
Related to T4398
-
- Sep 05, 2022
-
-
Antoine Lambert authored
Test in template file must be splitted in two: one to check if the swh.web.deposit application is installed, another one to check user permissions. An error was raised otherwise when swh.web.deposit is not in installed application and when admin user logs in. Related to T4398
-
Antoine Lambert authored
Django settings can be overriden by values contained in local configuration file so ensure correct value of swh_extra_django_apps in tests settings to avoid bad surprises when running tests. Also sort django application names in lexicographical order. Related to T4398
-
Antoine Lambert authored
The cypress its command will retry multiple times until an object property gets defined. Related to T3423
-
- Sep 01, 2022
-
-
Antoine Lambert authored
Also cleanup root urls.py file, all URLs are now registered from loaded django applications. Related to T4398
-
Antoine Lambert authored
It was previously included in the browse application but it makes sense to isolate it in its own application in order to easily deactivate it if needed. Related to T4398
-
- Aug 31, 2022
-
-
Antoine Lambert authored
If the view was browsed in a snapshot context (with origin_url and snapshot provided as query parameters), the associated query parameters were not forwarded to the URLs contained in the view.
-
Antoine Lambert authored
Related to T3423
-
Antoine Lambert authored
Related to T3423
-
Antoine Lambert authored
Also move remaining view and URLs defintion in adequate urls.py files.
-
Antoine Lambert authored
Related to T4398
-
Antoine Lambert authored
-
- Aug 30, 2022
-
-
Antoine Lambert authored
Related to T4398
-
Antoine Lambert authored
-
Antoine Lambert authored
-
Antoine Lambert authored
-
Antoine Lambert authored
Related to T4398
-
- Aug 26, 2022
-
-
Antoine Lambert authored
-
Antoine Lambert authored
This is required to run cypress tests in parallel. CYPRESS_PROJECT_ID environment variable could be used but better add project id in config.
-
Antoine Lambert authored
Some tests were flaky in this test suite due to missing wait instructions ensuring save code now requests datatable got fully rendered.
-
Antoine Lambert authored
-