Commit graph

1238 commits

Author SHA1 Message Date
rjshrjndrn
187a69a61a fix(assist): ingress session id
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-25 11:26:40 +01:00
rjshrjndrn
2e96a072e9 chore(http): remove default token_string
scripts/helmcharts/openreplay/charts/http/scripts/entrypoint.sh

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-24 19:33:49 +01:00
rjshrjndrn
664f6b9014 feat(helm): add TOKEN_SECRET environment variable
Add TOKEN_SECRET environment variable to HTTP service deployment and
generate a random value for it in vars.yaml.

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-24 16:53:06 +01:00
Andrey Babushkin
a8e47e59ad
Update batch writer (#3198)
* fix(helm): add CORS config to Assist ingress

Configure CORS headers and debug session information for the Assist
service's ingress to ensure proper cross-origin requests handling and
improved debugging capabilities.

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

* add timestamp to prepare method

---------

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
Co-authored-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-24 12:42:05 +01:00
rjshrjndrn
e6eb41536d fix(helm): improve session routing and CORS handling
- Add http-snippet with map function to extract sessionID from peerId
- Update ingress annotations for Assist chart
- Add proper CORS headers to support cross-origin requests
- Remove debugging headers that were previously enabled

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-22 20:10:52 +01:00
rjshrjndrn
0e45fa53ad fix(helm): add CORS config to Assist ingress
Configure CORS headers and debug session information for the Assist
service's ingress to ensure proper cross-origin requests handling and
improved debugging capabilities.

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-21 16:06:41 +01:00
rjshrjndrn
d04e6686ca fix(helm): add CORS config to Assist ingress
Configure CORS headers and debug session information for the Assist
service's ingress to ensure proper cross-origin requests handling and
improved debugging capabilities.

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-21 15:50:15 +01:00
Taha Yassine Kraiem
3d448320bf refactor(DB): changed DB structure for product analytics 2025-03-20 17:13:17 +01:00
Taha Yassine Kraiem
988b396223 refactor(chalice): moved CH sessions-search to FOSS
refactor(DB): changed DB structures for CH sessions-search in FOSS
refactor(DB): preparing for v1.23.0
2025-03-20 17:13:17 +01:00
rjshrjndrn
8e68eb9a20 feat(assist): enhance WebSocket session persistence
Add session extraction from peerId parameter for better WebSocket
connection stability. This improves assist session routing by:

- Extracting sessionID from peerId parameter using regex
- Setting upstream hash-by to use the extracted session ID
- Adding debug headers to monitor session routing

TODO: Convert this to map

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-20 12:38:36 +01:00
Shekar Siri
605fa96a34
feat(auth): implement withCaptcha HOC for consistent reCAPTCHA (#3175)
* refactor(searchStore): reformat filterMap function parameters (#3166)

- Reformat the parameters of the filterMap function for better readability.
- Comment out the fetchSessions call in clearSearch method to avoid unnecessary session fetch.

* Increment frontend chart version (#3167)

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

* refactor(chalice): cleaned code
fix(chalice): fixed session-search-pg sortKey issue
fix(chalice): fixed CH-query-formatter to handle special chars
fix(chalice): fixed /ids response

* feat(auth): implement withCaptcha HOC for consistent reCAPTCHA

This commit refactors the reCAPTCHA implementation across the application
by introducing a Higher Order Component (withCaptcha) that encapsulates
captcha verification logic. The changes:

- Create a reusable withCaptcha HOC in withRecaptcha.tsx
- Refactor Login, ResetPasswordRequest, and CreatePassword components
- Extract SSOLogin into a separate component
- Improve error handling and user feedback
- Standardize loading and verification states across forms
- Make captcha implementation more maintainable and consistent

---------

Co-authored-by: Mehdi Osman <estradino@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Taha Yassine Kraiem <tahayk2@gmail.com>
2025-03-19 11:37:50 +01:00
Gabriele Angrisani
102f0c7b06 fix redis volume reference folder (#2805) 2025-03-14 15:34:11 +01:00
Laurenz Glück
8d57cc55a5 fix: updates docker-compose setup to be compatible with v1.21.0 2025-03-14 15:34:11 +01:00
Taha Yassine Kraiem
033ffcb7b9 refactor(DB): changed product_analytics.events to expose error_id
fix(chalice): fixed search events by error
2025-03-14 14:32:17 +01:00
Taha Yassine Kraiem
b0f3c50c0f refactor(DB): DB changes 2025-03-14 10:53:09 +01:00
rjshrjndrn
14d0a77a73 feat(chalice): add JWT expiration configuration
Add JWT_EXPIRATION environment variable to the chalice helm chart with
default value set to 86400 s (24 hours).
2025-03-13 17:00:23 +01:00
rjshrjndrn
0333c56d52 feat(clickhouse): Upgrade version
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-13 16:39:03 +01:00
rjshrjndrn
52d4abb61c fix(cli): download clickhouse
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-13 16:36:20 +01:00
rjshrjndrn
b0e7d3aa79 ci(make): download-cli
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-13 16:19:13 +01:00
rjshrjndrn
e9eea78283 ci(make): Upgrade installation
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-13 16:04:25 +01:00
rjshrjndrn
0f4c509582 ci(make): get version for chart
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-13 16:02:17 +01:00
rjshrjndrn
51e71a4d52 ci(make): pull the latest images
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-13 14:37:13 +01:00
rjshrjndrn
2c9e9576c5 ci(Makefile): clean installation
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-13 14:12:53 +01:00
rjshrjndrn
a62f6f6bb0 ci(build): remove peers
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-13 13:48:53 +01:00
rjshrjndrn
820b0954e7 ci(makefile): install test
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-13 11:13:38 +01:00
Taha Yassine Kraiem
45b8bdef8a fix(DB): fixed old-product-analytics wrong view_type 2025-03-11 13:13:39 +01:00
rjshrjndrn
28b580499f feat(helm): add configurable assets origin
Add a helper template to allow customizing the assets origin URL.
This gives users the ability to override the default S3 endpoint
construction when needed, while maintaining backward compatibility.
This can be used when try to use proxy the bucket like cloudfront or
some custom domain.

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-03-10 11:54:18 +01:00
Alexander
07ffb06db1 feat(images): renamed + small improvements 2025-03-07 11:22:55 +01:00
Alexander
4ebbfd3501 feat(canvases): improved performance 2025-03-06 14:12:49 +01:00
rjshrjndrn
1ec06d360e chore(helm): remove peers service 2025-02-27 10:38:15 +01:00
rjshrjndrn
346fd76ea8 chore(db): Update min CH version 2025-02-19 10:57:03 +01:00
Kraiem Taha Yassine
3ed8b3c27d
Dev (#3041)
* refactor(chalice): refactored code

* refactor(DB): changed delta

* refactor(chalice): product analytics log refactoring
2025-02-18 16:37:37 +01:00
rjshrjndrn
231a3ac330 docs(vars): keep the ep empty for iam auth.
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-02-18 13:21:58 +01:00
rjshrjndrn
b70effa904 chore(helm): remove clickhouse resource requests
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-02-18 13:21:58 +01:00
rjshrjndrn
7d31197c78 fix(helm): regression #3026
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-02-11 19:12:17 +01:00
rjshrjndrn
31290d7a89 feat(chalice): if iam role is using then the host variable should be empty
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-02-11 17:26:31 +01:00
rjshrjndrn
f7339c8954 fix(helm): handle empty s3 endpoint url
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-02-11 16:12:54 +01:00
Kraiem Taha Yassine
6579b6842b
Dev (#3023)
* fix(chalice): removed support for all type: webVitals/errors/performance/resources predefined card because UI is not showing them anymore

* refactor(chalice): changed all charts CH queries
2025-02-11 15:11:55 +01:00
Kraiem Taha Yassine
b09becdcb7
Dev (#3022)
* refactor(chalice): refactored code

* refactor(chalice): removed support for domainsErrors4xx & domainsErrors5xx predefined cards because UI is not showing them anymore
refactor(chalice): removed support of processed_sessions & count_requests predefined cards because UI is not showing them anymore

* fix(chalice): fixed table of errors CH

* fix(chalice): removed support for errorsPerDomains & errorsPerType predefined cards because UI is not showing them anymore

* fix(chalice): removed support for speedLocation predefined card because UI is not showing it anymore
2025-02-11 13:54:47 +01:00
Shekar Siri
3191843829 change(ui): highlights messages to be nullable 2025-02-10 12:21:31 +01:00
rjshrjndrn
0d68fcc428 fix(helm): check pg version
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-02-07 11:29:28 +01:00
rjshrjndrn
600eba27a1 fix(helm): varable value
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-02-05 14:51:36 +01:00
rjshrjndrn
7a8be69c85 chore(init): Update kubernetes to version 1.31
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-02-05 12:36:44 +01:00
rjshrjndrn
92c142ec33 chore(databases): Update postgresql to 17.2
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-02-05 12:36:44 +01:00
rjshrjndrn
8d878a3445 feat(helm): Database version bounds
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-02-05 12:36:44 +01:00
rjshrjndrn
e1b05dbd33 chore(helmcharts): Update database versions
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-02-05 12:36:44 +01:00
rjshrjndrn
0e5fe14dc2 chore(helm): make s3 external endpoint
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-02-04 18:45:20 +01:00
rjshrjndrn
1feb4bdc64 chore(helm): Adding secret with db secrets
Use all the db jobs with secret from this.

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-02-04 18:45:20 +01:00
rjshrjndrn
e72d492e66 fix(clikhouse): minimal cpu/mem for clickhouse
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-01-30 16:55:20 +01:00
rjshrjndrn
12472cf84c fix(cli): string interpolation
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
2025-01-30 16:46:19 +01:00