Commit Graph

151 Commits

Author SHA1 Message Date
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 3131ace8a6 Add domain to tests, make local use right settings 2022-11-20 23:21:42 -07:00
Andrew Godwin da936cd7df Don't try to make a keypair during tests 2022-11-20 23:08:09 -07:00
Andrew Godwin f20cd3eb15
Fix jointakahe link 2022-11-20 20:53:28 -07:00
Andrew Godwin 0b5a3e5323 Don't catch GET errors 2022-11-20 18:50:45 -07:00
Andrew Godwin 5de3a7ad67 Raise proper errors when it's our fault 2022-11-20 18:45:28 -07:00
Andrew Godwin 6a8fe5cb4b Remove pyOpenSSL dependency
(I figured out what padding to use with cryptography)
2022-11-20 18:42:39 -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
Raphael Lullis a351c6b117
Fix mimetype for JPEG file extensions (#25) 2022-11-20 16:03:21 -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 70d01bf1b4 Fixed #23: Replace https hack with header setting 2022-11-20 13:58:54 -07:00
Andrew Godwin b4166f78bb Cascade identity deletes to posts too 2022-11-20 12:59:06 -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 a1acbd16f3 Make pre-commit happy! 2022-11-20 11:57:23 -07:00
Andrew Godwin 6121f75223 Fix up lint more, and bump down to 3.10 as min req 2022-11-20 11:54:23 -07:00
Andrew Godwin 9a2be5885b Fix flake8 path 2022-11-20 11:47:56 -07:00
Josh Dick 77754d5964
Add .git directory to .dockerignore (#15) 2022-11-20 11:46:07 -07:00
Josh Dick f0cf584c56
Add missing Debian build dependencies for Python 3 dependencies (#16)
ARM processor differences
2022-11-20 11:45:50 -07:00
Andrew Godwin 8f6db1a1e3 Add pre-commit linter to actions 2022-11-20 11:45:08 -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
Daniel Quinn a43ccde8d9
Document Docker development (#21)
This also mounts the project root at /takahe/ to make development possible.
2022-11-20 11:17:09 -07:00
Michael Manfre f8f4fa8665
Fix bug in timedeltashort and add tests 2022-11-20 11:14:49 -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 f9ee3ef69d A bit more docs 2022-11-19 22:36:54 -07:00
Simon Willison b9bab4c54c
Configure GitHub Actions to run tests (#13) 2022-11-19 22:04:28 -07:00
Humberto Rocha fac144cee0
Fix up docker-compose 2022-11-19 21:53:38 -07:00
Ian Dees 36cde270b9
Fix link on readme. (#12) 2022-11-19 19:33:00 -07:00
Andrew Godwin 6e79527bb5 A few more fixes from going live 2022-11-19 13:38:25 -07:00
Andrew Godwin 774e91c8a2 More docs setup 2022-11-19 10:36:51 -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