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

15752 Commits

Author SHA1 Message Date
Eric Duong
4073dc1cf9
chore(data-warehouse): add field type on breakdown logic (#21028) 2024-03-20 10:12:48 -04:00
Paul D'Ambra
235f7c643b
fix: padding reset for mobile replay (#21041)
* fix: padding reset for mobile replay

* fix

* updat snapshot
2024-03-20 12:52:34 +00:00
Julian Bez
0c5b8cb18e
fix(insights): Fix set active view when changing insight (#21034) 2024-03-20 12:11:29 +00:00
Ben White
f5ec54d7e9
fix: Throw on password reset errors (#21007) 2024-03-20 11:51:21 +00:00
Ben White
c55d50154f
chore: Remove link to support (#21013) 2024-03-20 12:20:45 +01:00
Ben White
c96f6b59fa
fix: Email token validation response (#21036) 2024-03-20 12:02:46 +01:00
Tomás Farías Santana
53355af5be
feat: Start tracking records exported (#21008)
* feat: Start tracking records exported

* fix: Move records_completed inside try

* test: Add more destination tests

* fix: Redshift returns int

* fix: Also return records_total from HTTP

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* fix: Return inside context manager

Co-authored-by: Brett Hoerner <brett@posthog.com>

* fix: Return inside context manager

Co-authored-by: Brett Hoerner <brett@posthog.com>

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Brett Hoerner <brett@posthog.com>
2024-03-20 11:23:05 +01:00
Tomás Farías Santana
7076cd4bc1
feat: Support for s3 compatible destinations in batch exports (#20894)
* feat: Backend support for endpoint_url

* feat: Frontend support for endpoint_url

* fix: Update story

* fix: Remove deprecated comment

Co-authored-by: ted kaemming <65315+tkaemming@users.noreply.github.com>

* fix: Update S3 test and README

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update query snapshots

---------

Co-authored-by: ted kaemming <65315+tkaemming@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-20 10:58:35 +01:00
Paul D'Ambra
1a6948eb04
feat: support padding for mobile replay styling (#21020)
* feat: support padding for mobile replay styling

* fix

* schema
2024-03-20 07:50:47 +00:00
Tom Owers
de67c1cc30
feat(data-warehouse): Override external data table fields (#20997)
* Added the ability to add extra hogql fields to stripe tables

* Snapshot and mypy

* Update query snapshots

* Fixed tests

* Pass on the visit_expression_field_type func

* Update query snapshots

* Added all other stripe definitions

* Updated mypy

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-20 08:13:55 +01:00
Eric Duong
a370e6946c
feat(data-warehouse): data warehouse table breakdowns (#20980)
* create virtual table definition with the shape of events

* add conditionals

* update schema

* add distinct_id field

* maths working

* add prop math selection

* add field

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* typing

* clean up snapshot

* cleanup

* remove unnecessary

* more cleanup

* add breakdown

* format

* typing

* frontend selection

* returning

* add condition

* typing

* add object storage test mixin

* remove client fixture

* restore main

* Update UI snapshots for `chromium` (2)

* add disabled state

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update UI snapshots for `chromium` (1)

* Update query snapshots

* Update UI snapshots for `chromium` (1)

* Update query snapshots

* Update query snapshots

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-19 22:11:32 -04:00
Paul D'Ambra
c70fc7b329
chore: remove code for finished experiment (#21018) 2024-03-19 20:29:13 +00:00
Paul D'Ambra
18d5766772
fix: e2e running time should wait for after cypress tests (#21016) 2024-03-19 20:22:36 +00:00
Paul D'Ambra
a8d3ba9de2
fix: no varying in snapshot test (#21009)
* fix: no varying in snapshot test

* can we snapshot CH while we're here

* Update query snapshots

* Update query snapshots

* need to freeze time for CH now

* Update query snapshots

* ah, that's why we don't snapshot CH in this test

* Update query snapshots

* wat

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-19 19:08:34 +00:00
Paul D'Ambra
711b2829b0
chore(ci): calculate e2e tests running time (#21006)
* chore(ci): calculate e2e tests running time

* doh
2024-03-19 17:55:25 +00:00
Zach Waterfield
36baca3b5c
fix: add missing import (#21010) 2024-03-19 17:45:09 +01:00
Paul D'Ambra
906737b4ee
feat: blobby ingestion warnings (#20963)
* don't hand your trousers to the shop assistant

* write ingestion warning when timestamp is very invalidd

* reduce amount of skew before we warn and add display code for ingestion warnings

* one week of skew

* is it this triggering linter

* Update UI snapshots for `chromium` (1)

* this is fine

* this is fine

* typo

* fix typo

Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>

* move limiting into capture ingestion warning

* fix tests

* shared debounce key for person state

* Revert "shared debounce key for person state"

This reverts commit c0d30028ed.

* allow overriding debouncing of capture ingestion warning

* positive not negative

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>
2024-03-19 16:27:33 +00:00
Zach Waterfield
16fc7149a7
chore: add property $lib_custom_api_host to the taxonomy (#20977)
* Add  to the property taxonomy

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-19 12:04:06 -04:00
Zach Waterfield
f9865a158e
feat: add reverse proxy step to onboarding for feature flags (#20906)
* Add reverse proxy step to onboarding for feature flags

* Make the invite step standout less

* Add feature flag for reverse proxy on feature flag onboarding

* Remove uneeded continueAction

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-19 12:03:24 -04:00
David Newell
088399bbe0
feat: error clustering UI (#20958) 2024-03-19 16:02:07 +00:00
Paul D'Ambra
1778471986
chore(ci): report workflow running time to PostHog (#21002) 2024-03-19 15:55:13 +00:00
Paul D'Ambra
25fbfcc503
chore(ci): step name needs to be unique (without considering worfklow name) or its required (#21005) 2024-03-19 15:51:44 +00:00
Ben White
921d208da3
fix: Return no content on password reset (#21003) 2024-03-19 16:36:55 +01:00
David Newell
dbee1bba58
chore: new icons preview (#20957) 2024-03-19 15:35:17 +00:00
Xavier Vello
e5d29fa4c0
feat(capture): implement capture overflow for recordings capture (#20753) 2024-03-19 16:00:40 +01:00
Michael Matloka
b6162a686f
fix(elements): Avoid matching element tag on classes (#20533)
* fix(elements): Avoid matching element tag on classes

* Update test_property.py

* Make test a bit more robust

* Update query snapshots

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-19 13:59:01 +01:00
Ben White
a6eb82c8b1
fix: Unauthenticated api throttling (#20993) 2024-03-19 11:57:45 +01:00
Julian Bez
bc1c951354
fix(insights): Remove connect logics for rename series (#20972) 2024-03-19 10:38:38 +00:00
Tomás Farías Santana
b986d9ca41
feat: Add minmax index for inserted_at (#20765)
* feat: Add minmax index for inserted_at

* fix: We need to coalesce with _timestamp

* fix: Import path
2024-03-19 11:34:47 +01:00
Ben White
0ab35785b5
fix: Refactor UpgradeModal logic to not be part of sceneLogic (#20970) 2024-03-19 10:23:30 +00:00
Ben White
0668b3a21d
fix: Sharing configuration api scopes (#20983) 2024-03-19 09:41:33 +00:00
Kyle Galbraith
50edb5b7fc
ci: Run backend and e2e cypress flow on depot runners (#20932)
* run backend and e2e cypress flow on depot runners

* change workflow name
2024-03-19 09:37:35 +00:00
Paul D'Ambra
9ad8dcad7d
feat: send lib version to blobby in kafka headers (#20989)
* feat: send lib version to blobby in kafka headers

* less info passing around

* rename refactor

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-19 09:33:09 +00:00
Ben White
f28d3b1626
fix: Issues with InputSelect and PropertyValues (#20992) 2024-03-19 08:17:52 +00:00
Bianca Yang
d8e7d1a4a7
feat: Add Cypress Tests for Onboarding Flow (#20676)
* 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>
2024-03-18 21:19:26 -07:00
Bianca Yang
fefc8d2e88
feat: remove ff code for where to redirect people after onboarding to pa. (#20990)
remove ff code
2024-03-18 17:15:21 -07:00
Brett Hoerner
3973f212c8
fix(batch-exports): handle null end_at in workflow_id (#20988) 2024-03-18 14:46:12 -06:00
ted kaemming
78c9184231
feat(persons-on-events): Support backfilling multiple teams, and store backfill state (#20886) 2024-03-18 15:26:43 -05:00
Eric Duong
22ba3dc646
fix(data-warehouse): add view options to join dropdown (#20959)
* add view options to join dropdown

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-18 15:41:33 -04:00
Thomas Obermüller
75bbd6cf26
fix(hogql): fix recodings in actors response (#20953) 2024-03-18 20:35:57 +01:00
Bianca Yang
485fd52607
feat: Experiment with language on billing pages in app (#20567)
* toggle upgrade language depending on flag value

* forgot some local changes

* update credit card case language

* Update UI snapshots for `chromium` (1)

* add event to record subscription status

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* add tests

* remove length check

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* make common button component

* some more small changes

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `webkit` (2)

* remove extraneous files

* remove optional chaining

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `webkit` (2)

* remove test...rename event

* Update UI snapshots for `chromium` (1)

* didn't save before commiting

* undo changes to billing cypress test

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* finally get cypress to work!

* small fix to test

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* remove from paygate mini

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* remove paygate test

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* remove extraneous files

* remove files!

* Update UI snapshots for `webkit` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* update tests

* Update UI snapshots for `webkit` (2)

* 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>
Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>
2024-03-18 12:03:29 -07:00
Cory Watilo
c8545b9692
feat(3000): help & support panel (#20710)
* html for new support pane

* add algolia search component

* polish

* docs are not old anymore

* ux improvements

* add filters

* reset active option

* styles

* email an engineer button

* fix panel title

* add checkmark to resolved questions

* add result count to tags / allow tabbing through tags

* polish

* docs links

* tooltips

* inline support form

* remove unnecessary effect

* use correct color in tooltip

* Revert "tooltips"

This reverts commit 5603a65080.

* hook it up

* fix lockfile

* use iconinfo

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* reup lockfile

* Update UI snapshots for `chromium` (1)

* fix

* use std colors (except for purple)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (1)

* Update unit.json

* Update docker-compose.dev-full.yml

* Update docker-compose.dev-full.yml

* upgrade @babel/runtime

* move to a regular dep?

* address pr feedback

* add stories

* handle arrowLeft and ArrowRight keydown

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: Eli Kinsey <eli@ekinsey.dev>
Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-18 09:14:44 -07:00
Brett Hoerner
7435fe63d1
chore(capture): change 'is False' to 'not' (#20804)
cleanup(capture): change 'is False' to 'not'
2024-03-18 09:37:41 -06:00
Ben White
c570bd5901
fix: Change autoplay direction to select (#20975) 2024-03-18 14:26:26 +00:00
PostHog Bot
fdc3d9be5c
chore(deps): Update posthog-js to 1.116.1 (#20974) 2024-03-18 09:25:42 -04:00
Tom Owers
badc581781
feat(data-warehouse): Added template creation at the end of connecting Stripe source for th… (#20933)
* Added template creation at the end of connecting Stripe source for the first time

* Fixed tests

* add import

---------

Co-authored-by: eric <eeoneric@gmail.com>
2024-03-18 12:48:52 +00:00
Ben White
2778c6ba28
feat: ~LemonMulitSelect~ LemonInputSelect (#20948) 2024-03-18 13:27:29 +01:00
Joe Martin
ca35b3acd2
chore: add demo video to readme (#20903)
Add demo video to readme

Adds demo video to readme
2024-03-18 10:54:03 +00:00
Manoel Aranda Neto
48d9c70ec6
fix: links and migrate to js-lite new major (#20854) 2024-03-18 10:05:52 +00:00
dependabot[bot]
144b1fe6ca
chore(deps): bump deadsnakes/action from 3.0.1 to 3.1.0 (#20967)
Bumps [deadsnakes/action](https://github.com/deadsnakes/action) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/deadsnakes/action/releases)
- [Commits](https://github.com/deadsnakes/action/compare/v3.0.1...v3.1.0)

---
updated-dependencies:
- dependency-name: deadsnakes/action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-18 10:53:32 +01:00