0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00
Commit Graph

11713 Commits

Author SHA1 Message Date
Michael Matloka
3b94f7c67d
chore: Use new service error page for 500 errors (#15360) 2023-05-09 18:56:37 +00:00
Michael Matloka
148895ed46
fix(actions): Fix custom event match groups and allow "All events" (#15455)
* fix(actions): Fix custom event match groups and allow "All events"

* Fix typing

* Fix clearing event selection in `EventsTable`

* Fix clearing event selection in `DataTable`

* Update query schema

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-09 20:06:43 +02:00
Neil Kakkar
ca03fdda26
fix(trends): Make breakdowns work with cohorts in poe v2 (#15450) 2023-05-09 17:49:32 +00:00
Michael Matloka
08eab1f9c0
style: Fix "Posthog" capitalization (#15426)
* style: Fix "Posthog" capitalization

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-09 18:31:34 +02:00
Xavier Vello
2cbdc1e044
fix(ci): run e2e hobby on more PRs (#15456) 2023-05-09 16:20:11 +00:00
Marius Andra
dc51ad36e2
chore(tests): remove query count to make CI not fail (#15437) 2023-05-09 16:19:18 +00:00
Charlotte McGinn
24a8d6bac2
fix: show unit billing limits with discounts applied in UI (#15303)
* show the user their usage limit with the discount taken into account

* update calls to convertUsageToAmount

* update convertUsageToAmount call

* fix a lot of stuff with the ui and add stories

* don't show total usage in chart because it can be confusing
the number can be higher because it might account for today's usage
but today's usage isn't reflected in the tier data yet

* only show discounted total if there is projected spend

* fix errors

---------

Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>
2023-05-09 09:09:34 -07:00
Paul D'Ambra
b8d49ea0ff
chore: do not run e2e ci on push to master (#15428)
* chore: do not run e2e ci on push to master

* does it have to have a check-name
2023-05-09 16:58:06 +01:00
Michael Matloka
6f29a9c034
chore: Use SENTRY_ENVIRONMENT on the frontend (#15451) 2023-05-09 17:47:54 +02:00
Ben White
6378d66d30
fix: Correct decision for oldest timestamp in blob consumer (#15452) 2023-05-09 15:40:18 +00:00
Michael Matloka
3532372a52
fix(lemon-ui): Display leaf option's labelInMenuExtra when present (#15419)
fix(lemon-ui): Display leaf option's `element` when present
2023-05-09 17:33:52 +02:00
Michael Matloka
3e8635b2bf
fix(image-upload): Show correct file name for compressed images (#15441) 2023-05-09 17:33:34 +02:00
Marius Andra
6af88e6931
feat(exports): support SQL insight exports (#15435) 2023-05-09 15:24:36 +00:00
Xavier Vello
2e9a91aa90
fix(hobby-deploy): fix celery first startup (#15453) 2023-05-09 15:20:16 +00:00
Paul D'Ambra
067d73cb4f
feat: write recording summary events (#15245)
Problem
see #15200 (comment)

When we store session recording events we materialize a lot of information using the snapshot data column.

We'll soon not be storing the snapshot data so won't be able to use that to materialize that information, so we need to capture it earlier in the pipeline. Since this is only used for searching for/summarizing recordings we don't need to store every event.

Changes
We'll push a summary event to a new kafka topic during ingestion. ClickHouse can ingest from that topic into an aggregating merge tree table. So that we store (in theory, although not in practice) only one row per session.

add config to turn this on and off by team in plugin server
add code behind that to write session recording summary events to a new topic in kafka
add ClickHouse tables to ingest and aggregate those summary events
2023-05-09 14:41:16 +00:00
Paul D'Ambra
26bc7ba5d5
fix: slightly cleverer blob and api comparison (#15449) 2023-05-09 14:38:21 +00:00
Ben White
79249b6f80
fix: Clean up sessions after destroying them (#15448) 2023-05-09 14:36:59 +00:00
Tiina Turban
bef4219988
feat: Improve titles and links in bugs emails (#15162)
* feat: Improve titles and links in email

* nits

* nits

* use go links for sentry
2023-05-09 16:30:24 +02:00
Harry Waye
39224b018e
chore: fix flaky dlq functional tests (#15439)
There is a race condition in these tests where the consumer isn't
consuming in time to pick up bad messages, so we ensure that we set the
offsets to the earliest messages.
2023-05-09 14:36:14 +01:00
Paul D'Ambra
b5b76280ad
fix: flapping snapshots (#15442) 2023-05-09 14:27:53 +01:00
Xavier Vello
739d0b430b
fix(hobby-deploy): fix temporal container volume mount (#15445) 2023-05-09 15:24:13 +02:00
Tiina Turban
4cd5447f0e
chore: Nuke buffer pipeline code (#15404) 2023-05-09 14:50:18 +02:00
Thomas Obermüller
99bd37dfdf
fix(data-exploration): handle filter change side effects in interval filter (#15414) 2023-05-09 14:48:28 +02:00
Ben White
f52a00dfcd
fix: Recording file playback and perf events loading (#15440) 2023-05-09 11:18:25 +00:00
Divyam Chandel
b5812d3bc8
fix: Typo in Cohort operators (#15413)
chaning contain to contains in cohort menu field types
2023-05-09 11:59:49 +01:00
PostHog bot
15044be786
chore(deps): Update posthog-js to 1.55.2 (#15438) 2023-05-09 06:38:09 -04:00
Paul D'Ambra
9719d4ed19
chore: remove data management history feature flag (#15436) 2023-05-09 10:31:54 +00:00
Neil Kakkar
489aa0ea05
fix(trends): Handle cohorts inside action filter (#15408) 2023-05-09 10:27:46 +00:00
Tomás Farías Santana
28fc1ee3ff
feat: Add squash_person_overrides workflow (#14782)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-09 10:38:33 +02:00
Eric Duong
0576ccbab8
chore(feature-flag): add super filter to feature flag model (#15334)
* add super filter to feature flag model

* Update query snapshots

* Update query snapshots

* basic test for super condition matching

* WIP

* update frontend to prioritize super condition when available

* add promotion button and cleanup UI

* typo

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* types and tests

* fix tests

* bring footer back

* Update UI snapshots for `chromium` (2)

* tests

* Update query snapshots

* Update query snapshots

* Update posthog/api/test/test_early_access_feature.py

Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>

* change matching logic

* naming and types

* types

* don't use prop overrides on super condition

* remove manual deletion

* remove super arg

* remove super arg

* match logic missing spread

* early access button

* update test

* restore master

* change query num

* remove dataattr from child span

* remove dataattr from child span

* don't use button

* use enum

* Update query snapshots

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
2023-05-08 19:32:52 -04:00
Paul D'Ambra
f01add97b1
feat: update to drf exceptions hog 0.4.0 (#15424) 2023-05-08 18:49:04 +01:00
Yakko Majuri
aa1fc7d4d5
fix(groups): do a left join for group props (#15423)
* fix(groups): do a left join for group props

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* lol

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-08 14:27:26 -03:00
Marius Andra
4d78965d20
feat(hogql): treat true/false property filter strings as booleans (#15420) 2023-05-08 17:25:35 +02:00
Marius Andra
105d7e8b10
feat(insights): support 'any event' filter (#15209) 2023-05-08 17:25:14 +02:00
Paul D'Ambra
f71ba6aa1a
chore: convert image exporter from statsd to prom metrics (#15422)
* chore: convert image exporter from statsd to prom metrics

* unnecessary label

* 🙈
2023-05-08 16:20:59 +01:00
Paul D'Ambra
28db5b11b7
fix: adds sentry context when exporting images (#15421)
* fix: adds sentry context when exporting images

* there's only one image format, why tag it
2023-05-08 13:23:42 +01:00
Joe Martin
dc32751155
chore: Fixing typo in bookmarklet description (#15403)
Update IngestionInfo.tsx
2023-05-08 11:26:56 +02:00
Thomas Obermüller
0f64088560
refactor(cleanup): remove unused clickhouse person serializer (#15339) 2023-05-08 11:06:28 +02:00
Thomas Obermüller
d64fb1adac
feat(data-management): display type for properties (#15406)
* feat(data-management): display type for properties

* re-order actions columns
2023-05-08 11:05:48 +02:00
James Greenhill
9ede59ecc5
chore: send all bounded live events queries to Online cluster (#15417) 2023-05-05 23:13:21 +00:00
James Greenhill
bfc9194747
chore: move EventsQuery to be Online (#15415) 2023-05-05 15:00:06 -07:00
Paul D'Ambra
80336e9764
fix: make snapshot comparison clearer for recent recordings (#15407) 2023-05-05 18:57:03 +00:00
Paul D'Ambra
92b04ae84b
fix: flush sessions when idle not when buffer has reached an age (#15405)
* get rid of the annoying type errors

* fix: flush sessions when idle not based on buffer file age

* inline

* push timestamp into metadata arg
2023-05-05 17:45:12 +01:00
Tiina Turban
011f600386
fix: functional tests flakiness (#15386) 2023-05-05 15:56:32 +02:00
Paul D'Ambra
bc1174e415
chore: allow snapshot comparison from the browser (#15400) 2023-05-05 12:15:50 +00:00
Paul D'Ambra
b8ed5d34c9
feat: even more metrics (#15381)
* feat: adds even more metrics

* typos and additions
2023-05-05 13:01:56 +01:00
Ellie Huxtable
9beca68de8
chore: Add codeowners to check migrations (#15390)
* chore: Add CODEOWNERS for migrations

We're currently migrating our postgres, and migrations can interfere
with this process. If ABSOLUTELY required, eg for an incident, then
please ask #team-infrastructure

This should no longer be required after May 12th

* Correct team name

* GitHub is being dumb with teams, just list the people
2023-05-05 08:00:05 -04:00
Tomás Farías Santana
979825f71e
feat: Add a default number of workflow max attempts (#15399) 2023-05-05 13:54:46 +02:00
Thomas Obermüller
8fc04f54ee
fix(exports): retention people name in csvs (#15168) 2023-05-05 13:46:05 +02:00
Ben White
9a632e0682
feat: Recording player UX improvements (#15345) 2023-05-05 13:24:16 +02:00