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

1866 Commits

Author SHA1 Message Date
Yakko Majuri
671d1febee
Fix Feature Flags typo (#2463) 2020-11-23 12:07:43 +01:00
Yakko Majuri
97af9fa90e
Fix Password Change (#2467)
* Fix password change

* Update test_user.py

Co-authored-by: Michael Matloka <dev@twixes.com>
2020-11-23 12:06:48 +01:00
Michael Matloka
50dfabdc7a
Fix My Settings (#2465)
* Fix sidebar

* Fix change password form layout
2020-11-23 11:38:05 +01:00
Tim Glaser
7d4bdf6a9b
Fix cohort calculation (#2464) 2020-11-23 11:16:09 +01:00
Adam Boaler
01d3735076
Fix invalid date format for labels on Windows (#2456) 2020-11-23 10:59:54 +01:00
Michael Matloka
d24783ece6
Org/projects UX enhancements (#2145)
* Improve member removal UX

* Add Delete Project

* Constrain project deletion in the frontend

* Improve no org

* Make minor fixes

* Bring back changes

* Add member level changing

* Update test_organization_members.py

* Fix org leaving edge case

* Polish Project Settings UI

* Allow full project deletion

* Fix dynamic page title edge case

* Mymymypy

* Remove console.log

* Remove obsolete test

* Fix API constraints

* Fix invite creation validation case

* Add cloud/self-hosted specificity to premium feature guarding

* Improve user setting logic in case of error

* Use Teammates instead of Team Members

* Improve org/project creation UX

* Add organization ownership

* Add migration

* Fix redirecting to org creation

* Improve clipboard toast consistency

* isort

* Update tests

* isort

* Update test_organization.py

* Fix typing (somewhat)

* Explain passing on ownership

* Address feedback

* Reverse guardPremiumFeature return

* Fix typing

* Fix test

* Fix last typing

* Fix merge conflict resolution

* Remove unused code
2020-11-23 10:53:45 +01:00
Marius Andra
dead5d895f
create DATABASE_URL env if none found (#2454) 2020-11-20 18:38:22 +00:00
Tim Glaser
1a1beaa7b2
Don't record session player (#2455) 2020-11-20 18:38:24 +01:00
Marius Andra
eb8b650aee
Docker nodejs support for plugins (#2452)
* keep npm around in the dockerfiles (needed for plugin-server)

* simplify docker-preview script
2020-11-20 17:04:10 +01:00
Marius Andra
cba2b1b986
plugin server url (#2451) 2020-11-20 16:51:16 +01:00
Marius Andra
97b5d8faac
deprecate from_web and from_json (#2449) 2020-11-20 16:51:06 +01:00
Michael Matloka
427d57141f
Improve docker-compose-config experience (#2266)
* Improve docker-compose-config experience

* Black

* Isort

* Don't look for a virtual env

* Use python3 -m pip instead of pip3 for consistency

* Black

* Add set -ex
2020-11-20 16:11:05 +01:00
Michael Matloka
84f494646a
Allow logged in users to join from invite (#2244)
* Allow logged in users to join from invite

* Black

* Add Join Organization page to avoid unsafe GET

* Add test for joining from existing invite

* Improve UX

* Black

* Isort

* Fix bugs

* Rerun tests

* Remove obsolete team argument
2020-11-20 14:47:32 +01:00
Marius Andra
6906c86a5c
Use isoformat() for dates in Kafka WAL (otherwise playback results in errors); add back sentry instrumentation (#2396) 2020-11-20 14:47:03 +01:00
GalDayan
f39575d388
Add feature flag filters and roll out precentage to main table (#2387)
* added rollout precentage and filters to main table

* added enable editing

* Seperate to component

* Remove row design

* renamed

* delete unused code

* added typing

* Removed not necessary commits

* prettier ts file

* Formatting

* fix yarn linter

* changed rollout precentage

* changed

* rollbacked the changes

* If there is not roll out percent

* add test on rollout precentage

* refactor

* added filter selectio ntest

* delete unused data-attr

* update attribute

* added filters check
2020-11-20 11:03:14 +01:00
Marius Andra
88ad205a3a
Separate Plugins dyno for Heroku (#2213)
* separate plugin worker for heroku

* plugin server for dev with less concurrency

* add back plugins script

* move beat log to beat

* move starting the beat into the celery worker

* add optional process types for plugins and celery

* premium redis for heroku review apps

* fix broken script

* proc/dyno names are alphanumeric

* singularize

* premium-0 redis for all heroku apps, not just review apps

* premium-0 redis also for review apps

* remove heroku redis modifications

* remove out of scope code

* run beat in bg
2020-11-20 10:42:59 +01:00
James Greenhill
e32ba846ed
Revert "Add alt_host for graceful failover to our secondary clickhouse node (#2407)" (#2446)
This reverts commit 751b47c73f.
2020-11-19 21:45:58 -08:00
James Greenhill
751b47c73f
Add alt_host for graceful failover to our secondary clickhouse node (#2407) 2020-11-19 21:18:46 -08:00
James Greenhill
f6d2e18b2c
Create task definition for ECS (#2424)
* Create ECS Task definition for prod deploy

* change action for testing

* update action to deploy to ecs

* add id for build image

* try to get the file at deploy location

* change branch for testing

* update container name

* link up the container definition in the task definition

* remove duplicate key

* add IAM ARN for deploy user

* Replace role with role

* change roles for testing

* update roles for testing

* switch roles for testing

* update ports

* Swap roles

* update entrypoint for gunicorn

* use docker-server script to start service

* github bug?

* try to stop ssl redirect on container

* another test

* Clickhouse sync

* add new dns for stage testing

* remove unecessary step

* prep for merge

* slight rename
2020-11-19 21:11:00 -08:00
Nicolás Gonik
a85984fad8
fixed typo (#2443) 2020-11-19 15:33:44 +01:00
Tim Glaser
5ce7b47b1a
Fix cohorts stuck on empty querysets (#2441)
* Fix cohorts stuck on empty querysets

* explicit nulls first
2020-11-19 11:50:06 +01:00
Tim Glaser
7bd0ea7039
Fix fetch single event clickhouse (#2436) 2020-11-19 11:27:29 +01:00
Karl-Aksel Puulmann
a877d65ffe
Use posthog-js 1.7.0-alpha.1 (#2440)
This will enable testing out whether the session recording improvements
from yesterday did anything
2020-11-19 12:25:17 +02:00
Yakko Majuri
e98a9e808d
Hide Billing Toolbar from PostHog team (#2439) 2020-11-19 11:19:56 +02:00
Tim Glaser
21b195a0c6
Remove unused dependencies (#2416)
* Remove unused dependencies

* Remove more deps

* add reselect back in

* Add cypress terminal back in

* install cypress terminal on the fly

* combine
2020-11-18 20:53:01 +01:00
Tim Glaser
da305b3e84
Redirect to manage billing view on app (#2434)
* Redirect to manage billing view on app

* Fix tracking
2020-11-18 20:42:22 +01:00
Tim Glaser
78c2ae74ac
Fix filtering is not bool (#2435)
* Fix filtering is not bool

* don't commit settings
2020-11-18 19:30:16 +01:00
Tim Glaser
b41381c149
Fix empty actions in cohorts (#2411)
* Fix empty actions in cohorts

* Dont show calculating in clickhouse

* Fix
2020-11-18 16:30:29 +01:00
Tim Glaser
4e610a0136
Fix aggregates clickhouse (#2432)
* Fix aggregates clickhouse

* remove join
2020-11-18 16:30:09 +01:00
Adam Boaler
54ae8f0e70
Check STATSD_HOST exists before setting statsd defaults (#2430) 2020-11-18 14:42:26 +01:00
Karl-Aksel Puulmann
2ad796d799
Revert "Bump posthog-js (#2427)" (#2431)
This reverts commit 78054bb544.
2020-11-18 14:26:24 +02:00
Eric Duong
ec64e467ee
Organize logic (#2358)
* clean up reused function

* remove fluff and use constants

* standardizing compare

* segment logic for clickhouse queries that have a lot

* add default to filter.date_to

* mino unwrap

* fix test
2020-11-18 13:12:26 +01:00
Karl-Aksel Puulmann
80f7b757ac
Session recording: only check permitted domains if defined (#2429)
This caused some confusion yesterday on users slack.
2020-11-18 13:06:09 +01:00
Karl-Aksel Puulmann
78054bb544
Bump posthog-js (#2427) 2020-11-18 12:44:31 +02:00
Paolo D'Amico
aaad92da0a
Update personsLogic.ts (#2423) 2020-11-17 18:14:48 -06:00
James Greenhill
2d882a0da6
create docker build action (#2419)
* create docker build action

* this is to test w/o keys

* fix

* back to pushing containers

* finalize for deploy
2020-11-17 15:42:44 -08:00
Tim Glaser
1f7cfb0b7f
Add ee to docker ignore (#2422) 2020-11-17 23:00:42 +01:00
Paolo D'Amico
72b842cb93
Persons list refactor (#2418)
* refactor person category filter

* convert persons to TS & kea; clean up code

* remove undefined attributes from QS

* fix updating URL in every keystroke

* filter out invalid qs params

* fixes React key error

* bring back cohorts
2020-11-17 15:15:46 -06:00
Yakko Majuri
308520d174
Release 1.17.0 (#2417)
* Add actions to sidebar (#2402)

* Fix cohorts not being calculated (#2404)

* Fix heroku image (#2414)

* Fix cohorts (#2415)

* Bump version 1.17.0

Co-authored-by: Tim Glaser <tim.glaser@hiberly.com>
Co-authored-by: Tim Glaser <tim@glsr.nl>
2020-11-17 18:00:27 +00:00
Tim Glaser
b0008f8e9e
Fix emojies with lz64 encoding (#2403) 2020-11-17 18:05:58 +01:00
Tim Glaser
d5aaa5aa87
Fix cohorts (#2415) 2020-11-17 16:32:15 +01:00
Karl-Aksel Puulmann
556f7e8b06
Separate endpoint for session recordings (#2398)
* Separate endpoint for session recordings

This will make it easier to debug capture failures - if they're because
of session recordings it will be clearly indicated in the logs.

* Rename according to feedback
2020-11-17 17:04:42 +02:00
Paolo D'Amico
9ad483064b
Refactor people & users to persons (#2413) 2020-11-17 08:40:48 -06:00
Tim Glaser
d753ba5c35
Last 7 days instead of last week, closes #2408 (#2410)
* Last 7 days instead of last week, closes #2408

* Fix "14 weeks"

Co-authored-by: Michael Matloka <dev@twixes.com>
2020-11-17 14:05:04 +01:00
Paolo D'Amico
0725d11979
Fix navigation with actions & events (#2401)
* custom logic for certain active scenes

* fix events nav

* remove actions from menu
2020-11-17 09:25:25 +01:00
Tim Glaser
1ec12f26e7
Fix cohorts not being calculated (#2404) 2020-11-16 20:56:01 +01:00
Tim Glaser
7f4ce69b95
Add actions to sidebar (#2402) 2020-11-16 13:01:45 -06:00
Tim Glaser
bb6b1e6b01
Increase action step url max length. Closes #2348 (#2369) 2020-11-16 17:50:16 +01:00
Paolo D'Amico
1357df0c13
remove repeated lines (#2399) 2020-11-16 16:30:39 +01:00
Eric Duong
dfeb94fb23
First time retention bug fixes (#2371)
* working two evention recurring retention

* change first time event to be captured across all time
2020-11-16 15:43:13 +01:00