Commit graph

350 commits

Author SHA1 Message Date
rjshrjndrn
180ac3e466 chore(helm): Adding default log level for python svcs
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-09-02 16:54:06 +02:00
rjshrjndrn
27d40dbcc9 chore(init): show latest git commit
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-09-02 15:04:50 +02:00
rjshrjndrn
308f070b1d chore(helm): Adding spots bucket
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-09-02 14:50:54 +02:00
rjshrjndrn
3131f58afd fix(helm): db migrate
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-09-02 12:40:14 +02:00
rjshrjndrn
b66711219d fix(helm): db migrate check postgres
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-09-02 12:16:57 +02:00
rjshrjndrn
86b6f5de0a Updating version 2024-09-02 10:45:43 +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
Kraiem Taha Yassine
8c54a74f04
Dev (#2473)
* refactor(chalice): upgraded dependencies

* refactor(chalice): upgraded dependencies
feat(chalice): support heatmaps

* fix(chalice): fixed Math-operators validation
refactor(chalice): search for sessions that have events for heatmaps

* refactor(chalice): search for sessions that have at least 1 location event for heatmaps

* refactor(chalice): upgraded dependencies

* refactor(chalice): upgraded dependencies
feat(chalice): support heatmaps

* fix(chalice): fixed Math-operators validation
refactor(chalice): search for sessions that have events for heatmaps

* refactor(chalice): search for sessions that have at least 1 location event for heatmaps

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

* feat(chalice): get top 10 values for autocomplete CH

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

* feat(chalice): autocomplete return top 10 with stats

* fix(chalice): fixed autocomplete top 10 meta-filters

* refactor(DB): enhanced top-events caching

* feat(DB): support OR scope
feat(chalice): support OR scope
2024-08-08 17:15:51 +02:00
rjshrjndrn
859915107b chore(helm): Test postgres version is < 15, then exit
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-08-07 22:08:45 +02:00
rjshrjndrn
845ce44ddd chore(helm): Adding workload type label
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-08-07 22:08:45 +02:00
rjshrjndrn
ec67590472 helm: common labels 2024-08-06 13:30:11 +02:00
Mehdi Osman
d60cda3f0b Inject mobile bucket (#2432) 2024-07-26 00:32:34 +02:00
Mehdi Osman
fb802fde8a Added mobile and canvas related topics (#2424) 2024-07-25 10:33:07 +02:00
Shekar Siri
fb99e8e035
UI timeseries usercount (#2386)
* Patch/api v1.19.0 (#2383)

* fix(chalice): fixed create heatmap card EE

* fix(chalice): fixed click_rage-heatmap card EE

* fix(chalice): fixed click_rage-heatmap ambiguous alias EE

* Increment chalice chart version (#2384)

Co-authored-by: GitHub Action <action@github.com>

* feat(ui): new timeseries card for user count (users trend)

---------

Co-authored-by: Kraiem Taha Yassine <tahayk2@gmail.com>
Co-authored-by: Mehdi Osman <estradino@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
2024-07-12 16:16:27 +02:00
rjshrjndrn
6a7b55452a chore(crons): Adding generator for new cron jobs 2024-07-09 13:11:53 +02:00
rjshrjndrn
a9251a8c8a chore(hlem): hpa change to v2 2024-07-08 12:17:09 +02:00
rjshrjndrn
18e694d6e4 chore(helm): Use df -h for faster disk calculation
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-07-01 17:03:44 +02:00
rjshrjndrn
7242b25b32 chore(helm): Adding node affinity support to all k8s apps 2024-07-01 16:43:00 +02:00
rjshrjndrn
bb29b05fb8 Updating version 2024-07-01 16:43:00 +02:00
rjshrjndrn
22d1177eef chore(helm): Waiting for postgres to be up
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-06-13 13:15:04 +02:00
rjshrjndrn
60c27c7354 chore(dbops): Consider version with and without v
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-06-11 18:11:46 +02:00
rjshrjndrn
fb73dbc308 fix(helm): allow ingress class to be overriden
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-06-10 18:22:30 +02:00
rjshrjndrn
b802b94081 fix(migrate): Race condition on version check
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-06-04 18:59:20 +02:00
rjshrjndrn
15bcb90417 chore(install): Improved array splitting for kafka
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-05-28 12:03:39 +02:00
rjshrjndrn
c94c846f8b chore(helm): Adding connector chart
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-05-27 12:51:17 +02:00
rjshrjndrn
6781235838 chore(assist): Increasing websocket timeout
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-05-08 23:18:45 +02:00
Rajesh Rajendran
f44deab77b
actions: build patch for main branch (#2047)
* ci(actions): For GH patching

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

* ci(actions): Pushing the changed code to a new branch

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

* chore(ci): Skipping bulds for chalice and frontend arm builds

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

* ci(actions): Build msaas

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

* ci(actions): Removed unnecessary steps

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

* ci(actions): Proper name

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

* fix(ci): Sevice names

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

* ci(actions): Fixes

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

* actions: limit actor

* chore(release): Updated version to v1.18.0

* Enable AWS ecr auth

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

* fix(ci): fixes

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

* ci(patch): Update tag with main

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

* chore(ci): Remove debug job

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

---------

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-04-06 12:56:21 +02:00
rjshrjndrn
c8f4d9d060 chore(helm): Disable minio lifecycle by default
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-04-03 19:56:55 +02:00
rjshrjndrn
d9f88e049c chore(helm): new header for tracker
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-04-03 17:28:00 +02:00
rjshrjndrn
3d5c98c7a1 feat(helm): Ability to change the retention on hours
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-03-26 18:41:50 +01:00
rjshrjndrn
e84aac012e chore(helm): reducing default retention to 1day
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-03-26 15:50:59 +01:00
rjshrjndrn
aca0213fcf feat(helm): Override the tmp directory path 2024-03-26 15:50:27 +01:00
rjshrjndrn
1f1e4703c2 chore(helm): run cleanup every day with 2 days retention
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-03-19 16:47:34 +01:00
rjshrjndrn
6ab9199a62 feat(init): Provision to override build scripts
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-03-14 15:22:50 +01:00
Alexander
89752b2acc
Canvas archives (#1938)
* feat(api): added second pre-signed urls for canvases

* feat(api): fixed old key format

* feat(backend): draft version for new approach for canvases

* feat(deploy): fixed some issues

* feat(backend): debug logs for bash command

* feat(backend): removed wrong parameter from bash pipeline

* feat(backend): removed canvas-maker service + small refactoring
2024-03-11 17:51:49 +01:00
rjshrjndrn
e07b7b10bb fix(helm): minio init
For new minio, the command changed for setting access.

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-02-27 11:11:29 +01:00
Alexander
a073ce498d
No ffmpeg solution (#1905)
* feat(video-storage): added zstd library to the machine

* feat(video-storage): added new method to pack screenshots into compressed tar arch

* feat(video-storage): try to split command into 2

* feat(video-storage): try a new approad to avoid no file error

* feat(api): added support to a new pre-signed url for screenshots archive

* feat(video-storage): fixed an issue in extension check

* feat(video-storage): correct file name

* feat(backend): removed video-storage and splitted logic

* feat(backend): removed video-storage from helm charts

* feat(backend): split canvas and screenshot handlers

* feat(canvas): clean up canvas-handler

* feat(api): changed mobile replay url (screenshots instead of video)

* feat(backend): removed msg.SessID() call

* feat(backend): clean up code in imagestorage main
2024-02-26 14:16:43 +01:00
rjshrjndrn
21cd4de97d refactor(helm): update deprecated value
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-02-02 18:24:01 +01:00
rjshrjndrn
6ea974d102 release: version updater 2024-01-22 16:47:53 +01:00
Alexander
68a87b2743
Video replay pipeline split (#1848)
* feat(backend): split

* feat(docker): added ffmpeg to canvas-maker service
2024-01-22 09:25:58 +01:00
rjshrjndrn
7c550437b4 fix(helm): respect external proxy variable for assets rewrite 2023-12-05 13:27:44 +01:00
rjshrjndrn
07a9a7e4e8 chore(helm): removing assist-stats test connection 2023-12-05 10:50:48 +01:00
rjshrjndrn
ecc47d2a7d feat(helm): template assist-stats only for ee
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2023-12-05 10:49:09 +01:00
Amirouche BOUBEKKI
5323901a12 Revert "chore(helm): enabling assist-stats only for ee"
This reverts commit 12be718a69.
2023-12-05 10:07:50 +01:00
rjshrjndrn
12be718a69 chore(helm): enabling assist-stats only for ee
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2023-12-04 18:13:36 +01:00
Shekar Siri
1a59f996e4 change(crons): added new cron for assist stats 2023-12-04 12:59:43 +01:00
Shekar Siri
a8855563b9 change(crons): added new cron for assist stats 2023-12-04 12:57:49 +01:00
rjshrjndrn
151151e008 chore(helm): update version 2023-11-29 17:18:17 +01:00
Alexander
4f055dbfa7 feat(backend): added uxtesting-recording to ingress path rules 2023-11-28 17:04:33 +01:00
Alexander
c605d857b5 feat(backend): try to use different s3_endpoint in http service 2023-11-28 11:44:22 +01:00