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

15526 Commits

Author SHA1 Message Date
Paul D'Ambra
c32a07d38d
fix: custom player inspector events should respect mini filters (#20929)
* fix: custom player inspector events should respect mini filters

* all the alls
2024-03-14 14:51:25 +00:00
Paul D'Ambra
8ec8a0f18a
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>
2024-03-14 14:21:57 +00:00
Neil Kakkar
1904b3960a
fix(toolbar): Keep flags in sync (#20927)
* fix(toolbar): Keep flags in sync

* add test
2024-03-14 14:06:29 +00:00
PostHog Bot
d28a1285d5
chore(deps): Update posthog-js to 1.115.0 (#20924) 2024-03-14 09:57:07 -04:00
Frank Hamand
6f67b75657
fix: Add missing underscore to healthcheck routes (#20926)
Add missing underscore to healthcheck routes
2024-03-14 13:46:26 +00:00
Thomas Obermüller
27ea2852ea
feat(sentry): enable sampling via http header (#20916) 2024-03-14 14:17:38 +01:00
Thomas Obermüller
2ade0951de
refactor(style): do not use star imports for locals (#20915) 2024-03-14 13:55:52 +01:00
Michael Matloka
f02d045bf9
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
2024-03-14 13:45:28 +01:00
danielxnj
74c22969cf
chore: Add context to deployment messages (#20911)
Add context to deployment messages

Co-authored-by: xneyder <xneyder@gmail.com>
2024-03-14 08:28:57 -04:00
Frank Hamand
4efb80aa7e
Add missing healthcheck routes to app (#20923)
* Add missing healthcheck routes to app

* Switch healthz to _health
2024-03-14 11:50:15 +00:00
Juraj Majerik
1abd51afcf
fix(experiment): revert default goal back to Trends (#20921) 2024-03-14 12:12:35 +01:00
David Newell
cd2ead1eb4
fix: show names on frontend (#20918) 2024-03-14 10:54:22 +00:00
David Newell
8b21327ff9
chore: BillingProduct cleanup (#20910) 2024-03-14 09:59:29 +00:00
Frank Hamand
466c417e2b
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
2024-03-14 09:48:58 +00:00
David Newell
8b92cd1c62
fix: picking embedding input samples (#20913) 2024-03-14 09:12:13 +00:00
Tomás Farías Santana
f2c4028159
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>
2024-03-14 10:03:03 +01:00
Thomas Obermüller
0b786471b3
fix(admin): follow up for org page performance improvements (#20912) 2024-03-14 09:46:55 +01:00
Raquel Smith
1bce547455
feat: pay gate events (#20878)
* add event for when pay gate is shown

* even when click pay gate CTA

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* rename some things

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-13 22:10:37 +00:00
Raquel Smith
2149ec305f
feat(teams-plan): show prorated amount charged immediately (#20882)
* show prorated amount charged immediately

* prevent accidental upgrade to $450 plan

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (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>
2024-03-13 10:27:21 -07:00
Thomas Obermüller
022dc784af
fix(hogql): fix compatibility with live compare flag (#20907) 2024-03-13 18:19:13 +01:00
David Newell
6b4a9f20b1
chore: include input in fetched data (#20908) 2024-03-13 16:52:55 +00:00
danielxnj
8b722bfef2
chore: Fix docker-compose circular dependecies (#20905)
Fix docker-compose circular dependecies

Co-authored-by: xneyder <xneyder@gmail.com>
2024-03-13 12:38:46 -04:00
Zach Waterfield
5e37b0aee1
fix: update onboarding config plugins to use plugin name instead of id (#20898)
Update onboarding config plugins to use plugin name since id is not same across envs
2024-03-13 12:29:40 -04:00
Zach Waterfield
bc9b4e3da4
fix: credits remaining spacing (#20904)
* Add spacing for credits remaining

* Use space instead of css for spacing
2024-03-13 12:02:55 -04:00
David Newell
dc0faa5a79
chore: add input to clickhouse rows (#20901) 2024-03-13 15:57:22 +00:00
David Newell
8fb3b9bf2f
chore: update python requirements (#20873) 2024-03-13 15:19:36 +00:00
Tom Owers
6fda11e665
chore(data-warehouse): Added some safe guarding around joins and added tests (#20899)
Added some safe guarding around joins and added tests
2024-03-13 16:04:18 +01:00
David Newell
428c48084b
fix: error clustering data shape (#20859)
* fix: error clustering data shape

* use new input column

* remove logger
2024-03-13 14:49:20 +00:00
David Newell
8ce7d96653
chore: add input column to embeddings (#20863) 2024-03-13 14:48:33 +00:00
Tomás Farías Santana
77e3fe5990
feat: Support Exclude/Include events in migrate_team command (#20897)
* feat: Support Exclude/Include events in migrate_team command

* feat: Also display exclude/include from existing
2024-03-13 14:42:41 +00:00
Tom Owers
a3a25fc7d5
feat(data-warehouse): use correct hogql types for warehouse tables (#20880)
* WIP

* Added a new style of storing warehouse table columns

* Updated mypy

* Updated mypy

* Fixed tests

* Removed model change

* Fixed tests

* Update query snapshots

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Eric Duong <eeoneric@gmail.com>
2024-03-13 14:40:08 +00:00
Thomas Obermüller
e08ca5de98
fix(hogql): fix breaking down by feature flag (#20896) 2024-03-13 14:28:33 +00:00
Michael Matloka
4fd93da4d9
fix(insights): Allow zero decimal places (#20725) 2024-03-13 15:15:53 +01:00
David Newell
e5f54e2c48
chore: remove antd from correlation table (#20852) 2024-03-13 14:12:54 +00:00
Michael Matloka
12447e6ea3
chore(environments): Add Project model (#20783)
* chore(environments): Add `Project` model

* Add tests and ensure project creation

* Make mypy happy

* Unify default `Team` name capitalization

* Update text in tests and improve code readability

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Add docstring on `Project`

* Add tests for transactionality

* 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-13 14:58:21 +01:00
Marius Andra
36f951fecf
fix(insights): worldlier world map (bump trends limit) (#20795) 2024-03-13 14:19:21 +01:00
Zach Waterfield
ae6122da0c
feat: add geo ip plugin to onboarding config step (#20870)
* Add geo ip plugin to onboarding config step

* Fix tag spacing for plugin drawer

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (1)

* Update UI snapshots for `chromium` (2)

* Pull together plugins and configs

* Update pluginsLogic.ts

* Improve the plugin content

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Add types for the plugin content map

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-13 09:10:00 -04:00
danielxnj
f0f230ea4d
chore: bump base image to fix vulns (#20885)
Co-authored-by: xneyder <xneyder@gmail.com>
2024-03-13 08:29:29 -04:00
Ben White
7bfb0cff15
fix: Docker build not reporting errors (#20892) 2024-03-13 12:29:19 +00:00
Paul D'Ambra
3b7288f7c7
fix: replay ingestion was ignoring pageview urls (#20883) 2024-03-13 11:42:57 +00:00
Brett Hoerner
a2c5efa30d
chore(batch-exports): add team migration management command (#20772) 2024-03-13 11:08:42 +01:00
Robbie
75c1e9a2e1
feat(web-analytics): remove duplicate channel type definition, and add to sessions table (#20875)
* Remove duplicate channel type definition

* Add channel_type to sessions table

* Fix typing problems

* Remove channel_type from raw_sessions table
2024-03-13 09:46:21 +00:00
Juraj Majerik
5146227905
feat(experiments): add step 2 (Goal) (#20815)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Neil Kakkar <neilkakkar@gmail.com>
2024-03-13 06:37:19 +00:00
Eric Duong
8a7b119246
chore(data-warehouse): fix data warehouse schema tests (#20884)
fix tests
2024-03-12 23:08:46 +00:00
Tom Owers
40786e615a
fix(data-warehouse): Use the correct source table for join hogql expressions (#20820)
Use the correct source tabel for join hogql expressions
2024-03-12 21:29:57 +01:00
Raquel Smith
ce10c14ccd
chore: add read scope to seen_together action (#20845)
add read scope to seen_together action
2024-03-12 17:53:33 +00:00
Robbie
248beecfdb
feat: add hogql sessions and rewrite a web analytics query using it (#20832)
* Add test (currently fails due to missing setup code)

* Wire up sessions table to hogql

* Hide aggregate states when selecting * from raw_sessions

* Working version of the overview query using sessions table

* Add additional test

* Remove start date from sessions_mv

* Update query snapshots

* Update query snapshots

* Fix typing problems

* Fix bad merge where redundant test was added

* Ensure that we can select from sessions

* Fix typing

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* Update query snapshots

* Update UI snapshots for `chromium` (2)

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-12 17:28:42 +00:00
Eric Duong
989c065d9f
fix(data-warehouse): add schema id for validation step and use snake case (#20840)
* add schema id for validation step and use snake case

* fix tests

* more typing
2024-03-12 16:59:42 +00:00
Eric Duong
5f22a3424e
chore(data-warehouse): update database schema retrieval (#20872)
change get to post
2024-03-12 12:56:18 -04:00
Raquel Smith
9a2c7e0b7b
feat: let people subscribe from the paygate itself - round two (#20844)
* Revert "Revert "feat: let people subscribe from the paygate itself" (#20843)"

This reverts commit 02c2de694a.

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* undo this change

* connect function to avoid initialization error

* 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-12 16:15:15 +00:00