0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 02:49:32 +01:00
Commit Graph

819 Commits

Author SHA1 Message Date
PostHog Bot
52b711c05b
chore(deps): Update posthog-js to 1.131.2 (#22175) 2024-05-08 04:41:48 -04:00
PostHog Bot
fbc08d8e4b
chore(deps): Update posthog-js to 1.131.1 (#22174) 2024-05-08 03:36:04 -04:00
PostHog Bot
13d2915ffe
chore(deps): Update posthog-js to 1.130.2 (#22028) 2024-05-02 06:47:29 -04:00
PostHog Bot
23e80d0108
chore(deps): Update posthog-js to 1.130.1 (#21921)
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
2024-04-29 13:36:06 +02:00
PostHog Bot
eabf1f093e
chore(deps): Update posthog-js to 1.130.0 (#21884) 2024-04-26 05:14:41 -04:00
PostHog Bot
7e2cfa284c
chore(deps): Update posthog-js to 1.129.0 (#21819) 2024-04-24 12:29:10 -04:00
David Newell
671b053665
chore: upgrade sentry dependency (#21801) 2024-04-24 14:00:11 +01:00
Michael Matloka
d7d03b5985
feat(insights): HogQL calculation of saved legacy insights v4 (#21781)
* Revert "revert(insights): HogQL calculation of saved legacy insights v3 (#21778)"

This reverts commit c0be1d1412.

* Move HogQL in insight serialization to its own flag
2024-04-24 13:39:43 +02:00
Marius Andra
c0be1d1412
revert(insights): HogQL calculation of saved legacy insights v3 (#21778)
Revert "fix(insights): HogQL calculation of saved legacy insights v3 (#21720)"

This reverts commit 3ffa9acd75.
2024-04-23 23:17:47 +02:00
Michael Matloka
3ffa9acd75
fix(insights): HogQL calculation of saved legacy insights v3 (#21720)
* Revert "revert(insights): HogQL calculation of saved legacy insights v2 (#21718)"

This reverts commit 2f019a39ec.

* Fix `CACHE_ONLY` in place of `CALCULATION_ONLY_IF_STALE`

* Make `ExecutionMode` naming unmistakable

* Reset UI snapshots

* Account for #21707's `apply_dashboard_filters` change

* Make `QueryRunner` generic
2024-04-23 16:50:56 +02:00
David Newell
907221067e
chore: upgrade rrweb (#21734) 2024-04-23 15:44:16 +01:00
Julian Bez
5c80885f8e
feat(lint): Add unused-imports eslint plugin (#21750) 2024-04-23 10:26:20 +00:00
Ben White
c0b34067de
feat: Heatmaps toolbar code (#21630) 2024-04-23 07:52:44 +00:00
PostHog Bot
df053ee116
chore(deps): Update posthog-js to 1.128.3 (#21733) 2024-04-22 13:29:54 -04:00
Michael Matloka
2f019a39ec
revert(insights): HogQL calculation of saved legacy insights v2 (#21718)
Revert "fix(insights): HogQL calculation of saved legacy insights v2 (#21595)"

This reverts commit 3e2d28f233.
2024-04-22 11:53:04 +02:00
PostHog Bot
8c8f7bdcfa
chore(deps): Update posthog-js to 1.128.2 (#21708) 2024-04-22 04:40:57 -04:00
Michael Matloka
3e2d28f233
fix(insights): HogQL calculation of saved legacy insights v2 (#21595)
* fix(insights): HogQL calculation of saved legacy insights v2

This reverts commit a6314c6bb7.

* Only use cached results in `process_query` for insight serializer

* Fix type of results

* Rename `RecalculationMode` to `ExecutionMode`

* Fix typing more

* Properly support dashboard filters

* Hacky fix for schema.py

* Don't test legacy `generate_insight_cache_key` with `query`

* Fix importing & typing

* Fix typo

* Update test_query_runner.py

* Account for property filter groups in dashboard filters

* Do return stale result in CACHE_ONLY case

* Fix `execute_hogql_query` espionage

Wow, this was a pain to figure out, only was an issue in CI, because the trigger was `TestCohort::test_creating_update_and_calculating_with_new_cohort_query` running prior to `TestInsight:: test_insight_refreshing_query` – had to use trial and error.

* Fix typing even more

* Don't require `pnpm` for `schema:build:python`

Matters in CI.

* Fix `schema:build:python`

* Fix sed usage

* Move `schema:build:python` to a bash script

* Validate cache properly

Clarifies the `cached_response.is_cached = True` situation.

* Fix Python formatting

* Update UI snapshots for `webkit` (2)

* Add test to ensure /query/ and /inisghts/ use the same cache

* Update mypy-baseline.txt

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-22 10:30:18 +02:00
Julian Bez
a0fc086175
chore(deps): Upgrade ruff (#21648) 2024-04-19 14:19:10 +02:00
David Newell
479cd88c45
chore: make skip inactivity more subtle (#21660) 2024-04-19 09:16:43 +01:00
PostHog Bot
a62f09def8
chore(deps): Update posthog-js to 1.128.1 (#21650) 2024-04-18 09:54:41 -04:00
PostHog Bot
4e4a7b741c
chore(deps): Update posthog-js to 1.128.0 (#21645) 2024-04-18 07:40:01 -04:00
PostHog Bot
28b530befe
chore(deps): Update posthog-js to 1.127.0 (#21643) 2024-04-18 07:20:10 -04:00
PostHog Bot
18b2350e99
chore(deps): Update posthog-js to 1.126.0 (#21597) 2024-04-17 05:59:05 -04:00
PostHog Bot
a1880230fb
chore(deps): Update posthog-js to 1.125.0 (#21578) 2024-04-16 10:35:41 -04:00
PostHog Bot
a4d9eee0b1
chore(deps): Update posthog-js to 1.123.1 (#21573) 2024-04-16 09:54:56 -04:00
PostHog Bot
1fb3644671
chore(deps): Update posthog-js to 1.123.0 (#21570) 2024-04-16 09:16:03 -04:00
PostHog Bot
08339f6494
chore(deps): Update posthog-js to 1.122.0 (#21548) 2024-04-15 15:05:58 -04:00
PostHog Bot
5872f120d2
chore(deps): Update posthog-js to 1.121.4 (#21536) 2024-04-15 06:39:32 -04:00
PostHog Bot
2f5f6acdc4
chore(deps): Update posthog-js to 1.121.3 (#21532) 2024-04-15 04:57:11 -04:00
PostHog Bot
9e14771c4a
chore(deps): Update posthog-js to 1.121.2 (#21516) 2024-04-12 10:25:27 -04:00
PostHog Bot
f8c388bd97
chore(deps): Update posthog-js to 1.121.0 (#21464)
* chore(deps): Update posthog-js to 1.121.0

* Remove __preview_ prefix

---------

Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
Co-authored-by: Robbie <robbie.coomber@gmail.com>
2024-04-10 11:59:11 +00:00
PostHog Bot
5c4abdd8de
chore(deps): Update posthog-js to 1.120.5 (#21457) 2024-04-10 04:54:53 -04:00
PostHog Bot
4190c04fef
chore(deps): Update posthog-js to 1.120.4 (#21451) 2024-04-09 16:40:22 -04:00
PostHog Bot
d1d350f003
chore(deps): Update posthog-js to 1.120.3 (#21429) 2024-04-09 06:24:54 -04:00
Michael Matloka
909e7a9664
feat(support): Add quick "login as relevant customer" for staff users (#21408)
* feat(support): Add quick "login as relevant customer" for staff users

* Add tests for `Team.all_user_with_access_ids`

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Move `tailwind-merge` to prod deps

* Add padding to `NotFound`

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Satisfy mypy

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-08 17:57:26 +02:00
PostHog Bot
587044315e
chore(deps): Update posthog-js to 1.120.1 (#21405) 2024-04-08 10:09:09 -04:00
PostHog Bot
c3cf2ab9b7
chore(deps): Update posthog-js to 1.120.0 (#21398) 2024-04-08 07:20:59 -04:00
David Newell
4b1c253759
chore: upgrade rrweb for playback (#21368) 2024-04-08 11:37:09 +01:00
PostHog Bot
1c37884a23
chore(deps): Update posthog-js to 1.119.2 (#21397) 2024-04-08 06:35:45 -04:00
PostHog Bot
21543ed5c8
chore(deps): Update posthog-js to 1.119.1 (#21395) 2024-04-08 06:07:11 -04:00
PostHog Bot
487fb612ed
chore(deps): Update posthog-js to 1.119.0 (#21387) 2024-04-08 03:34:00 -04:00
PostHog Bot
c0bf8b3b3a
chore(deps): Update posthog-js to 1.118.1 (#21366) 2024-04-05 08:09:38 -04:00
PostHog Bot
d39849e2d0
chore(deps): Update posthog-js to 1.118.0 (#21340) 2024-04-04 09:54:18 -04:00
PostHog Bot
fefb38d5c1
chore(deps): Update posthog-js to 1.117.2 (#21313) 2024-04-03 14:30:19 -04:00
PostHog Bot
e4c7193e3e
chore(deps): Update posthog-js to 1.117.1 (#21312) 2024-04-03 13:57:20 -04:00
PostHog Bot
125dbaeb48
chore(deps): Update posthog-js to 1.117.0 (#21296) 2024-04-03 07:23:44 -04:00
PostHog Bot
e7f2eb9d4c
chore(deps): Update posthog-js to 1.116.7 (#21294) 2024-04-03 06:58:41 -04:00
PostHog Bot
67a27595a6
chore(deps): Update posthog-js to 1.116.6 (#21126) 2024-03-25 05:53:56 -04:00
PostHog Bot
bc7770cd52
chore(deps): Update posthog-js to 1.116.5 (#21118) 2024-03-23 15:29:37 -04:00
PostHog Bot
3a995a5f9e
chore(deps): Update posthog-js to 1.116.4 (#21098) 2024-03-22 07:11:01 -04:00