Commit Graph

537 Commits (d4ca17ec184782ff47ffe70f945f6cc87c3db24c)

Author SHA1 Message Date
Bob Mottram 8fb02acff4 Don't show the generic sensitive cw 2024-04-14 21:56:04 +01:00
Bob Mottram ccab03cc2a Allow dict attachments and convert them to lists 2024-03-29 14:52:14 +00:00
Bob Mottram 961bc38476 Remove unused arguments 2024-02-26 12:08:41 +00:00
Bob Mottram ac735e2d91 Remove default arguments 2024-02-19 20:54:46 +00:00
Bob Mottram ca526fa0d3 Remove default arguments 2024-02-19 20:52:37 +00:00
Bob Mottram c08340049d Remove default arguments 2024-02-19 18:40:23 +00:00
Bob Mottram 58a1a0b629 Remove default arguments 2024-02-19 15:38:08 +00:00
Bob Mottram 062f998713 More reject information during inbox validation 2024-02-18 12:06:16 +00:00
Bob Mottram 90298b859b Ensure that display name does not get too short 2024-02-17 19:13:14 +00:00
Bob Mottram 6fb8496901 Limit the maximum length of display names within posts 2024-02-17 19:06:58 +00:00
Bob Mottram 7bf305f9f2 Try slashes in convthread 2024-02-15 19:27:05 +00:00
Bob Mottram c0d569968a Fixing code tag removals 2024-02-15 17:29:16 +00:00
Bob Mottram 4233310044 Avoid using default paramerers so that static analysis works better 2024-02-11 13:27:52 +00:00
Bob Mottram d296f166c5 Apply federated blocks when downloading announces 2024-02-09 22:09:18 +00:00
Bob Mottram d312a52c26 Checking for url strings 2024-01-27 17:04:21 +00:00
Bob Mottram a4602fa8d7 Version 1.5.0 2024-01-21 19:01:20 +00:00
Bob Mottram 5ff61bab0e Add cache for automatic content warnings 2024-01-18 13:27:22 +00:00
Bob Mottram 04975770f5 If a summary exists set sensitive flag 2024-01-17 20:46:20 +00:00
Bob Mottram 6b8e620496 Extra summary changes 2024-01-17 20:11:31 +00:00
Bob Mottram 9b69ad2897 Apply automatic content warnings to all posts 2024-01-17 12:07:56 +00:00
Bob Mottram e0ea772681 Enable reading friendica-style actors 2024-01-09 16:59:23 +00:00
Bob Mottram db4f77e52d Handle inReplyTo in a way that is compatible with bookwyrm 2023-12-24 23:42:38 +00:00
Bob Mottram 4c1eccc628 Tidying 2023-12-13 19:50:18 +00:00
Bob Mottram 7ced1067dd Internationalise default text for media in text mode browsers 2023-12-13 19:41:50 +00:00
Bob Mottram d14395f857 Ensure that media is playable from a text mode browser 2023-12-13 14:40:49 +00:00
Bob Mottram 080b2ca352 Handle situations where urls are lists 2023-12-09 14:18:24 +00:00
Bob Mottram d40fde1136 Preparing for utcnow deprecation 2023-11-20 22:27:58 +00:00
Bob Mottram a5eba052ed Tidying 2023-11-01 20:43:35 +00:00
Bob Mottram f447293436 get content when converting video to note 2023-10-29 13:24:52 +00:00
Bob Mottram 216f9f578a Support nameMap within actor 2023-10-25 20:55:40 +01:00
Bob Mottram 4825b1d90e Function to get the attributedTo string 2023-09-26 21:25:53 +01:00
Bob Mottram b77389400d Handling of mixed direction post content 2023-09-20 13:23:45 +01:00
Bob Mottram d76f69d162 Extra check for missing code tags 2023-09-19 15:21:15 +01:00
Bob Mottram ea21eeb52d Improve support for right-to-left languages 2023-09-10 11:12:39 +01:00
Bob Mottram ddcf015343 Invert logic 2023-09-01 17:31:43 +01:00
Bob Mottram ad7bf3c033 Return http codes from get_json 2023-08-13 10:58:02 +01:00
Bob Mottram 025ec98673 Apply pixelfed style capabilities for announce permission 2023-08-04 10:38:48 +01:00
Bob Mottram dd5a353c95 More general location representation 2023-08-03 13:35:43 +01:00
Bob Mottram a14665f313 Tidying 2023-08-01 10:04:25 +01:00
Bob Mottram 1dc062b1d8 Check that returned json is a dict 2023-08-01 09:54:24 +01:00
Bob Mottram cdd9550223 Define variable earlier 2023-07-31 14:18:31 +01:00
Bob Mottram eac6bfd699 In reply to lookup 2023-07-31 13:59:26 +01:00
Bob Mottram 20d1b34f28 Get reply actor for posts without object dict 2023-07-31 13:21:37 +01:00
Bob Mottram b0d8da58d8 Check that inReplyTo Exists 2023-07-31 13:13:14 +01:00
Bob Mottram 00a7c68f38 Replying to unknown 2023-07-31 13:09:14 +01:00
Bob Mottram 0b8cb544de Indentation 2023-07-30 10:59:12 +01:00
Bob Mottram ee93ea09bb Attempt to get reply actor to improve display name 2023-07-29 20:49:57 +01:00
Bob Mottram eca0fa1736 Sanitise links to avoid injection attacks in rendered html 2023-07-12 12:08:02 +01:00
Bob Mottram e935c3649c Replace hashes in first post id 2023-07-11 21:48:01 +01:00
Bob Mottram 5915d3ddb5 Indicate link to a license 2023-07-09 10:17:10 +01:00
Bob Mottram 51c97949f1 Alternative license representation. See https://blahaj.zone/notes/9ev0kge0aj 2023-05-17 21:31:50 +01:00
Bob Mottram 60b1b8aef9 Comment 2023-05-12 18:06:25 +01:00
Bob Mottram dbeaf8bf76 Better variable name 2023-05-12 18:05:32 +01:00
Bob Mottram c86c508e09 Add an indicator if posts are proxied 2023-05-12 18:01:57 +01:00
Bob Mottram ef790a299b Remove the moribund e2e code
It wasn't used, and doing crypto would likely involve javascript anyway
2023-05-03 19:16:47 +01:00
Bob Mottram 11995eccb4 Fix tests 2023-04-30 11:12:52 +01:00
Bob Mottram 8f64ecfeb3 Turning off votes applies to announced votes 2023-04-05 22:41:40 +01:00
Bob Mottram d32b49e4e2 Use function to obtain content 2023-03-20 18:04:38 +00:00
Bob Mottram b12932e075 cwlists in a separate module 2023-03-20 14:50:19 +00:00
Bob Mottram fdd0b34e33 Remove css style from post content 2023-02-19 11:48:09 +00:00
Bob Mottram 2d9f4a3681 Remove css style from post content
This could otherwise mess up the UI
2023-02-19 11:36:35 +00:00
Bob Mottram b4568ec03e Caching of announced posts 2023-02-12 16:58:45 +00:00
Bob Mottram 996ae50a8c More descriptive 2023-02-09 14:18:21 +00:00
Bob Mottram eac063e86d Style of scope icon 2023-02-09 14:00:16 +00:00
Bob Mottram 0a5abcdd1c Icon indicating post scope 2023-02-09 13:56:14 +00:00
Bob Mottram 1cb2e62070 Indicate scope of replies 2023-02-09 13:26:56 +00:00
Bob Mottram 43a411581c Check for none 2023-02-09 12:26:51 +00:00
Bob Mottram 4ea0d5039b Don't show bookmark icon for unbookmarkable posts 2023-02-07 10:38:07 +00:00
Bob Mottram fb088adcbe Tidying 2023-02-06 11:47:24 +00:00
Bob Mottram 7daa8812aa Support alternative license representation 2023-01-23 15:09:40 +00:00
Bob Mottram b93a8b799f Apply filtering to image creator details 2023-01-23 14:45:53 +00:00
Bob Mottram b91a876b75 v1.4.0 2023-01-21 23:03:30 +00:00
Bob Mottram 3f779554a5 Revert "Use url if available"
This reverts commit f368d5d000.
2023-01-19 10:41:21 +00:00
Bob Mottram a8bd2fc634 Revert "Use url for published link"
This reverts commit 37403dd72f.
2023-01-19 10:41:06 +00:00
Bob Mottram 37403dd72f Use url for published link 2023-01-19 10:35:28 +00:00
Bob Mottram f368d5d000 Use url if available 2023-01-19 10:24:55 +00:00
Bob Mottram 4b25ba81f4 Else 2023-01-17 10:55:15 +00:00
Bob Mottram 7cf44a1aab Attachment could be called 'copyright' 2023-01-17 10:52:50 +00:00
Bob Mottram e1bad8b9e1 Could be a phrase containing license 2023-01-17 10:50:34 +00:00
Bob Mottram 171357374a Alternative license spelling 2023-01-17 10:48:14 +00:00
Bob Mottram 7796955f1f Value or href 2023-01-17 10:45:57 +00:00
Bob Mottram 4c6e7ce525 Don't show copyright icon on reminder posts 2023-01-16 21:33:32 +00:00
Bob Mottram 008a8d1284 Check that a domain is returned 2023-01-15 14:33:18 +00:00
Bob Mottram 43cc11806b Icon title is buy 2023-01-13 21:52:22 +00:00
Bob Mottram dd299c636e Attachment rather than tag 2023-01-13 21:43:14 +00:00
Bob Mottram 6928de6465 Buy link on edit new post 2023-01-13 17:41:48 +00:00
Bob Mottram 2f9a0c7792 Buy links 2023-01-13 15:04:48 +00:00
Bob Mottram 86eb346cf7 'context' is sometimes used to mean the same thing as 'conversation'
This does not appear to be part of the AP spec, but is used in the wild
2023-01-09 11:38:05 +00:00
Bob Mottram 0b6ed0324f Improve checking for content 2023-01-08 22:23:02 +00:00
Bob Mottram 13efa85b3b Replace direct link to mastodon UI 2023-01-07 20:28:31 +00:00
Bob Mottram 00b47b218b Fix unit test 2023-01-06 12:08:01 +00:00
Bob Mottram fd066e16a8 Display of remote hashtags to avoid showing Mastodon UI 2023-01-05 22:19:38 +00:00
Bob Mottram 4f39b72205 Typo 2023-01-03 17:57:52 +00:00
Bob Mottram d6f11dd0bf Formatting of content license icon on profile posts 2023-01-03 17:54:09 +00:00
Bob Mottram 36907f1e49 Copyright icons rather than unicode symbols, for better compatibility across browsers 2023-01-02 18:36:46 +00:00
Bob Mottram e409d93512 Link to conversation view 2023-01-01 14:54:12 +00:00
Bob Mottram a764fa2418 Don't show repeat icon for posts without image descriptions 2022-12-29 11:50:51 +00:00
Bob Mottram 0b43a52def Replace hash 2022-12-28 19:02:04 +00:00
Bob Mottram d955d4ab75 Change button links to redirect to same timeline 2022-12-28 18:33:09 +00:00
Bob Mottram 4df035baae Refactoring 2022-12-28 10:18:13 +00:00