Wykres commitów

36 Commity (0d8b7db2729d94338824c748901637c625c103b0)

Autor SHA1 Wiadomość Data
Tyler Kennedy 0d8b7db272
Set the content type and disposition of webp files uploaded to S3 2022-12-13 23:26:19 -07:00
Andrew Godwin 3e062aed36 Timelines working 2022-12-12 11:56:49 -07:00
Andrew Godwin 1017c71ba1 Working start of an OAuth flow 2022-12-12 11:56:49 -07:00
Andrew Godwin 3595af7bd2 Media proxy, caching and tuning docs
Fixes #67
2022-12-10 12:16:08 -07:00
Michael Manfre 39a40e4dae
Set a Takahe User-Agent header for signed requests (#142) 2022-12-06 21:59:05 -07:00
Michael Manfre e2b234d9ed
Setting to enable Sentry capture_messages (#128) 2022-12-06 09:50:42 -07:00
Andrew Godwin 9fe2e6676c Add a middleware to detect LD Accept headers 2022-12-05 20:02:35 -07:00
Paolo Melchiorre 22e25ac454
Add django-upgrade to pre-commit (#114) 2022-12-05 14:44:50 -07:00
Michael Manfre d6eb16a398
Added caching and initial settings 2022-12-05 10:55:30 -07:00
Paolo Melchiorre a9bb4a7122
Add pyupgrade with --py310-plus in pre-commit (#103) 2022-12-05 10:38:37 -07:00
Avi Flax 4493eefb76
Make max media upload size configurable 2022-12-04 18:20:50 -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
Michael Manfre 61c1058d67
Add TAKAHE_DEFAULT_TIMEOUT with default of 5.0 (#99) 2022-12-04 09:32:25 -07:00
Andrew Godwin 250afe4e40 Allow quoted usernames too 2022-12-02 16:36:07 -07:00
Tyler Kennedy ee9ac29cca
Test support for sqlite. (#68) 2022-12-01 09:53:45 -07:00
Andrew Godwin 4344fdad9a Update S3 to use world-readable files 2022-12-01 09:43:36 -07:00
Corry Haines 17107618a0
unquote SMTP and AWS passwords (#78)
Passwords can contain characters that are illegal in URL identities. So use unquote to solve that.

WARNING: This means that a freak URL escape in a password will fail in the opposite way. But since this is a URL, everything _must_ be urlencoded for sanity.
2022-11-29 09:32:38 -07:00
Andrew Godwin 7f838433ed Allow local:// media backends
Fixes #77
2022-11-28 21:26:02 -07:00
Corry Haines ab1247fd2d
Relax S3 URI parsing 2022-11-28 10:22:39 -07:00
Corry Haines 10315535bd
Fix case typo in email settings (#72) 2022-11-27 23:16:00 -07:00
Andrew Godwin 2d569a8050 Fix SendGrid key ingestion 2022-11-27 17:30:33 -07:00
Tyler Kennedy 2d4cf3d56e
Schema is required for S3 endpoints. (#66) 2022-11-27 15:20:49 -07:00
Michael Manfre 6c7ddedd34
Post editing 2022-11-27 11:09:46 -07:00
Michael Manfre 18c85bc6d2
Specify settings .env file with TAKAHE_ENV_FILE 2022-11-27 10:57:13 -07:00
Andrew Godwin 4377160155 Force testing settings during test 2022-11-27 00:32:34 -07:00
Andrew Godwin a3f45a001b Bit of a settings fixup to make it work with t.s 2022-11-26 11:33:33 -07:00
Tyler Kennedy c758858392
Simplified settings
Migrated settings to typed pydantic settings
2022-11-26 10:04:04 -07:00
Andrew Godwin 143a4a6e8c Start some settings work 2022-11-12 22:10:06 -07:00
Andrew Godwin feb5d9b74f Got up to incoming posts working 2022-11-11 22:02:43 -07:00
Andrew Godwin 61c324508e Midway point in task refactor - changing direction 2022-11-09 22:29:49 -07:00
Michael Manfre 8a0a755889
Add basic docker support 2022-11-08 21:05:51 -07:00
Andrew Godwin c391e7bc41 THE FOLLOWS, THEY WORK
Well, in one direction anyway
2022-11-07 00:19:00 -07:00
Andrew Godwin fb6c409a9a Rework task system and fetching.
I can taste how close follow is to working.
2022-11-06 21:30:07 -07:00
Andrew Godwin dbe57075d3 Rework to a domains model for better vhosting 2022-11-06 13:48:04 -07:00
Andrew Godwin a2404e01cd Queuing system and lazy profile fetch 2022-11-05 22:49:25 -06:00
Andrew Godwin d77dcf62b4 Initial commit (users and statuses) 2022-11-05 14:17:27 -06:00