Wykres commitów

56 Commity (main)

Autor SHA1 Wiadomość Data
Osma Ahvenlampi 1ceef59bec
Module-specific loggers and minor reformatting (#657) 2023-11-16 10:27:20 -07:00
Andrew Godwin ab3648e05d Add console logging back to Stator 2023-11-12 16:49:01 -07:00
Andrew Godwin 6fdfdca442 Update all the pre-commit hooks 2023-11-09 12:07:21 -07:00
Osma Ahvenlampi 9368996a5b
use logging instead of sentry.capture_* (#646) 2023-10-23 10:33:55 -06:00
Henri Dickson b003af64cc
Do not print "Scheduling 0 handled" unless settings.DEBUG is on (#636) 2023-08-23 22:12:21 +10:00
Andrew Godwin 0915b17c4b Prune some unnecessary async usage 2023-07-17 00:18:00 -06:00
Andrew Godwin 2523de4249 Prevent race condition between threads and locking 2023-07-09 00:42:56 -06:00
Andrew Godwin 7f483af8d3 Rework Stator to use a next field and no async 2023-07-07 15:14:06 -06:00
Andrew Godwin b2768e7f2e Improve stator's performance in larger installs 2023-05-15 11:34:21 -06:00
Andrew Godwin 888f4ad36c Move from index_together to indexes 2023-05-13 11:30:42 -06:00
Andrew Godwin 8f57aa5f37
UI/Domains Refactor
Redoes the UI to remove timelines, promote domains, and a lot of other things to support the refactor.
2023-05-03 22:42:37 -06:00
Andrew Godwin 51b7c0d919 Undo one connection per transition 2023-02-04 11:46:38 -07:00
Andrew Godwin f7948a55bf Actually do the right indexes in migrations 2023-02-03 22:24:28 -07:00
Andrew Godwin 36676fad59 Rework stator to avoid deadlocks on slow databases
Refs #424
2023-02-03 21:51:24 -07:00
Andrew Godwin 0a848aa884 Add watchdog to prevent stator freezing
Refs #424
2023-01-16 11:15:59 -07:00
Andrew Godwin d51a08ef8c Fixed #257: runstator exclude option 2023-01-10 20:44:45 -07:00
Andrew Godwin f4a8a96b81 Add first-class deletion support to Stator 2023-01-08 12:43:52 -07:00
Michael Manfre 1425ae0bde
Update emoji for domain when shortcode doesn't match uri (#359) 2023-01-05 19:57:57 -07:00
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