Commit Graph

446 Commits (11dd9c0e3cacb84c338b348f48128fe050e7af23)

Author SHA1 Message Date
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
Bob Mottram d0f6ddd296 Don't embolden emoji strings 2022-03-24 13:38:10 +00:00
Bob Mottram 7f1e23c013 Bold reading accessibility feature 2022-03-24 13:14:41 +00:00
Bob Mottram 51a666df39 Replying to a chat message has a different path 2022-02-08 10:52:03 +00:00
Bob Mottram 4daec86f2a Support jpeg-xl format 2022-02-06 11:04:49 +00:00
Bob Mottram e29d66ddd6 Version 1.3.0 2022-02-03 13:58:20 +00:00
Bob Mottram 42e53b5cef Extra comma 2022-01-30 18:13:02 +00:00
Bob Mottram d179b1749a Combine emoji sets one by one 2022-01-30 18:08:37 +00:00
Bob Mottram f896bef6c6 Combine emoji sets one by one 2022-01-30 18:07:20 +00:00
Bob Mottram 7adcb33d61 Handle emoji combine errors 2022-01-30 18:03:55 +00:00
Bob Mottram 0bc49a476b Extra removal 2022-01-14 19:05:26 +00:00
Bob Mottram 9a0185ef3c Unit test for safe html 2022-01-14 10:20:37 +00:00
Bob Mottram f9e33f2d35 Get categories from podcast feeds 2022-01-13 15:10:41 +00:00
Bob Mottram 89c1c1c5a8 Snake case 2021-12-30 20:24:05 +00:00
Bob Mottram 1d0da992e9 POST variables should be camel case 2021-12-30 12:23:55 +00:00
Bob Mottram 086c760ace Moving to snake case 2021-12-29 21:55:09 +00:00
Bob Mottram c4203bc086 Snake case 2021-12-28 14:55:45 +00:00
Bob Mottram 2c39ccf66a Snake case 2021-12-28 14:01:37 +00:00
Bob Mottram 7de8995310 Snake case 2021-12-27 21:44:48 +00:00
Bob Mottram 88922a9b4f Snake case 2021-12-27 21:42:08 +00:00
Bob Mottram 02aa413ab3 Snake case 2021-12-27 17:32:34 +00:00
Bob Mottram 501feef616 Snake case 2021-12-27 15:43:22 +00:00
Bob Mottram 413bd33613 Snake case 2021-12-26 19:15:36 +00:00
Bob Mottram b8a3176154 Snake case 2021-12-26 18:17:37 +00:00
Bob Mottram 1129862acb Snake case 2021-12-26 18:03:39 +00:00
Bob Mottram 8b853014c5 Snake case 2021-12-26 17:29:09 +00:00
Bob Mottram c1034b21d1 Snake case 2021-12-26 15:32:00 +00:00
Bob Mottram 0a2cb81a29 Snake case 2021-12-26 15:13:34 +00:00
Bob Mottram dee60be26b Snake case 2021-12-26 14:47:21 +00:00
Bob Mottram dac2324ba9 Snake case 2021-12-26 14:26:16 +00:00
Bob Mottram a151710ce2 Snake case 2021-12-26 12:02:29 +00:00
Bob Mottram b8d460b496 Snake case 2021-12-25 21:32:15 +00:00
Bob Mottram a8a4aa3d98 Snake case 2021-12-25 18:54:50 +00:00
Bob Mottram 49e7432076 Snake case 2021-12-25 17:09:22 +00:00
Bob Mottram acc780e780 Snake case 2021-12-25 16:17:53 +00:00
Bob Mottram cb0675cf5e File reading exception handling 2021-11-26 12:28:20 +00:00
Bob Mottram 10f24bcc2d Exception prefix 2021-11-25 22:22:54 +00:00
Bob Mottram 6953b2cd43 More specific exceptions 2021-11-25 18:42:38 +00:00
Bob Mottram 34ac045d6c Switch to event id to avoid confusion with other links 2021-11-15 10:51:03 +00:00
Bob Mottram b6d0c667c4 id can be a valid link 2021-11-15 10:40:39 +00:00
Bob Mottram 424ba85942 Searching for custom emoji 2021-11-01 23:39:20 +00:00
Bob Mottram 9bafdef7bf Creating emoji dict 2021-11-01 23:34:11 +00:00
Bob Mottram 259f4eadda Joining dictionaries 2021-11-01 22:56:09 +00:00
Bob Mottram 570937d8f7 Check that emoji dict was loaded 2021-11-01 22:50:26 +00:00
Bob Mottram 3a31230f9c Append custom emoji 2021-11-01 22:45:57 +00:00
Bob Mottram d414e204bb Extra debug 2021-11-01 20:27:29 +00:00
Bob Mottram 5d56b08d14 Replace argument 2021-11-01 20:12:04 +00:00
Bob Mottram 46d171dd5c Remove pass 2021-11-01 18:38:04 +00:00
Bob Mottram 2607ca87d4 More debug 2021-11-01 18:33:32 +00:00
Bob Mottram 430ed3ce4d More debug 2021-11-01 17:50:46 +00:00
Bob Mottram 775e89cd05 Replacing emoji 2021-11-01 17:23:39 +00:00
Bob Mottram 4e81096b32 Store custom emoji 2021-11-01 17:12:17 +00:00
Bob Mottram 08e7ed1684 More descriptive exception 2021-11-01 11:35:15 +00:00
Bob Mottram 9314812e88 More logging of exceptions 2021-11-01 10:36:59 +00:00
Bob Mottram 99ae054cf2 Adding debug to exceptions 2021-10-29 17:31:20 +01:00
Bob Mottram a3c9468166 No slash 2021-10-26 17:52:17 +01:00
Bob Mottram f7dddc7408 Check for invalid local links in incoming posts 2021-10-26 17:06:22 +01:00
Bob Mottram 5804034ece Only remove double quotes 2021-10-14 18:26:24 +01:00
Bob Mottram 21d6732f7d Remove quotes 2021-10-14 18:25:42 +01:00
Bob Mottram 27c99f1900 Tidying 2021-10-14 16:53:04 +01:00
Bob Mottram 07f4b3605a Tidying 2021-10-14 16:40:19 +01:00
Bob Mottram 67bc0d61f4 Check for edited posts 2021-10-14 16:12:35 +01:00
Bob Mottram c2d9aa3f9b Avoid conflic with python 3.10 match keyword 2021-10-07 20:03:01 +01:00
Bob Mottram 192eeaff27 Don't allow svg files containing scripts 2021-09-13 18:51:33 +01:00
Bob Mottram 2a94dc9516 Change domain to libreserver.org 2021-09-10 17:14:50 +01:00
Bob Mottram 3a94d7fb41 Exception handling when deleting files
This can fail if a file is manually deleted or deleted in another thread
2021-09-05 11:17:43 +01:00
Bob Mottram 10d6e15f51 More generic mention urls 2021-08-14 09:44:58 +01:00
Bob Mottram e5c488031d Remove existing media files if not media is detected within a post 2021-08-09 22:27:13 +01:00
Bob Mottram 83c631104a Currency field as dropdown 2021-08-07 18:44:25 +01:00
Bob Mottram 8cb31a10a8 Get currency symbol from price 2021-08-07 18:03:41 +01:00
Bob Mottram beb451baf7 Tidying of mime types 2021-08-03 10:09:04 +01:00
Bob Mottram e4b9a27de0 Function for account directory 2021-07-13 22:59:53 +01:00
Bob Mottram 5e2b02ad81 File open attribute style 2021-07-13 15:40:49 +01:00
Bob Mottram 7511af13d0 Limit the number of times that the same word can be repeated 2021-07-10 10:38:59 +01:00
Bob Mottram 0eb405ef5b Unit test for word switching 2021-07-06 17:29:03 +01:00
Bob Mottram 112f4be382 Use with when opening files 2021-07-05 12:48:20 +01:00
Bob Mottram c37f3ac004 Extra architecture graphs 2021-06-26 15:21:24 +01:00
Bob Mottram 7e324702ce Module groups 2021-06-25 17:10:09 +01:00
Bob Mottram e0aac3c6a3 Separate function for extracting domain name 2021-06-23 22:31:50 +01:00
Bob Mottram 80f43a728a Spaces 2021-06-22 13:42:52 +01:00
Bob Mottram cd008c3013 Revert "Reading functions"
This reverts commit ee0ffade9d.
2021-06-21 23:52:04 +01:00
Bob Mottram ee0ffade9d Reading functions 2021-06-21 23:34:46 +01:00
Bob Mottram 546dda34bb Argument types 2021-06-20 12:28:35 +01:00
Bob Mottram e7ae1c0561 Importing themes 2021-05-29 12:04:03 +01:00
Bob Mottram 0ce6c608ed Don't remove + from fields 2021-05-20 10:41:36 +01:00
Bob Mottram eb9135ac3e Another long lines failure case 2021-03-17 21:17:27 +00:00
Bob Mottram 3b5dba87c3 Tidying of encrypted message detection 2021-03-12 12:04:34 +00:00
Bob Mottram b7c1b02346 Decrypt pgp encrypted DMs 2021-03-11 17:15:32 +00:00
Bob Mottram 3e7e64f5d0 Debug 2021-03-06 23:19:03 +00:00
Bob Mottram 6b2f22d562 Check that media file is written 2021-03-06 23:16:54 +00:00
Bob Mottram 6b3feec7aa Allow semicolons in some other fields 2021-03-01 12:19:49 +00:00
Bob Mottram fdc9c0ab62 Allow semicolons in some other fields 2021-03-01 12:15:06 +00:00
Bob Mottram 6baef31a36 Bring the payload back 2021-03-01 10:06:13 +00:00
Bob Mottram f76c173f59 Don't use payload function when parsing form-data 2021-03-01 10:02:55 +00:00
Bob Mottram 460b8bd938 Only one truncation 2021-02-13 12:26:25 +00:00
Bob Mottram 58ba1146a4 Remove only the last character 2021-02-13 12:17:03 +00:00
Bob Mottram ab6994329a Remove endings from hashtags 2021-02-13 12:12:06 +00:00
Bob Mottram 0826326653 Validation of categories 2021-02-09 22:42:29 +00:00
Bob Mottram 2e6fe854f8 More checks 2021-02-09 22:29:57 +00:00
Bob Mottram 890c8856a8 More thorough validation of hashtags and nicknames 2021-02-09 14:41:32 +00:00
Bob Mottram 7de4e24f2e Latin-script special characters are valid 2021-02-09 13:28:42 +00:00
Bob Mottram 00af89ff3e More hashtag checks 2021-02-09 13:16:53 +00:00
Bob Mottram 74a8e39509 Check for invalid hashtag 2021-02-08 21:31:18 +00:00
Bob Mottram f528171090 Check that petname exists 2021-02-04 13:43:56 +00:00
Bob Mottram 8bbd9b6173 Check for dangerous markup in display name and clearly indicate adversaries 2021-01-31 11:05:17 +00:00
Bob Mottram bdfeb8f993 Increment follow counter 2021-01-29 21:34:08 +00:00
Bob Mottram 9195e57c13 Fallback mentions replacement 2021-01-29 21:33:23 +00:00
Bob Mottram 419353ccf9 Version 1.2.0 2021-01-26 10:07:42 +00:00
Bob Mottram 1bb4eab631 Support for svg format images 2021-01-11 22:27:57 +00:00
Bob Mottram 5cd9aa8d66 Enforce convention of underscore before local function names 2020-12-22 18:06:23 +00:00
Bob Mottram a7b094f84f Test for stranded functions which aren't called 2020-12-22 12:59:46 +00:00
Bob Mottram 88b0a6aa6f Check if tag already exists 2020-12-13 20:07:45 +00:00
Bob Mottram 11883701ab No imports of unchecked css 2020-12-12 21:42:10 +00:00
Bob Mottram 76eb19b311 Check for non-local web links in css 2020-12-12 21:21:06 +00:00
Bob Mottram 49091dea9f Dissallow regular expressions in css 2020-12-12 20:59:52 +00:00
Bob Mottram 5dfd647f81 Check for localhost links in css 2020-12-12 20:55:33 +00:00