Commit Graph

492 Commits

Author SHA1 Message Date
Andrew Godwin e5b76c120e Fetch emoji for user profiles 2022-12-16 20:04:28 -07:00
Andrew Godwin 4a28e1708e Make the collectstatic hack slightly better 2022-12-16 19:51:19 -07:00
Andrew Godwin 770f6728f6 Fix mastodon LD namespace
Fixes #179
2022-12-16 19:45:39 -07:00
Andrew Godwin 12567f6891 Identity admin/moderation 2022-12-16 19:42:48 -07:00
Andrew Godwin c588567c86 Add follow times 2022-12-16 17:39:10 -07:00
Andrew Godwin be377653fe Fix inbound/outbound links 2022-12-16 17:32:04 -07:00
Andrew Godwin 00795f119e Split Follows page into two types
This overcomes the query problem of pulling a combined list
2022-12-16 17:24:56 -07:00
Gabriel Rodríguez Alberich fb2eea956e
Several pagination improvements (#170)
Home/Notification gets pagination, Follows becomes ListView
2022-12-16 17:06:29 -07:00
Andrew Godwin 45c6978bc3 User admin and LD schema fixes 2022-12-16 16:38:52 -07:00
Andrew Godwin 1bcdff79e7 Fix hashtag linking and API mentions of empty 2022-12-15 19:26:06 -07:00
Andrew Godwin e0f1bb629c URLs can be empty too 2022-12-15 19:10:50 -07:00
Andrew Godwin faca9224ed Handle API identities with no name 2022-12-15 18:59:04 -07:00
Andrew Godwin c0cd5a5553 Some hashtag json-ld fiddling 2022-12-15 18:58:11 -07:00
Andrew Godwin 31dc08ad0d Add hashtags to post objects 2022-12-15 17:00:00 -07:00
Andrew Godwin 3907a10d2e Make emoji picker work on client apps 2022-12-15 16:50:30 -07:00
Michael Manfre 134bacd7ba
Update docker to python 3.11.1 (#174) 2022-12-15 16:36:43 -07:00
Andrew Godwin bce7add2b4 Fix login form errors not appearing
Fixes #175
2022-12-15 16:24:06 -07:00
Andrew Godwin 1a7ffb4bff Add a big warning to secret_key now it's important 2022-12-15 16:02:37 -07:00
Andrew Godwin f55a00ecef Start documenting 0.6 changes 2022-12-15 15:57:29 -07:00
Andrew Godwin 9ad9bdd936 Implement post rate limits, move to signed cookies
Also improve the test harness a little
Fixes #112
2022-12-15 15:55:33 -07:00
Andrew Godwin 612ab4bcdf Fix stator test fixture 2022-12-15 13:48:24 -07:00
Andrew Godwin 13fd3785f2 Handle updates for already deleted posts 2022-12-15 13:47:12 -07:00
Andrew Godwin c5f52581c9 Fix collectstatic 2022-12-15 12:30:23 -07: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
Andrew Godwin 5e912ecac5 Fix outbound emoji federation 2022-12-15 12:26:44 -07:00
TAKAHASHI Shuuji 61fbda0ebf
Set the correct `Content-Type` header for static WebP images (#171) 2022-12-15 10:31:25 -07:00
Andrew Godwin 2131b40ce0 Fix doc lint 2022-12-15 10:15:17 -07:00
Andrew Godwin 525deb4418 Fix tests with no static collection 2022-12-15 10:09:35 -07:00
Michael Manfre af3142ac3a
Basic Emoji suppport (#157) 2022-12-15 00:50:54 -07:00
Andrew Godwin 69f1b3168a Improve cacheability 2022-12-15 00:43:39 -07:00
Andrew Godwin e0053b69de
Hammer home CDN more 2022-12-14 23:48:28 -07:00
Andrew Godwin 3dc28ea9f2 Fix gs:// settings schema 2022-12-14 21:43:24 -07:00
Andrew Godwin 16005e14ef Make GCS backend handle webp right, and use gs://
Fixes #164
2022-12-14 21:21:18 -07:00
Kromonos 5d8b8212cc
Add a small margin (#167) 2022-12-14 12:46:56 -07:00
Gabriel Rodríguez Alberich 8db05bed95
Prevent n+1 queries when rendering timelines (#165)
The linkify_mentions function is traversing the post's mentions, so
better prefetch those.
2022-12-14 10:16:22 -07:00
Gabriel Rodríguez Alberich d1ce056288
Show follows and following counts on profile page
And let their visibility be configured
2022-12-14 10:15:46 -07:00
Tyler Kennedy 0d8b7db272
Set the content type and disposition of webp files uploaded to S3 2022-12-13 23:26:19 -07:00
Michael Manfre 3404b155de FormOrJsonParser api.views.oauth 2022-12-13 20:47:27 -07:00
Andrew Godwin 5bc9ff39ac Fix static file URLs 2022-12-12 11:56:49 -07:00
Andrew Godwin 8ffe4bc145 A better way of handling URIs between local/remote 2022-12-12 11:56:49 -07:00
Andrew Godwin 35a45f1c55 A few more fixes and a bad test 2022-12-12 11:56:49 -07:00
Andrew Godwin 7f02d51ba0 Add generic paginator for API 2022-12-12 11:56:49 -07:00
Andrew Godwin f892c0c4ce Fix mentions of missing identities 2022-12-12 11:56:49 -07:00
Andrew Godwin d5a6cbedd3 Fix notification pagination 2022-12-12 11:56:49 -07:00
Andrew Godwin 20239b5cb7 Basic post mutation 2022-12-12 11:56:49 -07:00
Andrew Godwin fc8a21fc5c More API read coverage 2022-12-12 11:56:49 -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
Kromonos a8d1450763
Add module for redis support (#154) 2022-12-11 15:08:24 -07:00
Michael Manfre b0a8967a03
IdentityIconCacheView was incorrectly looking for image_uri (#155) 2022-12-11 09:36:27 -07:00