Commit graph

789 commits

Author SHA1 Message Date
Andrew Godwin
28ed74df24 Let people put bad things in their own head
Fixes #432
2023-01-29 18:20:58 -07:00
Andrew Godwin
1ffbb2e860 Fix hashtag extraction on post edit 2023-01-29 18:13:21 -07:00
Andrew Godwin
a6922cb9d6 Move to a new HTML parser/stripper
This removes the use of the EOL'd Bleach, and also integrates hashtag,
mention and emoji searching into one single place.
2023-01-29 17:47:06 -07:00
Corry Haines
93c0af992b
Templatize robots.txt (#478) 2023-01-29 12:27:07 -07:00
Humberto Rocha
aeba38b8ae
Enable post search to other supported post types (#481)
* Enable post search to other supported post types like question, video, and others

* Upgrade isort to match pre-commit config
2023-01-29 12:26:08 -07:00
TAKAHASHI Shuuji
e6f827dd7f
Upgrade isort version in pre-commit (#480) 2023-01-29 10:45:40 -07:00
Andrew Godwin
8ea1fb9ce6 Fix emojis in profile fanout
Refs #468
2023-01-28 11:13:06 -07:00
Andrew Godwin
1670c92269 Send out emoji tags for identities 2023-01-28 11:01:42 -07:00
Cosmin Stejerean
9779f867bf
Also read query string params in parse body (#477) 2023-01-28 10:05:28 -07:00
Michael Manfre
a22ba4859b Downgrade follow not found to capture_message 2023-01-27 10:52:32 -07:00
Michael Manfre
773c9b2afc Ensure expected fields exist for Post.by_ap 2023-01-27 10:52:32 -07:00
Michael Manfre
6437a5aeb7 Properly handle Author targeting blocks 2023-01-27 10:52:32 -07:00
TAKAHASHI Shuuji
8a06b3d78f
Fix wrong post character counting in hyperscript (#476)
A newline `\n` will be normalized as `\r\n` in Django.
2023-01-27 10:50:34 -07:00
Andrew Godwin
653ab07fd6 Swap a decent number of admin fields to autocomplete 2023-01-26 10:01:21 -07:00
Andrew Godwin
75ba7e3160 Make user admin a raw ID field 2023-01-26 09:52:03 -07:00
Humberto Rocha
5dd2ebee29
Make user handle search to be case insensitive (#474) 2023-01-25 19:17:52 -07:00
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