Commit graph

809 commits

Author SHA1 Message Date
Andrew Godwin
1d37dce012 Only show scrollbar on div hover 2022-11-21 21:35:47 -07:00
Andrew Godwin
53d9452917 Outgoing mentions mostly work (exc. cc followers) 2022-11-21 21:18:13 -07:00
Andrew Godwin
a80e0f117a Mentionify tests and some fixtures 2022-11-21 20:25:00 -07:00
Andrew Godwin
0d1e09fbcd Refactor almost all tests into /tests/ 2022-11-21 20:10:01 -07:00
Andrew Godwin
e38e176784 Don't santinize incoming post content
Helps with forwards compatibility
2022-11-21 20:00:35 -07:00
Andrew Godwin
f6132a8e21 Initial mentions-linking code 2022-11-21 19:59:27 -07:00
Andrew Godwin
45c7e0a38c Rework dockerfile and compose to separate migrations 2022-11-21 16:26:53 -07:00
Andrew Godwin
f62fd13cbc Make it more app-like in standalone/mobile mode 2022-11-21 16:14:03 -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
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