Hello Loïc Dachary píše v Po 19. 03. 2018 v 00:47 +0100: > > In SecureDrop the tests create screenshots and for each of them there > is a JSON array with all source strings that are visible in the > screenshot. Ideally there would be an API endpoint where we could > POST the screenshot image together with the list of source strings. > After a quick look at the API[1], the only option seems to be updates > to an existing screenshot. > > As a last resort I could probably mechanize the web interface to > simulate user interaction. Any ideas on how to do that as simply as > possible would be most appreciated :-)
Indeed the API is currently limited, but extending it is quite simple
and definitely less work than using mechanize on the AJAX web interface
:-).
--
Michal Čihař | https://cihar.com/ | https://weblate.org/
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Weblate mailing list [email protected] https://lists.cihar.com/cgi-bin/mailman/listinfo/weblate
