Commit graph

49 commits

Author SHA1 Message Date
Alexander
ea8729dd93 feat(assist): upgraded assist version 2025-02-03 13:45:29 +01:00
Alexander
84f9c02802 feat(assist): upgraded uws library (ee) 2025-02-03 13:27:00 +01:00
Alexander
6ec7fe64a7 feat(assist): upgraded node version for docker 2025-02-03 10:16:50 +01:00
Alexander
68c5d986fe feat(assist): upgraded the express module version (vuln cause) 2025-02-03 09:56:46 +01:00
Alexander
700870f957 feat(assist): added a missing package to ee version 2024-12-31 14:01:15 +01:00
Alexander
dcad0798e8 feat(assist): removed an old logs approach (exception reason) 2024-12-31 12:29:59 +01:00
dependabot[bot]
914154404a
chore(deps): bump the npm_and_yarn group across 4 directories with 3 updates (#2662)
Bumps the npm_and_yarn group with 3 updates in the /assist directory: [cookie](https://github.com/jshttp/cookie), [express](https://github.com/expressjs/express) and [socket.io](https://github.com/socketio/socket.io).
Bumps the npm_and_yarn group with 3 updates in the /ee/assist directory: [cookie](https://github.com/jshttp/cookie), [express](https://github.com/expressjs/express) and [socket.io](https://github.com/socketio/socket.io).
Bumps the npm_and_yarn group with 2 updates in the /peers directory: [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express).
Bumps the npm_and_yarn group with 2 updates in the /sourcemapreader directory: [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express).


Updates `cookie` from 0.4.2 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.4.2...v0.7.1)

Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.0...4.21.1)

Updates `socket.io` from 4.7.5 to 4.8.0
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/socket.io@4.7.5...socket.io@4.8.0)

Updates `cookie` from 0.4.2 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.4.2...v0.7.1)

Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.0...4.21.1)

Updates `socket.io` from 4.7.5 to 4.8.0
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/socket.io@4.7.5...socket.io@4.8.0)

Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.4.2...v0.7.1)

Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.0...4.21.1)

Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.4.2...v0.7.1)

Updates `express` from 4.21.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.0...4.21.1)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: socket.io
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: cookie
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: socket.io
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: cookie
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: cookie
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-22 10:23:43 +02:00
Alexander
e95b18d00c feat(node): upgraded npm packages in ee 2024-09-12 22:18:07 +05:30
Alexander
519b04433d feat(assist): updated assist/peers npm packages 2024-07-03 11:45:31 +02:00
Alexander
1bde463877 feat(assist): fixed logger import issues 2024-05-28 10:21:05 +02:00
Alexander
ed6e09ec6d feat(assist): new logs format 2024-03-28 12:28:04 +01:00
Alexander
f2b40f4622 fix(assist): fixed broken assist stats 2024-02-13 13:48:47 +01:00
Alexander
a26b603945
Boost performance for one node assist mode (#1869)
* feat(assist): removed cache for solo-node assist mode

* feat(assist): try to fetch from global io object

* feat(assist): small changes

* feat(assist): added cache per request instead of cache per room

* feat(assist): fixed await call in global scope

* feat(assist): try to fix circular structure issue

* feat(assist): use preprocessor for sockets list

* feat(assist): check the theory about fetchSockets data set

* feat(assist): try to keep everything inside handshake.query object
2024-02-06 14:10:48 +01:00
Alexander
716dc6a2ff
Assist optimisation (#1802)
* feat(assist): removed legacy endpoints

* feat(assist): added in-memory cache

* feat(assist): fixed 'string, not object' issue

* feat(assist): reafactored socketsLiveBySession method

* feat(assist): rewrote autocomplete

* feat(assist): fixed issue with empty session

* feat(assist): removed copy/paste code

* feat(assist): added ee solo mode
2024-01-02 14:22:11 +01:00
Alexander
62f223d437 feat(assist): fixed wrong metrics import 2023-11-14 11:41:09 +01:00
Alexander
8c8e132e79
Assist clean up (#1654)
* feat(backend): moved http metrics into assist handlers file

* fix(assist): use correct value for requests_duration metric

* feat(assist): removed unnecessary imports

* fix(assist): fixed typo in repond method

* fix(assist): added metrics.js to clean script

* feat(assist): try to save http method asap in server logic

* feat(assist): final version

* feat(assist): removed prom-client from peers and sourcemap-reader

* feat(sourcemap-reader): added missing package-lock.json
2023-11-14 11:09:35 +01:00
Kraiem Taha Yassine
a3ff33394f
Api v1.15.0 (#1649)
* fix(assist): added missing dependency
fix(peers): added missing dependency
fix(sourcempas-reader): added missing dependency
2023-11-10 20:52:10 +01:00
Kraiem Taha Yassine
c95a5f4254
Api v1.15.0 (#1601)
* refactor(assist): cleaned code
* refactor(assist): enhanced get-live-session
2023-11-01 03:58:32 +01:00
Alexander
8162f9a957 feat(assist): moved stats part to ee and added auth token support 2023-10-31 11:12:22 +01:00
Alexander
69d0ab5a4e
Small assist refactoring (#1534)
* feat(assist): splitted socket methods in ee/websockets

* feat(assist): splitted socket methods in ee/websockets-cluster

* feat(assist): moved socket handlers to separate file

* feat(assist): changed the way how to get ws server

* feat(assist): use method to get io server instead of global object

* feat(assist): removed duplicated code from ee assists

* feat(assist): removed copy-paste http handlers

* feat(assist): added getServer call for some http handlers

* feat(assist): added creds=true to cors settings

* feat(backend): added debug log flag to assist stats
2023-10-26 14:32:45 +02:00
Alexander Zavorotynskiy
69ee313ce6 feat(assist): added stats part to ee assist 2023-10-17 15:05:03 +02:00
rjshrjndrn
be9527956a assist: Enable error logging
group connections with same peerId as error log.

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2023-10-16 13:43:23 +02:00
Kraiem Taha Yassine
57b4fa3066
Api v1.15.0 (#1465)
* feat(DB): rearranged queries
feat(DB): ready for v1.15.0

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

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

* fix(chalice): remove urllib3 dependency

* feat(chalice): remove FOSS to pydantic v2

* fix(chalice): freeze urllib3 to not have conflicts between boto3 and requests

* feat(chalice): refactoring schema in progress

* feat(chalice): refactoring schema in progress

* feat(chalice): refactoring schema in progress

* feat(chalice): refactoring schema in progress
feat(chalice): upgraded dependencies

* feat(chalice): refactored schema

* fix(chalice): pull rebase dev

* feat(DB): transfer size support

* feat(chalice): support service account

* feat(chalice): support service account

* fix(chalice): fixed refactored PayloadSchema-name

* feat(chalice): path analysis

* feat(DB): timezone support

* feat(chalice): upgraded dependencies
feat(alerts): upgraded dependencies
feat(crons): upgraded dependencies
feat(assist): upgraded dependencies
feat(sourcemaps): upgraded dependencies

* feat(chalice): path analysis schema changes

* feat(chalice): path analysis query change

* feat(chalice): path analysis query change

* feat(chalice): path analysis changes

* feat(chalice): upgraded dependencies

* feat(chalice): simple hide minor paths

* feat(chalice): path analysis density

* feat(chalice): support project's platform

* feat(chalice): upgraded dependencies
feat(chalice): path analysis specific event type for startPoint
feat(chalice): path analysis specific event type for endPoint
feat(chalice): path analysis specific event type for exclude

* refactoring(chalice): migrated the rest of schema to pydantic v2

* refactoring(chalice): upgraded dependencies
refactoring(alerts): upgraded dependencies
refactoring(crons): upgraded dependencies
refactoring(peers): upgraded dependencies
refactoring(assist): upgraded dependencies
refactoring(sourcemaps-reader): upgraded dependencies

* refactoring(chalice): upgraded dependencies
refactoring(alerts): upgraded dependencies
refactoring(crons): upgraded dependencies
refactoring(peers): upgraded dependencies
refactoring(assist): upgraded dependencies
refactoring(sourcemaps-reader): upgraded dependencies
2023-09-06 17:55:10 +01:00
Kraiem Taha Yassine
a34179365e
Api v1.15.0 (#1464)
* feat(DB): rearranged queries
feat(DB): ready for v1.15.0

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

* fix(chalice): return error when updating inexistant webhook

* feat(chalice): fixed delete webhook response

* feat(chalice): limit webhooks name length

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

* fix(chalice): remove urllib3 dependency

* feat(chalice): remove FOSS to pydantic v2

* fix(chalice): freeze urllib3 to not have conflicts between boto3 and requests

* feat(chalice): refactoring schema in progress

* feat(chalice): refactoring schema in progress

* feat(chalice): refactoring schema in progress

* feat(chalice): refactoring schema in progress
feat(chalice): upgraded dependencies

* feat(chalice): refactored schema

* fix(chalice): pull rebase dev

* feat(DB): transfer size support

* feat(chalice): support service account

* feat(chalice): support service account

* fix(chalice): fixed refactored PayloadSchema-name

* feat(chalice): path analysis

* feat(chalice): support service account 1/2

* feat(DB): timezone support

* feat(chalice): upgraded dependencies
feat(alerts): upgraded dependencies
feat(crons): upgraded dependencies
feat(assist): upgraded dependencies
feat(sourcemaps): upgraded dependencies

* feat(chalice): path analysis schema changes

* feat(chalice): path analysis query change

* feat(chalice): path analysis query change

* feat(chalice): ios replay support

* feat(chalice): ios replay support

* feat(chalice): path analysis changes

* feat(chalice): upgraded dependencies

* feat(chalice): simple hide minor paths

* feat(chalice): path analysis density

* feat(chalice): session's replay ios events

* feat(chalice): fixed typo

* feat(chalice): support project's platform

* feat(DB): support project's platform

* feat(chalice): path analysis EE in progress

* feat(chalice): project's platform API

* feat(chalice): fixed create project

* feat(chalice): EE path analysis in progress

* feat(chalice): EE path analysis
refactor(chalice): support specific database name for clickhouse-client

* feat(chalice): upgraded dependencies
feat(chalice): path analysis specific event type for startPoint
feat(chalice): path analysis specific event type for endPoint
feat(chalice): path analysis specific event type for exclude

* refactoring(chalice): changed IOS click event type
2023-09-06 17:06:33 +01:00
Alexander Zavorotynskiy
3b481232ac fix(assist): added checks for undefined variables 2023-06-20 09:18:22 +02:00
Alexander Zavorotynskiy
ca80f4071f fix(assist): fixed issue with agent back compatibility 2023-06-19 16:18:33 +02:00
Alexander Zavorotynskiy
5256615edc fix(assist): fixed issue with sessionUpdate event 2023-06-19 12:32:48 +02:00
Alexander Zavorotynskiy
378a44d9ed fix(assist): added missed method import in ws-cluster 2023-06-12 15:33:51 +02:00
Alexander
d8d4e0beeb
[Assist] added city and state support for geo extractor (#1314)
* feat(assist): added support for city and state extraction from GeoLite.db

* feat(assist): added new fields to base session info structure
2023-06-08 09:06:06 +02:00
Alexander Zavorotynskiy
816cd66eee fix(assist): removed debug logs 2023-06-07 17:10:04 +02:00
Delirium
2ed4bba33e
feat(tracker/ui): support for multi tab sessions (#1236)
* feat(tracker): add support for multi tab sessions

* feat(backend): added support of multitabs

* fix(backend): added support of deprecated batch meta message to pre-decoder

* fix(backend): fixed nil meta issue for TabData messages in sink

* feat(player): add tabmanager

* feat(player): basic tabchange event support

* feat(player): pick tabstate for console panel and timeline

* fix(player): only display tabs that are created

* feat(player): connect performance, xray and events to tab state

* feat(player): merge all tabs data for overview

* feat(backend/tracker): extract tabdata into separate message from batchmeta

* fix(tracker): fix new session check

* fix(backend): remove batchmetadeprecated

* fix(backend): fix switch case

* fix(player): fix for tab message size

* feat(tracker): check for active tabs with broadcast channel

* feat(tracker): prevent multiple messages

* fix(tracker): ignore beacons from same tab, only ask if token isnt present yet, add small delay before start to wait for answer

* feat(player): support new msg struct in assist player

* fix(player): fix some livepl components for multi tab states

* feat(tracker): add option to disable multitab

* feat(tracker): add multitab to assist plugin

* feat(player): back compat for tab id

* fix(ui): fix missing list in controls

* fix(ui): optional list update

* feat(ui): fix visuals for multitab; use window focus event for tabs

* fix(tracker): fix for dying tests (added tabid to writer, refactored other tests)

* feat(ui): update LivePlayerSubHeader.tsx to support tabs

* feat(backend): added tabs support to devtools mob files

* feat(ui): connect state to current tab properly

* feat(backend): added multitab support to assits

* feat(backend): removed data check in agent message

* feat(backend): debug on

* fix(backend): fixed typo in message broadcast

* feat(backend): fixed issue in connect method

* fix(assist): fixed typo

* feat(assist): added more debug logs

* feat(assist): removed one log

* feat(assist): more logs

* feat(assist): use query.peerId

* feat(assist): more logs

* feat(assist): fixed session update

* fix(assist): fixed getSessions

* fix(assist): fixed request_control broadcast

* fix(assist): fixed typo

* fix(assist): added missed line

* fix(assist): fix typo

* feat(tracker): multitab support for assist sessions

* fix(tracker): fix dead tests (tabid prop)

* fix(tracker): fix yaml

* fix(tracker): timers issue

* fix(ui): fix ui E2E tests with magic?

* feat(assist): multitabs support for ee version

* fix(assist): added missed method import

* fix(tracker): fix fix events in assist

* feat(assist): added back compatibility for sessions without tabId

* fix(assist): apply message's top layer structure before broadcast call

* fix(assist): added random tabID for prev version

* fix(assist): added random tabID for prev version (ee)

* feat(assist): added debug logs

* fix(assist): fix typo in sessions_agents_count method

* fix(assist): fixed more typos in copy-pastes

* fix(tracker): fix restart timings

* feat(backend): added tabIDs for some events

* feat(ui): add tab change event to the user steps bar

* Revert "feat(backend): added tabIDs for some events"

This reverts commit 1467ad7f9f.

* feat(ui): revert timeline and xray to grab events from all tabs

* fix(ui): fix typo

---------

Co-authored-by: Alexander Zavorotynskiy <zavorotynskiy@pm.me>
2023-06-07 10:40:32 +02:00
Kraiem Taha Yassine
7873bc3ff9 fix(assist): use production environment (#1285)
fix(peers): use production environment
fix(sourcemaps-reader): use production environment
2023-05-26 12:10:29 +02:00
Taha Yassine Kraiem
6e2545692d feat(assist): updated dependencies
feat(sourcemaps-reader): upgraded dependencies
2023-04-28 16:44:57 +02:00
Taha Yassine Kraiem
e381c8f59e feat(chalice): changed release version 2023-04-19 17:24:58 +01:00
Taha Yassine Kraiem
c64454ec94 feat(chalice): changed release version
feat(assist): changed release version
feat(peers): changed release version
feat(sourcemaps-reader): changed release version
feat(chalice): enhanced health-check
feat(DB): sessions_count table to keep status
2023-04-19 16:39:38 +01:00
Taha Yassine Kraiem
0f8c842c3e chore(build): changed github actions for chalice/alerts/crons
feat(assist): updated version
feat(peers): updated version
feat(sourcemaps-reader): updated version
feat(sourcemaps-reader): upgraded dependencies
2023-04-13 16:27:28 +01:00
Taha Yassine Kraiem
c2d23e8537 feat(assist): support compression
feat(assist): centralized getRooms logic
feat(DB): new issue type
2023-04-06 17:11:26 +01:00
Taha Yassine Kraiem
665518c83f feat(assist): CLIENT_CONTEXT_TAKEOVER support 2023-04-06 14:52:34 +01:00
Taha Yassine Kraiem
06b3195dab feat(assist): decompression support 2023-04-06 14:27:43 +01:00
Taha Yassine Kraiem
2eded0c84d feat(assist): debugging 2023-04-06 11:05:52 +01:00
Taha Yassine Kraiem
8602bac472 feat(assist): debugging 2023-04-06 10:57:39 +01:00
Taha Yassine Kraiem
2d1aa4c952 feat(assist): centralized getAvailableRooms 2023-04-06 10:45:14 +01:00
Taha Yassine Kraiem
dda653b3db feat(assist): uWS message compression support 2023-04-05 16:51:49 +01:00
Taha Yassine Kraiem
802be323df feat(assist): WS message compression support 2023-04-05 13:42:33 +01:00
Taha Yassine Kraiem
d6bbd76854 feat(assist): centralized health check
feat(assist): changed build
feat(peers): centralized health check
feat(peers): changed build
feat(sourcemaps-reader): centralized health check
feat(sourcemaps-reader): changed build
2023-03-27 16:11:41 +01:00
Taha Yassine Kraiem
c07474bdfa feat(chalice): health-check
feat(assist): health-check
feat(peers): health-check
feat(sourcemaps-reader): health-check
2023-03-13 17:02:11 +01:00
Taha Yassine Kraiem
1d7a5446cc feat(assist): accept maxHttpBufferSize as a float 2023-03-09 15:43:29 +01:00
Taha Yassine Kraiem
35b938238d feat(assist): upgraded sub-dependencies
feat(peers): upgraded sub-dependencies
feat(sourcemaps-reader): upgraded sub-dependencies
2023-03-07 15:01:32 +01:00
Taha Yassine Kraiem
e7791a36a3 feat(assist): refactored 2023-03-07 14:35:40 +01:00