Commit Graph

38 Commits

Author SHA1 Message Date
Michael Manfre 801fe2e58a
Add Domain.state with nodeinfo fetching (#347) 2023-01-04 16:40:16 -07:00
Michael Manfre 5f1d7b5253
Add indexes for Stator and some of its common tasks (#332) 2023-01-01 10:58:13 -07:00
Andrew Godwin b09e7187ce Actually implement the liveness file 2022-12-31 11:54:51 -07:00
Corry Haines 165d84abbf
Fixes developed from mypy_django script (#312) 2022-12-29 10:35:14 -07:00
Andrew Godwin b03d9f0e12 Handle deletions of post URIs
Fixes #306
2022-12-28 22:47:28 -07:00
Andrew Godwin f6e49e8059 Delete timeline events with posts
Fixes #284
2022-12-27 11:53:44 -07:00
Andrew Godwin 2dd5454637 Back off Stator loop delay when there's no tasks
Fixes #232
2022-12-22 05:05:06 +00:00
Andrew Godwin db3fc7c53c Fetch actors with posts when needed
Fixes #190, #205
2022-12-20 10:17:52 +00:00
Andrew Godwin 2ccf2e683e Allow tuning of stator concurrency 2022-12-20 08:02:35 +00:00
Andrew Godwin 985bb95aca Add error states, use for fanout 2022-12-20 06:23:50 +00:00
Andrew Godwin 1130c23b1e Stator stats overhaul
Removes the error table, adds a stats table and admin page.
Fixes #166
2022-12-15 12:26:44 -07:00
Michael Manfre a576c5b5ed
Improve djadmin filtering and search (#149) 2022-12-08 10:29:51 -07:00
Andrew Godwin a31f676b46 Policy pages and signup tests.
Fixes #113
2022-12-05 19:24:46 -07:00
Paolo Melchiorre a9bb4a7122
Add pyupgrade with --py310-plus in pre-commit (#103) 2022-12-05 10:38:37 -07:00
Michael Manfre 3f8045f412
[WIP] Sentry improvements (#108)
Stator clears scope during the main loop to behave more like
transactions. Transaction names are set.

Sentry tags:
* 'takahe.version'
* 'takahe.app' values 'web' or 'stator'

Added settings:
* TAKAHE_SENTRY_SAMPLE_RATE
* TAKAHE_SENTRY_TRACES_SAMPLE_RATE
2022-12-04 18:08:23 -07:00
Andrew Godwin 0221ea261f Admin tweaks 2022-11-27 17:16:09 -07:00
Andrew Godwin 3b079526a2 User fetching and inbox message cleaning 2022-11-27 17:05:31 -07:00
Andrew Godwin 8e9e3ecf69 Some cleanup around editing 2022-11-27 12:09:08 -07:00
Michael Manfre 6c7ddedd34
Post editing 2022-11-27 11:09:46 -07:00
Andrew Godwin 263af996d8 Add run-for option to console runstator 2022-11-27 11:03:52 -07:00
Andrew Godwin db88c733b4 The glorious return of the in-view runner 2022-11-26 11:54:14 -07:00
Kian-Meng Ang df5493dd2a
Fix typos
Found via `codespell -S ./static -L keypair`
2022-11-24 21:30:21 -07:00
Andrew Godwin 786d6190f8 Delete mechanics and refactor of post fanout 2022-11-24 17:11:04 -07:00
Michael Manfre 9014d53399
StatorRunner will refresh Config.system on each schedule_interval 2022-11-22 21:06:21 -07:00
Andrew Godwin 6e88c00969 Don't waste DB rows on bad inbox actors
Seems Sidekiq will keep trying to deliver messages even when the actor
no longer exists?
2022-11-20 14:20:28 -07:00
Andrew Godwin f491fdb56e Actor delete, sentry async, faster stator 2022-11-20 12:32:49 -07:00
Andrew Godwin 77643a4fe1 Add more error handling 2022-11-20 12:24:03 -07:00
Andrew Godwin 2142677b01 A few more tweaks for an initial deploy 2022-11-19 10:20:13 -07:00
Andrew Godwin 8019311490 Deployment re-jiggling 2022-11-18 17:24:43 -07:00
Andrew Godwin 81de10b70c Migration reset, start of docs, env vars 2022-11-18 11:28:16 -07:00
Andrew Godwin 20e63023bb Get outbound likes/boosts and their undos working 2022-11-15 15:30:32 -07:00
Andrew Godwin ddb3436275 Boosting! Incoming, anyway. 2022-11-13 18:43:09 -07:00
Andrew Godwin 8fd5a9292c Posting and fan-out both working 2022-11-11 23:04:43 -07:00
Andrew Godwin feb5d9b74f Got up to incoming posts working 2022-11-11 22:02:43 -07:00
Andrew Godwin fbfad9fbf5 Inbound and outbound follows basic working 2022-11-10 23:42:43 -07:00
Andrew Godwin 2c3a129970 Profile fetching now working on state machine 2022-11-09 23:48:31 -07:00
Andrew Godwin 7746abbbb7 Most of the way through the stator refactor 2022-11-09 22:29:49 -07:00
Andrew Godwin 61c324508e Midway point in task refactor - changing direction 2022-11-09 22:29:49 -07:00