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

49 Commits

Author SHA1 Message Date
Anoop G R
7743ee73cb
411 export cohort csv (#441)
* Add djangorestframework-csv external package

* Export a paginated csv at /api/person.csv

* Do not paginate when a when csv export is requested

* Add export button to download cohort as a csv file

* Fix styling errors caught by deepsource.io

* Suppress checks on an import that mypy is unable to follow

* Dynamically pick person properties including deep nested properties
2020-04-30 19:27:51 +01:00
Eric Duong
2ba7f6ebef
#334 sessions (#586)
* initial commit

* initial commit

* initial sessions query working

* with tests and two datapoints

* UI for sessions initial

* reset frontend

* fully working implementation

* updated tests for more cases

* bug fix

* small bug and removing carry over properties

* remove unused line

* missing daterange line

* round seconds

* small fixes

* ignore type

* explicit type conversion

* adjusted sorting and formatting for resulting data

* remove redundant label

* created own friendly time converter
2020-04-17 08:59:50 -04:00
Sanket Dasgupta
3738f33e30
Remove drf-yasg in favor of new docs website (#596)
The new documentation at https://docs.posthog.com supersedes
this.

Fixes https://github.com/PostHog/posthog/issues/574
2020-04-15 16:24:10 +01:00
dependabot-preview[bot]
609b33fc1c
Bump pandas from 1.0.0 to 1.0.3 (#486)
Bumps [pandas](https://github.com/pandas-dev/pandas) from 1.0.0 to 1.0.3.
- [Release notes](https://github.com/pandas-dev/pandas/releases)
- [Changelog](https://github.com/pandas-dev/pandas/blob/master/RELEASE.md)
- [Commits](https://github.com/pandas-dev/pandas/compare/v1.0.0...v1.0.3)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-14 15:57:04 +01:00
dependabot-preview[bot]
96925bb9eb
Bump psycopg2-binary from 2.8.4 to 2.8.5 (#524)
Bumps [psycopg2-binary](https://github.com/psycopg/psycopg2) from 2.8.4 to 2.8.5.
- [Release notes](https://github.com/psycopg/psycopg2/releases)
- [Changelog](https://github.com/psycopg/psycopg2/blob/master/NEWS)
- [Commits](https://github.com/psycopg/psycopg2/commits)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-14 15:03:33 +01:00
dependabot-preview[bot]
c344bc59b3
Bump django-extensions from 2.2.8 to 2.2.9 (#525)
Bumps [django-extensions](https://github.com/django-extensions/django-extensions) from 2.2.8 to 2.2.9.
- [Release notes](https://github.com/django-extensions/django-extensions/releases)
- [Changelog](https://github.com/django-extensions/django-extensions/blob/master/CHANGELOG.md)
- [Commits](https://github.com/django-extensions/django-extensions/compare/2.2.8...2.2.9)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-14 15:03:13 +01:00
dependabot-preview[bot]
ddad3e8fda
Bump wcwidth from 0.1.8 to 0.1.9 (#537)
Bumps [wcwidth](https://github.com/jquast/wcwidth) from 0.1.8 to 0.1.9.
- [Release notes](https://github.com/jquast/wcwidth/releases)
- [Commits](https://github.com/jquast/wcwidth/compare/0.1.8...0.1.9)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-14 15:02:00 +01:00
Tim Glaser
1f334d1304
Speed up tests by parallelising them (#543) 2020-04-13 10:06:36 +01:00
dependabot-preview[bot]
58e859234e
Bump sentry-sdk from 0.14.1 to 0.14.3 (#400)
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python) from 0.14.1 to 0.14.3.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGES.md)
- [Commits](https://github.com/getsentry/sentry-python/compare/0.14.1...0.14.3)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-09 16:35:28 +01:00
dependabot-preview[bot]
0dbc7b6ef0
Bump typing-extensions from 3.7.4.1 to 3.7.4.2 (#483)
Bumps [typing-extensions](https://github.com/python/typing) from 3.7.4.1 to 3.7.4.2.
- [Release notes](https://github.com/python/typing/releases)
- [Commits](https://github.com/python/typing/commits)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-08 18:43:47 +01:00
dependabot-preview[bot]
56c26b4df3
Bump django from 3.0.3 to 3.0.5 (#484)
Bumps [django](https://github.com/django/django) from 3.0.3 to 3.0.5.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.0.3...3.0.5)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-08 18:43:04 +01:00
dependabot-preview[bot]
441edd7d68
Bump django-stubs from 1.4.0 to 1.5.0 (#485)
Bumps [django-stubs](https://github.com/typeddjango/django-stubs) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/typeddjango/django-stubs/releases)
- [Changelog](https://github.com/typeddjango/django-stubs/blob/master/release.xsh)
- [Commits](https://github.com/typeddjango/django-stubs/compare/1.4.0...v1.5.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-08 18:42:22 +01:00
dependabot-preview[bot]
0a01fe4d67
Bump asgiref from 3.2.3 to 3.2.7 (#503)
Bumps [asgiref](https://github.com/django/asgiref) from 3.2.3 to 3.2.7.
- [Release notes](https://github.com/django/asgiref/releases)
- [Changelog](https://github.com/django/asgiref/blob/master/CHANGELOG.txt)
- [Commits](https://github.com/django/asgiref/compare/3.2.3...3.2.7)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-08 18:42:02 +01:00
Marius Andra
66780ceef7
Make workers optional for now, add a warning if they are offline (#494)
* add warning script to settings and docker-worker in case REDIS_URL is not found

* test celery heartbeat

* save celery heartbeat in redis

* /_stats/ with worker heartbeat

* refactor top content

* show worker stats

* heartbeat delay to 90sec

* update worker error message

* remove line

* add redbeat schdeduler

* add redbeat for local development
2020-04-08 13:52:29 +01:00
dependabot-preview[bot]
580509a467
Bump posthoganalytics from 1.0.9 to 1.0.10 (#482)
Bumps [posthoganalytics](https://github.com/posthog/posthog-python) from 1.0.9 to 1.0.10.
- [Release notes](https://github.com/posthog/posthog-python/releases)
- [Commits](https://github.com/posthog/posthog-python/compare/1.0.9...1.0.10)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-04-07 18:16:59 +01:00
Marius Andra
306a57244d add celery 2020-04-07 14:01:33 +02:00
Eric
da0739b08f update configs for python-social-auth for github 2020-03-29 12:03:58 -04:00
Tim Glaser
33724fe382 Bump analytics to fix test failure 2020-02-21 16:26:48 -08:00
Tim Glaser
a420a0f872 Bump posthog analytics 2020-02-18 15:45:36 -08:00
dependabot-preview[bot]
6a1bd1de01
Bump posthoganalytics from 1.0.6 to 1.0.7
Bumps [posthoganalytics](https://github.com/posthog/posthog-python) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/posthog/posthog-python/releases)
- [Commits](https://github.com/posthog/posthog-python/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-18 13:42:47 +00:00
Tim Glaser
4e59812b6b Add API documentation 2020-02-13 22:50:44 -08:00
Tim Glaser
38cadf3d00 Use BOTH psycopg2 and -binary for heroku 2020-02-11 20:46:24 -08:00
Tim Glaser
97cf17e6a1 Use psycopg2 binary for heroku 2020-02-11 20:43:29 -08:00
Tim Glaser
d55d7f86e2 Fix psycopg2 dependency issues by having Heroku use psycopg2 and docker psycopg2-binary 2020-02-11 19:54:58 -08:00
Tim Glaser
09f6f2fca0 Remove psycopg non binary requirements 2020-02-11 18:19:19 -08:00
Tim Glaser
5336c93658 Add posthog analytics module
- Make sure each user has a distinct id that we can pass
2020-02-10 13:18:01 -08:00
Tim Glaser
a8717a2e4c
Merge pull request #43 from PostHog/dependabot/pip/six-1.14.0
Bump six from 1.13.0 to 1.14.0
2020-02-09 16:11:51 -08:00
dependabot-preview[bot]
fc224715fb
Bump six from 1.13.0 to 1.14.0
Bumps [six](https://github.com/benjaminp/six) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/benjaminp/six/releases)
- [Changelog](https://github.com/benjaminp/six/blob/master/CHANGES)
- [Commits](https://github.com/benjaminp/six/compare/1.13.0...1.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 00:09:35 +00:00
dependabot-preview[bot]
2c5ad95eea
Bump parso from 0.5.1 to 0.6.1
Bumps [parso](https://github.com/davidhalter/parso) from 0.5.1 to 0.6.1.
- [Release notes](https://github.com/davidhalter/parso/releases)
- [Changelog](https://github.com/davidhalter/parso/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/davidhalter/parso/compare/v0.5.1...v0.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 00:09:17 +00:00
dependabot-preview[bot]
055608e2cc
Bump django from 2.2.8 to 3.0.3
Bumps [django](https://github.com/django/django) from 2.2.8 to 3.0.3.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/2.2.8...3.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 00:04:33 +00:00
Tim Glaser
b9d70ea0b9
Merge pull request #44 from PostHog/dependabot/pip/djangorestframework-3.11.0
Bump djangorestframework from 3.10.3 to 3.11.0
2020-02-09 15:32:20 -08:00
Tim Glaser
e043ceb02e
Merge pull request #41 from PostHog/dependabot/pip/django-2.2.8
[Security] Bump django from 2.2.7 to 2.2.8
2020-02-09 15:30:17 -08:00
Tim Glaser
a33799ec35
Merge pull request #40 from PostHog/dependabot/pip/pygments-2.5.2
Bump pygments from 2.4.2 to 2.5.2
2020-02-09 15:30:06 -08:00
dependabot-preview[bot]
4bb9235feb Bump djangorestframework from 3.10.3 to 3.11.0
Bumps [djangorestframework](https://github.com/encode/django-rest-framework) from 3.10.3 to 3.11.0.
- [Release notes](https://github.com/encode/django-rest-framework/releases)
- [Commits](https://github.com/encode/django-rest-framework/compare/3.10.3...3.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-09 23:29:45 +00:00
dependabot-preview[bot]
5e039878bb
[Security] Bump django from 2.2.7 to 2.2.8
Bumps [django](https://github.com/django/django) from 2.2.7 to 2.2.8. **This update includes a security fix.**
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/2.2.7...2.2.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-09 23:28:42 +00:00
Tim Glaser
4ccbb508e2
Merge pull request #38 from PostHog/dependabot/pip/jedi-0.16.0
Bump jedi from 0.15.1 to 0.16.0
2020-02-09 15:25:49 -08:00
dependabot-preview[bot]
ac26e7f7f2
Bump pygments from 2.4.2 to 2.5.2
Bumps [pygments](https://github.com/pygments/pygments) from 2.4.2 to 2.5.2.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.4.2...2.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-09 23:25:46 +00:00
dependabot-preview[bot]
7eb22e0682
Bump jedi from 0.15.1 to 0.16.0
Bumps [jedi](https://github.com/davidhalter/jedi) from 0.15.1 to 0.16.0.
- [Release notes](https://github.com/davidhalter/jedi/releases)
- [Changelog](https://github.com/davidhalter/jedi/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/davidhalter/jedi/compare/v0.15.1...v0.16.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-09 23:25:01 +00:00
dependabot-preview[bot]
37e0a5ee7e Bump wcwidth from 0.1.7 to 0.1.8
Bumps [wcwidth](https://github.com/jquast/wcwidth) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/jquast/wcwidth/releases)
- [Commits](https://github.com/jquast/wcwidth/compare/0.1.7...0.1.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-09 23:24:40 +00:00
Tim Glaser
f164148fb4 Preview docker image 2020-02-08 11:06:46 -08:00
Tim Glaser
b5742e3b8a Add actions trends graph 2020-02-01 22:40:38 -08:00
Tim Glaser
64bafca28f Add corsheaders to requirements 2020-02-01 15:56:30 -08:00
Tim Glaser
43bcde2ca3 Add loginas 2020-01-31 15:34:54 -08:00
Tim Glaser
7b0b04f0ad Move api stuff around 2020-01-24 11:00:25 -08:00
Tim Glaser
4994709403 fix cors 2020-01-23 17:50:53 -08:00
Tim Glaser
859491b258 Add reqs 2020-01-23 17:37:56 -08:00
Tim Glaser
449fa24853 fix more heroku 2020-01-23 14:57:41 -08:00
Tim Glaser
f6e654dc5e Fix heroku deploy 2020-01-23 14:52:02 -08:00
Tim Glaser
ea1b6d66c7 Heroku deploy 2020-01-23 14:50:44 -08:00