openreplay/ee/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 Api v1.15.0 (#1670) 2023-11-20 16:15:12 +01:00
.gitignore Api v1.16.0 (#1744) 2023-12-06 13:36:27 +01:00
.gitkeep fix(chalice): check SMTP host:port (#1344) 2023-06-14 13:21:22 +02:00
app.py Api v1.16.0 (#1744) 2023-12-06 13:36:27 +01:00
app_crons.py change(crons): added new cron for assist stats 2023-12-04 12:59:43 +01:00
clean-dev.sh Api v1.16.0 (#1744) 2023-12-06 13:36:27 +01:00
development.md chore(vagrant): Changed development.md 2022-05-02 11:06:15 +02:00
Dockerfile Api v1.13.0 (#1323) 2023-06-09 11:48:41 +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 feat(alerts): changed build script 2022-11-14 16:02:18 +01:00
Dockerfile_crons feat(chalice): updated all dependencies 2023-01-20 14:41:07 +01:00
Dockerfile_crons.dockerignore feat(alerts): changed build script 2022-11-14 16:02:18 +01:00
entrypoint.sh feat(api): use the default sync worker class, and only one worker. 2023-11-30 18:08:03 +01:00
entrypoint_alerts.sh Api v1.15.0 (#1583) 2023-10-27 15:08:25 +02:00
entrypoint_crons.sh feat(alerts): ignore ASSIST_KEY 2022-11-03 11:41:27 +01: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
env_vars.sh feat(chalice): changed env-vars handling 2022-07-20 15:24:29 +02:00
or_dependencies.py Api v1.15.0 (#1580) 2023-10-27 14:35:16 +02: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-crons.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-crons-dev.sh feat(crons): fixed health check cron 2023-04-28 14:34:12 +02:00