Commit graph

139 commits

Author SHA1 Message Date
Kraiem Taha Yassine
5333862b94 fix(chalice): fixed wrong default logging level (#2589)
(cherry picked from commit 2ffec26d02)
2024-09-16 15:13:14 +01:00
Kraiem Taha Yassine
b9fc397e72
Dev (#2485)
* 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): get top 10 values for autocomplete CH

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

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

* fix(chalice): fixed predefined metrics
refactor(chalice): refactored schemas
refactor(chalice): refactored routers
refactor(chalice): refactored unprocessed sessions
2024-08-13 11:37:58 +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
Kraiem Taha Yassine
a9a89a479d
Dev (#2440)
* 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): spot login/logout/refresh

* feat(chalice): spot only allow authorized endpoints
feat(chalice): spot get Slack channels
2024-07-30 14:39:15 +02:00
Kraiem Taha Yassine
97df9b2b7c
Dev (#2430)
* 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

* refactor(chalice): refactored logger

* fix(chalice): fixed autocomplete top 10 meta-filters
2024-07-25 17:04:24 +02:00
Kraiem Taha Yassine
dd5ff6bad8
Dev (#2409)
* refactor(chalice): upgraded dependencies

* refactor(chalice): upgraded dependencies
feat(chalice): support heatmaps

* feat(chalice): support table-of-browsers showing user-count

* feat(chalice): support table-of-devices showing user-count

* feat(chalice): support table-of-URLs showing user-count

* 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

* feat(chalice): support table-of-browsers showing user-count

* feat(chalice): support table-of-devices showing user-count

* feat(chalice): support table-of-URLs showing user-count

* 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): refactored search sessions hooks

* refactor(DB): DB delta

* refactor(DB): DB delta

* refactor(DB): DB delta

* refactor(chalice): refactored schemas

* refactor(chalice): refactored schemas
refactor(chalice): cleaned scripts
feat(chalice): search sessions by CSS selector (PG)
2024-07-18 17:57:37 +02:00
Kraiem Taha Yassine
db059f2a1e
fix(chalice): fixed mouse_thrashing title (#2014) 2024-03-29 11:22:51 +01:00
Taha Yassine Kraiem
524394393c refactor(chalice): changed email_handler.py 2024-02-27 11:47:37 +01:00
Taha Yassine Kraiem
72e2900fb9 refactor(chalice): changed email_handler.py 2024-02-27 11:43:52 +01:00
Taha Yassine Kraiem
91016cf92d refactor(chalice): changed email_handler.py 2024-02-26 12:31:36 +01:00
hawbaker
531cf7499e use smtpilb send_message #1829 (#1830)
fixes blank messages due to encoding problem

(cherry picked from commit 1e4488ca4d)
2024-01-15 11:48:00 +01:00
ⵄⵎⵉⵔⵓⵛ ⴰⵎⴰⵣⵉⵖ
41c7560739 fix(api): reduce the number of connection used by pgpool.
There should be no use of much more than two pgconnection per worker,
even in the case where there is "some" asynchronous code interleaved
between synchronous code. The new async code is using its own pg pool
that has max=four.

ref: See max_size at
https://www.psycopg.org/psycopg3/docs/api/pool.html#the-connectionpool-class
2023-11-30 18:08:03 +01:00
Kraiem Taha Yassine
8a370fc2ae
Api v1.15.0 (#1632)
* refactor(chalice): refactored logs
fix(chalice): fixed edit account
2023-11-08 18:45:01 +01:00
Kraiem Taha Yassine
babaa34815
Api v1.15.0 (#1516)
* feat(chalice): upgraded dependencies

* feat(chalice): changed path analysis schema

* feat(DB): click coordinate support

* feat(chalice): changed path analysis issues schema
feat(chalice): upgraded dependencies

* fix(chalice): fixed pydantic issue

* refactor(chalice): refresh token validator

* feat(chalice): role restrictions

* feat(chalice): EE path analysis changes

* refactor(DB): changed creation queries
refactor(DB): changed delte queries
feat(DB): support new path analysis payload

* feat(chalice): save path analysis card

* feat(chalice): restrict access

* feat(chalice): restrict access

* feat(chalice): EE save new path analysis card

* refactor(chalice): path analysis

* feat(chalice): path analysis new query

* fix(chalice): configurable CH config

* fix(chalice): assist autocomplete

* refactor(chalice): refactored permissions

* refactor(chalice): changed log level

* refactor(chalice): upgraded dependencies

* refactor(chalice): changed path analysis query

* refactor(chalice): changed path analysis query

* refactor(chalice): upgraded dependencies
refactor(alerts): upgraded dependencies
refactor(crons): upgraded dependencies

* feat(chalice): path analysis ignore start point

* feat(chalice): path analysis in progress

* refactor(chalice): path analysis changed link sort

* refactor(chalice): path analysis changed link sort

* refactor(chalice): path analysis changed link sort

* refactor(chalice): path analysis new query
refactor(chalice): authorizers

* refactor(chalice): refactored authorizer

* fix(chalice): fixed create card of PathAnalysis

* refactor(chalice): compute link-percentage for Path Analysis

* refactor(chalice): remove null starting point from Path Analysis

* feat(chalice): path analysis CH query

* refactor(chalice): changed Path Analysis links-value
fix(chalice): fixed search notes for EE

* feat(chalice): path analysis enhanced query results

* feat(chalice): include timezone in search sessions response

* refactor(chalice): refactored logs

* refactor(chalice): refactored logs
feat(chalice): get path analysis issues
2023-10-13 18:16:03 +02:00
Kraiem Taha Yassine
065c139494
Api v1.14.0 (#1394)
* fix(chalice): cast note's session_id to string

* fix(chalice): cast all session_id to string

* fix(chalice): EE cast all session_id to string
2023-07-07 15:42:55 +02:00
Kraiem Taha Yassine
0e2a1d76da
Api v1.13.0 release (#1345)
* fix(chalice): fixed circular  import priority
fix(chalice): enabled SSO

* fix(chalice): fixed disabled routes
2023-06-14 15:03:28 +02:00
Kraiem Taha Yassine
de3976a27d
fix(chalice): check SMTP host:port (#1344)
fix(chalice): validate SMTP configuration
refactor(chalice): include Pipfile for similar dev-env
2023-06-14 13:21:22 +02:00
Kraiem Taha Yassine
6d15071cde
style(chalice): changed invite user email (#1329) 2023-06-09 16:52:08 +02:00
Kraiem Taha Yassine
810e24dc71
Api v1.13.0 (#1323)
* style(chalice): enhanced reset-password email

* fix(chalice): fixed mandatory AZURE_ACCOUNT_NAME issue
2023-06-09 11:48:41 +02:00
Alexander
111d6a1b54
Azure support (#1270)
* feat(backend): implemented azure blob storage support

* feat(backend): added azure implementation to backend services

* feat(backend): added azure blob storage support to chalice service

* fix(backend): removed prev version of s3

* feat(backend): moved azure support to ee subfolder

* feat(backend): prepared ee code for new utils.objects package

* feat(backend): added missed modules to go.mod

* feat(backend): added missed modules to go.sum

* feat(backend): go mod tidy

* feat(backend): temporary made s3 vars are not required

* feat(backend): added azure lib to ee chalice

* feat(api): changed azure env var name

* feat(api): added new object store and extra methods to chalice ee

* fix(api): added azure blob lib to alerts

* fix(api): fixed incorrect call in sessions_devtool

* fix(crons): added azure blob storage library to requirements list

* chore(build): Error message for not providing flag.

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

* feat(backend): removed ios headers and object store for ios messages

* feat(backend): object config refactoring

* chore(helm): Update BUCKET_NAME

* fix(backend): removed object storage usage in http

* feat(backend): added debug logs to azure upload method

* fix(backend): fixed empty folder issue

* fix(backend): removed extra debug log

* chore(helm): Adding global variables for crons

* chore(helm): Remove clickhouse resource limit

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

* fix(backend): removed assets debug log

* feat(api): use ABC class instead of empty interface

* feat(api): renamed helpers to generators

* feat(api): changed prep/clean dev scripts

* feat(api): changed name obj_store -> StorageClient

* feat(api): some changes after code review

* fix(api): removed unnecesery packages in oss api

* feat(backend): moved azure implementation to ee folder

---------

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
Co-authored-by: rjshrjndrn <rjshrjndrn@gmail.com>
2023-06-08 13:31:54 +02:00
Taha Yassine Kraiem
753d1cac11 feat(chalice): changed recordings response 2023-04-28 12:00:01 +02:00
Taha Yassine Kraiem
29de161eed feat(chalice): delete mob file X days after the tag's creation date 2023-04-17 15:00:30 +01:00
Taha Yassine Kraiem
7684798f85 feat(chalice): tag mob files for scheduled delete 2023-04-17 13:19:32 +01:00
Taha Yassine Kraiem
ce5afaf997 feat(chalice): add prefix to mob files scheduled for delete 2023-04-14 14:45:45 +01:00
Taha Yassine Kraiem
5a49f0e595 feat(chalice): refactored Jobs
feat(chalice): added limits on Jobs

(cherry picked from commit 585d893063)
2023-04-12 17:03:31 +01:00
Taha Yassine Kraiem
ba72dedd66 feat(chalice): configurable mobs expiration
(cherry picked from commit 5c0faea838)
2023-04-12 17:03:30 +01:00
Taha Yassine Kraiem
84fb33e266 feat(chalice): debugging jobs execution
(cherry picked from commit 4113ffaa3b)
2023-04-12 17:03:30 +01:00
Taha Yassine Kraiem
fd5bfd69e1 Merge remote-tracking branch 'origin/api-v1.11.0' into dev 2023-03-29 10:38:49 +01:00
Taha Yassine Kraiem
cb22ba7568 feat(chalice): changed health-check endpoint behaviour
feat(chalice): refactored code
2023-03-29 10:32:49 +01:00
Kraiem Taha Yassine
faa0683f9b
Merge pull request #1057 from dgrah50/add-chalice-verify-ssl-option
(feat): Chalice - Allow option to set ssl verification to false
2023-03-28 09:19:58 +01:00
Dayan Graham
8ed2ca7792 (feat): chalice - S3_DISABLE_SSL_VERIFY cast bool 2023-03-27 16:55:25 +00:00
Dayan Graham
516b90c5e1 (feat): Chalice - Allow option to set ssl verification to false for the Chalice API 2023-03-22 16:29:53 +00:00
Taha Yassine Kraiem
11af708520 feat(chalice): dynamic health-check endpoint 2023-03-14 15:00:18 +01:00
Shekar Siri
5aa45d6c2f
Merge pull request #1036 from openreplay/fix-login-check
changes from main branch
2023-03-14 11:10:51 +01:00
Taha Yassine Kraiem
1053e750db Merge branch 'v1.10.0-patch' into api-v1.11.0 2023-03-10 11:45:56 +01:00
Taha Yassine Kraiem
c4ae41b54d feat(chalice): enhanced helper functions 2023-03-10 11:45:33 +01:00
Taha Yassine Kraiem
8beae31889 feat(chalice): pg execute wrapper to handle all query failures 2023-03-09 18:02:46 +01:00
Taha Yassine Kraiem
e5cf98362e feat(chalice): fixed update alerts 2023-02-21 14:56:59 +01:00
Taha Yassine Kraiem
81b9a91760 feat(chalice): revert to generate_presigned_url for file upload 2023-02-15 12:14:04 +01:00
Taha Yassine Kraiem
cffc2df9f0 feat(chalice): unique project name
feat(chalice): unique webhook name
feat(chalice): unique metadata name
feat(chalice): unique role name
feat(chalice): unique Slack integration name
feat(chalice): unique MsTeams integration name
2023-02-06 16:12:56 +01:00
Taha Yassine Kraiem
880c34a6ab feat(chalice): changed smtp helper 2023-02-03 16:05:47 +01:00
Taha Yassine Kraiem
535bcf9274 feat(chalice): changed email handler logging level 2023-02-03 13:27:55 +01:00
Taha Yassine Kraiem
4315ac9f06 feat(chalice): obfuscate Github token after insert/update 2023-01-27 17:08:39 +01:00
Taha Yassine Kraiem
c692790a9e feat(chalice): errors_helper 2023-01-20 11:41:55 +01:00
Taha Yassine Kraiem
d2ad290aef Merge remote-tracking branch 'origin/dev' into api-v1.9.5 2023-01-05 17:30:58 +01:00
Samyek
b4181fb9a9 Fixed year update in alertNotifi inside footer 2023-01-02 17:53:01 +01:00
Taha Yassine Kraiem
ed0065b541 feat(chalice): heatMap click_rage status 2022-12-23 16:17:14 +01:00
Taha Yassine Kraiem
c7e87747bb feat(chalice): changed s3 persign
feat(chalice): added location events to clickmaps response
2022-12-16 17:55:12 +01:00
Taha Yassine Kraiem
116d35b3d8 feat(chalice): presign card's thumbnail for upload
feat(chalice): secure presign with conditions
feat(DB): added thumbnail_url to cards
feat(DB): removed cards unused columns
2022-12-15 18:32:05 +01:00
Taha Yassine Kraiem
8578550300 feat(chalice): changed custom metrics cards
feat(chalice): changed login
2022-12-12 13:49:04 +01:00