Kunal
d6093f10b7
Add calculate funnel event ( #3556 )
...
* add calculate funnel event
* update naming scheme
* move analytics to eventUsageLogic
Co-authored-by: kunal <kunal@Kunals-iMac.hsd1.ca.comcast.net>
2021-03-02 17:57:50 -08:00
PostHog bot
a6335483b1
Update posthog-js to 1.8.10 ( #3558 )
...
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
Co-authored-by: Marius Andra <marius.andra@gmail.com>
2021-03-03 00:09:12 +01:00
Paolo D'Amico
984b5fff98
Fix cloud tests on main repo ( #3559 )
2021-03-02 13:47:56 -08:00
Paolo D'Amico
7e10a4f06c
Release Persons V2 (persons-2353) ( #3461 )
2021-03-02 11:18:04 -08:00
PostHog bot
696201588d
Update posthog-js to 1.8.9 ( #3555 )
...
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
2021-03-02 16:44:40 +01:00
Tim Glaser
5501d2c559
Closes #3520 fix custom date filter dashboards ( #3533 )
...
* Closes #3520 fix custom date filter dashboards
* fix tests
* fix
2021-03-02 12:34:02 +01:00
Michael Matloka
bb6d4b4358
docker-compose.ch(.test).yml files for plugin server ( #3552 )
2021-03-02 11:57:19 +01:00
Michael Matloka
a2ea4d0146
Clean up copyToClipboard ( #3553 )
2021-03-02 11:57:06 +01:00
Yakko Majuri
aced4b98f7
Add ability to add person props on the UI ( #3394 )
...
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-03-01 16:43:07 -08:00
Michael Matloka
dbbb113428
Make PLUGIN_SERVER_INGESTION True by default ( #3485 )
...
* Make PLUGIN_SERVER_INGESTION True by default
* Disable plugin server ingestion in tests by default
This is so that ingestion tests in here, which rely on old ingestion, don't fail. Plugin server ingestion itself is covered well in the plugin server repo.
2021-03-01 22:34:40 +01:00
Michael Matloka
fc12c723c6
Clean up PR bot workflow ( #3546 )
...
* Update .gitignore
* Clean up PR bot workflow
* Revert .gitignore update
2021-03-01 22:07:52 +01:00
Yakko Majuri
b5038bbd60
Fix minor UI issue with funnel loading ( #3519 )
...
* Fix minor UI issue with funnel loading
* remove console.log
2021-03-01 21:58:53 +01:00
Tim Glaser
6215f77291
Soften shame message ( #3541 )
...
* Soften shame message
* Remove is-collaborator step and simplify message
* Rename drill.yml to janitor.yml
* Better handle pull request body
Co-authored-by: Michael Matloka <dev@twixes.com>
2021-03-01 21:28:53 +01:00
Tim Glaser
c153753d04
Fix bin/tests ( #3540 )
2021-03-01 20:34:39 +01:00
dependabot-preview[bot]
0a0a8bd349
Bump parso from 0.6.1 to 0.8.1 ( #3542 )
...
Bumps [parso](https://github.com/davidhalter/parso ) from 0.6.1 to 0.8.1.
- [Release notes](https://github.com/davidhalter/parso/releases )
- [Changelog](https://github.com/davidhalter/parso/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/davidhalter/parso/compare/v0.6.1...v0.8.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-01 20:11:36 +01:00
dependabot-preview[bot]
89691d74c5
Bump fakeredis from 1.4.4 to 1.4.5 ( #3539 )
...
Bumps [fakeredis](https://github.com/jamesls/fakeredis ) from 1.4.4 to 1.4.5.
- [Release notes](https://github.com/jamesls/fakeredis/releases )
- [Commits](https://github.com/jamesls/fakeredis/compare/1.4.4...1.4.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-01 20:11:15 +01:00
dependabot-preview[bot]
bf164b216a
Bump whitenoise from 5.0.1 to 5.2.0 ( #3538 )
...
Bumps [whitenoise](https://github.com/evansd/whitenoise ) from 5.0.1 to 5.2.0.
- [Release notes](https://github.com/evansd/whitenoise/releases )
- [Changelog](https://github.com/evansd/whitenoise/blob/master/docs/changelog.rst )
- [Commits](https://github.com/evansd/whitenoise/compare/v5.0.1...v5.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-01 20:11:07 +01:00
dependabot-preview[bot]
f2d7a962e5
Bump django-deprecate-fields from 0.1.0 to 0.1.1 ( #3536 )
...
Bumps [django-deprecate-fields](https://github.com/3YOURMIND/django-deprecate-fields ) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/3YOURMIND/django-deprecate-fields/releases )
- [Commits](https://github.com/3YOURMIND/django-deprecate-fields/compare/0.1.0...0.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-01 20:02:30 +01:00
dependabot-preview[bot]
8ef31567db
Bump asgiref from 3.2.7 to 3.3.1 ( #3535 )
...
Bumps [asgiref](https://github.com/django/asgiref ) from 3.2.7 to 3.3.1.
- [Release notes](https://github.com/django/asgiref/releases )
- [Changelog](https://github.com/django/asgiref/blob/master/CHANGELOG.txt )
- [Commits](https://github.com/django/asgiref/compare/3.2.7...3.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-01 20:02:25 +01:00
dependabot-preview[bot]
b13bd73e85
Bump psycopg2-binary from 2.8.4 to 2.8.6 ( #3543 )
...
Bumps [psycopg2-binary](https://github.com/psycopg/psycopg2 ) from 2.8.4 to 2.8.6.
- [Release notes](https://github.com/psycopg/psycopg2/releases )
- [Changelog](https://github.com/psycopg/psycopg2/blob/master/NEWS )
- [Commits](https://github.com/psycopg/psycopg2/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-01 20:01:36 +01:00
dependabot-preview[bot]
5ae87afecd
Bump pytz from 2019.3 to 2021.1 ( #3545 )
...
Bumps [pytz](https://github.com/stub42/pytz ) from 2019.3 to 2021.1.
- [Release notes](https://github.com/stub42/pytz/releases )
- [Commits](https://github.com/stub42/pytz/compare/release_2019.3...release_2021.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-01 20:01:13 +01:00
Paul Ungureanu
20ea346f66
Closes #3524 filters do not reset ( #3532 )
...
Before this, the events table did not update when the last filter
was deleted.
2021-03-01 19:13:15 +01:00
Paolo D'Amico
b025ada381
Random fixes Mar 1 ( #3530 )
...
Co-authored-by: Michael Matloka <dev@twixes.com>
2021-03-01 09:35:30 -08:00
Yakko Majuri
01774c0746
fix plugin invalid config error ( #3529 )
2021-03-01 17:52:25 +01:00
Michael Matloka
38331e696f
Add explanation for clipboard not working on remote HTTP ( #3528 )
...
* Add explanation for clipboard not working on remote HTTP
* Fix toast
2021-03-01 17:30:45 +01:00
Michael Matloka
5bcb7eba36
Add no-PR-description-shaming workflow ( #3517 )
...
* Add no-PR-description-shaming workflow
* Fix shame-worthiness check
* Clean up regex
2021-03-01 17:10:00 +01:00
Yakko Majuri
7281639d36
Fix cannot read property 0 of undefined ( #3518 )
2021-03-01 16:51:03 +01:00
Michael Matloka
941cfb386c
Revert "Use plugin-server container in containerized deploys" ( #3516 )
...
* Revert "Use plugin-server container in containerized deploys (#3515 )"
This reverts commit 6fb295ed51
.
* Update docker-compose.ch*.yml
2021-03-01 13:43:43 +01:00
Michael Matloka
6fb295ed51
Use plugin-server container in containerized deploys ( #3515 )
2021-03-01 12:56:33 +01:00
Tim Glaser
ca5c50b67a
Add UTM tags to property info ( #3508 )
2021-03-01 10:18:31 +01:00
Tim Glaser
516f22e029
Fix debug toolbar sql panel ( #3507 )
2021-03-01 10:17:55 +01:00
James Greenhill
cd7ccc779e
Run all connections through clickhouse connection pooler ( #3495 )
...
* Use clickhouse connection pooler to avoid connections from stepping on eachother
* build reqs
2021-02-26 12:54:35 -08:00
Michael Matloka
43c9105c17
Fix limit of events in CSV export ( #3503 )
...
* Fix limit of events in CSV export
* Limit to 100 instead of 101
* Optimize listing events
* Fix typing error
* Limit events to 100 better
* Fix len condition for using broader events queryset
* Add regression test
* Adjust ClickhouseEventsViewSet
* Fix CH events limit in CSV export
* Fix typing and missing +1
* Use limit in _query_events_list
2021-02-26 18:20:05 +01:00
Karl-Aksel Puulmann
fc512a97a0
Don't recalculate deleted cohorts ( #3506 )
...
Sentry error: https://sentry.io/organizations/posthog/issues/2200371518/?project=1899813&query=is%3Aunassigned+is%3Aunresolved
2021-02-26 17:13:44 +02:00
Karl-Aksel Puulmann
b7bdad90eb
Add test for bar charts ( #3474 )
...
* Add test for bar charts
Since our charts are rendered on a canvas we can't really interact well
with it. Instead, we take a screenshot now (new dependency).
* Debug error in CI
* Make sure images are the same size on CI and locally
2021-02-26 16:50:36 +02:00
Karl-Aksel Puulmann
152f799351
e2e-test-runner: Only start webpack if not already running ( #3484 )
2021-02-26 16:50:21 +02:00
Karl-Aksel Puulmann
a96d682ca1
Fix getting earliest timestamp on EE with no events ( #3501 )
...
Sentry error: https://sentry.io/organizations/posthog/issues/2236839278/?project=1899813&query=is%3Aunassigned+is%3Aunresolved
2021-02-26 15:31:22 +02:00
PostHog bot
e3baab33c9
Update plugin server to 0.11.1 ( #3502 )
...
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
2021-02-26 13:50:09 +01:00
Karl-Aksel Puulmann
828c301299
Fix filtering sessions by action with property filters ( #3500 )
...
Fixes #3499
2021-02-26 11:24:31 +02:00
PostHog bot
51e6ccd485
Update plugin server to 0.10.3 ( #3498 )
...
* Update plugin server to 0.10.3
* Don't strip plugin server version of nonexistent quotes
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
Co-authored-by: Michael Matloka <dev@twixes.com>
2021-02-26 02:22:56 +01:00
Karl-Aksel Puulmann
75f1332afc
Reload our feature flags after changing them ( #3477 )
...
This only "affects" our team and local development. I got tired of
needing to reload after toggling a feature flag locally. This makes it
so that the newly edited flag is applied immediately.
2021-02-25 16:28:52 -06:00
Tim Glaser
e5cfa68b60
Reduce calls to api/action ( #3493 )
...
* Reduce calls to api/action
* Fix saving
2021-02-25 22:48:53 +01:00
James Greenhill
eb6f19ea10
Create a connection every time a query is run ( #3467 )
...
* Connect each time sync_execute is called
* clean up unused substitute_params
2021-02-25 11:27:05 -08:00
Eric Duong
195a358819
Change graphs to ts ( #3181 )
...
* change to TS
* fix type
* fix types
* add type to kea logic
* fix errors
2021-02-25 12:44:37 -05:00
Eric Duong
2d4daa6558
Revert "Revert "935 trend legend"" ( #3489 )
...
* Revert "Revert "935 trend legend (#3434 )" (#3487 )"
This reverts commit 5784f90df6
.
* patch bug
* format breakdown label
* add ff
2021-02-25 12:06:06 -05:00
Eric Duong
5784f90df6
Revert "935 trend legend ( #3434 )" ( #3487 )
...
This reverts commit cd660e52f8
.
2021-02-25 11:41:57 -05:00
Eric Duong
cd660e52f8
935 trend legend ( #3434 )
...
* base table legend
* toggle visibility logic
* colors working
* display data in legend
* clean up types and conditions
* review-points
* missing constant from merge
* Make the table small
* disabled when only 1 is left and add label clickable
* add better label handling
* fix test
Co-authored-by: Tim Glaser <tim@glsr.nl>
2021-02-25 10:59:35 -05:00
Karl-Aksel Puulmann
eb7b361401
Fix: funnels & retention person links, funnel calculations ( #3483 )
...
* Fix links to people from Retention modal and Funnels.
More details under issue https://github.com/PostHog/posthog/issues/3480
* Fix funnel calculations on self-hosted
Broken by renames within https://github.com/PostHog/posthog/pull/3301
* Handle cached calculations in e2e test runner
When executing e2e tests, celery tasks are evaluated immediately. Previously
due to the caching the funnels never loaded as we overwrite the results immediately.
* Add test for navigating to persons from funnels
* Test for retention visualization and person navigation
2021-02-25 17:41:25 +02:00
Karl-Aksel Puulmann
264d4b03db
Bar chart by value ( #3457 )
...
* Extract const for a frequent if-statement
* Show bar graph
* Show bar chart breaking down by value
* Don't show interval filter when non-time based visualization
* Set axis color as expected
* Add percentage of total to bar graph
* Include action info in tooltip for value graph
* Support DashboardItem
* Mark prop as optional
* Convert new file to typescript
* Disable bar value for stickiness
2021-02-25 17:01:05 +02:00
Karl-Aksel Puulmann
f36495bec6
Filters: Select multiple for equality/inequality ( #3422 )
...
* Don't colorize sql for output
* Handle setting array props as values
* Handle arrays exact/is_not property filters
Also updates tests to use parameterization
* Avoid autoclosing PropertyFilter popup
As key changes, old one got removed from DOM
* Improve filter UX
Don't allow filter to become multi-line and keep inputs the same size.
Previous flex={1} was doing flex: 1 1 auto which was messing things up
* Fix typescript issue
* Handle array lookups in postgres
* Update types
* Fix fixture to recreate tables
* Make replace spaces logic consistent with what was there before
* Handle list filtering better in postgres
* Update frontend tests
* Handle edge case: Switching between multi operator and single operators
2021-02-25 16:54:55 +02:00