Commit graph

150 commits

Author SHA1 Message Date
Alexander
e0cd1994fd feat(assist): correct 'empty list error' handler 2025-05-13 17:23:53 +02:00
Alexander
27f3ec5585 feat(assist): redis consumer fix 2025-05-13 16:48:37 +02:00
Alexander
6c44970666 feat(assist): event insertion 2025-05-13 16:40:46 +02:00
Alexander
3177ac7229 feat(backend): upgrade redis lib to v9 2025-05-13 16:36:31 +02:00
Alexander
985ce2812c feat(assist-api): added correct handlers for 403 and 404 on getByID 2025-04-18 16:24:00 +02:00
Alexander
fd39e03fd1 feat(assist-api): hack for our best client 2025-04-18 15:34:25 +02:00
Alexander
27ed4ee6b4 feat(assist-api): moved some vars to env 2025-04-18 15:33:01 +02:00
Alexander
a7b91ddcad feat(assist-api): fixed total and counter calculation 2025-04-18 15:33:01 +02:00
Alexander
a4a5ce6498 feat(assist-api): ignore request's body for isLive and getByID 2025-04-18 15:33:01 +02:00
Alexander
7836153fca feat(assist-api): more optimised search method 2025-04-18 15:33:01 +02:00
Alexander
2e85fc953a feat(assist-api): correct response format for getByID 2025-04-18 15:33:01 +02:00
Alexander
ab1b5c19ec feat(assist-api): correct response format for autocomplete 2025-04-18 15:33:01 +02:00
Alexander
5708aa4b39 feat(assist-api): send parsed session's data to chalice 2025-04-18 15:33:01 +02:00
Alexander
fee79521a1 feat(assist-api): added data field to response 2025-04-18 15:33:01 +02:00
Alexander
25adc0410d feat(assist-api): added counter support 2025-04-18 15:33:00 +02:00
Alexander
1f411662c0 feat(assist-api): correctly handle empty filters 2025-04-18 15:33:00 +02:00
Alexander
bcb3b407e8 feat(assist-api): adapted body request parser to current chalice worker schema 2025-04-18 15:33:00 +02:00
Alexander
f25575a0a8 feat(assist-api): body req debug logs 2025-04-18 15:33:00 +02:00
Alexander
4cc30cdcea feat(assist-api): extra debug logs 2025-04-18 15:33:00 +02:00
Alexander
3ef71f5044 feat(assist-api): fixed the http method 2025-04-18 15:33:00 +02:00
Alexander
72acf77a1b feat(assist-api): removed jwt auth and added assistKey support 2025-04-18 15:33:00 +02:00
Alexander
70a10ea1d6 feat(assist-api): extra debug logs 2025-04-18 15:33:00 +02:00
Alexander
b7d2d9d77a Revert "feat(assist-api): no comments"
This reverts commit bd1c4bcdea22a5099a7f5ffb246fdec0bbd6576a.
2025-04-18 15:33:00 +02:00
Alexander
28cb2ba74c feat(assist-api): no comments 2025-04-18 15:33:00 +02:00
Alexander
8280c8754c feat(assist-api): fixed an possible panic 2025-04-18 15:33:00 +02:00
Alexander
96f58b94d5 feat(assist-api): added the golang part 2025-04-18 15:33:00 +02:00
Alexander
e04c2aa251 feat(ender): handle the negative duration sessions 2025-03-24 10:02:42 +01:00
Alexander
23820b7ea5
feat(ender): grab all sessions per tick (#3163) 2025-03-14 17:16:56 +01:00
Alexander
160b5ac2c8 feat(metrics): moved back the metrics endpoint to support the undocumented functionality 2025-03-13 13:34:23 +01:00
Alexander
8acee7d357 feat(connector): fixed several release bugs 2025-03-13 12:28:23 +01:00
Alexander
3b3e95a413
Observability upgrade (#3146)
* feat(metrics): grand update

* feat(metrics): fixed missing part in ee tracer

* feat(assets): added missing arg

* feat(metrics): fixed naming problems
2025-03-13 08:09:29 +01:00
Alexander
c83dec7774 feat(connector): fix the s3 upload method's signature 2025-01-28 14:39:10 +01:00
Alexander
2b05bb59af feat(http): added missing responser to the conditions module 2025-01-28 14:35:09 +01:00
Alexander
14d64256a9 feat(azure): added the missing func argument 2025-01-28 11:47:59 +01:00
Alexander
b4d2e685de feat(azure): added the content encoding support 2025-01-27 15:41:25 +01:00
Alexander
dab822e772 feat(spot): added missing imports 2024-12-10 17:55:38 +01:00
Alexander
ec53099eb0 feat(spot): removed old code 2024-12-10 17:48:44 +01:00
Alexander
9b75e4502f
ClickHouse support (#2830)
* feat(db): added CH support to db service

* feat(db): removed license check for CH client

* feat(db): removed fts integration

* feat(clickhouse): added config instead of direct env parsing

* feat(clickhouse): removed prev extraHandlers

* feat(clickhouse): an unified approach for data insertion to dbs

* feat(clickhouse): removed unused imports
2024-12-10 12:41:52 +01:00
Alexander
6830c8879f
web module refactoring (#2725)
* feat(server): moved an http server object into a pkg subdir to be reusable for http, spots, and integrations

* feat(web): isolated web module (server, router, middleware, utils) used in spots and new integrations

* feat(web): removed possible panic

* feat(web): split all handlers from http service into different packages for better management.

* feat(web): changed router's method signature

* feat(web): added missing handlers interface

* feat(web): added health middleware to remove unnecessary checks

* feat(web): customizable middleware set for web servers

* feat(web): simplified the handler's structure

* feat(web): created an unified server.Run method for all web services (http, spot, integrations)

* feat(web): fixed a json size limit issue

* feat(web): removed Keys and PG connection from router

* feat(web): simplified integration's main file

* feat(web): simplified spot's main file

* feat(web): simplified http's main file (builder)

* feat(web): refactored audit trail functionality

* feat(web): added ee version of audit trail

* feat(web): added ee version of conditions module

* feat(web): moved ee version of some web session structs

* feat(web): new format of web metrics

* feat(web): added new web metrics to all handlers

* feat(web): added justExpired feature to web ingest handler

* feat(web): added small integrations improvements
2024-11-21 17:48:04 +01:00
Alexander
9bf79f78f6 feat(backend): added latest fixes for CH connector 2024-10-30 15:54:53 +01:00
Alexander
a17796e811 feat(backend): removed insert operations for session's resources 2024-10-30 13:46:13 +01:00
Alexander
99af6ce45f feat(spot): added tenant select for public key check in ee version 2024-09-11 09:57:31 +02:00
Alexander
47c33655de feat(spot): added spot jwt support to authorizer in ee version 2024-09-11 09:26:50 +02:00
Alexander
de691e0f8d feat(spot): added correct methods filter for api tracer 2024-09-11 09:18:58 +02:00
Alexander
345f316b27
Spots (#2305)
* feat(spot): first version to test http endpoints

* fix(helm): changed nginx path prefix

* fix(spots): added missing BUCKET_NAME env var

* fix(spots): added services init check

* feat(spots): removed geo module

* feat(spots): removed uaparser

* feat(spots): added more detailed authorization error log

* feat(spots): changed the authorization middleware

* feat(spots): extended http body size limit to 128kb

* feat(spots): added s3 error log

* feat(spots): added new handler for uploaded event

* feat(backend): small api changes in spot service

* feat(backend): rewrote request parameters grabber for getSpot handler

* feat(backend): added tenantID to auth struct

* feat(backend): added pre-signed download urls for preview, mob et video files

* feat(backend): added user's email to spots table, and getSpot responses

* feat(backend): returning spotID as a string

* feat(spot): added transcoder pipeline

* fix(spot): return spotID as a string

* feat(spot): added volume mount to spot service

* feat(spot): fixed volume mounting

* feat(spot): helm fix

* feat(spot): helm another fix

* fix(spot): correct video.webm path

* fix(spot): correct pre-signed url for download original video

* feat(spot): added PATCH and DELETE methods to CORS

* feat(spot): use string format for spotIDs in delete method

* feat(spot): added public key implemented

* fix(spot): correct public-key parser

* fix(spot): fixed query params issue + user's tenantID

* fix(spot): use 1 as a default tenant

* feat(spot): added correct total spots calculation

* fix(spot): fixed offset calculation

* feat(spot): added extra check in auth method

* fix(spot): removed / from video file name

* fix(spot): devided codec flag into 2 parts

* feat(spot): use fixed tenantID = 1 for oss users

* feat(spot): return 404 for public key not found issue

* feat(spots): added spots folder to minio path rule

* feat(spot): added spot video streaming support

* fix(spot): fixed an sql request for spot streams

* feat(spot): return playlist file in getSpot responce

* feat(spot): try to use aac audio codec

* feat(spot): added permissions support (oss/ee)

* feat(spot): added authorizer method

* feat(spot): added license check

* feat(spot): added spot preview for get response

* fix(spot): fixed a problem with permissions

* feat(spot): added crop feature

* feat(spot): upload cropped video back to s3

* feat(spot): manage expired modified playlist file

* feat(backend): hack with video formats

* feat(backend): removed space

* feat(spot): req tracing

* feat(spot): manual method's name mapping

* feat(spot): added a second method to public key auth support

* feat(spot): metrics

* feat(spot): added rate limiter per user

* feat(spot): added ping endpoint for spot jwt token check

* feat(spot): getStatus endpoint

* feat(spot): added missing import

* feat(spot): transcoding issue fix

* feat(spot): temp remove tasks

* feat(spot): better error log message

* feat(spot): set default jwt_secret value

* feat(spot): debug auth

* feat(spot): 2 diff jwt tokens support

* feat(spot): pg tasks with process status

* feat(spot): more logs

* feat(spot): improved defer for GetTask method

* feat(spot): keep only failed tasks

* feat(spot): removing temp dir with spot files

* feat(spot): added several workers for transcoding module

* feat(spot): fixed spot path for temp video files

* feat(spot): use custom statusWriter to track response code in middleware

* feat(spot): added body and parameter parser for auditrail feature

* feat(spot): fixed IsAuth method signature

* feat(spot): fixed ee service builder

* feat(spot): added import

* feat(spot): fix data type for payload and parameters jsonb fields

* feat(spot): typo fix

* feat(spot): moved out consts

* feat(spot): new table's name

* feat(spot): added missing imports in go.mod

* feat(spot): added a check for the number of comments (20 by default)
2024-08-29 16:08:33 +02:00
Alexander
b3d04d76d4
Heatmaps fix (float coordinates) (#2403)
* feat(spot): use float click coordinates instead of ints in PG

* feat(db): added support for float clicks in CH

* feat(db): fix float instead of uint8

* feat(mobile): new naming for mobile autocomplete types
2024-07-18 12:32:44 +02:00
Alexander
dfe527b412 feat(backend): added missing imports 2024-07-05 16:27:27 +02:00
Alexander
75eb6924c1 feat(connector): added s3 batches support for CH connector 2024-07-05 16:16:02 +02:00
Alexander
c6c46c6486 fix(backend): fixed naming issue in CH connector 2024-07-03 16:48:13 +02:00
Alexander
b9dc87884c fix(backend): fixed an empty url_path for request events in CH 2024-07-03 16:40:44 +02:00