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

11643 Commits

Author SHA1 Message Date
Yakko Majuri
226caf186e
chore(tests): run poe tests on v2 rather than v1 (#15511)
* chore(tests): run poe tests on v2 rather than v1

* Update query snapshots

* fix

* fix

* make foss tests work

* properly fix foss tests

* Update query snapshots

* final hogql tests fixed

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-16 19:55:32 +00:00
Raquel Smith
dfce91d924
fix: role_at_org collection on invite signup (#15571)
* fix role_at_org collection on invite signup

* update test
2023-05-16 17:54:45 +00:00
Tiina Turban
2cc9ad16e4
feat: Add warning for person deletion modal (#12575) 2023-05-16 19:15:58 +02:00
Raquel Smith
e11eb38588
fix: show experimentation properly in plan comparisons (#15560)
if only one plan for a product, pretend there is info for a free plan too
2023-05-16 08:40:53 -07:00
Marius Andra
929fc119b8
feat(hogql): add to dashboard filters (#15562) 2023-05-16 17:32:37 +02:00
Xavier Vello
44e3bda1ce
chore(deps): upgrade vm2@3.9.18 to address CVE (#15567) 2023-05-16 14:26:27 +02:00
Ben White
8fdef616aa
feat: Infinite autoplay recordings (#15395) 2023-05-16 12:11:31 +02:00
Paul D'Ambra
b7c21429bc
fix: protect schema and port in exporter urls (#15537) 2023-05-16 11:13:45 +02:00
Neil Kakkar
65dfe2f9c4
fix(early-access): Fix some remaining bugs with beta management (#15548) 2023-05-16 09:19:42 +01:00
Paul D'Ambra
7a206e0066
fix: break not continue (#15555) 2023-05-15 20:19:16 +00:00
Michael Matloka
b7e409b533
perf(persons): Optimize persons querying with pagination (#15553) 2023-05-15 18:00:26 +00:00
Paul D'Ambra
cffeea724f
revert: "chore: upgrade celery" (#15549) 2023-05-15 17:08:19 +00:00
Tomás Farías Santana
aa943d9349
fix: Unset debug in temporal start django worker (#15552) 2023-05-15 17:05:31 +00:00
Thomas Obermüller
10e5bf425f
fix(annotations): gracefully handle annotations with nulls (#15545)
* fix(annotations): gracefully handle annotations with nulls

* Update UI snapshots for `chromium` (2)

* add dated annotation type

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-15 18:32:55 +02:00
Yakko Majuri
050e50b8ea
fix(plugin-server-metrics): regis -> redis (#15550) 2023-05-15 16:07:34 +00:00
Michael Matloka
6daabb7b36
perf(persons): Prefilter person property conditions for reduced memory usage (#15507)
* perf: Prefilter rows in person search for reduced memory usage

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Better document `aggregate_by_person_version`

* Snapshot queries in more tests

* Use `DIRECT_ON_PERSONS` instead of new arg

* Explain `PersonPropertiesMode` options

* Streamline the various clauses

* Fix formatting

* Add comments and restore join optimization

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Fix comment typo

* Clarify persons-on-events v2

* Reduce parens

* Disambiguate prepends

* Update query snapshots

* Fix unmatched parens

* Update query snapshots

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-15 17:54:51 +02:00
Ben White
6abc3a5df5
feat: Recordings in notebooks (#15385) 2023-05-15 16:45:02 +02:00
Paul D'Ambra
82198328dd
chore: snapshot keeps failing in master (#15547) 2023-05-15 15:44:51 +01:00
Tomás Farías Santana
d8ffad4020
feat: Add input dataclasses for database inputs (#15513) 2023-05-15 16:04:57 +02:00
Paul D'Ambra
00872aa8f6
fix: even more maybe faster (#15543)
fix snapshot queries
move person cte to prewhere
2023-05-15 14:23:05 +01:00
Paul D'Ambra
d1c2fa84fa
fix: support double decoding base64 on decompress (#15542) 2023-05-15 13:48:17 +01:00
Tiina Turban
d79dab6d1f
chore: Track how useful lazy person loading is (#15533) 2023-05-15 13:17:12 +02:00
Paul D'Ambra
fec0dcde46
feat: do more filtering before aggregation (#15536) 2023-05-15 11:37:06 +01:00
Paul D'Ambra
4a7e3c293e
chore: upgrade celery (#15540) 2023-05-15 09:25:30 +01:00
Paul D'Ambra
fb07b33be5
chore: try not to flap snapshots (#15510) 2023-05-15 08:50:08 +01:00
Harry Waye
d0707a986d
chore: reduce sample rate for api calls (#15534)
We already get enough of these to make decisions, reduce these to 0.1%
of events.
2023-05-15 07:20:22 +01:00
Paul D'Ambra
e962afabe1
fix: from logs to changes (#15539)
* fix: from logs to changes

* Update plugin-server/src/main/ingestion-queues/session-recording/blob-ingester/session-manager.ts

* use the key from the map instead of calculating it

* 🙈
2023-05-14 11:59:21 +01:00
Paul D'Ambra
5edc7b97f7
fix: blob storage loading analytics (#15538) 2023-05-13 15:42:03 +00:00
Michael Matloka
7b52fd5a0d
fix(insights): Immediately refresh shared insights correctly (#15520) 2023-05-12 19:05:51 +02:00
Paul D'Ambra
dec66d1344
chore: more logging on close (#15528) 2023-05-12 17:12:54 +01:00
Neil Kakkar
cbaba40e5b
fix(snapshots): freeze time in snapshot (#15524) 2023-05-12 14:30:32 +00:00
Xavier Vello
36db390386
fix(ingestion): don't log geoip AddressNotFoundError (#15526) 2023-05-12 14:20:22 +00:00
Harry Waye
2319ed8507
chore: don't log slow queries to Sentry (#15525)
We already have this as part of a sentry trace, so we don't need to log
it twice. We might not get _all_ instances of this, but we should have
enough to give us an idea on what is slow.
2023-05-12 14:20:08 +00:00
Marius Andra
a185cd77d1
feat(hogql): null display (#15519) 2023-05-12 15:48:51 +02:00
Neil Kakkar
6532ce2308
fix(decide): Switch to a more performant throttle (#15523) 2023-05-12 14:27:11 +01:00
Paul D'Ambra
8274275e3f
chore: update all the cypress dependencies (#15522) 2023-05-12 13:01:29 +01:00
Paul D'Ambra
e741fbab4a
feat: paging for listing recordings from the session replay table (#15521) 2023-05-12 11:56:27 +00:00
Paul D'Ambra
97873fbf8f
fix: no flush allowed after destroy (#15514) 2023-05-12 10:49:28 +01:00
Michael Matloka
36819f7d33
fix(lemon-ui): Fix onBlur in LemonTextArea (#15517) 2023-05-12 11:46:27 +02:00
Michael Matloka
afe6103e6e
fix(correlation-analysis): Fix team missing in a Filter (#15502)
* fix(correlation-analysis): Fix `team` missing in a `Filter`

* Update query snapshots

* Update query snapshots

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-12 09:15:57 +00:00
Thomas Obermüller
c4d2239535
fix(data-exploration): switch to geoip breakdown when transitioning to map display (#15468)
* fix(data-exploration): switch to geoip breakdown when transitioning to map display

* fix updateDisplay action

---------

Co-authored-by: Michael Matloka <dev@twixes.com>
2023-05-12 11:06:50 +02:00
Neil Kakkar
466f776246
fix: Handle empty arrays when dealing with super properties (#15504)
* fix: Update flag_matching.py

* Update query snapshots

* change query count

* change back

* Update query snapshots

* change query count

* change count

* change count

* comment

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: eric <eeoneric@gmail.com>
2023-05-11 22:24:38 -04:00
Marius Andra
c554912224
feat(insights): aggregate funnel on custom hogql (#15429) 2023-05-11 23:37:51 +02:00
Tomás Farías Santana
44c34b9a5f
fix: Pass datetime strings ourselves to avoid dropping microseconds (#15500)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-11 18:48:58 +00:00
Harry Waye
c569fb1cbe
chore: add trace for eachBatch (#15509)
* chore: add trace for eachBatch

This should give some insight into e.g. how the batching is working

* Add batchLength, remove each message span

* wip
2023-05-11 18:01:24 +00:00
Paul D'Ambra
d981262927
fix: all events filter for recordings (#15489)
* fix: support all events for recordings filtering

* Update query snapshots

* Update posthog/queries/session_recordings/test/test_session_recording_list.py

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-11 17:47:39 +00:00
Harry Waye
74da138d16
chore: add a span around the Kafka producer produce call (#15508)
This should give a little visibility into what's happening in the
pipeline with produce calls to Kafka.
2023-05-11 17:23:29 +00:00
Marius Andra
49ca9ec534
feat(hogql): remove sql formatter (#15492) 2023-05-11 17:40:13 +02:00
Xavier Vello
3f5b39df7d
feat(ingestion): add KAFKA_PRODUCER_WAIT_FOR_ACK to measure possible perf impact (#15501) 2023-05-11 16:57:36 +02:00
Tomás Farías Santana
b369872851
fix: Use merged_at for squash-person-overrides (#15473) 2023-05-11 14:34:37 +02:00