Commit Graph

332 Commits

Author SHA1 Message Date
Andrew Godwin
644128803b Add Docker actions 2022-11-23 13:26:07 -07:00
TAKAHASHI Shuuji
cb26d78d36
Use repository root as build context in docker-compose
This fixes the issue where `docker-compose` fails to build takahe:latest container. The cause of issue is the build context for docker compose is different from the one of `docker build`. Currently, `make image` uses the repository root as a build context while `make compose_up` will use `docker/` directory as a build context. That's why docker-compose couldn't find the required files during building.
2022-11-23 13:06:17 -07:00
Andrew Godwin
807d546b12 Write some more docs 2022-11-23 13:05:14 -07:00
Andrew Godwin
c8ad22a704 Add big warning to compose file 2022-11-23 11:29:32 -07:00
Andrew Godwin
7081a718e0 Move actions next to time, for compactness 2022-11-23 00:14:55 -07:00
Andrew Godwin
2c5b96e264 Switch docker-compose to dev settings 2022-11-23 00:01:18 -07:00
Michael Manfre
f88efa40d4
Code dedupe Webfinger and fix SystemActor inbox URL 2022-11-22 21:53:02 -07:00
Michael Manfre
96f863d5d8
Allow authenticated users to remote search/fetch by exact identity 2022-11-22 21:07:22 -07:00
Michael Manfre
9014d53399
StatorRunner will refresh Config.system on each schedule_interval 2022-11-22 21:06:21 -07:00
Andrew Godwin
975c205d1d Show boosts and likes on other post list pages 2022-11-22 19:58:56 -07:00
Andrew Godwin
5616ef02b3 Re enable click refresh with HTMX 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
db0edcd2ae Say all our users are discoverable for now 2022-11-22 19:40:59 -07:00
Andrew Godwin
fa771271f5 Added 2-minute auto refresh for timelines 2022-11-22 19:23:04 -07:00
Andrew Godwin
9c424d9bb6 Add manual HTMX refresh of timelines
Refs #33
2022-11-22 19:21:01 -07:00
Andrew Godwin
aaad289c52 Add titles to menus for collapsed mode 2022-11-22 19:03:19 -07:00
Andrew Godwin
48154fb20e Fix boosted notifications 2022-11-22 18:59:51 -07:00
Andrew Godwin
e52c7df498 Add the self-view timeline event on post
Makes it show up for you immediately
2022-11-22 18:51:01 -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
05ed5989e3 Better way to initialise things on setup. 2022-11-22 11:59:34 -07:00
Andrew Godwin
b7c7c66013 Start adding pagniation to timelines 2022-11-22 09:57:42 -07:00
Andrew Godwin
63ab492439 Fix mentions at the start of posts 2022-11-21 22:17:22 -07:00
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