openreplay/api
ⵄⵎⵉⵔⵓⵛ 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
..
auth Api v1.15.0 (#1689) 2023-11-21 18:29:10 +01:00
chalicelib chore(api): asyncify GET /projects, and propagate (#1701) 2023-12-06 16:09:55 +01:00
crons change(api): assist stats api moved to ee (#1598) 2023-10-31 15:29:36 +01:00
routers chore(api): asyncify GET /projects, and propagate (#1701) 2023-12-06 16:09:55 +01:00
schemas fix(chalice): fixed path analysis metadata filter (#1746) 2023-12-06 15:20:25 +01:00
test feat(api) - feature flags multi variant (#1353) 2023-06-20 15:52:02 +02:00
.gitignore fix(chalice): check SMTP host:port (#1344) 2023-06-14 13:21:22 +02:00
.gitkeep fix(chalice): check SMTP host:port (#1344) 2023-06-14 13:21:22 +02:00
.trivyignore Api v1.16.0 (#1730) 2023-11-30 10:53:31 +01:00
app.py chore(api): asyncify GET /projects, and propagate (#1701) 2023-12-06 16:09:55 +01:00
app_alerts.py Api v1.13.0 release (#1347) 2023-06-16 12:44:40 +02:00
build.sh refactor(build): clear tmp build directory 2023-10-26 18:19:17 +02:00
build_alerts.sh Merge remote-tracking branch 'origin/api-v1.11.0' into dev 2023-03-28 09:45:35 +01:00
build_crons.sh Azure support (#1270) 2023-06-08 13:31:54 +02:00
development.md chore(vagrant): Changed development.md 2022-05-02 11:06:15 +02:00
Dockerfile revert commit 2023-05-23 12:10:51 +02:00
Dockerfile.dockerignore feat(alerts): changed build script 2022-11-14 16:02:18 +01:00
Dockerfile_alerts feat(chalice): updated all dependencies 2023-01-20 14:41:07 +01:00
Dockerfile_alerts.dockerignore chore(build): changed script 2022-11-14 17:04:17 +01:00
entrypoint.sh Api v1.15.0 (#1583) 2023-10-27 15:08:25 +02:00
entrypoint_alerts.sh Api v1.15.0 (#1583) 2023-10-27 15:08:25 +02:00
env.default Dev (#1683) 2023-11-20 16:15:12 +01:00
env.dev Dev (#1683) 2023-11-20 16:15:12 +01:00
NOTES.md Chore/async api one (#1708) 2023-11-27 15:58:02 +01:00
or_dependencies.py Api v1.15.0 (#1580) 2023-10-27 14:35:16 +02:00
orpy.py Chore/async api one (#1708) 2023-11-27 15:58:02 +01:00
Pipfile Api v1.16.0 (#1744) 2023-12-06 13:36:27 +01:00
prepare-dev.sh Api v1.15.0 (#1481) 2023-09-28 09:59:31 +01:00
requirements-alerts.txt Api v1.16.0 (#1744) 2023-12-06 13:36:27 +01:00
requirements.txt Api v1.16.0 (#1744) 2023-12-06 13:36:27 +01:00
run-alerts-dev.sh fix(alerts): fixed batch-ms-teams notifications (#1720) 2023-11-28 14:46:21 +01:00
run-dev.sh Api v1.15.0 (#1582) 2023-10-27 14:57:21 +02:00