* Rename 'with subscription' to 'pay-per-use'
* Add support level to plan types
* Update UI to show the plan support level response time
* Remove support slas
* support level -> support response times
* Add support response time to mocks
* update mocks
* wip
* iteration 1
* some small fixes
* update
* Update UI snapshots for `chromium` (1)
* fix up product intro page test
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `webkit` (2)
* rebase on main, fix a type issue
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* remove console log
* remove extraneous file
* fix tests again...
* Update UI snapshots for `chromium` (2)
* more test tweaks
* Update UI snapshots for `chromium` (2)
* yet another set of fixeds
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `webkit` (2)
* one more test tweak
* fix(admin): follow up for org page performance improvements (#20912)
* feat: Add clickhouse migration to create a dictionary (#20665)
* feat: Add clickhouse migration to create a dictionary
* refactor: Use dictionary created in migration for squashing
* fix: Test file drop references to dictionary
* fix: Update comment
* chore: Master merge
* fix: Typo in dictionary
Co-authored-by: James Greenhill <fuziontech@gmail.com>
---------
Co-authored-by: James Greenhill <fuziontech@gmail.com>
* fix: picking embedding input samples (#20913)
* fix: Split healthcheck to separate nginx unit app (#20917)
Split healthcheck to separate nginx unit app
When posthog is under load the healthcheck can stop responding.
Split it off into a separate app so it has a dedicated thread to handle it
* chore: BillingProduct cleanup (#20910)
* fix: show names on frontend (#20918)
* fix(experiment): revert default goal back to Trends (#20921)
* Add missing healthcheck routes to app (#20923)
* Add missing healthcheck routes to app
* Switch healthz to _health
* chore: Add context to deployment messages (#20911)
Add context to deployment messages
Co-authored-by: xneyder <xneyder@gmail.com>
* chore(environments): Add migration to backfill projects (#20887)
* chore(environments): Add migration to backfill projects
* Fix `noop`
* Add `project_id` to plugin server test setup
* Fix `project_id`
* Also add `posthog_project` to plugin server tests
* Update `createTeam`
* Fix func tests
* refactor(style): do not use star imports for locals (#20915)
* feat(sentry): enable sampling via http header (#20916)
* fix: Add missing underscore to healthcheck routes (#20926)
Add missing underscore to healthcheck routes
* chore(deps): Update posthog-js to 1.115.0 (#20924)
* fix(toolbar): Keep flags in sync (#20927)
* fix(toolbar): Keep flags in sync
* add test
* fix: some typos in summary settings (#20925)
* fix: some typos in summary settings
* Update UI snapshots for `chromium` (2)
* don't compare instance equality you fool
* feels wrong for reset to change opt in status...
* Fix
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* fix: custom player inspector events should respect mini filters (#20929)
* fix: custom player inspector events should respect mini filters
* all the alls
* fix: don't show billing step on self-hosted (#20931)
don't show billing step on self-hosted
* chore: improve onboarding spacing consistency (#20838)
* Make the space between sections consistent
* add more space above team section
* Improve the topbar spacing and positioning
* Move the breadcrumbs above and center the title
* Make spacing consistent across all SDKs
* Add chain op to plans for when they aren't available
* Make sdk margin top consistent with other steps
* Update the invite onboarding step title
* Move the breadcrumbs to be left aligned
* Set top bar title to onboarding in onboarding
* Fix cypress tests
* Update cypress tests
* Remove stale snapshots
* remove billing changes
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* fix: flappy snapshot (#20930)
* attempt fix for flappy snapshot
* Update UI snapshots for `chromium` (2)
* fix another one
* Update UI snapshots for `chromium` (2)
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* fix storybook
* Update UI snapshots for `webkit` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* fix some tests
* another round of fixes
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Thomas Obermüller <thomas.obermueller@gmail.com>
Co-authored-by: Tomás Farías Santana <tomas@tomasfarias.dev>
Co-authored-by: James Greenhill <fuziontech@gmail.com>
Co-authored-by: David Newell <d.newell1@outlook.com>
Co-authored-by: Frank Hamand <frankhamand@gmail.com>
Co-authored-by: Juraj Majerik <juro.majerik@gmail.com>
Co-authored-by: danielxnj <115043334+danielxnj@users.noreply.github.com>
Co-authored-by: xneyder <xneyder@gmail.com>
Co-authored-by: Michael Matloka <dev@twixes.com>
Co-authored-by: PostHog Bot <69588470+posthog-bot@users.noreply.github.com>
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
Co-authored-by: Paul D'Ambra <paul@posthog.com>
Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>
Co-authored-by: Zach Waterfield <zlwaterfield@gmail.com>
* Add unsubscription survey
* Ask users why they're unsubscribing before they submit their unsubscription request.
* update to use kea for state management, clean up some logic around finding matching surveys
* resolve typo
* pr feedback
* CTA for contacting support in survey modal
* remove getActiveMatchingSurveys call since we can directly use the surveyID.
* add storybook for billing unsubscribe survey
* add basic cypress tests for the unsubscribe survey
* adding in product type as a response to our multi-question survey
* update survey to show more information about how users might control their costs
* another round of tweaks to survey
* beef up tests
---------
Co-authored-by: Bianca Yang <bianca@posthog.com>
So obvious in retrospect
If you listen to the Cypress fail event without re-throwing then you swallow all test failures
"fun"
When reviewing #17919 I knew the Cypress tests would have to be failing which is what prompted me to check
Introduced in bbb7ed9 (July 10th!)
* feat(toolbar): rename editor to toolbar, add toast on error
* add missing types
* be less noisy when expired token comes a previous page load
Co-authored-by: Michael Matloka <dev@twixes.com>
* is_feature_flag for event property definitions
* feature flag separate tab
* fix test setup
* correct mock for events cypress tests
* add cypress test for feature flag tab of taxonomic filter
Co-authored-by: Paul D'Ambra <paul@posthog.com>
* Revert "Revert "Adds reserved properties for filtering property definitions (#8291)" (#8340)"
This reverts commit cb6839fe21.
* limit reserved properties to events table, include this in unit tests
* add api level tests for datetime and reserved word filtering of trends
* remove unused constant
* make the cypress test even looser
* delete file that is no longer in master
* extract a query object
* implement reserved attribute querying for date filters
* update datetime cypress test
* separate and clarify tests and ensure date queries only use reserved attributes on event filters
* delete file that isn't in master
* 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
* 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
* wip
* display known unix timestamps as date strings in property filter select box
* show selected unix timestamp property as a datetime string in the property filter
* remove console.log
* update test to construct property definition correctly
* correct another test
* dates have different operators
* format property filter values for display in Select boxes and the PropertyValue component
* fix typescript error
* it _is_ a type, I don't need to say it is
* don't have before and after for unmatched types of operators
* separate the current applicable operators and the operator to display mapping, and add cypress tests for before and after operator visibility
* correct cypress test
* remove unused method
* remove dangling comment
* why does test fail in CI but not locally
* why does test fail in CI but not locally
* why does test fail in CI but not locally
* log values of operator options, why does this fail in CI but not locally
* why does test fail in CI but not locally
* intercept more decide calls to try and set feature flags from cypress test
* why does test fail in CI but not locally
* Remove cypress install
* add a readme for how to test feature flags so it isn't lost if there are no tests currently testing feature flags