- May 21, 2019
-
-
Antoine Lambert authored
-
Antoine Lambert authored
To avoid error 500 when some revision metadata are not properly encoded, fallback to the binary representation of bogus data. Closes T1727
-
- May 20, 2019
-
-
Antoine Lambert authored
Related T1678
- May 17, 2019
-
-
Antoine Lambert authored
- extract deposit origin from revision pid - add new columns to the table related to swh revision / directory - rename some table columns - enable to dynamically show / hide table columns Closes T1490 Closes T1719
- May 16, 2019
-
-
Antoine Lambert authored
Related T1508
-
vlorentz authored
-
mihir karbelkar authored
Made changes to adapt it to new content_find return type and added the test for lookup_directory_with_revision with unknown content
-
- May 15, 2019
-
-
Antoine Lambert authored
-
Antoine Lambert authored
This regression was introduced in 3bb1a709
-
Antoine Lambert authored
-
Antoine Lambert authored
- May 09, 2019
-
-
vlorentz authored
-
vlorentz authored
-
Antoine Lambert authored
Closes T1705
-
Antoine Lambert authored
-
- May 07, 2019
-
-
Kalpit Kothari authored
Fix XSS vulnerabilities in origin-search table, various error pages and API HTML interface. Closes T1699 Escape unsafe objects in Error Page top-navigation: Fix XSS in branch name Fix XSS in API HTML interface
-
Antoine Lambert authored
-
Antoine Lambert authored
-
- May 06, 2019
-
-
Antoine Lambert authored
- test target now uses the swh-web-fast hypothesis profile - remove the test-fast target - add test-full target using the swh-web hypothesis profile (which generates a lot of examples and thus takes much more longer to execute)
-
Antoine Lambert authored
- origin info were inserted three times on page load - fix checkboxes ids and make all labels clickable Closes T1701
-
vlorentz authored
-
- May 02, 2019
-
-
Antoine Lambert authored
Closes T1419
-
Antoine Lambert authored
Related T1508
-
Antoine Lambert authored
Related T1419
-
Antoine Lambert authored
HTML rendering of Jupyter notebook is now integrated in browse content views with support for: - markdown rendering - code highlighting - math typesetting - ANSI color escape codes Nevertheless, the dynamic loading part of a notebook content (external scripts for instance) has been disabled through XSS filtering. Closes T1641
-
Antoine Lambert authored
- remove inlined webpack loader calls from module names - allow to reference external loaded scripts in the additionalScripts plugin option
-
- Apr 27, 2019
-
-
Kalpit Kothari authored
Summary: Related T1690 Added client side xss filter > Save code now is vulnerable to XSS attack. > > Steps to reproduce- > > Remove the validation from client side (with dev tools) > Enter this url in origin url > > https://github.com/%3Cscript%3Ealert(document.domain);%3C/script%3E > > We should add more validations at the server side to prevent such urls from entering into the database. For server side validations, I was thinking of preventing regex /.*(%3C).*(%3E)/ and /.*(javascript:).*/ There may be a few more cases we need to take care of. Or should we check if the url returns 200 or not before entering it to the table. Reviewers: #reviewers, anlambert Reviewed By: #reviewers, anlambert Subscribers: anlambert, vlorentz Differential Revision: https://forge.softwareheritage.org/D1433
-
- Apr 24, 2019
-
-
Antoine Lambert authored
-
- Apr 23, 2019
-
-
Antoine Lambert authored
Closes T1655
-
- Apr 19, 2019
-
-
Antoine Lambert authored
- put related code in a dedicated file - use a XSS filtering hook to fix some image relative src urls included in README HTML rendering (load image bytes from the archive content if available) - remove previoulsy introduced hacks in Python code as correct image loading in README HTML rendering is now handled client-side by the feature described above Related T1641
-
- Apr 18, 2019
-
-
Antoine Lambert authored
- ensure Alegreya font can not be overriden by other css rules - remove container padding to gain some horizontal display space
-
Antoine Lambert authored
-
- Apr 17, 2019
-
-
Antoine Lambert authored
- harmonize metadata field names and rename/remove/add some - factorize and cleanup link generation code - remove some dead code
-
Antoine Lambert authored
-
- Apr 15, 2019
-
-
Antoine Lambert authored
-