0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-30 19:41:46 +01:00
posthog/ee
Marius Andra 80a699ef4e
Clickhouse Sessions + Frontend Sessions updates (#1754)
* convert sessions table logic to TS

* convert rest of sessions to TS

* sessions table logic refactor, store date in the url

* add back/forward buttons

* load sessions based on the URL, not after mount --> avoids duplicate query if opening an url with a filter

* prevent multiple queries

* throw error if failed instead of returning an empty list

* date from filters

* rename offset to nextOffset

* initial limit/offset block

* indent sql

* support limit + offset

* load LIMIT+1 sessions in postgres, pop last and show load more sign. (was: show sign if exactly LIMIT fetched)

* based offset is always 0

* default limit to 50

* events in clickhouse sessions

* add elements to query results

* add person properties to sessions query response

* show seconds with two digits

* fix pagination, timestamp calculation and ordering on pages 2 and beyond

* mypy

* fix test

* add default time to fix test, fix some any(*) filter issues

* remove reverse

* fix mypy error, indent SQL

* add pagination test for postgres

* Run insight API tests in Clickhouse

Co-authored-by: Eric <eeoneric@gmail.com>
2020-10-01 05:27:35 -04:00
..
api Disable weekly status report on PostHog Cloud (#1730) 2020-09-28 13:21:03 +02:00
certs Publish events to Kafka for consumption (#1644) 2020-09-15 20:04:38 -07:00
clickhouse Clickhouse Sessions + Frontend Sessions updates (#1754) 2020-10-01 05:27:35 -04:00
idl Clickhouse Elements Dedup (based on master) (#1698) 2020-09-24 06:47:28 -04:00
kafka Create Omni-Person model for managing people in Clickhouse (#1712) 2020-09-25 11:05:50 +01:00
management/commands "Clickhouse Features V2 (#1565)" (#1750) 2020-09-29 15:17:26 +01:00
migrations Fix Master EE code (#1701) 2020-09-24 06:14:17 -04:00
models Organizations – models (#1674) 2020-09-24 00:53:51 +02:00
tasks Personal API keys and Zapier integration (#1281) 2020-08-26 10:34:57 +02:00
__init__.py
apps.py
docker-compose.ch.yml refactor how we grab kafka_host to make it reusable for migrations (#1677) 2020-09-17 11:09:41 -07:00
LICENSE
settings.py Fix Master EE code (#1701) 2020-09-24 06:14:17 -04:00
urls.py Personal API keys and Zapier integration (#1281) 2020-08-26 10:34:57 +02:00