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

3044 Commits

Author SHA1 Message Date
Tim Glaser
1ae890fbe2
1534 configurable columns person events table (#4141)
Co-authored-by: Mohit Gupta <mohitgupta3mail@gmail.com>
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
Co-authored-by: Sam Winslow <sammywinslow@gmail.com>
2021-05-13 14:13:54 -07:00
posthog-contributions-bot[bot]
7f2529705c
🤖: Add ConradKurth as a contributor 🎉 (#4343) 2021-05-13 21:48:08 +02:00
PostHog bot
e33fb2c149
Update plugin server to 0.21.1 (#4337) 2021-05-13 19:58:45 +02:00
Tim Glaser
99cdd640d3
Rename is_ee_enabled to is_clickhouse_enabled (#4216)
* Rename is_ee_enabled to is_clickhouse_enabled

* Do frontend as well

* Fix import

* fix
2021-05-13 16:56:54 +02:00
Sam Winslow
594d586fe5
Interval filter UI tweaks (#4319) 2021-05-13 09:58:37 -04:00
Karl-Aksel Puulmann
0e58f970cd
Send information whether a request failed to statsd (#4327)
Getting the number of failed queries is good to know. :)
2021-05-13 04:38:43 -07:00
PostHog bot
4f70c85087
Update plugin server to 0.21.0 (#4324) 2021-05-13 12:52:02 +02:00
PostHog bot
68dc4d2730
Update plugin server to 0.20.5 (#4323) 2021-05-13 11:48:59 +02:00
Sam Winslow
1df3428f7d
Wrap feature flag key name in CopyToClipboardInline (#4322) 2021-05-12 16:08:52 -04:00
posthog-contributions-bot[bot]
ffac7d1b1e
🤖: Add JeffreyQ as a contributor 🎉 (#4318) 2021-05-12 20:36:46 +02:00
Li Yi Yu
91b6b5f618
Dashboard insight setup (#4308)
* set up dashboard insight scene

* render dashboard insight and allow for description editing

* add type

* remove loader

* copy pasta error
2021-05-12 12:18:28 -04:00
Neil Kakkar
2985bc346f
Update wording for runEvery functions in PluginEditor (#4315)
* Update wording for `runEvery` functions in PluginEditor

There's a distributed lock across plugin servers that ensures only one server gets the task ( https://github.com/PostHog/plugin-server/blob/master/src/main/services/schedule.ts#L43 ), and piscina enqueues the task only once, which ensures only one worker in a server gets it (https://github.com/PostHog/plugin-server/blob/master/src/main/services/schedule.ts#L94-L103)

* minor changes

Co-authored-by: Yakko Majuri <38760734+yakkomajuri@users.noreply.github.com>
2021-05-12 15:06:17 +01:00
Paolo D'Amico
9ddf910764
#4050 query revamp - Final Touches (#4314) 2021-05-12 08:56:51 -04:00
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