layerindex-web/layerindex
Paul Eggleton 378413299c Fix progressive task output when it contains entity-escaped characters
If an update task's output contains a single quote for example (') then
this will be escaped to an HTML entity before it gets sent as a
response. However, that means that the length of the data in the response
will be greater than the length of the original data, resulting in
characters getting missed out when we read the next chunk - so we
can't use the escaped length to set the next position to read from. The
easiest thing to do is have the Django view send us the actual position
we're at and then we don't have to try to calculate it on the JS side.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2019-07-17 11:31:04 +12:00
..
migrations Record configure options 2019-07-17 11:31:04 +12:00
static Add LICENSE texts for distributed components 2019-07-17 11:31:04 +12:00
templatetags Show update task output more smoothly 2018-09-20 16:04:49 +12:00
tools More shell quoting 2019-07-17 11:31:04 +12:00
__init__.py Initial commit of layerindex-web 2013-02-13 12:09:57 +00:00
admin.py admin: allow editing ClassicRecipe fields 2019-07-17 11:31:04 +12:00
auth_forms.py Add user security questions 2019-07-17 11:30:56 +12:00
auth_views.py Disable caching on auth views 2019-07-17 11:31:01 +12:00
bulkchange.py Use try...finally or with to ensure files get closed 2019-02-14 10:05:53 +13:00
context_processors.py Add ability to hide branches 2019-07-17 11:30:56 +12:00
forms.py Add ability to disposition comparison patches 2019-07-17 11:31:04 +12:00
layerconfparse.py layerconfparse.py: remove unused layerbranch from parse_layer() 2017-07-21 08:14:57 +02:00
models.py Record configure options 2019-07-17 11:31:04 +12:00
querysethelper.py Replace usage of model._meta.get_all_field_names() 2018-04-24 10:15:47 +12:00
recipedesc.py layerindex: Update tinfoil to call shutdown method 2017-01-11 21:56:35 +13:00
recipeparse.py Split out recipe dependency handling to its own function 2019-07-17 11:30:56 +12:00
restperm.py expose REST API for layerindex 2014-09-24 11:32:34 +01:00
restviews.py restviews: add additional layer view with extra nested fields 2018-02-07 11:27:48 +13:00
securityquestions.py Add user security questions 2019-07-17 11:30:56 +12:00
tasks.py More shell quoting 2019-07-17 11:31:04 +12:00
update_layer.py Record configure options 2019-07-17 11:31:04 +12:00
update.py Use shell=False where possible with utils.runcmd() 2019-07-17 11:31:01 +12:00
urls_branch.py Add ability to trigger comparison updates manually from UI 2018-08-13 16:04:14 +02:00
urls.py layerindex/urls.py: improve formatting 2019-07-17 11:30:56 +12:00
utils.py Reimplement simplesearch 2019-07-17 11:31:04 +12:00
views.py Fix progressive task output when it contains entity-escaped characters 2019-07-17 11:31:04 +12:00