Commit graph

169 commits

Author SHA1 Message Date
Andrew Godwin
05ed5989e3 Better way to initialise things on setup. 2022-11-22 11:59:34 -07:00
Andrew Godwin
53d9452917 Outgoing mentions mostly work (exc. cc followers) 2022-11-21 21:18:13 -07:00
Andrew Godwin
0d1e09fbcd Refactor almost all tests into /tests/ 2022-11-21 20:10:01 -07:00
Andrew Godwin
0fdeb48ff4 Catch more request errors 2022-11-21 15:41:12 -07:00
Andrew Godwin
8d56f8388f Don't error when no resource on webfinger 2022-11-21 14:34:03 -07:00
Andrew Godwin
cfae183e80 Don't error fetching people if they're in the DB 2022-11-21 14:31:16 -07:00
Andrew Godwin
c4be52357b Make test directories into modules 2022-11-20 23:26:53 -07:00
Andrew Godwin
da936cd7df Don't try to make a keypair during tests 2022-11-20 23:08:09 -07:00
Andrew Godwin
5de3a7ad67 Raise proper errors when it's our fault 2022-11-20 18:45:28 -07:00
Andrew Godwin
97a841d1bb Move signed request onto Identity as a shortcut 2022-11-20 18:32:55 -07:00
Andrew Godwin
5ddce16213 Add a system actor to sign outgoing S2S GETs 2022-11-20 18:29:19 -07:00
Andrew Godwin
bed5c7ffaa Don't error when retrieving existing user
Happens when a user is not yet fetched but we look them up via a
successful webfinger
2022-11-20 17:18:25 -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
94d92fdf8a Handle remote user deletions 2022-11-20 12:51:15 -07:00
Andrew Godwin
2d7f33879f Actually do deletes right 2022-11-20 12:36:40 -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
facdd2c080 More error handling for remote fetch 2022-11-20 12:02:38 -07:00
Andrew Godwin
7a4f9cf293 Add error catching on actor fetch 2022-11-20 11:37:26 -07:00
Andrew Godwin
ef910c53b7 Fix user profile image size 2022-11-20 11:19:51 -07:00
Andrew Godwin
4b4032be6f Add Sentry error integration option 2022-11-20 11:18:55 -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
Simon Willison
b9bab4c54c
Configure GitHub Actions to run tests (#13) 2022-11-19 22:04:28 -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
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
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
2a3690d1c1 Return images and summary in actor 2022-11-17 17:55:50 -07:00
Andrew Godwin
291d7e404e Logged out experience, config, and profiles 2022-11-17 17:33:09 -07:00
Andrew Godwin
0851fbd1ec Add search and better notifications 2022-11-17 15:10: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
495e955378 Tag and visibility handling 2022-11-16 13:53:40 -07:00
Andrew Godwin
2ef709b642 Accept incoming action undos 2022-11-15 15:36:40 -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
ddb3436275 Boosting! Incoming, anyway. 2022-11-13 18:43:09 -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
Andrew Godwin
61c324508e Midway point in task refactor - changing direction 2022-11-09 22:29:49 -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
52c83c67bb Signing works with OpenSSL.
Will have to ask the cryptography peeps what I was doing wrong.
2022-11-06 14:14:08 -07:00
Andrew Godwin
dbe57075d3 Rework to a domains model for better vhosting 2022-11-06 13:48:04 -07:00
Andrew Godwin
8aec395331 Move to the more sensible JSON-LD repr 2022-11-06 00:07:38 -06:00
Andrew Godwin
a2404e01cd Queuing system and lazy profile fetch 2022-11-05 22:49:25 -06:00
Andrew Godwin
56de2362a0 Some user icon stuff 2022-11-05 20:10:39 -06:00
Andrew Godwin
e44a321ec5 Get Actor fetching and parsing working 2022-11-05 17:51:54 -06:00
Andrew Godwin
d77dcf62b4 Initial commit (users and statuses) 2022-11-05 14:17:27 -06:00