0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-22 08:40:03 +01:00
Commit Graph

2002 Commits

Author SHA1 Message Date
Michael Matloka
f3dc59d104
Purge Porter (#2698) 2020-12-08 10:32:04 +01:00
Michael Matloka
0de0e25110
Add command palette badge to new TopNavigation (#2678)
* Add command palette badge to new TopNavigation

* optimise getTypeIcon & command palette icon in primary color

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2020-12-08 07:26:18 +01:00
Fatima Galaudu
1835174c7b
1842 link to edit cohort (#2694) 2020-12-07 19:54:58 -06:00
James Greenhill
7929ee1cf5
Quick fix to migrations (#2695) 2020-12-07 17:45:20 -08:00
James Greenhill
1ed68dcfb8
Actually set env var for DISABLE_SERVER_SIDE_CURSORS to True (#2692) 2020-12-07 13:35:15 -08:00
Paolo D'Amico
32ef8c1002
New Persons Page (#2667) 2020-12-07 11:18:11 -06:00
Michael Matloka
46d21b8eeb
Zapier updates (#2686)
* Update schema used in action_performed REST hook

* Optimize find_and_fire_hook

* Isort

* Fix Event.objects.filter_by_event_with_people in process_entity_for_events

* Revert typing changes
2020-12-07 16:29:58 +01:00
Tim Glaser
f22a082f30
Debug CH queries (#2666)
* Debug CH queries

* tests

* Logout when impersonated session

* Put "Debug ClickHouse queries" in its own command

* Clean up ClickHouse modal

Co-authored-by: Michael Matloka <dev@twixes.com>
2020-12-07 16:06:14 +01:00
Tim Glaser
595d32fd05
Actions Table filtering, search and sorting (#2670) 2020-12-07 08:35:36 -06:00
Paolo D'Amico
f654a37077
Fix cypress projectSettings (#2674)
* fix projectSettings

* allow /insights or /demo

* fix

* real fix
2020-12-07 11:53:14 +01:00
James Greenhill
7c90eb64fe
DISABLE_SERVER_SIDE_CURSORS to false for pgbouncer friendship (#2677)
* DISABLE_SERVER_SIDE_CURSORS to false for pgbouncer friendship

* USING_PGBOUNCER
2020-12-04 17:44:02 -08:00
Paolo D'Amico
88dafdd55f
tried to fix #2632 (#2673)
Co-authored-by: samcaspus <sandeepguptan1998@gmail.com>
2020-12-04 15:28:12 -06:00
Suresh Kumar
899b0967d6
fix: fixes command palette scrolling issue (#2658) 2020-12-04 14:32:39 -06:00
Yakko Majuri
3eff7abdc5
Fix 404 (#2671) 2020-12-04 14:10:45 -06:00
Eric Duong
8fbbe679f5
Stickiness improvement and filter refactor (#2638)
* stickiness filter refactor

* stickiness clickhouse

* parametrize clickhouse trunc

* add interval tests

* fix type and casing

* change name to interval not period

* change defaults

* remove offsets

* move stickinses people endpoint

* move imports

* remove unused imports

* fix time defaults

* swap endpoint

* add interval tests

* move api test

* fix all time calculation and add team_id filter to earliest timestamp ch
2020-12-04 20:42:01 +01:00
Michael Matloka
86c0c1af91
Make Google login an Enterprise/Cloud feature (#2501)
* Make Google login an Enterprise OR Cloud feature

* Fix test

* isort

* Fix typing

* Restore package.json
2020-12-04 19:54:27 +01:00
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