Commit Graph

461 Commits (76d17697873eb4cb1f7a6a71b5936a8a59bdb588)

Author SHA1 Message Date
Bob Mottram baf39c1518 Whenever saving an image verify that the binary looks like an image
This should help to head off any future nefariousness
2023-09-12 19:38:56 +01:00
Bob Mottram 5bdd859190 Check that avatar and favicon images cached are really images 2023-09-12 17:20:31 +01:00
Bob Mottram eca0fa1736 Sanitise links to avoid injection attacks in rendered html 2023-07-12 12:08:02 +01:00
Bob Mottram 4caa930f67 Allow pre tag through dangerous markup filter in some cases, then remove it when rendering 2023-05-18 12:15:18 +01:00
Bob Mottram 705792d2fb Handle no user path 2023-05-10 12:53:38 +01:00
Bob Mottram d32b49e4e2 Use function to obtain content 2023-03-20 18:04:38 +00:00
Bob Mottram 489082a100 Importing blocks from csv 2023-02-10 18:42:58 +00:00
Bob Mottram b91a876b75 v1.4.0 2023-01-21 23:03:30 +00:00
Bob Mottram 0b6ed0324f Improve checking for content 2023-01-08 22:23:02 +00:00
Bob Mottram b80250f1a3 Check link 2023-01-05 22:22:42 +00:00
Bob Mottram fd066e16a8 Display of remote hashtags to avoid showing Mastodon UI 2023-01-05 22:19:38 +00:00
Bob Mottram f25cf2121a Link to DOI scientific references 2023-01-04 13:33:05 +00:00
Bob Mottram bcd0b5f30b Tidying 2023-01-04 12:45:36 +00:00
Bob Mottram 9a7b95eca4 Support arxiv scientific publication references 2023-01-04 11:53:15 +00:00
Bob Mottram 80fd77a1ce Avoid duplicated file extension 2022-12-10 11:17:33 +00:00
Bob Mottram 4a906f143f Add missing name emojis to actor tag list 2022-12-08 14:13:15 +00:00
Bob Mottram 9a03272ad1 Use hidden 2022-11-11 11:40:43 +00:00
Bob Mottram 3d6d471021 Screen readers don't speak the # symbol 2022-11-11 11:08:48 +00:00
Bob Mottram 5a54db1c33 Add emojis 2022-11-08 12:36:59 +00:00
Bob Mottram 2df68a39b1 Support heic formatted images 2022-10-31 17:26:31 +00:00
Bob Mottram ac89c7e20d Support wave file attachments 2022-10-31 11:05:11 +00:00
Bob Mottram 08df47318f Support speex audio format 2022-10-20 20:37:59 +01:00
Bob Mottram a8134f3243 Full url for mentions 2022-09-03 18:09:00 +01:00
Bob Mottram 2477618d69 Tidying 2022-09-03 17:22:56 +01:00
Bob Mottram fb8b19aaef Tidying 2022-09-03 17:19:09 +01:00
Bob Mottram 61b2207795 Check for twitter content within announces 2022-07-27 10:13:30 +01:00
Bob Mottram 901089f81d Wrong variable name 2022-07-21 11:47:17 +01:00
Bob Mottram 18f2257f15 Missing comma 2022-07-21 11:45:27 +01:00
Bob Mottram e533f7200c Try plain text mime type 2022-07-21 11:29:21 +01:00
Bob Mottram beb2c5c9c7 Extra validation on csv import 2022-07-21 11:16:14 +01:00
Bob Mottram 1cda2d740e Import follows csv from profile screen 2022-07-21 10:58:28 +01:00
Bob Mottram edfa75e221 Replace nowplaying with capitalized version 2022-07-19 14:59:51 +01:00
Bob Mottram 297f25f92c Translate the nowplaying hashtag 2022-07-18 17:18:04 +01:00
Bob Mottram 877ae73fed Capitalize hashtag 2022-07-18 14:31:51 +01:00
Bob Mottram 0b76ccf208 Handle bullet points 2022-07-11 16:52:50 +01:00
Bob Mottram ab62dcfe73 Add paragraphs 2022-07-11 16:13:39 +01:00
Bob Mottram 4e72f36a1c Combining lines within paragraphs to work around the lack of word-wrap within Lynx textarea 2022-07-11 15:45:40 +01:00
Bob Mottram 17d7432fc6 Add debug flags 2022-07-10 22:57:26 +01:00
Bob Mottram 5d0192732c Prepend dashes 2022-07-10 22:52:39 +01:00
Bob Mottram fc3816ca14 Prepend dashes 2022-07-10 22:52:24 +01:00
Bob Mottram 1352b3faf6 Debug 2022-07-10 22:48:36 +01:00
Bob Mottram 7a59a2482a Debug 2022-07-10 22:44:12 +01:00
Bob Mottram ccac5448e6 Exclude password from debug 2022-07-10 22:15:06 +01:00
Bob Mottram e963b32353 Debug 2022-07-10 22:03:14 +01:00
Bob Mottram 4dc62cfb8e Extra newline 2022-07-10 20:18:37 +01:00
Bob Mottram 3dd4debf24 Add unit test for Lynx browser POST 2022-07-10 20:04:54 +01:00
Bob Mottram 9b5f638bee More debug 2022-07-10 18:44:58 +01:00
Bob Mottram 606fa14da1 Handle double words 2022-07-05 20:45:18 +01:00
Bob Mottram 85780153dc Wildcard in middle 2022-07-05 20:35:38 +01:00
Bob Mottram 81c78e2b0e Don't break so that count can increase 2022-07-05 19:52:05 +01:00
Bob Mottram a5e1d549f3 Compare lower case 2022-07-05 19:47:23 +01:00
Bob Mottram 491c372149 Typo 2022-07-05 19:14:57 +01:00
Bob Mottram 21b5462683 Edit dogwhistle words 2022-07-05 18:52:19 +01:00
Bob Mottram 972c29a9fa Require a category 2022-07-05 17:25:31 +01:00
Bob Mottram 2048670417 Exit loop if found 2022-07-05 17:24:47 +01:00
Bob Mottram 8101835c05 Add dogwhistle warnings 2022-07-05 17:21:48 +01:00
Bob Mottram d2a39c8b50 Load dogwhistles from file 2022-07-05 13:30:21 +01:00
Bob Mottram 4dbb6a0740 Unit test for dogwhistles 2022-07-05 12:37:35 +01:00
Bob Mottram f0b9210df7 Indentation 2022-07-05 12:15:26 +01:00
Bob Mottram 374668abe6 Comment 2022-07-05 12:12:58 +01:00
Bob Mottram 82ba2060db Refator 2022-07-05 12:12:07 +01:00
Bob Mottram 65d9b0680a Function for line ending characters 2022-06-21 12:58:50 +01:00
Bob Mottram ac6695b9f3 Tidying 2022-06-14 11:24:29 +01:00
Bob Mottram 3687fb04f6 Tab index for edits 2022-06-10 17:00:55 +01:00
Bob Mottram 4308f7501a Explicitly set file encoding 2022-06-09 15:46:30 +01:00
Bob Mottram 5eef7c72e9 Use appropriate session to send follow rejects 2022-06-01 15:26:50 +01:00
Bob Mottram 75602209a4 Tidying 2022-05-30 22:41:18 +01:00
Bob Mottram 80c6ef3eda Tidying 2022-05-26 18:51:38 +01:00
Bob Mottram 1d0ccdecdb Ensure that svg content does not contain script 2022-05-26 17:40:00 +01:00
Bob Mottram 5852de9746 Log svg scripts for subsequent review 2022-05-26 13:17:56 +01:00
Bob Mottram 7381e17c08 Function to remove scripts from content 2022-05-26 10:08:02 +01:00
Bob Mottram 754c679075 Mention tab index 2022-05-25 14:20:49 +01:00
Bob Mottram 9593092c8f Tab index for post links 2022-05-25 13:57:31 +01:00
Bob Mottram ad3ad1b045 Check for very long urls within incoming posts 2022-05-17 12:40:05 +01:00
Bob Mottram 05680217c1 Shorten any long text inside of existing links 2022-05-04 12:34:33 +01:00
Bob Mottram 05efb23a51 Begin support for ipfs 2022-04-29 14:54:13 +01:00
Bob Mottram bcedcd3f06 Don't speak emoji eithin display names 2022-04-21 14:03:40 +01:00
Bob Mottram 43abdf44b6 Lookup the name for emojis which are codes 2022-04-19 13:54:37 +01:00
Bob Mottram 9878d637fa Remove file ending 2022-04-18 22:13:08 +01:00
Bob Mottram d927ebb41e Store commonly used emoji 2022-04-18 22:02:03 +01:00
Bob Mottram 8094ca0849 Support opus audio format 2022-04-18 14:21:45 +01:00
Bob Mottram eb5f561294 Use contentMap, if available, when showing post diff 2022-04-13 15:20:38 +01:00
Bob Mottram e57efd0af5 More emoji 2022-04-11 20:44:39 +01:00
Bob Mottram f412070f99 Remove extra line from edits 2022-04-11 17:09:51 +01:00
Bob Mottram d7bb5dc1c7 Fixing edit diffs 2022-04-11 13:13:04 +01:00
Bob Mottram c4fbdda58d Function to show edits to a post 2022-04-10 23:50:44 +01:00
Bob Mottram e286cf8661 Unit test for content diff 2022-04-10 20:19:40 +01:00
Bob Mottram ffa23deaab Fix for empty paragraphs during long string check 2022-04-08 17:16:16 +01:00
Bob Mottram 12b112ae97 Emoji debug 2022-04-02 18:24:56 +01:00
Bob Mottram 88380b2c3c Adding post tags for custom emoji 2022-03-29 22:10:09 +01:00
Bob Mottram 1d0963980e Adding more emoji 2022-03-29 20:34:03 +01:00
Bob Mottram 5b480dd815 Round up word division for bold reading 2022-03-24 16:16:36 +00:00
Bob Mottram 2c087d5e2a Another unit test for markup with bold reading 2022-03-24 15:57:44 +00:00
Bob Mottram 9fdca7919c Improve handling of markup while emboldening text 2022-03-24 15:32:37 +00:00
Bob Mottram bca1f1c5b7 Unescape before adding bold 2022-03-24 15:15:53 +00:00
Bob Mottram 0f2b28ed1f Unquote text 2022-03-24 14:59:41 +00:00
Bob Mottram c7ed262691 Avoid emboldening words containing and 2022-03-24 14:46:22 +00:00
Bob Mottram 5320e7ed7b Allow bold markup for bold reading 2022-03-24 14:40:28 +00:00
Bob Mottram ea6520c7fb Avoid emboldening spaces within markup 2022-03-24 14:08:07 +00:00
Bob Mottram a1f2096900 Handle emboldened text with quotes 2022-03-24 13:45:55 +00:00