Commit Graph

670 Commits

Author SHA1 Message Date
Tyler Kennedy 7eff751224
A quick robots.txt to tell bots to stop crawling tags. (#321) 2022-12-30 10:14:12 -07:00
Andrew Godwin d247baa307 Serve webfinger and host-meta with correct mimetypes
Fixes #323 (hopefully!)
2022-12-30 10:12:48 -07:00
Michael Manfre 75c17c0766
Correctly handle response.raise_for_status() and guard search from bubbling parse errors (#322) 2022-12-30 01:02:33 -07:00
Michael Manfre 0250f2800b
Identity profile menus 2022-12-30 01:01:03 -07:00
Tyler Kennedy 6a1caae79b
Show a post button and fix selected logic for following/followers (#320) 2022-12-29 21:31:34 -07:00
Tyler Kennedy 9cea7bc124
/v1/accounts/{id}/following and /v1/accounts/lookup support. (#319) 2022-12-29 19:27:43 -07:00
Andrew Godwin 4d3b76612b Accept interactions as pagination anchors
Fixes #316
2022-12-29 14:00:37 -07:00
Andrew Godwin eb7297d743 Only auto refresh when at top of page 2022-12-29 13:23:47 -07:00
Andrew Godwin 9c3806a175 Refactor link header and fix empty page case 2022-12-29 11:46:25 -07:00
Andrew Godwin ea6f272047 Infinite scroll, and footer in sidebar if exists 2022-12-29 11:33:41 -07:00
Andrew Godwin d3fd365a37 Add boost JSON
(also fix hashtag URLs)
Fixes #313
2022-12-29 10:53:31 -07:00
Corry Haines 165d84abbf
Fixes developed from mypy_django script (#312) 2022-12-29 10:35:14 -07:00
Tyler Kennedy cc7824394b
Fixes for the Toot! client (#248) (#275)
* Various Toot! fixes
* Use a fallback 1x1 pixel image for missing headers, same as Mastodon. The header and header_static are _not_ optional nor nullable according to the spec.
* Try removing some fields which probably shouldn't be set.
* Pagination with next/prev.
2022-12-29 10:31:32 -07:00
Andrew Godwin b03d9f0e12 Handle deletions of post URIs
Fixes #306
2022-12-28 22:47:28 -07:00
Andrew Godwin 716b74404f Allow for follow accepts with object URIs only
Fixes #214
2022-12-28 22:25:34 -07:00
Kromonos d525a2f465
Quick fix for TAKAHE_SECRET_KEY in Dockerfile (#309) 2022-12-28 21:56:11 -07:00
Michael Manfre 6983763786
Fix negated autokey guard logic (#308) 2022-12-28 20:08:52 -07:00
Andrew Godwin a2f0634cb2 Include URI in post error
Fixes #307
2022-12-28 12:06:32 -07:00
Andrew Godwin 6137149f55 Improve cache busting proxy URLs with file exts
Fixes #287.
2022-12-28 11:57:54 -07:00
Corry Haines 296780d5cc
Use cache-busting URLs for proxied files (#294)
Migrates (in a backwards-compatible way) from `/proxy/identity_image/271/` to `/proxy/identity_image/271/f5d8e72f2b/`.
dently).
2022-12-28 11:39:40 -07:00
Andrew Godwin 161b1a8af1 Don't permit autogenerated secret keys in prod
Fixes #300
2022-12-28 11:27:40 -07:00
Michael Manfre 4df4f19856
Remove unneeded join from Post to Identity (#301) 2022-12-28 11:14:41 -07:00
Andrew Godwin e38e985e73 Fall post URLs back to their ID
Fixes #302
2022-12-28 11:12:40 -07:00
Andrew Godwin a3b6996413 Discard emoji reactions for now 2022-12-28 11:02:14 -07:00
Michael Manfre f17f9df27e
Identity.by_username_and_domain has more awareness of Domain (#303) 2022-12-28 10:52:39 -07:00
Andrew Godwin 5780068213 Implement max inbound payload size 2022-12-27 20:01:00 -07:00
Andrew Godwin 1fc5740696 Add funkwhale namespace 2022-12-27 19:47:17 -07:00
Michael Manfre cf8c5476e6
Hashtag stats are only computed when a Post is edited or updated (#299) 2022-12-27 19:42:38 -07:00
Michael Manfre 26f64bfc06
Guess emoji mimetype if not provided in tag (#298) 2022-12-27 19:41:16 -07:00
Michael Manfre efe6864418
Ensure a min of 2 metadata input rows on profile edit form (#297) 2022-12-27 17:45:51 -07:00
Michael Manfre c6c3914cc7
Include Identity metadata fields in ActivityPub messages (#295) 2022-12-27 17:42:30 -07:00
Cosmin Stejerean a949c99d48
change language for following / followers (#296) 2022-12-27 17:03:14 -07:00
Michael Manfre aa2ace9b68
Identity profile metadata input with dynamic form (#280) 2022-12-27 16:56:50 -07:00
Michael Manfre b63ad40f54
Add ability to customise Django settings (#292) 2022-12-27 16:53:49 -07:00
Michael Manfre ca40a0d150
Set User-Agent and Accept for outbound requests (#293) 2022-12-27 16:50:39 -07:00
Andrew Godwin b523d34c53 Don't parse the body if it's empty
Refs #290
2022-12-27 16:18:22 -07:00
Rui Carmo 029e51c8fe
More aggressive caching (#288) 2022-12-27 11:56:30 -07:00
Andrew Godwin f6e49e8059 Delete timeline events with posts
Fixes #284
2022-12-27 11:53:44 -07:00
Andrew Godwin 44dc7a2ce4 Remove extra newlines in post content
Fixes #282
2022-12-27 11:53:44 -07:00
Kromonos b170cd2850
Add docker healthcheck feature & move collectstatic into container (#276) 2022-12-27 11:39:18 -07:00
Corry Haines b7b0b0dad4
Add cache-control header for static assets (#281) 2022-12-27 11:25:18 -07:00
Andrew Godwin 07b28c7264 Realign content with banner 2022-12-27 10:55:16 -07:00
Andrew Godwin 218aabc597 Stop no-store headers getting through for the proxy 2022-12-26 20:53:50 -07:00
Andrew Godwin 201b410383 Improve domains docs 2022-12-26 20:27:23 -07:00
Corry Haines b36fa0de51
Disable opengraph block in base_plain.html (#279)
Since error pages lack the normal context, remove the block so
it doesn't obscure errors with spew.
2022-12-26 15:29:52 -07:00
Andrew Godwin a815622190 Reinforce service domain uniqueness 2022-12-26 15:29:09 -07:00
Andrew Godwin 5ac2c26eec Fix view profile buttons 2022-12-26 15:25:54 -07:00
Andrew Godwin f7baea2756 Fix identity template with new banner 2022-12-26 10:53:46 -07:00
Corry Haines 31187c99b2
Quality of life (#266)
Support gunicorn autoreload on DEBUG
Pass docker postgres port to host
Add some typing to posts.py
2022-12-26 10:42:02 -07:00
Corry Haines a590427160
Render the Nginx config to a separate file (#273)
When writing the cache size to nginx config, write it to a
separate file so it doesn't confuse git status/commit.

By using a rendered file, we can ignore the output completely.
2022-12-26 10:40:37 -07:00