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

2844 Commits

Author SHA1 Message Date
PostHog bot
16db0a7300
Update plugin server to 0.15.5 (#3884)
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
2021-04-06 11:38:48 +02:00
Tim Glaser
d3fd3164ca
Add filters to lifecycle (#3870)
* Add filters to lifecycle

* hide property filters unless there's a previously set property

Co-authored-by: eric <eeoneric@gmail.com>
2021-04-05 23:02:05 -04:00
Michael Matloka
0f8bd06ee0
Clarify "Filter Out ..." settings copy (#3847) 2021-04-05 19:08:48 -07:00
Eric Duong
5cfc7ca500
Release remove-shownas (#3851)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-04-05 15:46:15 -07:00
Paolo D'Amico
e438ea3bda
Fix 0143 migration unique index (#3876) 2021-04-05 14:32:10 -07:00
Kunal
6703f9b75d
set platform when footer chosen (#3875)
Co-authored-by: kunal <kunal@Kunals-iMac.hsd1.ca.comcast.net>
2021-04-05 14:05:14 -07:00
Paolo D'Amico
9865bbc3c1
User V2 API endpoint (#3855)
* initial refactor

* simple serializer for teams

* basic team in front-end

* use basicTeam where applicable

* refactor UserSerializer to UserBasicSerializer

* abstract UserBasicSerializer

* add uuid to users

* move event properties methods to Team model

* basic V2 user endpoint

* update current user

* update current team and org

* post-merge fix

* fix load logic

* change password

* add some extra tests

* undo all frontend changes from this PR

* remove last frontend change

* update preflight tests

* remove team basic fetch

* fix foss tests

* adjust migration & add distinct ID to payload

* add deprecation notice

* add uuid to UserBasic serializer & update memberships

* add available features to org serializer

* address feedback

* endpoint -> `users/@me/`

* address feedback

* Use UUIDClassicModel abstract model when adding uuid field

Co-authored-by: Michael Matloka <dev@twixes.com>
2021-04-05 21:42:31 +02:00
Michael Matloka
7f581d8c9b
Don't render Signup component if logged in (#3874) 2021-04-05 21:10:36 +02:00
Kunal
bb4abb7f6a
Ingestion - framework grid (#3860)
* WIP - new flow wired

* make everything square + add footer back in

* fix types

* logo cleanup + type fix

* store active tab

* delete old img

* rename files

* cleanup

* add a feat flag

* refactor

* cleanup sort

* use PH logo for default

* add flags constant

* add instrumentation

* replace style

Co-authored-by: kunal <kunal@Kunals-iMac.hsd1.ca.comcast.net>
2021-04-05 10:51:54 -07:00
posthog-contributions-bot[bot]
0ba5412e4b
🤖: Add jonathanclarke as a contributor 🎉 (#3869) 2021-04-05 09:52:51 -05:00
Tim Glaser
fbd6844745
Improve formulas UI/input (#3620)
* Improve formulas UI/input

* Improve focus setting

* adjust styling

* fix formatting

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-04-05 13:00:29 +02:00
Tim Glaser
69ba0b1d90
Fix rounding for weekly and monthly intervals (#3665)
* Fix rounding for weekly interval

* fix monthly rounding too

* more monthly fixes

* fix tests

* fix formula test

* fix tests

* Remove unused var
2021-04-05 12:44:32 +02:00
Adrien Brault
89ed4ce864
Fix docker dev environment (#3861)
* Fix docker dev environment

- Use postgres 12 to fix a failing test
- Leverage a yaml anchor to share worker/web services configuration
- Add psql
- Configure psql

* Don't use :cached

* Use Postgres 12 in docker-compose everywhere

* Use postgresql-client-12

* Remove extraneous whitespace

* Clean up dev.Dockerfile

* Clean up EE dev/test docker-compose

* Simplify docker-compose.ch.test.yml

Co-authored-by: Michael Matloka <dev@twixes.com>
2021-04-03 20:41:47 +02:00
Paolo D'Amico
360445b6e0
Display when actions were last calculated (#3796) 2021-04-02 18:40:09 -05:00
Eric Duong
beb335a8eb
Release trend-legend (#3850)
* remove flag

* update test

* remove snapshot test

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-04-02 16:05:37 -04:00
Tim Glaser
e532223435
Fix feature flags insight link (#3865) 2021-04-02 13:07:33 -05:00
Marius Andra
3b72a3acb3
Show toast on API errors (#3561)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-04-02 12:05:16 -05:00
Michael Matloka
1fd8678734
Update plugin server in ee/docker-compose.* to 0.15.4 (#3863) 2021-04-02 17:16:10 +02:00
Paolo D'Amico
e0c079b011
Fix charts in dashboards (#3862) 2021-04-02 07:51:10 -07:00
posthog-contributions-bot[bot]
8e908e6fbb
🤖: Add wushaobo as a contributor 🎉 (#3857) 2021-04-01 20:18:33 -05:00
Paolo D'Amico
cead5fc47e
Reply to inviting user on invite emails (#3792) 2021-04-01 20:14:28 -05:00
Paolo D'Amico
1122c97aa0
Minor improvements to persons (#3834) 2021-04-01 20:05:38 -05:00
Paolo D'Amico
bfd9becd31
Fix cached trends on dashboards not loading (#3856) 2021-04-01 20:02:35 -05:00
Michael Matloka
d458e884ad
Improve clarity of main nav hotkeys (#3849) 2021-04-01 19:57:42 -05:00
Marius Andra
7942e8266e
new env: UPDATE_CACHED_DASHBOARD_ITEMS_INTERVAL_SECONDS (#3853) 2021-04-02 00:08:33 +02:00
posthog-contributions-bot[bot]
8098d2c334
🤖: Add leggetter as a contributor 🎉 (#3844) 2021-04-01 12:59:51 -07:00
Michael Matloka
2c8b63b68a
Fix Team.data_attributes default (#3846)
* Fix Team.data_attributes default

* Add test
2021-04-01 21:06:45 +02:00
Eric Duong
da6a955a94
3589 breakdown (#3782)
* initial api update

* make api work

* frontend changes

* hello

* adjust trend payload

* prelim working

* fix bugs

* use offset in filters to_dict

* use different pagination check

* use offset in filters to_dict

* test

* extend range for pg

* update test

* remove print

* update test

* match limits

* add api test

* center button

* nits

* UI adjustment

* update comment

* fix type error

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-04-01 13:54:09 -04:00
Michael Matloka
8f4ae2b8f9
Make text-muted half opacity black instead of solid light gray (#3845) 2021-04-01 19:08:45 +02:00
Eric Duong
954069b00d
Swap out person_distinct_id in queries with subquery (#3828)
* swap out distinct_id table in queries with a subquery that will only consider latest distinct_ids

* wrong import

* fix missin params

* more missing params
2021-04-01 12:56:42 -04:00
Michael Matloka
286287e8e1
Remove IS_DOCKER env var (#3843) 2021-04-01 17:10:00 +02:00
Phil Leggetter
e71803d776
Clarify project settings filter wording (#3839) 2021-04-01 17:00:40 +02:00
Michael Matloka
525e09c358
Delete docker-preview (#3842) 2021-04-01 16:46:09 +02:00
dependabot[bot]
97985695ea
Bump y18n from 4.0.0 to 4.0.1 (#3827)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Matloka <dev@twixes.com>
2021-04-01 15:31:01 +02:00
Woosik Kim
6e511f3387
Add localhost:3000 into excluded urls (#3803)
* Add localhost:3000 into excluded urls

* Update migration file

* Revert "Update migration file"

This reverts commit 2f8121612c.
2021-04-01 15:19:18 +02:00
PostHog bot
26ad8cf129
Update plugin server to 0.15.4 (#3838)
Co-authored-by: posthog-bot <posthog-bot@users.noreply.github.com>
2021-04-01 12:37:35 +02:00
Marius Andra
7ef21ded15
add posthog version to system status (#3837) 2021-04-01 10:52:33 +02:00
Tim Glaser
6ffdffd5be
Add descriptions of insights in menu (#3814)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-03-31 19:08:39 -07:00
Paolo D'Amico
29bf59cc2b
Backend tests refactor (#3774) 2021-03-31 19:00:58 -07:00
Adrien Brault
827b7fda43
Fix API/HTTP instructions json syntax (#3832)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-03-31 18:31:32 -07:00
posthog-contributions-bot[bot]
f103c8de4e
🤖: Add adrienbrault as a contributor 🎉 (#3835) 2021-03-31 18:05:51 -07:00
Adrien Brault
e930e4c243
Fix apt-get install error when building docker images (#3833)
Thanks for fixing this @adrienbrault!
2021-03-31 17:53:40 -07:00
posthog-contributions-bot[bot]
219cd3f215
🤖: Add lharress as a contributor 🎉 (#3826)
* docs: update README.md

* docs: update .all-contributorsrc

Co-authored-by: posthog-contributions-bot[bot] <80958034+posthog-contributions-bot[bot]@users.noreply.github.com>
2021-03-31 09:12:39 +00:00
Paolo D'Amico
74cfc1db0f
Fix 2K0 (#3823)
* remove unnecessary resize event triggers

* Fix 2K0
2021-03-31 09:12:18 +00:00
Paolo D'Amico
e40079c268
Update app favicon (#3778) 2021-03-30 15:47:28 -07:00
Paolo D'Amico
2b5886e2cd
Misc instrumentation & tiny tweaks (#3769) 2021-03-30 15:25:42 -07:00
Paolo D'Amico
db71faa9a9
Allow math filter on $time property (#3821) 2021-03-30 15:20:07 -07:00
Sandeep Guptan
92e444000a
added redirection to posthogs website (#3812) 2021-03-30 14:57:27 -07:00
Eric Duong
1768b89ea8
change created_at to _timestamp (#3820)
* change created_at to _timestamp

* remove test
2021-03-30 17:37:53 -04:00
Eric Duong
8ed52b5543
add test account filter to people endpoints (#3815) 2021-03-30 14:27:50 -04:00