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

3084 Commits

Author SHA1 Message Date
PostHog bot
46b8491abe
Update plugin server to 0.18.1 (#4229) 2021-05-06 14:39:11 +02:00
Yakko Majuri
610a79ca5f
Prevent a 500 from missing param in api/event/session_recording (#4158)
* Prevent a 500 from missing param in api/event/session_recording

* fix issues

* add error handling to foss
2021-05-06 09:26:05 -03:00
Karl-Aksel Puulmann
9c76db5527
Set max_threads for clickhouse explicitly (hotfix) (#4227)
We're seeing queries try to spawn 15k threads due to an invalid
max_threads setting in clickhouse. Since no-one awake has ssh access
this is a temporary hotfix to make things work.
2021-05-06 13:04:11 +02:00
Karl-Aksel Puulmann
9d8b61f2e1
Fix conflicting migrations (#4225)
Error:

```
CommandError: Conflicting migrations detected; multiple leaf nodes in the migration graph: (0147_fix_stickiness_dashboard_items, 0147_plugin_logs in posthog).
To fix them run 'python manage.py makemigrations --merge'
```
2021-05-06 08:31:57 +00:00
Michael Matloka
e96f95ef5a
Plugin log entries (#3482)
* Add Postgres model PluginLogEntry

* Add equivalent PluginLogEntry to Kafka+ClickHouse

* Add migration

* Add PluginLogEntry.Type.LOG & make PluginLogEntry.message a TextField

* Update 0130_pluginlogentry.py

* Add PluginLogEntry.instance_id

* Update migration

* Update migration

* Add plugin log entries API

* Test plugin log entries DB fetching

* Add PluginLogs component prototype

* Fix API

* Improve PluginLogs component

* Remove almost unused plugin Feedback button

* Update migration

* Fixed typing

* Fix org permission error test asserts

* Fix plugin log entry tests

* Fix CH plugin log entry timestamp string

* Update CH test_plugin_log_entry.py

* Fix plugin log entry tests across PG/CH

* Satisfy mypy

* Add search and limit to plugin log entry API

* Send team_id in plugin config API

* Rework plugin logs UI

* Add plugin config team ID in tests

* Add plugin config team ID in tests actually

* Fix code quality

* Make logs plugin config-based

* Fix CH queries

* Fix typing

* Improve UX and fix things

* Polish plugin logs logic

* Update migration

* Add Celery task to delete old plugin logs

* Fix UX bug with loading more plugin logs

* Fix missing import

* Remove OrganizationMemberPermissions message change

* Make mypy happy

* Add PluginLogEntry.is_system

* Optimize CH plugin_log_entires PARTITION/ORDER

* Increment migration

* Adjust plugin logs drawer display

* Fix plugin_log_factory_ch

* Fix plugin_log_factory_ch fix

* Replace PluginLogEntry.is_system with source

* Adjust PluginLogEntrySerializer

* Update CH fetch_plugin_log_entries

* Make kea-typegen happy
2021-05-06 10:54:32 +03:00
Karl-Aksel Puulmann
a50596c3eb
Fix python manage.py migrate_clickhouse --fake (#4224) 2021-05-06 09:59:50 +03:00
Sam Winslow
ed9dc434a7
Horizontal query UI top-level elements (4050) (#4217) 2021-05-05 20:15:03 -04:00
Neil Kakkar
1e2a942b4a
Fix Broken Link to Integrations (#4220)
I noted that we redirect `docs/integrations/*` to `docs/libraries/*`, but found this specific one to be broken. Not sure if I should be fixing it like this, or by adding to a redirect rule.
2021-05-05 23:30:09 +02:00
Tim Glaser
1feac44d3b
Fix stickiness issue (#4219) 2021-05-05 21:15:54 +02:00
Li Yi Yu
19d30428ce
Dashboard item page view (#4142)
* add dashboard item information to insights page

(cherry picked from commit 63cec8e6c9416a3d89a0420894c9184dec36256d)

* update all dashboard item links

* add logic to include dashboard name on insights dashboard item

* add back to dashboards link and update all dashboard item links

* style clean up

* typescript fixes

* add comments for posterity

* update dashboard item design and componentize item header

* remove dashboardName variable

* refactor displayMap

* update dashboard item logic and props

* span fix

* clean up insight dashboard item view url

* fix weird state bug with trends

* update dashboard item view for paths

* clean up params for dashboardItemHeader

* maintain update dashboard item functionality

* bandaid fix retention insight history bug

* remove stale comment

* typing tweak

* feedback updates

* url namespace update for clarity

* update e2e

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-05-05 13:58:09 -04:00
Karl-Aksel Puulmann
f4009c1e16
Allow migrating on a clickhouse cluster (#4197)
* Allow migrating clickhouse on cluster

Context under https://github.com/PostHog/posthog/issues/4090

* Add option to print sql
2021-05-05 14:38:39 +03:00
Paolo D'Amico
3bd18a7b71
Fix PersonHeader name rendering (#4215) 2021-05-05 08:20:01 -03:00
Li Yi Yu
4d5d2455c5
Use alternative way of color corresponding lifecycle toggles (#4212)
* use alternative way of color corresponding lifecycle toggles

* use checkboxes for lifecycle toggles
2021-05-04 19:43:26 -04:00
Sam Winslow
ca1a7bfc4e
Add bin script to start Cypress component tests (#4186)
* Add bin script to start cypress component test

* remove unneeded flags
2021-05-04 17:14:17 -04:00
Sam Winslow
386f308783
Reorganize files in frontend/src/scenes/insights/ (#4207) 2021-05-04 20:28:54 +02:00
Tim Glaser
0bfa2784cb
Fix action error with gt (#4209)
* Fix action error with gt

Closes #4195

* fix type
2021-05-04 19:37:29 +02:00
Marius Andra
c08a9ea6e5
remove graphile queue so new plugin server could run (#4208) 2021-05-04 18:08:18 +02:00
Tim Glaser
aed52b9c67
Fix moving from person sessions to global sessions (#4201) 2021-05-04 11:28:26 -04:00
James Greenhill
b7bc93cfac
Enable cleanup of SSM Task that enables us to exec into containers on ecs (#4096) 2021-05-04 14:22:20 +00:00
PostHog bot
1786219dba
Update plugin server to 0.18.0 (#4205) 2021-05-04 16:14:02 +02:00
Tim Glaser
3520637967
Warn before running all tests (#4204) 2021-05-04 15:41:22 +02:00
Karl-Aksel Puulmann
56cc0ddc22
Rename free clickhouse plan (#4203) 2021-05-04 06:06:26 -07:00
James Greenhill
e84c57e6a6
Add dbq connection string env var secret references (#4194)
* Add dbq connection string env var secret references

* add graphile as the default job queue

Co-authored-by: Marius Andra <marius.andra@gmail.com>
2021-05-04 14:42:25 +02:00
Tim Glaser
8f8d182141
Cut off long props/events in table (#4179) 2021-05-04 14:13:30 +02:00
Michael Matloka
51a371e5b9
Fix empty person in REST hooks (#4198) 2021-05-04 14:05:05 +02:00
posthog-contributions-bot[bot]
e6190b0b0f
🤖: Add sankalpdomore as a contributor 🎉 (#4193) 2021-05-03 23:02:11 +02:00
Sam Winslow
f5a385c026
Debounce action filter Fuse lookup (#4184)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-05-03 14:19:28 -04:00
Yakko Majuri
46a91f07c0
Fix toolbar modal URLs (#4178) 2021-05-03 12:49:22 +02:00
posthog-contributions-bot[bot]
8d7edc0be9
🤖: Add gesposito as a contributor 🎉 (#4188) 2021-05-03 10:54:36 +02:00
Karl-Aksel Puulmann
f512028bff
Fix organization membership changing (#4177)
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-04-30 18:21:23 -07:00
Paolo D'Amico
c57d29869a
Removes deprecated code from shown-as migration (#4173)
Co-authored-by: eric <eeoneric@gmail.com>
2021-04-30 15:40:08 -07:00
dependabot[bot]
e181ff8995
Bump ssri from 6.0.1 to 6.0.2 (#4183)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-30 13:20:08 -07:00
Michael Matloka
dedaaf991e
Fix authenticated org-less invite signup (#4176) 2021-04-30 12:52:30 -07:00
posthog-contributions-bot[bot]
f821990c50
🤖: Add thedeveloperr as a contributor 🎉 (#4185) 2021-04-30 21:48:23 +02:00
Yakko Majuri
7578c43a26
Fix typo on project settings page (#4182) 2021-04-30 17:02:24 +00:00
Tim Glaser
bc24c52804
Attempt to fix e2e retention test (#4180)
* Attempt to fix e2e retention test

* attempt 2
2021-04-30 18:29:39 +02:00
Sam Winslow
965deb2cb2
Convert regex filter select to input with autocomplete (#4170) 2021-04-30 11:27:20 -04:00
Paolo D'Amico
a52a9e460c
Lifecycle hover fix (#4174) 2021-04-30 06:11:35 -07:00
Paolo D'Amico
3de5252fa6
SITE_URL config warning (#4172) 2021-04-29 17:28:49 -07:00
Li Yi Yu
5a6c92cd71
Lifecycle Toggles: Add tooltips and refactor color imports (#4152)
Co-authored-by: Sam Winslow <sammywinslow@gmail.com>
2021-04-29 19:30:29 -04:00
Michael Matloka
39ae79f59e
Use gradient favicon (#4163) 2021-04-29 16:11:01 -07:00
PostHog bot
ab842c6cd0
Update plugin server to 0.17.2 (#4168) 2021-04-29 21:11:20 +02:00
Eric Duong
0f6c83fea4
fix collapsing section (#4167) 2021-04-29 13:54:21 -04:00
Eric Duong
3b06eec925
Virtualize action filter (#4143)
* single list

* working virtualized list

* fix sessions data

* add search
2021-04-29 11:56:20 -04:00
Michael Matloka
1575dace50
Improve SVG icons (#4144)
* Minify safari-pinned-tab

* Make sure favicon.svg has a rectangular frame

* Remove old icons
2021-04-29 16:40:02 +02:00
PostHog bot
88494c4633
Update plugin server to 0.17.1 (#4162) 2021-04-29 16:24:48 +02:00
Karl-Aksel Puulmann
c775a5305c
Add --plan and --fake flags to migrate_clickhouse (#4160)
This can be used to bring a production environment up to date.

Related issue: #4090
2021-04-29 15:40:12 +03:00
Kunal
d39405bcc7
Feat/ph home updates (#4157)
* close style

* update text css

Co-authored-by: kunal <kunal@Kunals-iMac.hsd1.ca.comcast.net>
2021-04-29 06:33:03 +00:00
Kunal
0e5e9b7f9a
Project Home (#4086)
* PH home

* let data load

* cleanup

* add a feature flag

* add feature flag

* cleanup

* css cleanup

* cleanup

* copy edits

* update footer

* copy edits + open community links in new tab

* add instrumentation

* default hasData to false

* edit rocket css

* copy edits

* very minor tweaks

* update eventUsage sig

* change order of default onclick

* move invite modal inline

* add utm param to slack

* move project home seen call to effect

* make map inline

* load data local to component

* move lessons map inline

* add insight type to recent analysis event

* add lesson images to proj

* move types to type file

* update rel if opening in new tab

* remove unmount

* fix file names, rename modules

* cleanup css

* switch to ant breakpoints

* use proper keys

* update lessons breakpoints

* final tweaks

* remove unnecessary extra loads

* move lesson thumbs to public

* test if adding to pub root works

* fix file name

* fix for slick-carousel arrow bug throwing errors

* move images back to scenes subdir

* use a component instead of a util

* update questions

* update a word

Co-authored-by: kunal <kunal@Kunals-iMac.hsd1.ca.comcast.net>
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
2021-04-28 22:41:15 -07:00
Sam Winslow
1564ed6260
Tweak sessions filter UI and use PropertyKeyInfo (#4151) 2021-04-28 23:41:44 +00:00