openreplay/api/routers
ⵄⵎⵉⵔⵓⵛ 23015f5567
chore(api): asyncify GET /projects, and propagate (#1701)
* [Backend] Canvas support (#1705)

* feat(http): added new parameters to start response and new endpoint for canvas screenshorts

* fix(http): added new topic to dockerfile

* feat(http): try different multipart parser

* feat(image-storage): reused the same workflow for canvas topic handler

* feat(video-storage): new canvas parser and ffmpeg script

* feat(video-storage): use correct replay name for canvas

* feat(backend): added new message (CanvasNode)

* feat(backend): add canvas record events to db

* Async chalice.core.tenants:tenants_exists, and propagate

* rework after review

* chore(api): asyncify `/projects` and propagate.

Impact on the following routes:

  /projects
  /v1/projects
  /passowrd/reset
  /metadata/session_search

* fix(api): there is no cnx.mogrify method.

In psycopg v3, the mogrify method is only available on cursor objects.

In other words, just use cnx.execute(query, kwargs), except when
opening an "explicit cursor session".

ref: https://www.psycopg.org/psycopg3/docs/api/cursors.html#psycopg.ClientCursor.mogrify

---------

Co-authored-by: Alexander <zavorotynskiy@pm.me>
2023-12-06 16:09:55 +01:00
..
subs chore(api): asyncify GET /projects, and propagate (#1701) 2023-12-06 16:09:55 +01:00
__init__.py Api FastApi (#252) 2021-12-16 19:10:12 +01:00
base.py feat(chalice): router level permissions for metrics 2022-09-22 13:23:49 +01:00
core.py Api v1.16.0 (#1744) 2023-12-06 13:36:27 +01:00
core_dynamic.py chore(api): asyncify GET /projects, and propagate (#1701) 2023-12-06 16:09:55 +01:00