Commit graph

1209 commits

Author SHA1 Message Date
rjshrjndrn
c832457f5b chore(helm): Adding integrations jwt token
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-11-08 15:07:57 +01:00
Kraiem Taha Yassine
d2697061e9
Dev (#2722)
* 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(DB): changed dashboard&metrics constraints

* refactor(chalice): removed cards
refactor(chalice): removed code related to resources
refactor(DB): removed cards
refactor(DB): removed code related to resources
2024-11-04 17:57:14 +01:00
Kraiem Taha Yassine
eaf762e1bd
Dev (#2719)
* 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(DB): added web_vitals to pages table

* refactor(DB): added session_integrations table
2024-10-31 16:23:52 +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
Kraiem Taha Yassine
d8642808d7
Dev (#2712)
* refactor(chalice): upgraded dependencies
refactor(alerts): upgraded dependencies
refactor(crons): upgraded dependencies
refactor(DB): v1.21.0 DB changes
2024-10-30 11:13:59 +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
Kraiem Taha Yassine
2253ac394d
Dev (#2562)
* 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

* fix(chalice): fixed table of fetch-users for EE

* fix(chalice): foss vs saas response discrepancy for table of referrers

* fix(DB): fixed scope_state delta
2024-09-11 18:12:41 +02:00
rjshrjndrn
20c1578a76 chore(helm): proper error message
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2024-09-11 14:09:01 +02:00
Alexander
840f133f73
SQL for Spot feature (#2513)
* feat(spot): added sql for spot feature

* feat(spot): added sql code to all related files

* feat(spot): added default value for created_at

* feat(spot): added spots schema

* feat(spot): applied a new spots schema to all sql requests
2024-09-05 15:57:39 +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
966f08e95d
Dev (#2531)
* 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(DB): rollback script
feat(DB): changed users.settings default value
2024-09-03 15:18:27 +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
Kraiem Taha Yassine
cbf389f6f9
Dev (#2526)
* 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 scope to scopeState with 0|1|2 values
2024-09-02 18:05:22 +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
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
Kraiem Taha Yassine
b618d47b38
Dev (#2472)
* 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

* fix(chalice): fixed Spot new refresh token
refactor(chalice): customizable-Spot-auth
2024-08-08 10:43:36 +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
Kraiem Taha Yassine
6f0794b196
Dev (#2469)
* 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

* feat(chalice): cache autocomplete-top-10 responses
feat(DB): support Spot login

* fix(chalice): fixed Spot new refresh token
2024-08-07 13:42:15 +02:00