- Apr 05, 2022
-
-
Nicolas Dandrimont authored
This allows calling the function on a single recipient rather than on a whole message, when one isn't available.
-
Nicolas Dandrimont authored
Other modules still need psycopg2 and pytest-postgresql 4 introduced a hard dependency on psycopg3. This restriction has only been needed since a recent dependency upgrade (or maybe a pip upgrade); pip has stopped being able to solve it itself for some reason.
-
vlorentz authored
-
vlorentz authored
as a modal
-
- Apr 04, 2022
-
-
anirudhlakhotia authored
Related to T4078
-
- Apr 01, 2022
-
-
Antoine R. Dumont authored
Prior to this commit, this was done for all deposits but it's only a good fallback for typed deposit 'code'. Related to T4123
-
Nicolas Dandrimont authored
Some database tests depend on the text returned by the SQL client, which is localized. Forcing the C locale ensures the text gets output in English.
-
Nicolas Dandrimont authored
-
- Mar 30, 2022
-
-
Jayesh authored
Remove mock fixture from load tests. Add tests for status update and API failure. Add tests for mailto email contact.
-
Antoine Lambert authored
pybadges v3.0 has recently been released so we can now remove those workarounds to fix pytest execution as they are no longer needed.
-
- Mar 29, 2022
-
-
Antoine R. Dumont authored
This should alleviate problems in documentation build. Also, it turns out the add_forge_now apps was misconfigured. This commit fixes that.
-
vlorentz authored
In particular, this preserves the tab when refreshing the page or going through browser history
-
vlorentz authored
-
Antoine R. Dumont authored
My hypothesis is that those missing files are making the swh-docs build fail. That's the only difference i see between those swh.web folders and the rest.
-
vlorentz authored
Origin URLs were printed unsanitized
-
vlorentz authored
-
vlorentz authored
This is more manageable than handling it manually with URL fragments (which repeatedly breaks when adding new tabs).
-
vlorentz authored
This is IMO more manageable than handling it manually with URL fragments (which repeatedly breaks when adding new tabs). A future commit will do this for Add Forge Now, too.
-
- Mar 28, 2022
-
-
Antoine Lambert authored
The Alegreya font we are using ships some ligatures producing confusing text rendering, for instance the ligatures for `~` and some characters. So disable font common ligatures with CSS.
-
Antoine Lambert authored
The use of nodemon is no longer needed as source files are already watched by django and webpack development servers automatically reloading backend and frontend parts of the web application.
-
Antoine Lambert authored
There is an incompatibility between latest django-stubs release (1.10.0) and current release of djangorestframework-stubs. So temporarily pin django-stubs to < 1.10.0 until the issue is fixed.
-
- Mar 25, 2022
-
-
Antoine R. Dumont authored
This introduces a checkbox to allow users to filter their own requests. It's turned on by default. The checkbox is not shown when connected anonymously. Either browsing anonymously or unchecking the box (when connected) allows to browse all requests. This also unifies the rendering with the save code now view: - same datatable layout - the spinner logo during computation Related to T4011
-
Antoine R. Dumont authored
-
Jayesh authored
Maintain selected tab in add-forge-now create view. Add URL hash for the help tab. Improve cypress tests for the tab change. Related to T4050
-
Jayesh authored
Related to T4087
-
Antoine R. Dumont authored
This will allow to reuse that part inside the add-forge-now form as well. Related to T4011
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
This makes sure we use the right keycloak login link when deployed on staging and production webapps. This does not change anything for docker and dev makefile targets. Related to T4075
-
- Mar 24, 2022
-
-
Antoine Lambert authored
Use dedicated functions in archive module to get an origin visit by id or by date. Only get all visits as a fallback when one needs to get an origin visit by snapshot.
-
Antoine R. Dumont authored
Related to T4075
-
Antoine R. Dumont authored
Implementation wise, this extracts and reuses an already defined function to compute such date. Related to T4074
-
Antoine Lambert authored
-
- Mar 23, 2022
-
-
Antoine Lambert authored
Add a new administration view to manage the mailmaps in the archive. The view allows to add new mailmaps or update existing ones. It requires a special user permission "swh.web.admin.mailmap" to be used. Only mailmaps created by users with that permission will be displayed in that view.
-
Jayesh authored
JS mapping to get the right request status name Changes in three views and cypress tests
-
Antoine R. Dumont authored
Prior to this, the name was wrong which prevented the actual username consent from being saved.
-
Antoine Lambert authored
-
Jayesh authored
Moved forge request details to a separate column Minor style changes to request history items Added separate CSS for add-forge bundle
-
- Mar 22, 2022
-
-
Antoine Lambert authored
When rejecting a Save Code Now request, the submitted origin URL was automatically added to the unauthorized URLs list. But this was prolematic as a valid URL prefix could be added in that list and thus a valid request whose origin URL has that prefix would be automatically rejected. So remove the automatic adding of origin URL in unauthorized list when rejecting a request. Also return 404 in the reject endpoint when the request does not exist.
-
vlorentz authored
They are user errors, there is nothing we can do about it and they add clutter to Sentry.
-
Jayesh authored
New CSS class is added to use with mandatory form fields Added this style in create and update views of add-forge-now
-