Commit graph

743 commits

Author SHA1 Message Date
rjshrjndrn
c692ff26b5 chore(cli): install k3s with cloudflare dns
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-01-17 16:46:35 +01:00
Alexander
471558fec5 feat(analytics): added helm chart 2024-12-24 12:55:24 +01:00
Alexander
c42391c3da feat(integrations): added missing env configuration for docker-compose and helm-chart 2024-12-17 15:06:05 +01:00
Kraiem Taha Yassine
aa8cebca7e
Dev (#2829)
* 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

* 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

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

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

* refactor(chalice): refactored db-drivers
refactor(scripts): defined ch-dataPort
2024-12-09 13:59:46 +01:00
Kraiem Taha Yassine
2f693cd490
Dev (#2819)
* 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

* 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

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

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

* refactor(chalice): removed sessions insights
refactor(DB): removed sessions insights

* refactor(chalice): upgraded dependencies
refactor(crons): upgraded dependencies
refactor(alerts): upgraded dependencies
feat(chalice): moved CH to FOSS
feat(chalice): use clickhouse-connect
feat(chalice): use CH connexion pool
feat(scripts): defined ch-data-port
2024-12-05 17:43:52 +01:00
rjshrjndrn
5dbe313a68 Squashed commit of the following:
fix(helm): password
    remove: debug
    chore(helm): change helm hook to post upgrde, since pre-upgrde triggered
    before install
    fix(helm): remove default ns
    fix(helm): template number
    chore(helm): change trigger preference
    fix(helm): variable
    revert: disabling clickhouse pwd rotation, as CH not used
    chore(helm): trigger password update only if passwords are rotated
    chore(helm): Adding snippet for postgres/clickhouse secret rotation

    Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-11-25 18:37:06 +01:00
rjshrjndrn
73db2c44d0 fix(helm): version change check
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-11-25 18:28:34 +01:00
rjshrjndrn
4f269ce4a0 chore(helm): Adding opereplay config map for
Installation agnostic version access. This is useful for db migration,
especially when we install using argo, or other means
precedence to the autogenereated prev version.
Set migration is true if its argo deployment
fix the forceMigration override
2024-11-25 18:28:34 +01:00
rjshrjndrn
7c8912933f chore(cli): proper cleanup
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-11-25 18:28:34 +01:00
rjshrjndrn
f6f2a14a18 chore(helm): check github availability before clone
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-11-25 18:28:34 +01:00
rjshrjndrn
6f18c1a301 chore(helm): precedence to the autogenereated prev version.
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-11-13 17:48:30 +01:00
rjshrjndrn
4df65c70ac chore(helm): Adding opereplay config map for
Installation agnostic version access. This is useful for db migration,
especially when we install using argo, or other means

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-11-13 17:48:30 +01:00
rjshrjndrn
c832457f5b chore(helm): Adding integrations jwt token
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-11-08 15:07:57 +01:00
Alexander
30a69893bb
New backend logs integrations (#2717)
* feat(integrations): new version of backend integrations

* feat(integrations): added ingress rule

* feat(integrations): fixed a port number

* feat(integrations): enabled ingress in values.yaml

* feat(integrations): added startup log

* feat(integrations): added extra logger for 3 of 4 backend logs integrations.

* feat(integrations): removed a logs loop call

* feat(integrations): fixed a table name

* feat(integrations): disabled extra logger

* feat(integrations): made extra logger as an option

* feat(integrations): changed contentType for logs file

* feat(integrations): bug fix

* feat(integrations): struct/string config support for datadog provider

* feat(integrations): map config support for datadog provider

* feat(integrations): removed unnecessary transformation

* feat(integrations): fixed datadog and sentry response format

* feat(integrations): added correct creds parser for sentry provider

* feat(integrations): removed unnecessary return statement

* feat(integrations): added correct creds parser for elastic search

* feat(integrations): changed elastic to elasticsearch

* feat(integrations): added correct creds parser for dynatrace

* feat(integrations): fixed an issue in query request for elasticsearch provider

* feat(integrations): made extra logger configurable by env var

* feat(integrations): removed debug logs
2024-10-31 15:28:38 +01:00
rjshrjndrn
b74650fcce chore(helm): Adding clickhouse check
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-10-30 19:36:32 +01:00
rjshrjndrn
fec728d450 feat(helm): Mandating postgres version
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-10-30 19:36:32 +01:00
rjshrjndrn
c90236e598 chore(helm): Update db images.
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-10-30 19:36:32 +01:00
rjshrjndrn
6834eb8d8d build(release): change version 2024-10-30 13:25:45 +01:00
rjshrjndrn
7c6409ee74 fix(cli): cleanup
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-10-28 14:25:44 +01:00
rjshrjndrn
f597750cf7 fix(cli): cleanup resolve anchors
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-10-28 14:09:43 +01:00
Chris Weaver
a70bb24a42 fix #2360 Check ping or Wget to confirm Github is up in job.yaml (#2631) 2024-10-03 16:42:31 +02:00
rjshrjndrn
3393c045f6 chore(build): Support for multi arch
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-09-24 16:47:18 +02:00
rjshrjndrn
0f65ff856a chore(helm): check github availability before clone
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-09-20 14:18:29 +02:00
Mehdi Osman
9db323a6bb
Increment frontend chart version (#2573)
Co-authored-by: GitHub Action <action@github.com>
2024-09-13 14:40:45 +02:00
Mehdi Osman
5e1d895ce6
Increment alerts chart version (#2571)
Co-authored-by: GitHub Action <action@github.com>
2024-09-12 23:00:41 +05:30
Mehdi Osman
b7698be2ae
Increment frontend chart version (#2570)
Co-authored-by: GitHub Action <action@github.com>
2024-09-12 18:11:15 +02:00
rjshrjndrn
453892588f chore(helm): Configure spots bucket name
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-09-12 21:03:56 +05:30
Mehdi Osman
38c2757d4a
Increment frontend chart version (#2568)
Co-authored-by: GitHub Action <action@github.com>
2024-09-12 15:59:13 +02:00
Mehdi Osman
d1dd18d1aa
Increment frontend chart version (#2565)
Co-authored-by: GitHub Action <action@github.com>
2024-09-12 14:12:16 +02:00
rjshrjndrn
0fa46bdb3c chore(helm): Urge users to upgrade to latest pg, even if 15 is supported
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-09-12 04:14:47 +02:00
rjshrjndrn
20c1578a76 chore(helm): proper error message
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-09-11 14:09:01 +02:00
rjshrjndrn
dd6b1a6c97 chore(helm): Removing deprecated variable
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-09-05 11:35:05 +02:00
rjshrjndrn
a79a280f96 chore(helm): Upgrade postgres image to 16.3.0
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-09-04 08:50:51 +02:00
rjshrjndrn
49a7390d38 chore(helm): failure logs
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-09-04 08:18:15 +02:00
Alexander
b732c94f0f feat(spot): use the same tokens as in chalice by default 2024-09-03 17:43:17 +02:00
rjshrjndrn
44e87c995b chore(helm): Use same image for all pg operations.
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-09-03 17:38:39 +02:00
rjshrjndrn
e7a0ca843f chore(cli): template newly create variables
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-09-03 17:24:56 +02:00
rjshrjndrn
c179b4f9b9 chore(cli): template newly create variables
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-09-03 17:08:44 +02:00
rjshrjndrn
1767918a8c fix(helm): pg version check
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-09-03 17:04:36 +02:00
Kraiem Taha Yassine
e59f14458f
Dev (#2530)
* 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

* 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

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

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

* refactor(chalice): changed JWT env-vars
refactor(deployment): changed JWT env-vars for chalice&http
2024-09-03 14:53:44 +02:00
rjshrjndrn
81238bb0a1 chore(init): enabling verbose logging
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-09-03 10:46:02 +02:00
rjshrjndrn
70e2d62de9 chore(helm): proper directory structure
fixes #2295

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-09-02 17:09:07 +02:00
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
0d9d7ef800 fix(install): proper OR sub directory
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-09-02 16:46:14 +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