Commit graph

1410 commits

Author SHA1 Message Date
Kraiem Taha Yassine
7368072db2
Revert "chore(api): asyncify GET /projects, and propagate (#1701)" (#1747)
This reverts commit 23015f5567.

Co-authored-by: ⵄⵎⵉⵔⵓⵛ <amirouche.boubekki@gmail.com>
2023-12-06 16:15:50 +01:00
ⵄⵎⵉⵔⵓⵛ
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
Kraiem Taha Yassine
a59834e881 fix(chalice): fixed path analysis metadata filter (#1746)
(cherry picked from commit e31b3d1f5c)
2023-12-06 15:20:25 +01:00
Kraiem Taha Yassine
df10875a00
Api v1.16.0 (#1744)
* feat(api): usability testing (#1686)

* feat(api): usability testing - wip

* feat(db): usabiity testing

* feat(api): usability testing - api

* feat(api): usability testing - api

* feat(api): usability testing - db change

* feat(api): usability testing - db change

* feat(api): usability testing - unit tests update

* feat(api): usability testing - test and tasks stats

* feat(api): usability testing - sessions list fix, return zeros if test id is not having signals

* Api v1.16.0 (#1698)

* feat: canvas support [assist] (#1641)

* feat(tracker/ui): start canvas support

* feat(tracker): slpeer -> peerjs for canvas streams

* fix(ui): fix agent canvas peer id

* fix(ui): fix agent canvas peer id

* fix(ui): fix peer removal

* feat(tracker): canvas recorder

* feat(tracker): canvas recorder

* feat(tracker): canvas recorder

* feat(tracker): canvas recorder

* feat(ui): canvas support for ui

* fix(tracker): fix falling tests

* feat(ui): replay canvas in video

* feat(ui): refactor video streaming to draw on canvas

* feat(ui): 10hz check for canvas replay

* feat(ui): fix for tests

* feat(ui): fix for tests

* feat(ui): fix for tests

* feat(ui): fix for tests cov

* feat(ui): mroe test coverage

* fix(ui): styling

* fix(tracker): support backend settings for canvas

* feat(ui): allow devtools to be resizeable (#1605)

* fix(ui): console redux tab null check

* Api v1.15.0 (#1689)

* fix(chalice): fix create alert with MS Teams notification channel
closes openreplay/openreplay#1677

* fix(chalice): fix MS Teams notifications
* refactor(chalice): enhanced MS Teams notifications
closes openreplay/openreplay#1681

(cherry picked from commit 265897f509)

* fix(ui): filter keys conflcit with metadata, path analysis 4 col

* fix(ui): clear the filers and series on card type change

* fix(player): fix msg reader bug

* fix(DB): fix CH wrong version (#1692)

(cherry picked from commit 48dbbb55db)

* fix(ui): filter keys conflcit with metadata

* fix(tracker): unique broadcast channel name

* fix(chalice): fixed delete cards (#1697)

(cherry picked from commit 92fedd310c)

* fix(tracker): add trycatch to ignore iframe errors

* feat(backend): added ARM arch support to backend services [Dockerfile]

* feat(backend): removed userAgent from sessions and unstarted-sessions tables

* fix(DB): change path-analysis card size

---------

Co-authored-by: Delirium <nikita@openreplay.com>
Co-authored-by: Shekar Siri <sshekarsiri@gmail.com>
Co-authored-by: Alexander <zavorotynskiy@pm.me>

* refactor(chalice): cleaned code (#1699)

* feat(api): usability testing - added start_path to the resposne, remove count from the list

* feat(api): usability testing - test to have response count and live count

* feat(api): usability testing - test to have additional data

* Revert "refactor(chalice): cleaned code (#1699)" (#1702)

This reverts commit 83f2b0c12c.

* feat(api): usability testing - responses with total and other improvements

* change(api): vulnerability whitelist udpate

* feat(api): usability testing - create added missing columns, and sessions with user_id search

* feat(api): usability testing - update test with responseCount

* feat(api): usability testing - timestamps in unix

* feat(api): usability testing - request with proper case change

* feat(api): usability testing - task.description nullable

* feat(api): usability testing - check deleted status

* Api v1.16.0 (#1707)

* fix(chalice): fixed search sessions

* fix(chalice): fixed search sessions
* refactor(chalice): upgraded dependencies
* refactor(crons): upgraded dependencies
* refactor(alerts): upgraded dependencies

* Api v1.16.0 (#1712)

* feat(DB): user-testing support

* feat(chalice): user testing support

* feat(chalice): support utxVideo (#1726)

* feat(chalice): changed bucket name for ux testing webcamera videos

* refactored(chalice): refactored code (#1743)

refactored(chalice): upgraded dependencies

---------

Co-authored-by: Shekar Siri <sshekarsiri@gmail.com>
Co-authored-by: Delirium <nikita@openreplay.com>
Co-authored-by: Alexander <zavorotynskiy@pm.me>
2023-12-06 13:36:27 +01:00
Kraiem Taha Yassine
99c96582c3
Api v1.16.0 (#1735)
* feat(api): usability testing (#1686)

* feat(api): usability testing - wip

* feat(db): usabiity testing

* feat(api): usability testing - api

* feat(api): usability testing - api

* feat(api): usability testing - db change

* feat(api): usability testing - db change

* feat(api): usability testing - unit tests update

* feat(api): usability testing - test and tasks stats

* feat(api): usability testing - sessions list fix, return zeros if test id is not having signals

* Api v1.16.0 (#1698)

* feat: canvas support [assist] (#1641)

* feat(tracker/ui): start canvas support

* feat(tracker): slpeer -> peerjs for canvas streams

* fix(ui): fix agent canvas peer id

* fix(ui): fix agent canvas peer id

* fix(ui): fix peer removal

* feat(tracker): canvas recorder

* feat(tracker): canvas recorder

* feat(tracker): canvas recorder

* feat(tracker): canvas recorder

* feat(ui): canvas support for ui

* fix(tracker): fix falling tests

* feat(ui): replay canvas in video

* feat(ui): refactor video streaming to draw on canvas

* feat(ui): 10hz check for canvas replay

* feat(ui): fix for tests

* feat(ui): fix for tests

* feat(ui): fix for tests

* feat(ui): fix for tests cov

* feat(ui): mroe test coverage

* fix(ui): styling

* fix(tracker): support backend settings for canvas

* feat(ui): allow devtools to be resizeable (#1605)

* fix(ui): console redux tab null check

* Api v1.15.0 (#1689)

* fix(chalice): fix create alert with MS Teams notification channel
closes openreplay/openreplay#1677

* fix(chalice): fix MS Teams notifications
* refactor(chalice): enhanced MS Teams notifications
closes openreplay/openreplay#1681

(cherry picked from commit 265897f509)

* fix(ui): filter keys conflcit with metadata, path analysis 4 col

* fix(ui): clear the filers and series on card type change

* fix(player): fix msg reader bug

* fix(DB): fix CH wrong version (#1692)

(cherry picked from commit 48dbbb55db)

* fix(ui): filter keys conflcit with metadata

* fix(tracker): unique broadcast channel name

* fix(chalice): fixed delete cards (#1697)

(cherry picked from commit 92fedd310c)

* fix(tracker): add trycatch to ignore iframe errors

* feat(backend): added ARM arch support to backend services [Dockerfile]

* feat(backend): removed userAgent from sessions and unstarted-sessions tables

* fix(DB): change path-analysis card size

---------

Co-authored-by: Delirium <nikita@openreplay.com>
Co-authored-by: Shekar Siri <sshekarsiri@gmail.com>
Co-authored-by: Alexander <zavorotynskiy@pm.me>

* refactor(chalice): cleaned code (#1699)

* feat(api): usability testing - added start_path to the resposne, remove count from the list

* feat(api): usability testing - test to have response count and live count

* feat(api): usability testing - test to have additional data

* Revert "refactor(chalice): cleaned code (#1699)" (#1702)

This reverts commit 83f2b0c12c.

* feat(api): usability testing - responses with total and other improvements

* change(api): vulnerability whitelist udpate

* feat(api): usability testing - create added missing columns, and sessions with user_id search

* feat(api): usability testing - update test with responseCount

* feat(api): usability testing - timestamps in unix

* feat(api): usability testing - request with proper case change

* feat(api): usability testing - task.description nullable

* feat(api): usability testing - check deleted status

* Api v1.16.0 (#1707)

* fix(chalice): fixed search sessions

* fix(chalice): fixed search sessions
* refactor(chalice): upgraded dependencies
* refactor(crons): upgraded dependencies
* refactor(alerts): upgraded dependencies

* Api v1.16.0 (#1712)

* feat(DB): user-testing support

* feat(chalice): user testing support

* feat(chalice): support utxVideo (#1726)

* feat(chalice): changed bucket name for ux testing webcamera videos

---------

Co-authored-by: Shekar Siri <sshekarsiri@gmail.com>
Co-authored-by: Delirium <nikita@openreplay.com>
Co-authored-by: Alexander <zavorotynskiy@pm.me>
2023-12-05 12:19:30 +01:00
Amirouche BOUBEKKI
93ae5e8c65 fix(api): fallback to raw value 2023-12-04 18:38:27 +01:00
Shekar Siri
401787efcb fix(api): usability tests - tasks stats sort 2023-12-04 16:58:08 +01:00
Shekar Siri
606373a448 fix(api): tests live count 2023-12-01 18:59:33 +01:00
Shekar Siri
3d10d0836f fix(api): tests live count 2023-12-01 17:48:34 +01:00
Amirouche BOUBEKKI
a85bf399b6 fix(jira): cast pydantic url to string. 2023-12-01 17:05:24 +01:00
Amirouche BOUBEKKI
ac78f4a7ee fix(integrations): remove any trailing slash in url. 2023-12-01 16:53:57 +01:00
Amirouche BOUBEKKI
9d3af5d777 fix(integrations): jira: cast url to string. 2023-12-01 16:44:54 +01:00
ⵄⵎⵉⵔⵓⵛ ⴰⵎⴰⵣⵉⵖ
41c7560739 fix(api): reduce the number of connection used by pgpool.
There should be no use of much more than two pgconnection per worker,
even in the case where there is "some" asynchronous code interleaved
between synchronous code. The new async code is using its own pg pool
that has max=four.

ref: See max_size at
https://www.psycopg.org/psycopg3/docs/api/pool.html#the-connectionpool-class
2023-11-30 18:08:03 +01:00
ⵄⵎⵉⵔⵓⵛ ⴰⵎⴰⵣⵉⵖ
5c4f1ea609 feat(api): use a different name for async psycopg connection. 2023-11-30 16:59:15 +01:00
Rajesh Rajendran
4c7f2edd57
Api v1.16.0 (#1730)
* feat(api): usability testing (#1686)

* feat(api): usability testing - wip

* feat(db): usabiity testing

* feat(api): usability testing - api

* feat(api): usability testing - api

* feat(api): usability testing - db change

* feat(api): usability testing - db change

* feat(api): usability testing - unit tests update

* feat(api): usability testing - test and tasks stats

* feat(api): usability testing - sessions list fix, return zeros if test id is not having signals

* Api v1.16.0 (#1698)

* feat: canvas support [assist] (#1641)

* feat(tracker/ui): start canvas support

* feat(tracker): slpeer -> peerjs for canvas streams

* fix(ui): fix agent canvas peer id

* fix(ui): fix agent canvas peer id

* fix(ui): fix peer removal

* feat(tracker): canvas recorder

* feat(tracker): canvas recorder

* feat(tracker): canvas recorder

* feat(tracker): canvas recorder

* feat(ui): canvas support for ui

* fix(tracker): fix falling tests

* feat(ui): replay canvas in video

* feat(ui): refactor video streaming to draw on canvas

* feat(ui): 10hz check for canvas replay

* feat(ui): fix for tests

* feat(ui): fix for tests

* feat(ui): fix for tests

* feat(ui): fix for tests cov

* feat(ui): mroe test coverage

* fix(ui): styling

* fix(tracker): support backend settings for canvas

* feat(ui): allow devtools to be resizeable (#1605)

* fix(ui): console redux tab null check

* Api v1.15.0 (#1689)

* fix(chalice): fix create alert with MS Teams notification channel
closes openreplay/openreplay#1677

* fix(chalice): fix MS Teams notifications
* refactor(chalice): enhanced MS Teams notifications
closes openreplay/openreplay#1681

(cherry picked from commit 265897f509)

* fix(ui): filter keys conflcit with metadata, path analysis 4 col

* fix(ui): clear the filers and series on card type change

* fix(player): fix msg reader bug

* fix(DB): fix CH wrong version (#1692)

(cherry picked from commit 48dbbb55db)

* fix(ui): filter keys conflcit with metadata

* fix(tracker): unique broadcast channel name

* fix(chalice): fixed delete cards (#1697)

(cherry picked from commit 92fedd310c)

* fix(tracker): add trycatch to ignore iframe errors

* feat(backend): added ARM arch support to backend services [Dockerfile]

* feat(backend): removed userAgent from sessions and unstarted-sessions tables

* fix(DB): change path-analysis card size

---------

Co-authored-by: Delirium <nikita@openreplay.com>
Co-authored-by: Shekar Siri <sshekarsiri@gmail.com>
Co-authored-by: Alexander <zavorotynskiy@pm.me>

* refactor(chalice): cleaned code (#1699)

* feat(api): usability testing - added start_path to the resposne, remove count from the list

* feat(api): usability testing - test to have response count and live count

* feat(api): usability testing - test to have additional data

* Revert "refactor(chalice): cleaned code (#1699)" (#1702)

This reverts commit 83f2b0c12c.

* feat(api): usability testing - responses with total and other improvements

* change(api): vulnerability whitelist udpate

* feat(api): usability testing - create added missing columns, and sessions with user_id search

* feat(api): usability testing - update test with responseCount

* feat(api): usability testing - timestamps in unix

* feat(api): usability testing - request with proper case change

* feat(api): usability testing - task.description nullable

* feat(api): usability testing - check deleted status

* Api v1.16.0 (#1707)

* fix(chalice): fixed search sessions

* fix(chalice): fixed search sessions
* refactor(chalice): upgraded dependencies
* refactor(crons): upgraded dependencies
* refactor(alerts): upgraded dependencies

* Api v1.16.0 (#1712)

* feat(DB): user-testing support

* feat(chalice): user testing support

* feat(chalice): support utxVideo (#1726)

* feat(chalice): changed bucket name for ux testing webcamera videos

---------

Co-authored-by: Shekar Siri <sshekarsiri@gmail.com>
Co-authored-by: Kraiem Taha Yassine <tahayk2@gmail.com>
Co-authored-by: Delirium <nikita@openreplay.com>
Co-authored-by: Alexander <zavorotynskiy@pm.me>
2023-11-30 10:53:31 +01:00
Kraiem Taha Yassine
c850c64564 fix(alerts): fixed batch-ms-teams notifications (#1720)
(cherry picked from commit 2e92314cda)
2023-11-28 14:46:21 +01:00
ⵄⵎⵉⵔⵓⵛ
71c74cd658
Chore/async api one (#1708)
* Async chalice.core.tenants:tenants_exists, and propagate

* rework after review

* typofix

* fix(chalice): small fixes

* fix(api): use a global variable to store singletong...

... that will not work if several POSIX threads are serving
from the same POSIX processus.

* fix(api): pass database argument as dictionary.

ref: https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING

* chore(api): ease debugging with simple return statement.

* NOTES++

---------

Co-authored-by: Taha Yassine Kraiem <tahayk2@gmail.com>
2023-11-27 15:58:02 +01:00
Amirouche BOUBEKKI
89c16e1f1e Revert "Chore(api): Async chalice.core.tenants:tenants_exists, and propagate. (#1695)"
This reverts commit 3e3d639362.
2023-11-24 14:59:28 +01:00
ⵄⵎⵉⵔⵓⵛ
3e3d639362
Chore(api): Async chalice.core.tenants:tenants_exists, and propagate. (#1695) 2023-11-24 14:27:28 +01:00
Kraiem Taha Yassine
94e571a4f0 Api v1.15.0 (#1689)
* fix(chalice): fix create alert with MS Teams notification channel
closes openreplay/openreplay#1677

* fix(chalice): fix MS Teams notifications
* refactor(chalice): enhanced MS Teams notifications
closes openreplay/openreplay#1681

(cherry picked from commit 265897f509)
2023-11-21 18:29:10 +01:00
Kraiem Taha Yassine
7178fabbca feat(chalice): canvas replay feature (#1684) 2023-11-20 16:15:12 +01:00
Kraiem Taha Yassine
3448275b51 Dev (#1683)
* feat(DB): support of canvas feature

* feat(chalice): canvas replay feature
2023-11-20 16:15:12 +01:00
Rajesh Rajendran
a9447d3506 refactor(sourcemapreader): renaming references #1676 (#1678) 2023-11-20 16:15:12 +01:00
Kraiem Taha Yassine
1865ec9095 Api v1.15.0 (#1674)
* fix(chalice): fixed edit MSTeams integration

* fix(chalice): fixed funnels wrong attributes

* fix(chalice): fixed funnels missing threshold

* fix(chalice): fixed alerts validation error

(cherry picked from commit b18e857667)
2023-11-20 16:15:12 +01:00
Kraiem Taha Yassine
612e41583e Api v1.15.0 (#1670)
* fix(chalice): fixed assist auto-complete
* fix(chalice): fixed exp-sessions without timezone

(cherry picked from commit e46df53ddc)
2023-11-20 16:15:12 +01:00
Kraiem Taha Yassine
7bef36dbf8
Api v1.15.0 (#1662)
* refactor(chalice): strict validation for names
2023-11-15 16:54:33 +01:00
Kraiem Taha Yassine
2cb786acc8
Api v1.15.0 (#1661)
* fix(chalice): fixed experimental sessions search for table of X

* refactor(chalice): upgraded dependencies
* refactor(alerts): upgraded dependencies
* refactor(crons): upgraded dependencies

* refactor(chalice): enhanced telemetry
2023-11-15 16:27:28 +01:00
Kraiem Taha Yassine
b548c4f2a5
Api v1.15.0 (#1648)
* fix(chalice): fixed path-analysis issues pagination issue
2023-11-10 17:48:58 +01:00
Kraiem Taha Yassine
7185ec5757
Api v1.15.0 (#1647)
* fix(chalice): fixed empty funnel in grid view
2023-11-10 17:37:02 +01:00
Kraiem Taha Yassine
3f2a6e2ab5
Api v1.15.0 (#1646)
* fix(chalice): fixed search sessions by specific issue without filters
2023-11-10 15:44:40 +01:00
Kraiem Taha Yassine
aeca1a59d3
Api v1.15.0 (#1645)
* feature(chalice): support exact issue search for PG

* feature(chalice): support exact issue search for CH
2023-11-10 15:26:12 +01:00
Kraiem Taha Yassine
308bec0155
Api v1.15.0 (#1644)
* fix(alerts): fixed alerts processor

* feature(chalice): support exact issue search for PG
2023-11-10 15:00:53 +01:00
Kraiem Taha Yassine
e9b52942ae
Api v1.15.0 (#1642)
* fix(chalice): fixed funnels
Fixes openreplay/openreplay#1599
2023-11-10 14:04:09 +01:00
Kraiem Taha Yassine
fa4b59ef94
Api v1.15.0 (#1638)
* fix(chalice): fixed path-analysis's density support

* fix(chalice): fixed path-analysis's sessions drill-down

* fix(chalice): path-analysis allow issues when no-path is selected

---------

Co-authored-by: Alexander <zavorotynskiy@pm.me>
Co-authored-by: Shekar Siri <sshekarsiri@gmail.com>
Co-authored-by: nick-delirium <nikita@openreplay.com>
2023-11-09 19:08:13 +01:00
Kraiem Taha Yassine
1d5e07080e
Api v1.15.0 (#1637)
* fix(chalice): fixed path-analysis's density support
2023-11-09 18:40:44 +01:00
Kraiem Taha Yassine
deb8f551c1
Api v1.15.0 (#1635)
* fix(chalice): fixed inter-card pagination
2023-11-09 18:28:36 +01:00
Kraiem Taha Yassine
f56ea86bd4
Api v1.15.0 (#1633)
* fix(chalice): fixed funnels
2023-11-09 16:08:10 +01:00
Kraiem Taha Yassine
8a370fc2ae
Api v1.15.0 (#1632)
* refactor(chalice): refactored logs
fix(chalice): fixed edit account
2023-11-08 18:45:01 +01:00
Kraiem Taha Yassine
6576d619e5
Api v1.15.0 (#1631)
* fix(chalice): fixed invalid instant JWT

---------

Co-authored-by: Alexander <zavorotynskiy@pm.me>
Co-authored-by: Shekar Siri <sshekarsiri@gmail.com>
Co-authored-by: nick-delirium <nikita@openreplay.com>
2023-11-08 18:11:42 +01:00
Kraiem Taha Yassine
2bb0f3e74f
Api v1.15.0 (#1629)
* fix(chalice): fixed add MSTeams
fix(chalice): fixed update MSTeams
fix(chalice): fixed add Slack
fix(chalice): fixed update Slack
* fix(chalice): removed mobs from ios replay
2023-11-08 16:44:52 +01:00
Kraiem Taha Yassine
aa48982c28
Api v1.15.0 (#1626)
* refactor(chalice): changed signup response
2023-11-07 18:39:06 +01:00
Kraiem Taha Yassine
a961775bc3
Api v1.15.0 (#1623)
* fix(chalice): fixed ios video URL
2023-11-07 17:26:54 +01:00
Kraiem Taha Yassine
1a553134d4
Api v1.15.0 (#1619)
* fix(chalice): fixed multi-signups
2023-11-07 15:15:08 +01:00
Kraiem Taha Yassine
dd2deadee5
Api v1.15.0 (#1617)
* refactor(chalice): enhanced delete member logic
2023-11-07 13:48:47 +01:00
Kraiem Taha Yassine
0682b62770
Api v1.15.0 (#1616)
* refactor(chalice): enhanced delete member logic
2023-11-07 13:39:15 +01:00
Kraiem Taha Yassine
a9f02e1044
Api v1.15.0 (#1615)
* fix(chalice): fixed restore user
* refactor(chalice): upgraded dependencies
* refactor(alerts): upgraded dependencies
* refactor(crons): upgraded dependencies
2023-11-07 11:27:54 +01:00
Rajesh Rajendran
e5c665f118
Remove empty . (#1611)
* refactor(efs-cleaner): Change alpine image to debian for coreutils

Logging deleted file

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>

* refactor(chalice): return connection string without empty .

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>

---------

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2023-11-06 16:55:37 +01:00
Kraiem Taha Yassine
b4d8e45e5d
Api v1.15.0 (#1610)
* refactor(chalice): refactored users code

* fix(chalice): fixed path analysis empty exclude support

* fix(chalice): fixed update notes
2023-11-03 22:04:37 +01:00
Kraiem Taha Yassine
8aad437f53
Api v1.15.0 (#1609)
* refactor(chalice): changed get account
* refactor(chalice): refactored users code
* fix(chalice): fixed path analysis empty exclude support
2023-11-03 21:34:50 +01:00
Kraiem Taha Yassine
dbb613c752
Api v1.15.0 (#1607)
* fix(chalice): fixed project's authorizer
* fix(chalice): fixed search session by request's duration
* fix(chalice): fixed search session by request's status code
* fix(chalice): fixed update modules
2023-11-03 20:14:52 +01:00