Commit graph

59 commits

Author SHA1 Message Date
dependabot[bot]
b7bd14a3aa
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:13 +02:00
Alexander
dbba413833 feat(node): upgraded npm packages 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
rjshrjndrn
ddeea33e70 fix(docker): remove hardcoded arch
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-06-04 19:36:39 +02:00
rjshrjndrn
663c7eb3a1 chore(build): Respect platform config 2024-06-04 19:36:30 +02:00
Alexander
45655a9608 feat(assist): count a search filters for full match results only 2024-05-27 15:02:53 +02:00
Alexander
24d15db93b
Assist counter for search filters (#2148)
* feat(assist): added filter's counter

* feat(assist): fixed panic
2024-04-29 15:37:24 +02:00
Kraiem Taha Yassine
2ca84c397f
refactore(sourcemaps-reader): changed logger (#2138)
refactore(sourcemaps-reader): upgraded dependency
refactore(sourcemaps-reader): changed dev script
2024-04-25 16:33:10 +02:00
Alexander
ed6e09ec6d feat(assist): new logs format 2024-03-28 12:28:04 +01:00
rjshrjndrn
068f29fc35 chore(build): Custom docker build env 2024-03-12 17:27:49 +01:00
Alexander
f2b40f4622 fix(assist): fixed broken assist stats 2024-02-13 13:48:47 +01:00
Alexander
938914be99 fix(assist): fixed broken assist call/remote control functionality 2024-02-13 12:17:24 +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
239ffb0e58 feat(assist): fixed sort order 2024-01-02 17:01:31 +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
e70430b8e8 feat(assist): added extra check for filters in assist search 2023-12-08 17:27:03 +01:00
Alexander
62f223d437 feat(assist): fixed wrong metrics import 2023-11-14 11:41:09 +01:00
Alexander
4ad57b0780 feat(node.js): upgraded docker image up to node:20-alpine 2023-11-14 11:18:01 +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
Alexander
ca97151e32 fix(backend): removed prometheus http calls from requests_total metric 2023-11-10 14:50:10 +01:00
Alexander
4dfcafc572
Assist metrics (#1627)
* feat(assist): added default metrics

* feat(assist): added assist_ label to easy metrics sort

* feat(assist): finished metrics template implementation (now available on /metrics)

* feat(assist): removed unnecessary _ symbol from app name

* feat(assist): integrated metrics to rest api and websockets handlers

* feat(assist): fixed wrong naming issue

* feat(assist): added connection type to some metrics

* feat(assist): added url route parser for metrics stats
2023-11-09 15:06:11 +01:00
Alexander
e8dea47e17
Assist performance improvements (#1604)
* feat(assist): removed unnecessary code in onConnect handler

* feat(assist): fixed onAny handler's filter to support a new update event

* feat(backend): moved out data structure updater from update handlers to the method

* feat(assist): fixed issue in onConnect handler

* feat(assist): try to disable prev changes

* feat(assist): use fetchSockets only once for onConnect handler

* feat(assist): fixed issue with agents updates after latest hotfix

* feat(assist): removed unnecessary fetchSessions call in onConnect handler

* feat(assist): avoid the second extractPeerID call
2023-11-03 10:36:53 +01:00
Alexander
6c8a589960 feat(backend): removed unnecessary commented code 2023-11-02 11:54:44 +01:00
Kraiem Taha Yassine
52d1d1baeb
Api v1.15.0 (#1602)
* refactor(assist): optimized assist
* refactor(assist): defined a server-update event
2023-11-01 22:31:33 +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
rjshrjndrn
c296bacbe7 refactor(build): clear tmp build directory
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2023-10-26 18:19:17 +02: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
Alexander Zavorotynskiy
3c8ca0c412 feat(assist): moved stats part to separate module 2023-10-17 14:55:42 +02:00
Alexander
87752e3207
Assist stats nodejs (#1509)
* feat(assist): added endpoint for call event

* feat(assist): added assist start/end event

* feat(assist): moved stats host to env variable
2023-10-09 17:43:24 +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
36aa45206c fix(assist): added meta header only for sessions from old tracker 2023-06-19 18:07:50 +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
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
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
2d1aa4c952 feat(assist): centralized getAvailableRooms 2023-04-06 10:45:14 +01:00
Taha Yassine Kraiem
d12be24879 feat(assist): upgrade dependencies 2023-04-05 13:54:51 +01:00
Taha Yassine Kraiem
75d8499147 Merge remote-tracking branch 'origin/api-v1.11.0' into dev
# Conflicts:
#	api/build.sh
#	api/build_alerts.sh
#	assist/build.sh
#	peers/build.sh
#	sourcemap-reader/build.sh
2023-03-28 09:45:35 +01:00
Rajesh Rajendran
efa0049607 feat(chalice): cherry pick build changes
feat(assist): cherry pick build changes
feat(alerts): cherry pick build changes
2023-03-28 09:40:55 +01:00