0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 09:16:49 +01:00
Commit Graph

3031 Commits

Author SHA1 Message Date
Paolo D'Amico
ebddd25ba5
#4050 insights layouts & misc improvements (#4306) 2021-05-12 03:38:01 -07:00
Sam Winslow
c7b71c4e53
New filtering experience UI enhancements (#4296) 2021-05-11 19:34:47 -07:00
Eric Duong
ff0aa43f3e
rename to be more clear (#4303) 2021-05-11 14:29:15 -04:00
PostHog bot
a09ceaf976
Update plugin server to 0.20.4 (#4302) 2021-05-11 18:21:29 +02:00
Michael Matloka
63d576a276
Fix empty /personalization due to personalizationLogic error (#4287) 2021-05-11 07:16:58 -07:00
Karl-Aksel Puulmann
3e5e1fbe43
Avoid side-effects in api/capture import (#4297)
This could cause scripts to fail when kafka is not available even if not
used.

KafkaProducer class is already a singleton wrapper so this changes no
behavior
2021-05-11 15:00:45 +03:00
Yakko Majuri
d865950016
Prevent search engine crawling of self-hosted PostHog instances (#4189)
* Prevent search engine crawling of self-hosted PostHog instances

* tweaks

* fix code quality

* fix test

* remove env var

* update tests

* fix test

* try new approach

* yet again
2021-05-10 17:59:10 -03:00
Eric Duong
8c623d3a9a
Match session setting to insight param (#4285)
* match session setting to insight param

* add more param handling

* remove unnecessary changes
2021-05-10 17:03:59 -03:00
Li Yi Yu
b2180412ba
Revert dashboard item view (#4286)
* lint fix

* revert update

* revert everything
2021-05-10 14:11:35 -04:00
Sam Winslow
eb5400a794
Customizability for ResizableTable && styling fixes
Co-authored-by: Michael Matloka <dev@twixes.com>
2021-05-10 13:01:11 -04:00
Sam Winslow
5c09c820fb
Change event target criteria for outside click (#4290) 2021-05-10 12:34:58 -04:00
PostHog bot
9742ee9580
Update plugin server to 0.20.3 (#4291) 2021-05-10 18:22:08 +02:00
PostHog bot
ce56028738
Update plugin server to 0.20.2 (#4288) 2021-05-10 18:07:32 +02:00
Michael Matloka
106e0b7182
Improve capture/decide metrics (#4279) 2021-05-10 13:24:48 +00:00
Michael Matloka
10972a6bec
Handle empty distinct_id in capture endpoint (#4276)
* generate_exception_response on empty distinct_id in capture

* Add test, but removing NaN distinct_id support

* Fix merge with master
2021-05-10 13:47:14 +02:00
Michael Matloka
68b9994f22
Increments StatsD counter with tags in generate_exception_response (#4275)
* Increments StatsD counter with tags in generate_exception_response

* Use `type` param instead of `detail` in generate_exception_response tags
2021-05-10 10:20:44 +00:00
Karl-Aksel Puulmann
0a56469f07
Migrate clickhouse alongside postgres in production (#4258)
Latest migrations have been applied.

Only thing we need to keep in sync is CLICKHOUSE_MIGRATION_HOSTS env
variable going forward - managed via secrets manager.
2021-05-10 12:54:26 +03:00
Michael Matloka
964f9ce79c
Improve plugin preinstallation error notice (#4274) 2021-05-10 09:24:59 +00:00
Karl-Aksel Puulmann
008ee1f04c
Include more clickhouse query metrics (#4256)
* Use `statshog` over python-statsd

More support for tags!

* Include custom tags for every query + add annotation to query

After this we can:
- Figure out from query logs where queries are coming from (speeding up debugging)
- Break down query speeds by user queries vs others (e.g. celery) --
better represents overall speed
- Can figure out how fast queries are on average for various teams

* Use tags in more queries over interpolation

This way we can set up more interesting graphs \o/

* Solve mypy error

* Fix a flaky test (due to ordering)
2021-05-10 10:47:54 +03:00
posthog-contributions-bot[bot]
608a669fd9
🤖: Add akshayagarwal as a contributor 🎉 (#4271) 2021-05-10 07:26:36 +02:00
Kunal
f9043c2d68
speed up autoplay, scroll more slides (#4261) 2021-05-07 17:50:46 +02:00
Michael Matloka
7247039b12
Remove ENABLE_PERSISTENT_CONSOLE from prod task def (#4259) 2021-05-07 14:31:51 +00:00
Tim Glaser
9d62061107
Simplify query (#4228) 2021-05-07 15:56:29 +03:00
PostHog bot
d423a9e49c
Update plugin server to 0.20.1 (#4255) 2021-05-07 13:02:41 +02:00
posthog-contributions-bot[bot]
f94ced3747
🤖: Add j-fuentes as a contributor 🎉 (#4254) 2021-05-07 12:20:05 +02:00
posthog-contributions-bot[bot]
6afe0d9c0f
🤖: Add gagantrivedi as a contributor 🎉 (#4253) 2021-05-07 11:40:27 +02:00
PostHog bot
ceba1787c8
Update posthog-js to 1.10.0 (#4252) 2021-05-07 08:07:23 +02:00
Michael Matloka
69669adbb9
Enhance PropertyKeyInfo (#4235)
* Enhance PropertyKeyInfo

* Prepend "Initial " to $initial labels

* Add Brooklyn example for $geoip_ props

* Try improving E2E test quality
2021-05-07 02:26:42 +00:00
Paolo D'Amico
3dac5f5157
Fixes lifecycle & stickiness selecting action/events (#4249) 2021-05-06 19:06:40 -07:00
Marius Andra
c4f8abbdfc
Remove wrap on plugin logs table (#4246)
* remove wrap on plugin logs table

* Implement a real fix by checking if ResizableTableProps.expandable is set

Co-authored-by: Michael Matloka <dev@twixes.com>
2021-05-07 03:46:21 +02:00
Paolo D'Amico
da040fc024
Fix date range component in insights (#4248) 2021-05-06 18:38:29 -07:00
Sam Winslow
209431c6f6
Horizontal UI mobile tweaks (#4245)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-05-06 18:13:25 -07:00
Michael Matloka
a126e73cb7
Preinstall plugins (#4106)
* Refactor plugin installation and reloading logic

* Preinstall and autoenable plugins (only GeoIP one for now)

* Fix PluginManager.install issues

* Add tests

* Disable plugin preinstallation on Cloud

* Check plugins access level before preinstallation

* Rename field `preinstalled` to `is_preinstalled`

* Adjust tests for Cloud v. self-hosted

* Fix test_preinstalled_are_autoenabled

* Ensure install plugins access level for preinstallation tests

* Bump migration

* Bump migration

* Add and use Plugin.get_default_config, with tests

* Refactor private PluginConfigSerializer methods out of the class

* Skip preinstallation of plugin if it couldn't be done (e.g. airgapped)

* Don't hit GitHub API in tests

* Satisfy mypy

* Fix a test on Cloud CI
2021-05-07 03:02:04 +02:00
PostHog bot
9320163e73
Update plugin server to 0.20.0 (#4247) 2021-05-07 02:32:38 +02:00
Sam Winslow
2c7891933d
New Insights query UI, Option B (#4233)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-05-06 17:01:18 -07:00
Tiina
d71e52cbd1
Closes #4218 fix loading overlay blocking chart interactions (#4241) 2021-05-06 16:50:17 -07:00
Paolo D'Amico
79a64bae8e
New querying horizontal UI - continuation (#4239) 2021-05-06 16:32:20 -07:00
Marius Andra
2f38e746bb
this time it will work (#4244) 2021-05-07 00:07:20 +02:00
PostHog bot
58bf763ea8
Update plugin server to 0.19.0 (#4243) 2021-05-06 23:09:15 +02:00
Buddy Williams
95bb02de7b
Add commas to large numbers so that they are readable (#4231)
* Add commas to large numbers so that they are readable

* Format numbers in TrendLegend with commas for large numbers so that they are readable
2021-05-06 13:16:37 -04:00
Michael Matloka
fb0bd54af6
Increase Element model varchar limits again (#3926)
* Revert "Revert "Increase Element model varchar limits (#3912)" (#3923)"

This reverts commit e30681bade.

* Use RunSQL to avoid ORM crap

* Fix attr_class being converted from varchar[] to varchar

* Bump migration

* Simplify migration and remove attr_class alter due to locking

* Bump migration
2021-05-06 17:11:37 +00:00
Marius Andra
58469e228d
Enable persistent console (#4226) 2021-05-06 18:15:14 +02:00
Paolo D'Amico
fee0b1035d
Fix lifecycle insights store (#4223)
* lifecycle migration

* update latest migrations

Co-authored-by: eric <eeoneric@gmail.com>
2021-05-06 11:27:42 -04:00
James Greenhill
18224d6e27
Add monitoring for table mutations which can degrade performance (#4234) 2021-05-06 15:19:21 +00:00
Kunal
5377600dcf
Tally up counts of filters on events and actions (#4214)
* tally up counts of filters + actions

* update comment

Co-authored-by: kunal <kunal@Kunals-iMac.hsd1.ca.comcast.net>
2021-05-06 14:58:22 +00:00
Marius Andra
7c9c3a41cb
Disable aurora again (#4232) 2021-05-06 14:07:33 +00:00
Marius Andra
a54df23ec9
add back graphile job queue (#4230) 2021-05-06 15:16:38 +02:00
PostHog bot
46b8491abe
Update plugin server to 0.18.1 (#4229) 2021-05-06 14:39:11 +02:00
Yakko Majuri
610a79ca5f
Prevent a 500 from missing param in api/event/session_recording (#4158)
* Prevent a 500 from missing param in api/event/session_recording

* fix issues

* add error handling to foss
2021-05-06 09:26:05 -03:00
Karl-Aksel Puulmann
9c76db5527
Set max_threads for clickhouse explicitly (hotfix) (#4227)
We're seeing queries try to spawn 15k threads due to an invalid
max_threads setting in clickhouse. Since no-one awake has ssh access
this is a temporary hotfix to make things work.
2021-05-06 13:04:11 +02:00