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

1986 Commits

Author SHA1 Message Date
Tim Glaser
a426b427a4
Cohort table improvements (#2576)
* WIP cohort table improvements

* More fixes

* More fun

* Fix updating cohorts

* Add search box

* thing

* stuf

* Fix multiple exports

* Fix tests

* fix

* fix test

* fix

* fix
2020-12-04 19:50:43 +01:00
Tim Glaser
3970e6aa94
Rolling retention widget (#2522)
* Rolling retention widget

* Rolling retention when adding to dashboards

* Only filter dashboard items
2020-12-04 19:46:48 +01:00
Tim Glaser
adcf493202
Fix ee webhook (#2664)
* Fix ee webhook

* Get rid of warnings

* Add webhooks
2020-12-04 16:43:22 +01:00
Tim Glaser
d60799c4f8
Fix nan values (#2665)
* Fix nan values

* unused imports
2020-12-04 16:27:08 +01:00
Paolo D'Amico
ba2a32b6dc
Update Sessions.scss (#2659) 2020-12-04 16:25:52 +02:00
Michael Matloka
40dbffbb98
Make personal API key capture and decide work with multiple projects (#2617)
* Make personal API key /capture work with multiple projects

* Remove team field from PersonalAPIKey model

* Add personal API key auth to decide endpoint

* Update tests

* isort

* Update test_personal_api_keys.py

* Handle edge case

* Delete 0103_remove_personalapikey_team.py

* Update latest_migrations.manifest

* Update personal_api_key.py

* Remove extra whitespace
2020-12-04 14:01:31 +01:00
Eric Duong
b9d6112058
add date squeezing (#2657) 2020-12-04 11:02:52 +01:00
Tim Glaser
7166679672
Fix search set when clicking person (#2663) 2020-12-04 10:37:28 +01:00
James Greenhill
97280d56fc
update url env var for ECS containers (#2660) 2020-12-03 16:16:32 -08:00
James Greenhill
ed6eb5e796
Setup ecs configs for web, worker, migration tasks and services (#2458)
* add worker to the ecs config and deploy

* for testing

* pull from this branch for testing

* chain config renders

* split out events pipe

* Set is_heroku true because of heroku kafka

* update /e/ service to run on port 8001

* add 8001 to the container definition as well

* simplify

* test migrating w/ ecs task using aws cli

* split services

* typo in task def

* remove networkConfiguration from task definition

* duplicate

* task-def-web specific

* update events service name

* Handle base64 encoded kafka certs

* if it's empty then try to set it for env vars

* fix b64 decode call

* cleanups

* enable base64 encoding of keys for kafka

* depend on kafka-helper for deps

* reformat

* sort imports

* type fixes

* it's late, I can't type. typos.

* use get_bool_from_env

* remove debug bits. Trigger on master/main

* prettier my yaml

* add notes about ref in GA

* up cpu and memory
2020-12-03 15:51:37 -08:00
Paolo D'Amico
b5d4421b7c
Improved session player navigation (#2611) 2020-12-03 15:47:37 -06:00
Marius Andra
c24aebe174
Add flags to bin/docker-worker-celery (#2621)
* add flags to docker-worker-celery and rename --with-beat to --with-scheduler

* Clean script up

Co-authored-by: Michael Matloka <dev@twixes.com>
2020-12-03 18:53:06 +01:00
Karl-Aksel Puulmann
02d3c24d3d
Update posthog-js to 1.7.3-beta.9 (#2655) 2020-12-03 16:49:46 +02:00
Tim Glaser
0f1022fa25
Separate tooltips for lifecycle (#2649) 2020-12-03 15:21:12 +01:00
Karl-Aksel Puulmann
7114e22071
Update posthog-js to 1.7.3-beta.8 (#2653) 2020-12-03 16:01:06 +02:00
Karl-Aksel Puulmann
4656fe82c5
Update posthog-js to 1.7.3-beta.7 (#2652) 2020-12-03 14:56:50 +02:00
Karl-Aksel Puulmann
2c40a4a111
Support posting data via test/plain (#2648) 2020-12-03 06:28:12 -06:00
Paolo D'Amico
d6f3079bc0
Release actions-ux-201012 (#2615)
* remove legacy code & feature flag references

* ActionStepV2 refactor

* ActionEditV2 refactor

* fix backend tests

* fix more tests

* more fixes

* last fix

* address feedback
2020-12-03 10:59:11 +01:00
Paolo D'Amico
ce37a5b5d0
fixes & missing routes (#2641) 2020-12-03 09:21:51 +02:00
Paolo D'Amico
052bcb0ce1
Sessions table improvements 1202 (#2639)
* feedback from #2609

* more clarity around session recording
2020-12-03 08:57:04 +02:00
Karl-Aksel Puulmann
7a4a5e7d14
Use last selected dashboard when clicking 'save to dashboard' (#2591) 2020-12-02 15:08:29 -06:00
Eric Duong
0feac747cd
Lifecycle prop filtering (#2634)
* add filters to ch

* add tests and implement for postgres

* fix postgres implementation
2020-12-02 14:15:51 -05:00
Eric Duong
997ec36916
Lifecycle Graph (#2460)
* intial working

* intial working with test

* return tests

* fix interval and add monthly test

* add in person_id join

* small restyle

* postgres lifecycle working

* add action handling to postgres query

* add action handling and tests

* fix typing

* visualizing with temp params and added negatives for dormant

* frontend

* fix intervals

* remove unnecessary import

* add person enppoint

* add person endpoint and tests

* add next

* add pagianted test

* fix types

* add frontend logic'

* fixed date range

* disable compare filter on lifecycle

* add diasbled to chartfilter

* return class to personviewset

* added constant

* fix distinct_id and new event within period condition

* replace people queries and fix ch query too

* DRY

* fix null states

* comparefilter nullstate

* add wrapper back to endpoint

* fix datetime formatting

* remove extra stack flag

* reduce filters when it's lifecycle and replace constants

* add default for lifecycle into trendlogic
2020-12-02 16:53:06 +01:00
Karl-Aksel Puulmann
a451e149c6
Add support for median, p90, p95 and p99 math functions (#2630)
* Add support for median, p90, p95 and p99 math functions

Related issue: #2584

* Update tests to reflect quantile functions are not exact in ch
2020-12-02 17:22:45 +02:00
Tim Glaser
1dd7f7342b
Use select for numerical properties (#2628)
* Use select for numerical properties

* fix test

* fix isssues
2020-12-02 15:18:50 +01:00
Tim Glaser
7d7dca8f47
Remove signup process from cypress (#2264)
* Remove signup process from cypress

* adds cypress preflight tests

* run migrations before setting up test data

* fix preflight tests

* Update preflight.js

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2020-12-02 14:12:43 +01:00
Tim Glaser
cd422443a5
Access config to unlock after 15 mins and template (#2624) 2020-12-02 11:48:30 +01:00
Paolo D'Amico
ed0e82405e
fixes to Link component (#2612) 2020-12-02 11:37:22 +01:00
Yakko Majuri
eebe97836d
Update HogFlix style (#2622)
* initial wip with mvp.css

* minor updates

* remove videojs styles
2020-12-02 11:36:42 +01:00
Karl-Aksel Puulmann
17c403e5f1
Update posthog-js to 1.7.3-beta.6 (#2623) 2020-12-02 12:14:34 +02:00
Noah Rickles
d924181fce
Issue #2573, Add django-axes (#2582)
* Closes #2573 adds django-axes middleware with default configuration, disabled during tests

* Added django-axes to requirements

* Moved environment variable declaration in tests script to see if django-axes is disabled during CI tests

* Removed disabling of django-axes in the tests script, updated expected number of queries in tests
2020-12-02 11:01:46 +01:00
Tim Glaser
b8031b7895
Link back to insights from actions (#2608) 2020-12-02 10:50:44 +01:00
Karl-Aksel Puulmann
fd5eb70648
Update posthog-js to next beta (#2618) 2020-12-02 10:17:33 +02:00
Michael Matloka
b5f7bbf232
Add /api/projects/:project_id/actions/ (#2616) 2020-12-02 06:40:47 +01:00
Sandeep Guptan
eba578c53c
added pre tag to stop the over lay (#2606)
* added pre tag to stop the over lay

* Break label instead of hiding overflow

Co-authored-by: Michael Matloka <dev@twixes.com>
2020-12-02 06:17:51 +01:00
James Greenhill
908cfaf2c8
Don't run preview docker build with debug flags (#2610)
* Don't run web in debug for preview docker build

* worker to not debug
2020-12-01 15:15:30 -08:00
Paolo D'Amico
2cd87343c9
Update session recording settings (#2609) 2020-12-01 14:23:11 -06:00
Sandeep Guptan
5275a88e6e
modified drop down (#2567)
* modified drop down

* modified drop down

* worked on feed back (Removal of button to text type)

* worked on feed back (Removal of button to text type and made lower case for edit)
2020-12-01 16:47:13 +01:00
Eric Duong
98932d0c3a
1936 retention graph (#2578)
* intiial graph on PG

* initial frontend

* fix filtering and types

* clickhouse working

* change reference date

* fix label and defaults

* fix multiple event retention

* working clickhouse and postgres for multiple events

* remove final

* remove sql parse

* add inital person query

* working clickhouse person query and return testrunner

* implement postgres retrieve person

* add endpoint and pagianted test

* click on datapoint works

* fix params

* fix action handling

* people paginated backend

* finished paginatino frontend logic

* fix variable naming for pg

* working first time persons for clickhouse

* first time people working for pg

* dont replace if recurring

* run again

* fix import

* refactor filter to retention specific and move postgres

* convert clickhouse to use new filter

* move imports

* fix types

* fix types

* fix initial load

* adding to dashboard works

* fixed defaults

* add test for dates

* fix insight panel

* add seert

* fix import

* fix date select for people

* fix chartfilterlogic

* remove unneded comment and import

* split up retention query
2020-12-01 10:15:50 -05:00
Karl-Aksel Puulmann
99a2c60d7d
Show all items at date when hovering a LineGraph (#2600)
This makes it easier to read graphs with multiple lines.

Fixes https://github.com/PostHog/posthog/issues/2597
2020-12-01 15:04:32 +01:00
Karl-Aksel Puulmann
4aedc4317a
Add event (sum of event_property) to event labels on graphs (#2583)
* Use standard jest test formatting

* Use js instead of ts in tests

* Add given2 as dependency

* Document existing behavior of formatLabel()

* Add `event (sum of event_property)` to event labels on graphs

I found the current state impossible to read when trying to see through
session recording metrics
2020-12-01 16:01:36 +02:00
Karl-Aksel Puulmann
df5e32d2b0
Update to posthog-js@1.7.3-beta.3 (#2601) 2020-12-01 15:39:27 +02:00
Tim Glaser
8db6a6f58f
Log exceptions in production (#2593) 2020-12-01 12:30:30 +01:00
Paolo D'Amico
1f478cea6f
Webhook warning adjustment (#2568)
* webhook availability warning

* add warning to actions too

* Update ActionEditV2.js

* Update WebhookIntegration.tsx

* Prettier

* Sync ActionEdit and ActionEditV2

Co-authored-by: Michael Matloka <dev@twixes.com>
2020-12-01 10:12:28 +01:00
Eric Duong
29c952a1ce
remove flake filter by event test (#2580) 2020-11-30 17:36:24 -06:00
Eric Duong
5ddfe6c30d
Revert "Retention graph and multiple event fix (#2534)" (#2577)
This reverts commit bb076eedad.
2020-11-30 16:40:22 -05:00
Eric Duong
bb076eedad
Retention graph and multiple event fix (#2534)
* intiial graph on PG

* initial frontend

* fix filtering and types

* clickhouse working

* change reference date

* fix label and defaults

* fix multiple event retention

* working clickhouse and postgres for multiple events

* remove final

* remove sql parse

* add inital person query

* working clickhouse person query and return testrunner

* implement postgres retrieve person

* add endpoint and pagianted test

* click on datapoint works

* fix params

* fix action handling

* people paginated backend

* finished paginatino frontend logic

* fix variable naming for pg

* working first time persons for clickhouse

* first time people working for pg

* dont replace if recurring

* run again

* fix import

* refactor filter to retention specific and move postgres

* convert clickhouse to use new filter

* move imports

* fix types

* fix types

* fix initial load

* adding to dashboard works

* fixed defaults

* add test for dates

* fix insight panel

* add seert

* fix import

* fix date select for people

* fix chartfilterlogic
2020-11-30 16:09:23 -05:00
Eric Duong
3f5b76cb8c
DAU breakdown and filter bug (#2575)
* add table name

* add test
2020-11-30 15:51:12 -05:00
Eric Duong
5967d0397d
Fix unclickable prop filter (#2572)
* fix bug with not being able to click on prop filter

* change cypress test data attr name

* return changes
2020-11-30 15:09:42 -05:00
Yakko Majuri
1dc8859fbb
update changelog with events box (#2574) 2020-11-30 19:54:12 +00:00