- Jun 27, 2018
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-
Antoine Lambert authored
-
Antoine Lambert authored
-
- Jun 26, 2018
-
-
Antoine Pietri authored
-
- Jun 21, 2018
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-
Antoine Lambert authored
Previously, the web api was documented in two different places: - directly in the Python code through the use of decorators from the apidoc module - in swh-web sphinx documentation, using the httpdomain extension The documentation now only relies on using sphinx and httpdomain. Sphinx documentation have been spread in relevant docstrings of the api endpoints implementation and the apidoc module now parse those docstrings to extract the relevant info (endpoint description, url arguments and query parameters, desciption of the json object returned, ...). Web api HTML interface has also been improved in terms of semantics and design. Closes T1105
-
Antoine R. Dumont authored
Related T1104
-
- Jun 19, 2018
-
-
Antoine Lambert authored
Closes T1109
-
- Jun 14, 2018
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-
Antoine Lambert authored
-
Antoine R. Dumont authored
Related D302 Related T782
-
- Jun 13, 2018
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-
Summary: Modify lookup_content_license to accomodate change in the return value of IndexerStorage's `content_fossology_license_get` method (See D301). Now, lookup_content_license function returns a dictionary with the following keys: - id: sha1 hash - facts: list of dictionaries containing license information reported by one or more tools. Related T782 Reviewers: ardumont, #reviewers Reviewed By: ardumont, #reviewers Maniphest Tasks: T782 Differential Revision: https://forge.softwareheritage.org/D302
-
Antoine Lambert authored
-
Antoine Lambert authored
- Change 'How to cite ?' into 'Permalink(s)' and add icon in tab handle - Reword paragraph, tooltips and button texts
-
- Jun 12, 2018
-
-
Antoine Lambert authored
Closes T1096
-
Antoine Lambert authored
-
- Jun 11, 2018
-
-
Antoine Lambert authored
-
Antoine Lambert authored
- Instead of using a popover displayable through the 'Show identifiers' entry in the 'Actions' menu, prefer to use a panel sliding from the right of the browse views displayable by clicking on a tab handle 'How to cite ?' always visible when the user scroll the views. - Activate optional identifier parts by default - For content identifier, synchronize the lines optional part with the selection performed by the user Closes T1092
-
- Jun 08, 2018
-
-
Antoine Lambert authored
-
Antoine Lambert authored
-
Antoine Lambert authored
Closes T1085
-
- Jun 05, 2018
-
-
Antoine Lambert authored
A download link for an archive cooked through the vault (directory or revision_gitfast) does not remain alive ad vitam aeternam. As the history of previously cooked objects remains stored in the browser local storage, we need to handle the case where one wants to download a previously cooked archive from a dead link. In that case, check the link availability first before proceeding to the real download. If it is dead, display a modal asking the user if he wants to recook the archive. Closes T1082
-
Antoine Lambert authored
-
Antoine Lambert authored
-
Antoine Lambert authored
Related T1081 Closes D341
-
Antoine Lambert authored
Closes T1081
-
- Jun 01, 2018
-
-
Antoine Lambert authored
This commit enables the rendering of pdf files in the content view through the use of the pdf.js library from Mozilla (dynamically loaded when required).
-
Antoine Lambert authored
- do not expand it to its original width when hovering the mouse on it - update brand image
-
Antoine Lambert authored
Promote the use of following urls /browse/origin/(origin_url)/... instead of /browse/origin/(origin_type)/url/(origin_url)/... in browse. In a same manner, to provide origin context through query parameters, simply use <url>?origin=(origin_url) instead of <url>?origin_type=(origin_type)&origin_url=(origin_url)
-
Summary: Some bits of tests were never executed, being after the exception has been raised in an assertRaises block. Fix all such instances Test Plan: the unit tests pass Reviewers: #reviewers, anlambert Reviewed By: #reviewers, anlambert Differential Revision: https://forge.softwareheritage.org/D338
-
Antoine Lambert authored
-
- May 31, 2018
-
-
Nicolas Dandrimont authored
Summary: We used to call the database twice for directory listings. We now special-case the empty directory, which allows us to only call the database once, saving one round trip on the most used query. Test Plan: Unit tests updated Reviewers: anlambert, #reviewers! Differential Revision: https://forge.softwareheritage.org/D337
-
Antoine Lambert authored
-
Antoine Lambert authored
-
Antoine Lambert authored
This commits adds a popover panel reachable from the 'Show identifiers' entry in the 'Actions' menu for displaying swh persistent identifiers related to the currently browsed objects (content/directory/release/ revision + snapshot context if any). The panel offers easy copy to clipboard of the swh ids and related urls but also the possibility to add optional parts (origin info for instance). Closes T1004
-