* chore(docker): Adding dynamic env generator
* ci(make): Create deployment yamls
* ci(make): Generating docker envs
* change env name structure
* proper env names
* chore(docker): clickhouse
* chore(docker-compose): generate env file format
* chore(docker-compose): Adding docker-compose
* chore(docker-compose): format make
* chore(docker-compose): Update version
* chore(docker-compose): adding new secrets
* ci(make): default target
* ci(Makefile): Update common protocol
* chore(docker-compose): refactor folder structure
* ci(make): rename to docker-envs
* feat(docker): add clickhouse volume definition
Add clickhouse persistent volume to the docker-compose configuration
to ensure data is preserved between container restarts.
* refactor: move env files to docker-envs directory
Updates all environment file references in docker-compose.yaml to use a
consistent directory structure, placing them under the docker-envs/
directory for better organization.
* fix(docker): rename imagestorage to images
The `imagestorage` service and related environment file
have been renamed to `images` for clarity and consistency.
This change reflects the service's purpose of handling
images.
* feat(docker): introduce docker-compose template
A new docker-compose template
to generate docker-compose files from a list of services.
The template uses helm syntax.
* fix: Properly set FILES variable in Makefile
The FILES variable was not being set correctly in the
Makefile due to subshell issues. This commit fixes the
variable assignment and ensures that the variable is
accessible in subsequent commands.
* feat: Refactor docker-compose template for local development
This commit introduces a complete overhaul of the
docker-compose template, switching from a helm-based
template to a native docker-compose.yml file. This
change simplifies local development and makes it easier
to manage the OpenReplay stack.
The new template includes services for:
- PostgreSQL
- ClickHouse
- Redis
- MinIO
- Nginx
- Caddy
It also includes migration jobs for setting up the
database and MinIO.
* fix(docker-compose): Add fallback empty environment
Add an empty environment to the docker-compose template to prevent
errors when the env_file is missing. This ensures that the
container can start even if the environment file is not present.
* feat(docker): Add domainname and aliases to services
This change adds the `domainname` and `aliases` attributes to each
service in the docker-compose.yaml file. This is to ensure that
the services can communicate with each other using their fully
qualified domain names. Also adds shared volume and empty
environment variables.
* update version
* chore(docker): don't pull parallel
* chore(docker-compose): proper pull
* chore(docker-compose): Update db service urls
* fix(docker-compose): clickhouse url
* chore(clickhouse): Adding clickhouse db migration
* chore(docker-compose): Adding clickhouse
* fix(tpl): variable injection
* chore(fix): compose tpl variable rendering
* chore(docker-compose): Allow override pg variable
* chore(helm): remove assist-server
* chore(helm): pg integrations
* chore(nginx): removed services
* chore(docker-compose): Mulitple aliases
* chore(docker-compose): Adding more env vars
* feat(install): Dynamically generate passwords
dynamic password generation by
identifying `change_me_*` entries in `common.env` and
replacing them with random passwords. This enhances
security and simplifies initial setup.
The changes include:
- Replacing hardcoded password replacements with a loop
that iterates through all `change_me_*` entries.
- Using `grep` to find all `change_me_*` tokens.
- Generating a random password for each token.
- Updating the `common.env` file with the generated
passwords.
* chore(docker-compose): disable clickhouse password
* fix(docker-compose): clickhouse-migration
* compose: chalice env
* chore(docker-compose): overlay vars
* chore(docker): Adding ch port
* chore(docker-compose): disable clickhouse password
* fix(docker-compose): migration name
* feat(docker): skip specific values
* chore(docker-compose): define namespace
---------
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
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>
* 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>
- 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>
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>
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 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>
* 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>
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>
* 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
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
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>
* 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