Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get latest #1

Merged
merged 71 commits into from
Nov 14, 2020
Merged

Get latest #1

merged 71 commits into from
Nov 14, 2020

Conversation

GalDayan
Copy link
Owner

Changes

Please describe.
If this affects the front-end, include screenshots.

Checklist

  • All querysets/queries filter by Organization, Team, and User (if this PR affects ANY querysets/queries).
  • Django backend tests (if this PR affects the backend).
  • Cypress end-to-end tests (if this PR affects the frontend).

macobo and others added 30 commits November 9, 2020 11:28
Without this we can't really measure it being toggled
…2269)

* Make debug bar tricolor again and fix its text color outside of SPA

* Prettier
* some progress

* added retention to dashboard

* added paths to dashbaords

* updatedable but props are stuck

* retention updatable

* paths updatable

* fixed api

* set defaults

* make classname more specific so it doens't override style

* fix params

* format

* change icons

* fix width refresh for paths

* fix save
* Possibly optimize action finding

* Rerun Cypress
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
* Remove some seemingly unused requirements

* Remove a few more

* Bring back dependencies of other requirements

* pip-compile prod requirements

* Sync with master updates

* Fix grep

* Revert "Fix grep"

This reverts commit 2e6538c.

* Fix grep but using cut

* Clean up and regenerate requirements

* Simplify requirements-dev

* Fix fakeredis import in production

* Black
* Make it possible to print SQL to console

Without this, debugging why queries are slow requires a lot of work to
figure out what the actual query is. This came up yesterday when
debugging slow /decide endpoint responses.

Heavily inspired by https://github.com/django-extensions/django-extensions/blob/dba2da861b9412c1e0b67ae4b3f80df0c6bc23ea/django_extensions/management/debug_cursor.py

To use this, run e.g. `PRINT_SQL=1 ./bin/start-backend` or `PRINT_SQL=1
python manage.py shell_plus`

* Parameterize SQL in a better way
* inherit retention base class

* move query_retention over

* use query builder

* return to original singel query attempt

* adjust weekly

* fix types
* Refactor status report task, add tests

Also discovered issue #2255

* Refactor status report further

* Add DEPLOYMENT env variable to instance status report

Related issue: #2138

* Report posthog_event and posthog_session_recordingevent table sizes

This will help with doing some product decisions

* Fix instance status report person numbers

Fixes #2255

* Handle exceptions in status report

* count(*) fix
* Remove Live Actions Altogether

* remove backend code

* remove accidental file
* make sure day works too

* fix tests and interval

* change to timedelta
EDsCODE and others added 29 commits November 12, 2020 12:54
* inital consolidation

* split out result processing

* restore alltime for pg

* prune unsed imports and fix empty state

* reduce param logic

* initial reduction

* move cumulative

* improve reuse

* handle empty action

* more consolidation

* fix types
* fix retention dashboard item default

* fix paths selector

* use constants
* fix doubled up and change name

* Fix test

Co-authored-by: Tim Glaser <tim@glsr.nl>
* add contants, filter structure, and tests

* add frontend

* add logic

* fix retention logic for clickhouse

* postgres logic working

* add postgres logic and make test more thorough

* working

* fix cache people and change names

* add tooltips

* UX Improvements for first-time retention (#2346)

* UX improvements & copy updates

* few adjustments

Co-authored-by: Paolo D'Amico <paolodamico@users.noreply.github.com>
* Closes #2347 Fix shared dashboards

* Fix cypress test
* Run E2E tests without celery

I spent ~hour today figuring out why a task was not executing,
restarting frontend test runner each time.

By not running celery in test and forcing all things to evaluate eagerly
we can avoid that pain

* Remove a now always-passing test
* updated readme

- added heatmap mention
- fixed grammatical error

* minor fixes

Co-authored-by: Yakko Majuri <38760734+yakkomajuri@users.noreply.github.com>
* Watch person and person_distinct_id tables for lag

* record row counts as well

* add session_recording_events as well

* gofmt
* added revenue data generator

* minor improvements

* update help

* minor update

* minor updates

* update help
* Basic caching for Clickhouse to redis

* Use redis for caching results

* add tests and fix bugs

* fix mypy

* add fakeredis as req

* add fakeredis to github action for testing

* add fakeredis to cloud tests too

* pickle -> json

* bytes

* json in tests

* tuplefy
* Optimize @cached_function

* Improve pk typing

* Include CacheType in typing

* Restore old request and pk extraction
* Finish the local dev w/ proto setup

* WIP manage events view

* Add task, add interface etc

* Move everything to 'manage events' view

* Move all settings into single dropdown (can be reverted)

* Urls for tabs

* Fix migration

* Clickhouse and humanize volume

* Fix cypress test

* Fix sidebar cypress

* Fix cypress again

* Fix some small issues

* Address comments

* Corect naming

* Fix test'

Co-authored-by: James Greenhill <fuziontech@gmail.com>
* file uploads for plugins [WIP]

* save plugin attachments

* rename file->attachment, add size

* rename file->attachment, add size

* rename config type "file" to "attachment"

* see already uploaded files

* new config schema, add markdown support, move "disabled/enabled" switch up for visibility

* hints via markdown

* new plugin server

* remove attachments

* fix config serialization due to formdata

* small fixes

* help mypy

* remove `isFormData` argument

* remove debugger

* consistent naming for add/remove attachment

* remove unused params

* extract plugin test http mock, create test for plugin/create, mark most fields as read-only

* update github helloworldplugin zip with JS version of plugin

* upgrade plugins

* add auth test

* test plugin repo and config

* test plugin API attachment uploads

* test plugin server status response

* extract plugin config FormData method

* fix mypy

* use FakeRedis, not FakeStrictRedis

* random try - add REDIS_URL to tests

* try bad github action print debugging

* try bad github action print debugging

* plugin tests under multi tenancy

* add fakeredis to CI FOSS test

* remove prints

* enable plugin tests if in EE
* Refactor sceneLogic to TypeScript and add dynamic page title

* Add Cypress checks

* Run prettier

* Fix Cypress checks

* Improve camelCaseToTitle JSDoc

* Move "PostHog" to end of page title

* Use bullet

* Remove actions

* Rerun tests

* Fix new Events page after merge conflict
@GalDayan GalDayan merged commit f32ada8 into GalDayan:master Nov 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet