Commit Graph

309 Commits (d9a6cdf51b957111745f10ed5e7f139040d07aea)

Author SHA1 Message Date
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
Bob Mottram 249cc1ab5a reject localhost in markup 2020-12-12 20:53:16 +00:00
Bob Mottram 5031d6bf78 Standardize rel 2020-12-11 10:14:58 +00:00
Bob Mottram af76a5809e Check for enabling scripts or popups 2020-12-11 10:02:23 +00:00
Bob Mottram 9e483bdacf Don't remove radicle links 2020-12-06 10:18:41 +00:00
Bob Mottram c0eedb0716 Ensure that text fields from POST are unquoted 2020-12-03 14:59:07 +00:00
Bob Mottram 30ebfda697 Tidy up the handling of media formats 2020-11-21 11:54:29 +00:00
Bob Mottram 5364b71616 Option to allow access to the local network
This might be useful for mesh networks or private networks
2020-11-20 10:58:49 +00:00
Bob Mottram be45c71e12 Anything coming from google - fonts, etc - is bad 2020-11-15 11:26:23 +00:00
Bob Mottram 079e893385 Convert to lower case 2020-11-15 11:14:26 +00:00
Bob Mottram 9726a63c33 Extra checks on css 2020-11-15 11:01:05 +00:00
Bob Mottram cadd0de15c Don't allow local network access 2020-11-11 09:42:48 +00:00
Bob Mottram cb49d90bb9 Removing long words from feed titles 2020-10-31 23:10:38 +00:00
Bob Mottram 37e188b0a3 Indentation 2020-10-30 12:12:09 +00:00
Bob Mottram 26c490757d Check for balanced quotes 2020-10-30 12:10:57 +00:00
Bob Mottram 1b24bc664a Only html format quotes if there are a few
If there are lots then things can get out of hand
2020-10-30 12:03:29 +00:00
Bob Mottram 3fd0723684 Remove html before checking for hashtags 2020-10-25 12:47:16 +00:00
Bob Mottram c691cff82d Add hashtag interpreter 2020-10-17 13:05:41 +01:00
Bob Mottram af3b7baf12 Extract hashtags from newswire feeds 2020-10-16 21:13:23 +01:00
Bob Mottram a60491585e Extract hashtags from feeds 2020-10-16 20:49:34 +01:00
Bob Mottram abcda1af1e Revert 2020-10-11 11:31:26 +01:00
Bob Mottram f3c1482e87 Image width 2020-10-11 11:25:19 +01:00
Bob Mottram caafb4648c Set image width if it exists 2020-10-11 11:10:19 +01:00
Bob Mottram 82a89aa216 Don't tag podcasts as music 2020-10-11 10:50:17 +01:00
Bob Mottram 13c067bfa4 Remove dangerous markup from rss feeds 2020-10-11 10:33:31 +01:00
Bob Mottram 3fe7a8c498 Tidying 2020-09-30 23:55:53 +01:00
Bob Mottram 463192242f Fix test 2020-09-30 23:52:39 +01:00
Bob Mottram ce1067d1a9 Replace quotes 2020-09-14 13:17:11 +01:00
Bob Mottram 08b6d14400 Style of quoted paragraphs 2020-09-14 12:30:56 +01:00
Bob Mottram 488ef5b34d Extra blockquote check 2020-09-14 11:25:12 +01:00
Bob Mottram 21573b6ca7 Turn email style quotes into blockquotes 2020-09-14 10:33:42 +01:00
Bob Mottram 08c18607d0 Automatically add hashtags 2020-09-13 15:42:17 +01:00
Bob Mottram e12b6483c3 Support AVIF image format
See https://jakearchibald.com/2020/avif-has-landed
2020-09-09 16:09:38 +01:00
Bob Mottram 2f2034d0ec Long hashtags are invalid 2020-08-07 21:43:54 +01:00
Bob Mottram 8565f362e6 Better handling of quotes 2020-08-03 18:03:30 +01:00
Bob Mottram 323cb4a91b Replace quotes 2020-08-02 20:16:22 +01:00
Bob Mottram d58e4519d7 Quotes replacement 2020-08-02 19:30:35 +01:00
Bob Mottram 853ef7af2e Replace quotes 2020-08-02 19:09:50 +01:00