* remove property_type_format concept
* remove nulls from tests
* deprecate not remove (and see what tests fail)
* plugin server tests care about property_type_format
* fix tests
* Allow overriding kafka host for clickhouse via KAFKA_URL_CLICKHOUSE env var
This is needed when using an external clickhouse which doesn't have the
same access to kafka as in-cluster traffic does.
Note that long-term we might need to also provide better auth mechanisms
here as well.
* Rename env variable
* wip
* wip
* wip
* can filter events by reserved words - distinct_id, created_at, and timestamp - in the backend
* add reserved properties when showing property definitions
* capitalise name of property
* properties not reserved words
* get cypress working and make search work with reserved properties
* update event/values endpoint to use property_string_expr and so work with reserved properties
* remove created at from reserved words
* test fix
* fix test
* loosen cypress assertion
* exclude specific properties from the taxonomic property filter
* remove FE property definition fangling
* exclude $time and $timestamp property definitions from the backend
* add reserved properties in the API not the FE using a CTE
* use SQL comments in SQL strings
* remove mypy error
* fix enterprise property definitions
* fix tests and improve comment
* exclude materialised column rows with no values when getting event property definitions
* fix cypress test setup
* clean up dead code
* un-remove some not actually dead code
* correct cypress assertion
* try and fix a cypress test
* Add detail button to `InsightCard` and rework meta/viz sizing
* Add basic `InsightDetails`
* Flesh out `InsightDetails`
* Fix `FunnelsCue` hidden state
* Polish up sizing
* Fix typing
* Only render `InsightDetails` when needed
* Fix "Created by" alignment
* Show subfilter type (event or person)
* Improve saved insights cards grid responsiveness
* Fix funnels in saved insights card grid
* Fix details
* Tune query summary padding
* Support multiple breakdowns
* Use `PropertyKeyInfo` in series raw name
* Use compact properties display in Filters too
* Responsive "Show details", disable Paths and Retention details
* Tune `.SeriesDisplay__raw-name`
* add quick choices to date picker
* better defaults for date operators
* Update frontend/src/lib/components/PropertyFilters/components/OperatorValueSelect.tsx
Co-authored-by: Marius Andra <marius.andra@gmail.com>
* simplify accidentally esoteric conditional
* move from string to enum
* nicer datepicker open and close behaviour
* don't update the time on every render
Co-authored-by: Marius Andra <marius.andra@gmail.com>
* Don't allow user to set current team that they don't have access to
* Warn when dashboard is available in different project
* update exceptionshog
* fix tests
* fix failing
* fix typing
* tests
* chore(static-assets): set JS_URL for ECS
This is the breakaway change
[here](https://github.com/PostHog/posthog/pull/8299#pullrequestreview-864974223)
This will need to be merged in before the other change, as otherwise we
will end up using the default of /static/ to serve up the frontend in
production.
* chore(js-loading): Make JS_URL be used at runtime for js loading
Previously we would bake the JS_URL in at build time. Instead this
changes such that we can change this at runtime by specifying a `JS_URL`
env variable.
* comment on css loader snippet
* Default js_url to /
* Leave leading / when concatenating to JS_URL
I'd accidentally left this out before
* Remove trailing forward-slash from `JS_URL` django setting
Prior to the change to make JS_URL applicable at runtime, this variable
had no effect, hence the railing slash wasn't an issue.
This change fixes the frontend when running with debug true, i.e. when
we should be using the dev server for serving the frontend
* remove trailing slashes from JS_URL
* avoid unexpected concat behaviour
* add some comments around style sheet loading
* explicitly handle JS_URL not set for css as well
Ran into this trying to use external clickhouse provided by altinity
cloud.
Clickhouse generally takes backwards compatibility seriously so no need
to up-cap the supported version range - we should just make sure
everything works at the minimum version.
* remove insights and move tests
* update snapshots
* stickiness snapshots
* bring back ee available for ee specific features
* remove endpoint from posthog insightviewset
* fix snapshot
* remove repeat
* show last event ingested timestamp in system status
* wip plugin server healthcheck endpoint
* plugin server health endpoint
* fix readme prettier issue
* update tests
* move server.listen
* fixes, tests
* longer staleness default
* change endpoint to _health