Commit graph

594 commits

Author SHA1 Message Date
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
59f16f343c fix(build): wrong shell
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-07-01 13:33:22 +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
3aeea9a3b0 chore(tmux): dont close the pane
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-06-03 17:20:38 +02:00
rjshrjndrn
6c483ce01a fix(build): Parallel build
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-06-03 16:34:40 +02:00
rjshrjndrn
1ae48fa722 chore(build): Update build parallel script
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-05-30 11:09:51 +02:00
rjshrjndrn
aff49b5390 fix(cli): version patch
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-05-28 17:04:20 +02:00
rjshrjndrn
a6dab15a0d chore(cli): Unified version
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-05-28 15:56:47 +02:00
rjshrjndrn
b1fa7f1fd5 chore(helm): Proper commenting
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-05-28 15:46:57 +02:00
rjshrjndrn
95b8e9656f chore(helm): Proper commenting
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-05-28 15:43:39 +02:00
rjshrjndrn
775fa9944d chore(cli): After upgrade, patch the version
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-05-28 15:37:33 +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
490c12cc5d feat(install): Passing same tag for db upgrade
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-05-28 11:50:22 +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
a9f1743c0b chore(cli): Exposing OR backups systemwide
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-05-23 11:10:15 +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
rjshrjndrn
7e83cd0f2b fix(init): add domain name
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-03-14 12:24:24 +01:00
rjshrjndrn
494d215d66 fix(install): path for variable file
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-03-14 12:11:47 +01:00
rjshrjndrn
604317fc9e refactor(cli): installation script
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-03-14 11:16:11 +01:00
rjshrjndrn
415971b022 chore(cli): removing deprecated checks
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-03-13 12:22:09 +01:00
rjshrjndrn
29d40839f8 fix(vars): nginx ingress controller default listener LB
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-03-13 11:13:14 +01:00
rjshrjndrn
8c53804f45 fix(vars.yaml): Same accesskey for minio and s3, if using minio
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-03-13 10:47:45 +01:00
rjshrjndrn
b34e7bb100 feat(install): Stream line secret generation
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-03-12 18:37:19 +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
7b2e80d2a6 feat(cli): Get git version
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-03-05 11:36:55 +01:00
rjshrjndrn
006a4a0cdb feat(cli): override busybox from env
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-02-29 10:11:29 +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