- Jun 26, 2020
-
-
Antoine Lambert authored
When clicking on it, the save request submission form will be automatically filled with the origin info related to the associated requests table row and the view will be scrolled to the top. Also rename "Visit type" to "Origin type" ast it is more comprehensible for non swh staff users. Closes T2325
-
Antoine Lambert authored
An "Info" button has been added in that new column. When clicking on it, a popover containing various loading task information will be displayed. For anonymous users, the displayed info are: - Task type - Task arguments - Task scheduling date - Task start date - Task termination date - Task duration - Task log (with Traceback removed in case of failed task, only the exception is displayed) For staff users, more internal info and a full traceback are displayed in case of a failed task. Related to T2325
-
Antoine Lambert authored
When loading save requests list, the web application will try to find a visit date for each submitted origin save request. This process is repeated while a visit date has not been found yet. To speedup the loading of the requests lst, stop trying to find a visit date one month after a save request submission as those requests to storage are expensive and associated loading task surely ended up with errors.
-
- Jun 25, 2020
-
-
Antoine Lambert authored
When a content object is anchored to a revision, the resolved url from the associated SWHID will target the revision view instead of the content one. So ensure the SWHID lines qualifier is also processed in that case in order for the "scroll to lines" feature to work each time a content is displayed in a view. Closes T2464
-
Antoine Lambert authored
Rename "Visit type" back to "Origin type" as this is more comprehensible for a user not familiar with SWH data model. Rename "Visit status" to "Archiving status" and simplify some tooltips for the same reason. Wrap some long code lines in origin search related Javascript code. Closes T2320
-
Antoine Lambert authored
Instead of visiting the Downloads page each time a cooking request is submitted simply display an HTML alert at the botom left of the viewport indicating vault task creation success. Use the same reporting system to display vault service related errors. Closes T2321
-
- Jun 24, 2020
-
-
Antoine Lambert authored
Add a link to browse the origin where a cooked object was found. Update link to browse the cooked object: use SWHID with context URL. Display cooked directory path if available. Wrap some long lines in vault related Javascript code. Closes T2323
-
Antoine Lambert authored
There is no guarantee that the directory_with_subdirs strategy will return a directory with subdirs containing files.
-
David Douard authored
this API is about to change (will return a stats dict like other endpoints) and it is actually not needed.
-
- Jun 23, 2020
-
-
Antoine Lambert authored
Closes T2322
-
Antoine Lambert authored
When browsing a content or a directory in a snapshot context, add a box on top of the views content giving info about current tip revision: link, author, date and first message line. Closes T2326
-
- Jun 22, 2020
-
-
Antoine Lambert authored
That feature is only useful for large screens so hide the full width switch on screens where width is lesser than 992px. Closes T2461
-
Antoine Lambert authored
Keep a single test using the UI to login and add a Cypress command to login programatically because UI login is slow, cumbersome, and unnecessary. https://docs.cypress.io/guides/getting-started/testing-your-app.html#Logging-in
-
- Jun 19, 2020
-
-
Antoine Lambert authored
Remove the Actions dropdown and replace with simple buttons instead: "Download", "New snapshot" and "Show metadata". Hide the "Download as git" and "Show metadata" action for non staff users. Related to T2326
-
Antoine Lambert authored
Closes T2448
-
Antoine R. Dumont authored
Related to T2310
-
Antoine R. Dumont authored
Related to D3314
-
- Jun 18, 2020
-
-
Antoine Lambert authored
Use tabs to navigate between code views, branches list view, releases list view and origin visits view. Simplify title in top navbar and move origin links to page main content. Related to T2326
-
Antoine Lambert authored
-
- Jun 17, 2020
-
-
Antoine Lambert authored
If a Django user has the "swh.web.api.throttling_exempted" permission, he will not be rate limited. Related to T1927
-
Antoine Lambert authored
Keycloak user permissions are named Roles in Keycloak semantics. Extract them from each decoded access token and override methods from django.contrib.auth.models.PermissionsMixin in order to manipulate them as Django user permissions. Closes T2247
-
Antoine Lambert authored
This prevents weird top navigation elements layout on high resolution screens. Closes T2456
-
- Jun 16, 2020
-
-
Antoine Lambert authored
Add a switch in the top left part of the UI in order to toggle full width rendering of web application content. This can be useful for high resolution screens or to extend the viewport width for source code rendering. The full width rendering state is also saved in browser local storage in order to restore it on each web application page load. Closes T2456
-
Antoine Lambert authored
Clarify the order in which revisions are returned (BFS) in documentation. Stop returning next-link in response headers as it is not sufficient to properly resume the BFS traversal on the revision graph. Remove any references to pagination in documentation and rename per_page query parameter to limit (also set its max value to 1000). Add warning in documentation explaining how a client can obtain the full BFS traversal of the revision graph. Remove useless optional prev_sha1s URL argument. Closes T2450
-
- Jun 15, 2020
-
-
Antoine Lambert authored
Add a top border of 3px colored with the SWH theme red for nicer display
-
Antoine Lambert authored
-
- Jun 12, 2020
-
-
Antoine Lambert authored
- Remove huge Web API links and put a smaller instead at the bottom right of the search box - Remove redundant links - Set gray background to search interface - Simplify sidebar menu Closes T2317
-
Antoine Lambert authored
Related to T2317
-
Antoine Lambert authored
Set Bootstrap primary color to SWH theme red color and use Bootstrap custom checboxes and radio buttons in order to get a nicer display of UI elements. Closes T2318
-
Antoine R. Dumont authored
Related to T2310
- Jun 11, 2020
-
-
Antoine Lambert authored
Migrate swh-web icons (Font Awesome ones, octicon commit, png images) to their Material Design Icons counterparts in order to get a consistent icons style. Material Design Icons is an open source and exhaustive icons collection allowing designers and developers targeting various platforms to download icons in the format, color and size they need for any project. Closes T2445
-
Antoine R. Dumont authored
Instead of origin_visit_update endpoint. Related to T2310
-
- Jun 09, 2020
-
-
Antoine Lambert authored
Make the save request form always visible by moving it from the "Create save request" tab to the top of the page. Rename "Create save request" tab to "Help". Make all html alerts closable. Closes T2324
-
- Jun 08, 2020
-
-
Antoine Lambert authored
Make the main link in each row targets the origin copy in the archive if it has been successfully loaded. Add a link to each origin through an external link icon. Closes T2405
-
- Jun 05, 2020
-
-
Antoine Lambert authored
A release is looked up by its name and not its branch name in a snapshot. For git origins, the branch name differs from the release name: "/refs/tags/(release_name)". So lookup for that type of branch name first and add fallback for release name for other origin types. Closes T2437
-
Antoine Lambert authored
When a directory is browsed in an origin or snapshot context, some SWHIDs to display were missing: revision, release and snapshot. Closes T2437
-
Antoine Lambert authored
When a content is browsed in an origin or snapshot context, some SWHIDs to display were missing: directory, revision, release and snapshot. Related to T2437
-