Commit graph

861 commits

Author SHA1 Message Date
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
Andrew Godwin
34b4a6cc10 Implement followers API endpoint 2023-01-15 13:48:06 -07:00
Andrew Godwin
9983544c2a Fix account lookup API to include everyone 2023-01-15 13:45:59 -07:00
Andrew Godwin
b44be55609 Fixed #408: Implemented blocking 2023-01-15 13:35:45 -07:00
Andrew Godwin
f689110e0b Fix file size label hardcode 2023-01-15 10:31:27 -07:00
TAKAHASHI Shuuji
5e65d569bf
Prevent uploading too large image file (#416) 2023-01-15 10:29:18 -07:00
Michael Manfre
94fe247b17
Handle errors when a Post references an invalid ancestor (#417) 2023-01-15 10:28:44 -07:00
Michael Manfre
1f44e93518
Handle servers that return wrong webfinger payload (#415) 2023-01-14 14:19:47 -07:00
Andrew Godwin
f69c7304c1 Fix docker build with new domain check 2023-01-14 12:24:15 -07:00
Andrew Godwin
3f3e815407 Defend against MAIN_DOMAIN being unset in prod 2023-01-14 12:18:35 -07:00
Andrew Godwin
1ffcd5e6d1 Add timelineevent.created index 2023-01-14 12:01:44 -07:00
Andrew Godwin
76076e3387 Flip timelines back to created ordering
Also added in some tracking from where post fetches come from, in case
this re-creates the weird thing where posts emerge from history.
2023-01-14 11:31:57 -07:00
Corry Haines
ade954c2cd
Instruct robots to ignore proxy (#413) 2023-01-14 11:15:18 -07:00