Anders Eriksen

Results 15 comments of Anders Eriksen

Any hints on where to start debugging this @sunu? This is a bit of a show stopper for our users, and I'd like to get it sorted out before we...

Digging into this, it seems that entities of type `Image` or `PlainText` returns a highlight property on the ES search result if the `highlight_query` is removed from the ES query....

I don't think that is the best solution, no. Wouldn't that return a lot of results if you search for a term that is present on many pages in a...

Thanks for investigating @sunu! As for showing the pages inlined in the results I think this also might pollute the result. Usually the journalists do a search and then scan...

Would it be a solution to just add a row to the index sheet using the Drive API every time a new spreadsheet is published? That way editors could get...

Digged a bit deeper. Norway has two written languages: Norwegian bokmål (`nob`/`nb`) and Norwegian nynorsk (`nn`/`nno`). They are pretty similar, and Norwegian also has the ISO code `no`/`nor` as some...

Started some work here. In progress: https://github.com/anderser/WAAS/tree/webhook

PR here https://github.com/schibsted/WAAS/pull/95

We might consider adding some kind of signing and security to these webhooks. I.e. https://rednafi.github.io/reflections/verifying-webhook-origin-via-payload-hash-signing.html or https://github.com/cloudevents/spec/blob/main/cloudevents/http-webhook.md This will increase the complexity and require the webhook receivers to do more...

I suggest we add some more security/integrity features to this before merging. * Allowlist of approved webhook urls with corresponding `id` and `token` * On transcribing-request, we check if webhook...