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

33 Commits

Author SHA1 Message Date
Sandy Spicer
eac199d24a
chore: upgrade python to 3.11 (#23206) 2024-06-27 14:16:27 -07:00
Sandy Spicer
6c23c9bd89
revert: "chore: upgrade python to 3.11 🐍" (#23198)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-24 11:50:48 -07:00
Julian Bez
5617963e7a
chore: Update pyproject.toml for Python 3.11 (#23181) 2024-06-24 15:42:47 +01:00
Julian Bez
9576fab1e4
chore: Add Pyupgrade rules (#21714)
* Add Pyupgrade rules
* Set correct Python version
2024-04-25 08:22:28 +01:00
Julian Bez
475fee5ca6
fix: Fix subscriptions sending twice (#21581) 2024-04-18 17:38:57 +00:00
timgl
cfcbfadb1b
fix: Fix subscription deliveries happening multiple times (#21419) 2024-04-09 08:03:20 +01:00
Ben White
6a840f4dc9
fix: Add metrics for all celery queues (#20056)
Add metrics for all celery queues
2024-01-31 08:49:14 +00:00
Julian Bez
c869841eb1
fix: Add expires to report export child tasks (#19833) 2024-01-18 13:37:19 +00:00
Ben White
7f174faf40
feat: Celery tasks refactor (#19827) 2024-01-18 14:28:10 +01:00
Ben White
9209a5d46a
fix: Revert short circuit (#19817) 2024-01-17 18:25:20 +01:00
Ben White
45c4443d05
fix: Add timeout to subscription reports (#19811) 2024-01-17 17:38:14 +01:00
Frank Hamand
1e42154d34
fix: Temporarily disable deliver subscription report task (#19814) 2024-01-17 17:27:30 +01:00
Tom Owers
5513be7731
chore: upgraded Ruff linter (#18188)
* Upgraded Ruff linter

* Formatted whole codebase with new ruff rules

* Revert import removal

* Fixed mypi issues or added ignores

* Fixed schema formatting

* Fixed hogvm failing tests

* Remove duplicate key in list
2023-10-26 12:38:15 +02:00
Paul D'Ambra
208451b1a0
fix: don't process subscriptions with no assets (#17988) 2023-10-16 14:51:24 +02:00
Paul D'Ambra
29d21cdc01
fix: don't run exports in parallel for subscriptions (#17743)
* fix: don't run exports in parallel for subscriptions

* fix
2023-10-03 19:50:49 +01:00
Paul D'Ambra
00b5a86139
chore: some more logging (#17721) 2023-10-02 20:30:03 +01:00
Paul D'Ambra
0cf99556c3
chore: simpler again for subscription task (#17693)
* chore: simpler again for subscription task

* fix
2023-09-29 16:47:21 +00:00
Paul D'Ambra
fbe6ee31f4
chore: prom counters and timers for subscriptions (#17689)
* chore: prom counters and timers for subscriptions

* Apply suggestions from code review
2023-09-29 13:53:33 +00:00
Paul D'Ambra
8a83e3ebe9
chore: extra image export logging (#17687)
* and logging

* Fix

* one less statsd counter

* and a little more

* fix
2023-09-29 11:06:16 +00:00
Michael Matloka
08eab1f9c0
style: Fix "Posthog" capitalization (#15426)
* style: Fix "Posthog" capitalization

* Update UI snapshots for `chromium` (1)

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-09 18:31:34 +02:00
Karl-Aksel Puulmann
0d9b0bfb56
chore: Kill internal metrics (#12943)
* Remove capturing internal metrics

* Remove capturing internal metrics from FE

* Remove internal metrics from plugin-server

* Remove internal metrics from plugin-server

* Remove internal metrics internal dashboard type

* Clean up Dashboard.tsx

* Remove unused vars

* Remove endpoint, update imports

* Update rate limiting tests

* Update calculate event property usage tests
2022-11-28 10:34:27 +02:00
Ben White
77d7efc500
fix: Schedule usage reports as individual tasks (#12398) 2022-10-24 17:08:51 +02:00
Paul D'Ambra
b5f07ae0ad
feat: add text cards to DB (#12110)
Problem
Stacked on top of #12067 so the commit history is weird :/

Changes
adds DB wiring to add text or insights to dashboard tiles

How did you test this code?
developer tests and running the site locally

 move insight to dashboard
 duplicate insight from insight view
 duplicate insight from card list view
 duplicate insight from list view
 duplicate insight from dashboard
 remove insight from dashboard
 add insight to dashboard
 delete dashboard
 duplicate dashboard
 set card color
🤔 set card layout - updating layout starts refresh loop for dashboards
I think these changes make it more obvious but this is the case in master too. -> It's fixed (or at least worked-around) in #12132
 update insight data updates dashboard view for that data
 rename insight from dashboard
2022-10-10 11:49:33 +01:00
Michael Matloka
5d2ad6c7bb
chore(deps): Update black to 22.8.0 (#11596)
* chore(deps): Update `black` to `22.8.0`

* Format
2022-09-05 14:38:54 +02:00
Ben White
5e594486a6
fix: Increased subscription asset gen to 10 minutes (#11543) 2022-08-30 08:54:43 +00:00
Ben White
6cd5628562
fix: Don't export Insights that are deleted (#11375) 2022-08-19 07:49:23 +00:00
Ben White
c835a30ee0
fix: Export issues (#10625)
* Add retries to image exporting
* Tried to remove shm usage for higher reliability
* Fixed next_delivery_date to only be reset if the rrule changes
2022-07-04 14:52:50 +00:00
Ben White
fdbf1580f4
feat: Added Slack link unfurling (#10587)
* Added slack signature validation

Co-authored-by: Paul D'Ambra <paul@posthog.com>
2022-07-01 12:07:15 +02:00
Paul D'Ambra
18c5927f57
fix: celery autoimport was ignoring CSV exports (#10586)
* launch celery with debug logging

* autoimport a single task which decides what type of export to run

* still need to manually inject root folder so tests can clear up

* fix mock
2022-06-30 17:42:28 +01:00
Paul D'Ambra
c8dd7b0244
feat: export lists of events to CSV (backend only) (#10510)
* sketch the interaction

* correct field type

* explode a filter to steps of day length

* write to object storage maybe

* very shonky storing of gzipped files

* doesn't need an export type

* mark export type choices as deprecated

* order methods

* stage to temporary file

* can manually export the uncompressed content

* shonkily export as a csv

* wip

* with test for requesting the export

* with polling test for the API

* put existing broken CSV download back before implementing UI change

* open api change

* even more waffle

* less passive waffle

* sometimes less specific is more correct

* refactor looping

* okay snapshots

* remove unused exception variable

* fix mocks

* Update snapshots

* Update snapshots

* lift storage location to the exported asset model

* split the export tasks

* improve the temp file usage in csv exporter

* delete the test files we're creating

* add a commit to try and trigger github actions

Co-authored-by: pauldambra <pauldambra@users.noreply.github.com>
2022-06-28 20:05:37 +02:00
Ben White
d044b729b2
fix: Individual exporting of dashboard insight to use correct config (#10524)
* fix: Individual exporting of dashboard insight to use correct config
2022-06-28 14:54:18 +00:00
Ben White
925a54b5ad
feat: Slack Invite message (#10478)
* feat: Slack Subscription Invites
2022-06-24 15:18:34 +02:00
Ben White
1484b846ce
feat(subscriptions): Add Slack Subscriptions (#10388)
* Added slack configuration options
* Added slack selection UI
2022-06-24 10:29:45 +02:00