Commit Graph

160 Commits

Author SHA1 Message Date
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 5780068213 Implement max inbound payload size 2022-12-27 20:01:00 -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 aa2ace9b68
Identity profile metadata input with dynamic form (#280) 2022-12-27 16:56:50 -07:00
Andrew Godwin a815622190 Reinforce service domain uniqueness 2022-12-26 15:29:09 -07:00
Andrew Godwin d32a686eb1 Persist CWs in replies, expand linked at once
Fixes #268
2022-12-26 10:03:13 -07:00
Michael Manfre d2766860c5
Views that return fixed content only generate the content once (#271) 2022-12-25 14:26:15 -07:00
Tyler Kennedy 801c807a2b
Simple user stylesheet support. (#258) 2022-12-24 07:28:39 -07:00
Andrew Godwin f5d06d2656 Move wellness options inside Interface 2022-12-23 23:01:27 -07:00
Michael Manfre aca77314d1
Fixes #239 - Add option to hide Boost and Like counts (#247) 2022-12-23 22:16:26 -07:00
Andrew Godwin 699b6fc29e "Remove posts from front page" option 2022-12-22 14:16:08 -07:00
Andrew Godwin af6ddcf8f1 Drive user timeline and RSS off a single service 2022-12-22 13:11:47 -08:00
Andrew Godwin a058140d11 New "plain" page style for most logged out pages 2022-12-22 13:06:35 -08:00
Andrew Godwin 9c376395db Invites overhaul
No email tie, added uses and expires, now works by URL.
2022-12-22 07:03:21 +00:00
Michael Manfre 578b504c92
Include long form and shortform actor uri in webfinger to fix some servers (#226) 2022-12-22 20:51:39 +00:00
Andrew Godwin 3ebbb79bb5 Deal with initially-null summary
Fixes #234
2022-12-22 01:01:26 +00:00
Andrew Godwin 45de0e09b5 Switch to preserving username case
Except on comparisons, for now. Fixes #224
2022-12-21 21:39:56 +00:00
Andrew Godwin 23db8f3dd8 Make summary HTML-formatted (and safe!) 2022-12-21 20:48:39 +00:00
Andrew Godwin c9794c0fcf Add public following/followers pages 2022-12-21 20:36:10 +00:00
Michael Manfre ed83726247
Identity fanout (#196) 2022-12-21 17:13:39 +00:00
Andrew Godwin d1e398a7b7 Invite creation improvements 2022-12-20 14:38:42 +00:00
Andrew Godwin e28294c81a Hashtag admin simplification 2022-12-20 09:16:03 +00:00
Andrew Godwin 39013e0bb5 Add moderation/admin separation 2022-12-20 09:01:54 +00:00
Andrew Godwin 0c4eb74165 Invites admin 2022-12-20 08:52:03 +00:00
Andrew Godwin 0dca7eae5f Implement API follow/unfollow
Fixes #198
2022-12-19 20:54:09 +00:00
Andrew Godwin 3de188e406 Fix Accept header and supply actor outbox
Should help with Mitra among others. Refs #207.
2022-12-19 02:47:35 +00:00
Andrew Godwin c5e00a2c73 Switch ordering for domain default field 2022-12-17 17:17:59 -07:00
Andrew Godwin 77ef358fef Allow markdown on signup text 2022-12-17 17:02:54 -07:00
Andrew Godwin 4d71da7ae1 Allow for remote policy pages 2022-12-17 15:30:51 -07:00
Andrew Godwin e8d6dccbb2 Report function and admin 2022-12-17 14:45:31 -07:00
Andrew Godwin 62f2b867b9 Fix serving of system actor
Fixes #183
2022-12-17 12:00:47 -07:00
Andrew Godwin 12567f6891 Identity admin/moderation 2022-12-16 19:42:48 -07:00
Andrew Godwin 45c6978bc3 User admin and LD schema fixes 2022-12-16 16:38:52 -07:00
Andrew Godwin bce7add2b4 Fix login form errors not appearing
Fixes #175
2022-12-15 16:24:06 -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 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 af3142ac3a
Basic Emoji suppport (#157) 2022-12-15 00:50:54 -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
Andrew Godwin 20239b5cb7 Basic post mutation 2022-12-12 11:56:49 -07:00
Andrew Godwin 602e5a3780 Add system actor and shared inbox 2022-12-10 13:24:49 -07:00
Andrew Godwin 3595af7bd2 Media proxy, caching and tuning docs
Fixes #67
2022-12-10 12:16:08 -07:00
Tom Usher 1440ee9ceb
Support deeper subdomains in domain validation (#110)
Use a new validator class with regex based on the URLValidator from Django
2022-12-07 09:25:10 -07:00
Michael Manfre 42c7b629cf
Ignore actor delete messages for unknown actors (#124) 2022-12-05 22:23:35 -07:00
Michael Manfre b8460b0acd
Only cache unauthenticated page views (#117) 2022-12-05 22:23:07 -07:00
Andrew Godwin 9fe2e6676c Add a middleware to detect LD Accept headers 2022-12-05 20:02:35 -07:00
Andrew Godwin e2d28a4be0 Add pagination and search to federation page 2022-12-05 19:54:47 -07:00
Andrew Godwin a31f676b46 Policy pages and signup tests.
Fixes #113
2022-12-05 19:24:46 -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
Andrew Godwin ec1848e095 Adding RSS feeds for local identities 2022-12-04 08:20:50 -07:00
Tyler Kennedy 6ce05296b0
Make follows a top-level activity. (#94) 2022-12-04 09:41:41 -07:00
Andrew Godwin 6f2f28a3a7 Image attachment uploads 2022-12-01 18:47:04 -07:00
Michael Manfre fb8f2d1098
Hashtags 2022-11-28 21:41:36 -07:00
Tyler Kennedy 68d59b399e
Set content type when serving object
Fixes #37
2022-11-27 14:43:46 -07:00
Michael Manfre d60ba9a051
Added default post visibility 2022-11-25 19:33:46 -07:00
Andrew Godwin 1cf1f2e543 Implement user discoverability 2022-11-25 18:32:45 -07:00
Andrew Godwin 19909bdef0 Discard messages from blocked servers 2022-11-25 18:11:31 -07:00
Andrew Godwin 8ca36fd958 Add federation admin page 2022-11-25 17:52:57 -07:00
Michael Manfre f88efa40d4
Code dedupe Webfinger and fix SystemActor inbox URL 2022-11-22 21:53:02 -07:00
Andrew Godwin 975c205d1d Show boosts and likes on other post list pages 2022-11-22 19:58:56 -07:00
Michael Manfre cdfff32f9a
Content warning name customisation
Allows the name of Content Warning to be customized (e.g. to "Content Summary").

Fixes #28.
2022-11-22 19:52:40 -07:00
Andrew Godwin 7b867b229d Switch to new identity on creation 2022-11-22 18:41:10 -07:00
Andrew Godwin 47de2c4424 Fix profile page post listing 2022-11-22 18:39:15 -07:00
Andrew Godwin 53d9452917 Outgoing mentions mostly work (exc. cc followers) 2022-11-21 21:18:13 -07:00
Andrew Godwin 8d56f8388f Don't error when no resource on webfinger 2022-11-21 14:34:03 -07:00
Andrew Godwin 5ddce16213 Add a system actor to sign outgoing S2S GETs 2022-11-20 18:29:19 -07:00
Michael Manfre 61ce62b026
Enforce signups_allowed=False (#26) 2022-11-20 16:03:09 -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 ef910c53b7 Fix user profile image size 2022-11-20 11:19:51 -07:00
Michael Manfre 75e7385968
Fix resize of image on upload of Identity profile pics 2022-11-20 11:18:14 -07:00
Michael Manfre 6b7082a194
Add config identity_min_length and apply non-admin validation 2022-11-20 11:13:44 -07:00
Andrew Godwin 6e79527bb5 A few more fixes from going live 2022-11-19 13:38:25 -07:00
Andrew Godwin 2142677b01 A few more tweaks for an initial deploy 2022-11-19 10:20:13 -07:00
Andrew Godwin 81de10b70c Migration reset, start of docs, env vars 2022-11-18 11:28:16 -07:00
Andrew Godwin 1b44a25331 Signup and invite tweaks 2022-11-18 00:09:04 -07:00
Andrew Godwin b3072c81ba Follows page 2022-11-17 20:04:01 -07:00
Andrew Godwin adf2449d37 Add the user settings page too 2022-11-17 19:36:25 -07:00
Andrew Godwin 6adfdbabe0 Add signup and password reset 2022-11-17 19:16:34 -07:00
Andrew Godwin 291d7e404e Logged out experience, config, and profiles 2022-11-17 17:33:09 -07:00
Andrew Godwin 2154e6f022 Rework UI to have vertical menus 2022-11-17 14:13:55 -07:00
Andrew Godwin f5eafb0ca0 Add image/icon upload 2022-11-17 12:21:44 -07:00
Andrew Godwin 7f8e792402 Force username to lowercase for now 2022-11-16 23:10:55 -07:00
Andrew Godwin b13c239213 Handle post edits, follow undos 2022-11-16 22:23:32 -07:00
Andrew Godwin 5b34ea46c3 Call it admin rather than system settings 2022-11-16 21:42:25 -07:00
Andrew Godwin 9d97fc92d8 Should probably limit system settings to admins 2022-11-16 21:14:05 -07:00
Andrew Godwin 1b52acdb56 Domains management pages 2022-11-16 21:12:28 -07:00
Andrew Godwin 44af0d4c59 Add start of a settings (config) system 2022-11-16 17:23:46 -07:00
Andrew Godwin 20e63023bb Get outbound likes/boosts and their undos working 2022-11-15 15:30:32 -07:00
Andrew Godwin b5cacb09e3 Permit Mastodon's weird HTML through 2022-11-13 19:03:43 -07:00
Andrew Godwin 34b24a0dcb More UI! 2022-11-13 16:15:14 -07:00
Michael Manfre 5a8b6bb3d0
Improving contributing docs/process 2022-11-13 13:57:27 -07:00
Andrew Godwin 143a4a6e8c Start some settings work 2022-11-12 22:10:06 -07:00
Andrew Godwin 878f56b411 Post URIs and host-meta 2022-11-12 21:14:21 -07:00
Andrew Godwin dd4328ae52 Add JSON-LD signatures and tests for sig stuff 2022-11-12 15:10:15 -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