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

1571 Commits

Author SHA1 Message Date
Eric Duong
44b9ea6b45
Reorganize trends (#1931)
* reorganized trends.py

* reorder functions

* prune unused imports
2020-10-20 04:24:18 -04:00
Tim Glaser
7967e6ce45
Remove weekly email (#1934) 2020-10-19 18:20:06 +02:00
Michael Matloka
f3ce6fc2ed
Friendlier feedback command and flow navigation (#1905)
* Rework share feedback command

* Add backwards navigation of command flows with Esc
2020-10-19 15:05:09 +02:00
Yakko Majuri
d4bf674a8f
changed tone of nested sidebar (#1930) 2020-10-19 14:40:36 +02:00
Tim Glaser
58ca5539ea
Feature flags larger pages and rename sidebar item (#1927)
* Feature flags larger pages and rename sidebar item

* Flag icon instead
2020-10-19 12:45:01 +01:00
Eric Duong
8e5347b4e1
Implement property filtering operators (#1886)
* change parsing to include operators'

* make properties test into factory

* add clickhouse test implementation and fix another test

* add custom test to clickhouse filter tests

* all tests besides json filtering

* add json test

* fix tests

* fix type errors
2020-10-19 06:01:01 -04:00
Yakko Majuri
5785fe726e
Fix events overlay (#1922)
* fix events overlay

* removed image and overlay

* remove comment
2020-10-19 10:52:49 +01:00
Yakko Majuri
36a5d97389
Fix responsive sidebar overlay (#1924) 2020-10-19 10:39:15 +01:00
Karl-Aksel Puulmann
2b81946f3b
Avoid throwing uncaught error when creating cohorts (#1880)
Sentry error: https://sentry.io/organizations/posthog/issues/1665112291/?project=1899813&query=is%3Aunresolved+frontend&sort=user&statsPeriod=14d

This was introduced in commit 8e6b4f56b5
when moving from classes to functional components.

A lot of the Cohorts/People UX is weird, creating a separate issue on
this.
2020-10-19 11:57:57 +03:00
Karl-Aksel Puulmann
f8788287db
Don't fail when network fails during verification panel step (#1906)
Closes #1904
2020-10-19 10:55:38 +02:00
Marius Andra
d1715b757e
upgrade react-shadow (#1923) 2020-10-18 11:53:24 +01:00
Yakko Majuri
b48156f37d
fixed webpack on docker-compose.dev (#1921)
Co-authored-by: Yakko <yakko@yakkos-mbp.home>
2020-10-18 12:30:46 +02:00
Marius Andra
4e27575fb7
Hogflix demo dashboard rename & delete (#1919)
* delete hogflix dashboard, name it something other than "default"

* reload dashboards list to get it out of the sidebar

* fix name for consistency

Co-authored-by: Yakko Majuri <yakko.majuri@gmail.com>
2020-10-18 10:13:25 +01:00
Tim Glaser
cff8cb2134
Fix issues with elements matching (#1918)
* Fix issues with elements matching

* Add correct regex
2020-10-17 16:10:42 +02:00
James Greenhill
ab62e82b42
Reenable celery heartbeat for dev because _preflight depends on it (#1915) 2020-10-16 22:32:43 +02:00
Eric Duong
1c7db177b7
prune unused action code (#1914) 2020-10-16 21:55:43 +02:00
Tim Glaser
80d20e385b
Clickhouse use elements chain (#1849)
* Clickhouse use elements chain

* Fix stuff

* Add action tests and start regex

* Progress

* Progress part deux

* Fix everything

* Add tag name filtering

* Fix funnels

* Fix tag name regex

* Fix ordering

* Fix type issues

* Fix empty nth-child

* Remove commented code

* Split with semicolon and escaped quotes

* Specify all select columns
2020-10-16 14:07:03 +02:00
Shashwat
c97f1fbf91
Fix docker-compose.dev version tags (#1901) 2020-10-16 08:47:47 +01:00
Yakko Majuri
8b15c6ffd3
Minor changelog updates (#1899) 2020-10-15 20:52:38 +01:00
Paolo D'Amico
c5ea8220e7
bump drf-exceptions-hog (#1897) 2020-10-15 17:17:32 +02:00
Yakko Majuri
20f8934d89
Update changelog & bump version to 1.15.0 (#1894)
* update changelog, bump version

* update images
2020-10-15 14:45:59 +01:00
Yakko Majuri
157fca8d11
Bump version 1.15.0 (#1895) 2020-10-15 14:38:01 +01:00
Michael Matloka
79e4714f11
Palette smartphone adjustments (#1865)
* Adjust palette styling for even the smallest devices

* Scroll palette results into view

* Polish command logic and typing

* Fix scroll into view

* Capture isMobile() in palette usage events

* Adjust responsive palette styling

* Hide palette on `executor === true` execution
2020-10-15 14:20:29 +02:00
Marius Andra
4e62aed502
show CMD+K as "⌘K" instead of "⌘ + K" (#1893) 2020-10-15 14:02:31 +02:00
Tim Glaser
8d84eda545
Add property filters to sessions (#1835)
* Add property filters to sessions

* Fix backwards+forwards and use debounce

* Renamed filters to properties
2020-10-15 13:43:36 +02:00
Tim Glaser
0708e3a1b1
Fix sentry error in select box (#1891) 2020-10-15 13:39:00 +02:00
Karl-Aksel Puulmann
a635751150
Send PII data to sentry (#1813)
Inspired by docs: https://docs.sentry.io/platforms/python/guides/django/

This will include stuff like user identities
2020-10-15 13:06:28 +02:00
Michael Matloka
1f8195cab0
Update celery.py (#1879) 2020-10-15 12:45:17 +02:00
Paolo D'Amico
3f2119e58b
Fix: Clearing custom webhook message would save empty string (#1692) (#1892)
Co-authored-by: Jonathan Lloyd <jonathan@thisisjonathan.com>
2020-10-15 12:44:24 +02:00
Ahti Kitsik
3e1f06fe58
System Status page and API (#1812). (#1875)
* System Status page and API (#1812).

* More resilient to Redis outage. Ensure the table gets loaded.

* Bugfix and reworded.

* Using kea-typegen now and removed a " ".
2020-10-15 12:34:32 +02:00
Marius Andra
32592b36bb
Remove Toolbar Beta Toggle (#1853) 2020-10-15 11:42:42 +02:00
Eric Duong
b82527e86c
fix loading spinner (#1876) 2020-10-15 10:14:50 +02:00
Marius Andra
19fede85c5
Fix double tab opening when clicking with META (#1890)
* fix double tab opening

* unify Link and LinkButton
2020-10-15 10:06:14 +02:00
Karl-Aksel Puulmann
2fef0bf358
Reset user session after logging in as another user (#1850)
* Reset user session after logging in as another session

Resolves #1844

* Call posthog.reset() on logout
2020-10-15 09:56:58 +02:00
Eric Duong
2d60a5b670
Retention date filtering (#1788)
* working date filter

* frontend for period

* remove period

* add params

* add period

* period working

* add test for period

* merge master

* fix test

* add dropdowns for period date filtering

* pass params and handle properly

* fix labels and readjust tests

* test split for retentino period

* make insight retention test just test for response

* add condition

* feature flag the frontend and bring back ff for the ch endpoint

* fix cohort filtering

* fix cohort querying

* remove init

* remove feature flag

* add back featureflag

* block person modal on retention page if clickhouse enabled

* use distinct_id instead of joining for person_id
2020-10-14 10:28:27 -04:00
Karl-Aksel Puulmann
43816096d0
Fix SyntaxError on chrome (#1882)
Sentry: https://sentry.io/organizations/posthog/issues/1866056145/events/07430159d50a4c91a72c280a7921bf0d/?project=1899813&query=is%3Aunresolved&sort=user&statsPeriod=14d

I assume this was happening during parsing rather than during execution
- these are relatively new browsers
2020-10-14 15:10:43 +01:00
Ahti Kitsik
a8db09a1c2
Pinning the dev Dockerfile PostgreSQL and Redis to the versions used in production. (#1877) 2020-10-14 15:57:57 +02:00
Eric Duong
ea040c9e40
add overflow to card body (#1878) 2020-10-14 15:09:06 +02:00
Karl-Aksel Puulmann
c24c58828f
Upgrade cypress, fix and stabilize tests (#1872)
* Upgrade cypress

- https://docs.cypress.io/guides/references/migration-guide.html#Migrating-to-Cypress-5-0
- https://docs.cypress.io/guides/references/changelog.html#5-0-0

* Run tests multiple times if flaky

* Fix broken command palette cypress test

* Remove default retries options
2020-10-14 15:36:25 +03:00
Tim Glaser
da88897a21
Remove redis warning (#1856) 2020-10-14 13:35:44 +02:00
Eric Duong
7c02780458
don't call format unless there's an action (#1874) 2020-10-14 13:27:19 +02:00
Eric Duong
0f3969bb53
add check (#1873) 2020-10-14 07:09:16 -04:00
Michael Matloka
19adefcd6e
Fix small util bugs (#1871)
* Fix small util bugs

* Delete console.log
2020-10-14 12:00:52 +02:00
Karl-Aksel Puulmann
0370a42d98
Command palette: avoid clashing with browser shortcuts (#1867)
fixes #1866
2020-10-14 11:47:42 +03:00
Michael Matloka
c3d3f83c49
Destroy lodash (#1864)
* Convert utils to TS and add missing lodash-like functions

* Purge lodash, using utils and ES features instead

* Remove lodash as a dependency

* Fix Annotation.created_at default value (was null)

* Convert all of utils to TypeScript

* Update ESLint rule @typescript-eslint/explicit-module-boundary-types

* Put all @types/* into devDependencies

* Lower @typescript-eslint/explicit-function-return-type severity

* Fix Annotation.created_at in a better way

* Don't copy item on push in groupBy

* Use `Set.has()` instead of `in Set`

* Update .eslintrc.js

* Update .eslintrc.js
2020-10-14 10:42:06 +02:00
Karl-Aksel Puulmann
ff1fb54eb5
Mark js_posthog_host as safe (#1868) 2020-10-14 10:30:18 +02:00
Michael Matloka
a52612cf02
Use proper react-grid-layout (#1862) 2020-10-14 09:59:02 +02:00
Yakko Majuri
38135ba73a
fix feature flags test (#1858) 2020-10-14 10:01:17 +03:00
Tim Glaser
a7b4065965
Fix distinct id too long (#1831) 2020-10-14 09:58:13 +03:00
Paolo D'Amico
4d030e4aae
weekly email schedule (#1860) 2020-10-14 08:53:16 +02:00