Commit graph

873 commits

Author SHA1 Message Date
Andrew Godwin
425c77e085 Add /v2/instance 2023-01-25 16:03:02 -07:00
Andrew Godwin
f967f6c697
Clarify domain wording a little
Fixes #469
2023-01-23 16:17:18 -07:00
Humberto Rocha
ccded99a63
Add favourites api endpoint (#465) 2023-01-20 19:49:55 -07:00
Michael Manfre
0ba0971baa
Remove capture message for deleting unknown actor (#466) 2023-01-20 17:56:36 -07:00
Michael Manfre
dc55ee109a
Fix issue where CW button on menu compose form submits the form (#467) 2023-01-20 17:56:24 -07:00
Humberto Rocha
a2e8d05349
Add missing trailing / to the copy command (#464) 2023-01-20 17:25:43 -07:00
Corry Haines
46947279b0
Attach user identification headers to response (#453)
Add X-Takahe-User and X-Takahe-User-Identity headers to response, when available, to allow for better Nginx log enrichment.

Also drop these headers in Nginx so they aren't sent into the world. They probably aren't dangerous since they identfy the users _to themselves_ but strip it for now, just in case.
2023-01-20 17:20:14 -07:00
Andrew Godwin
349e1b8801 Roll buildx back a bit due to manifest issues 2023-01-20 12:59:18 -07:00
TAKAHASHI Shuuji
c5d51a8b11
Make menu icons visible on the profile page in the light theme (#459) 2023-01-20 09:46:33 -07:00
okpierre
201aa20f27
Update style.css (#458) 2023-01-20 09:35:38 -07:00
Andrew Godwin
f150a3eee9 Don't allow self-mute and self-block
Fixes #454
2023-01-20 09:31:37 -07:00
TAKAHASHI Shuuji
10c7da96c7
Allow auto-pagination on profile page (#445) 2023-01-19 23:09:01 -07:00
Andrew Godwin
ee3b51c28f Fix username display to yourself in clients 2023-01-19 16:34:49 -07:00
Michael Manfre
51ae78a33c
Downgrade most fetch related errors to capture_message (#443) 2023-01-19 13:14:55 -07:00
TAKAHASHI Shuuji
47d9dc2488
Fix "Add image" button margin (#447) 2023-01-19 13:13:10 -07:00
Corry Haines
ec85060df8
Organize nginx config files (#449) 2023-01-19 13:11:54 -07:00
Andrew Godwin
536f0a4488 Limit shortcodes on emoji to Mastodon rules 2023-01-19 12:23:49 -07:00
Andrew Godwin
cfb4975fdf Unlinkify profile values in edit fields 2023-01-19 10:30:42 -07:00
TAKAHASHI Shuuji
edef03efb1
Fix highlight color in the light theme (#444) 2023-01-19 10:15:34 -07:00
Andrew Godwin
9b5152723a Add delete admin option 2023-01-19 10:14:11 -07:00
James Moore
a7be3b2072
Nginx refactor for #401 (#442) 2023-01-18 22:04:30 -07:00
Michael Manfre
8ff4575976
capture_exception doesn't accept 'level' arg (#441) 2023-01-18 14:05:50 -07:00
Michael Manfre
e5485b1430
Handle nodeinfo validation errors (#439) 2023-01-18 10:57:28 -07:00
Michael Manfre
0d115bac15
Show image at normal size when less than width 100% (#438) 2023-01-18 10:21:54 -07:00
Michael Manfre
cc75863b8f
Fixes #431 - Preserve href when stripping <a> tags (#436) 2023-01-17 23:41:33 -07:00
Andrew Godwin
bd70769329 Clarify more timeline ordering stuff 2023-01-16 17:11:14 -07:00
Andrew Godwin
18623358be Releasing 0.7 2023-01-16 16:47:43 -07:00
Michael Manfre
a34cab6dfb
Admin improvements for Post and PostAttachment (#428) 2023-01-16 15:54:49 -07:00
Humberto Rocha
a18940aacf
Fix navbar not scrolling in mobile (#430) 2023-01-16 15:54:23 -07:00
Michael Manfre
77ba7b02b9
Ignore non string attachment mimetypes (#429) 2023-01-16 15:10:03 -07:00
Andrew Godwin
50f8c8040d Add light theme and some more CSS variables 2023-01-16 13:05:21 -07:00
Andrew Godwin
5309ef425a Allow a slightly bigger max-width step for main 2023-01-16 12:27:29 -07:00
Michael Manfre
333317875b
Don't show ellipsis when URL shortening only removed scheme (#427) 2023-01-16 12:27:25 -07:00
Andrew Godwin
fd9015a7c5 Make emoji relative 2023-01-16 12:19:10 -07:00
Michael Manfre
ef4862ff46
Add a css variable for Emoji height for easier customization (#425) 2023-01-16 12:15:39 -07:00
Michael Manfre
9b6ceee490
Apply Mastodon style link text shortening (#426) 2023-01-16 11:59:46 -07:00
Andrew Godwin
54e7755080 Unfollowing or blocking users purges timeline
Fixes #366
2023-01-16 11:53:40 -07:00
Andrew Godwin
c3caf26f22 Ignore emoji react undos as well 2023-01-16 11:27:23 -07:00
Andrew Godwin
0a848aa884 Add watchdog to prevent stator freezing
Refs #424
2023-01-16 11:15:59 -07:00
Corry Haines
cfe18932b8
Match sanitizing for posts to Mastodon (#422)
Creates filter for REWRITTEN_TAGS that converts them to `p` rather than ripping them out entirely, and formats `ul` as break-separated list

Both changes align sanitization to Mastodon's "strict" sanitizer at https://github.com/mastodon/mastodon/blob/main/lib/sanitize_ext/sanitize_config.rb#L73

I don't love the complexity of the Filter, but Bleach doesn't give us great options to work with. The code operates within an iterator without the useful "sibling" methods that Ruby's equivalent has. Also, Bleach runs filters _after_ sanitizing (unlike Ruby's which runs before) so we have to pass all the elements through the sanitizer, then rewrite them after the fact.
2023-01-15 22:32:04 -07:00
Andrew Godwin
b721833b4f Fix old post tests 2023-01-15 21:11:08 -07:00
Andrew Godwin
18ab453baa Only fanout remote posts younger than 1 day 2023-01-15 20:57:38 -07:00
Andrew Godwin
6c72f25fbe Update features some more 2023-01-15 18:52:31 -07:00
Andrew Godwin
2ba0c1759e Fix view option wrapping 2023-01-15 16:41:52 -07:00
Andrew Godwin
71234ef159 Add start of 0.7 release notes 2023-01-15 16:38:51 -07:00
Andrew Godwin
57dfc330e0 Fix source for no bio 2023-01-15 16:29:11 -07:00
Andrew Godwin
de9261251e Fixed #421: Allow profile editing via API 2023-01-15 16:15:57 -07:00
Andrew Godwin
e39355ceb5 Fix admin pagination 2023-01-15 15:04:39 -07:00
Michael Manfre
06f6257645
Render non-media PostAttachments (#420) 2023-01-15 14:49:04 -07:00
Andrew Godwin
9dded19172 Add admin notification for new identities 2023-01-15 14:48:17 -07:00