Commit Graph

427 Commits (d3fc9ee45ed9c42230e7797a861eb02ba4f3e8bb)

Author SHA1 Message Date
Bob Mottram bcc59bac97 Extra reserved name 2021-02-25 18:33:35 +00:00
Bob Mottram ea23f01df2 Actor validation for arriving posts 2021-02-15 10:06:49 +00:00
Bob Mottram 03c234eac9 Featured writers 2021-02-13 11:37:02 +00:00
Bob Mottram 5ef5174fee Refresh newswire after removing or suspending an account 2021-02-13 10:01:04 +00:00
Bob Mottram 292fa6fd8f Abbreviate function name 2021-02-11 11:02:05 +00:00
Bob Mottram 6806218202 Screen for outgoing abusive posts 2021-02-11 10:33:56 +00:00
Bob Mottram b16fb0d24c Improve checking of site active status
This uses a defluffed version of webchk
2021-02-10 11:24:34 +00:00
Bob Mottram f97d7f4c6a Honk style users path 2021-02-09 17:00:35 +00:00
Bob Mottram 345ded45c7 Honk style users path 2021-02-09 16:21:59 +00:00
Bob Mottram 890c8856a8 More thorough validation of hashtags and nicknames 2021-02-09 14:41:32 +00:00
Bob Mottram 76671bae89 Filter for obviously hostile domains 2021-02-06 21:05:09 +00:00
Bob Mottram 0e9aa4766f Move jsonld signatures to python3-cryptography 2021-02-04 18:18:31 +00:00
Bob Mottram e9fbef95c0 Skip site active check for onion and i2p 2021-02-02 15:45:40 +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 419353ccf9 Version 1.2.0 2021-01-26 10:07:42 +00:00
Bob Mottram 3680d24247 Extra invalid nickname 2021-01-25 15:02:02 +00:00
Bob Mottram fd12451f5a Tests for international domain handling 2021-01-25 12:24:40 +00:00
Bob Mottram 7ac901980f Check for localhost 2021-01-25 11:51:42 +00:00
Bob Mottram 192498859a Don't do idna conversion for local network addresses 2021-01-25 11:38:12 +00:00
Bob Mottram 1bb4eab631 Support for svg format images 2021-01-11 22:27:57 +00:00
Bob Mottram 7d22d2ec25 Handle exception on date format 2021-01-09 10:23:05 +00:00
Bob Mottram a9fcabd366 Show locked account status after search for handle 2021-01-02 11:18:43 +00:00
Bob Mottram 2bbdbe9774 Add ftp as a supported link type 2021-01-02 10:37:19 +00:00
Bob Mottram 9d937826bc Update when receiving likes 2020-12-30 21:21:57 +00:00
Bob Mottram adbddb95c3 Check before adding new entries to indexes 2020-12-29 20:22:28 +00:00
Bob Mottram 838d853a59 Tidying of users path detection 2020-12-23 10:57:44 +00:00
Bob Mottram 3ff0866deb Test that number of function arguments match 2020-12-22 21:24:46 +00:00
Bob Mottram 5cd9aa8d66 Enforce convention of underscore before local function names 2020-12-22 18:06:23 +00:00
Bob Mottram 96e813181b Move hashtag categories functions to their own module 2020-12-22 10:30:52 +00:00
Bob Mottram 23301b35a5 Validate newswire item dates
So they can't be in the future or too far in the past
2020-12-21 12:11:45 +00:00
Bob Mottram c8e9804b4a Tidying 2020-12-16 10:30:54 +00:00
Bob Mottram e87fd5a168 Break after loop 2020-12-13 22:13:45 +00:00
Bob Mottram e727cc4c22 String 2020-12-13 13:45:06 +00:00
Bob Mottram 2127252ca0 Add space 2020-12-13 13:43:09 +00:00
Bob Mottram d6e60ff3d3 Mark dormant followed accounts on profile 2020-12-13 12:44:17 +00:00
Bob Mottram d1a16c486c Create tags directory if needed 2020-12-11 11:21:50 +00:00
Bob Mottram 8878df7bbb Extra name check 2020-12-10 09:50:45 +00:00
Bob Mottram f45f6235d0 Only show tags that exist 2020-12-05 16:11:11 +00:00
Bob Mottram d2f8d916f7 Filter for recent hashtags on category screen 2020-12-05 16:06:36 +00:00
Bob Mottram 09e980da24 Setting categories from defaults 2020-12-05 14:43:29 +00:00
Bob Mottram c3ce17cb6b Try different cases when setting title 2020-12-03 12:46:56 +00:00
Bob Mottram b55df96f3a Handle hashtag case 2020-12-03 12:42:12 +00:00
Bob Mottram 553bd86901 Validation on categories 2020-12-03 10:03:53 +00:00
Bob Mottram 4a8ceda973 Show hashtag gategory from search screen 2020-12-02 21:46:14 +00:00
Bob Mottram 8ad13c94c7 Sort hashtag categories list 2020-12-02 13:38:07 +00:00
Bob Mottram 61ee919a1f Avoid empty categories 2020-12-02 13:19:56 +00:00
Bob Mottram 9873382d4f Update hashtag category list when changing tags 2020-12-02 13:16:00 +00:00
Bob Mottram 512d1811c5 Don't check file 2020-12-02 11:23:58 +00:00
Bob Mottram b2e1b2e920 Set hashtag category via POST 2020-12-02 11:12:56 +00:00
Bob Mottram c715d39b4a Editors can set a hashtag category 2020-12-01 21:44:27 +00:00
Bob Mottram c05cb812e1 Extra invalid nickname 2020-11-28 20:32:55 +00:00
Bob Mottram 36dad532df Comment 2020-11-24 12:24:30 +00:00
Bob Mottram ddb11903d4 Create default petname when following 2020-11-23 15:07:55 +00:00
Bob Mottram 30ebfda697 Tidy up the handling of media formats 2020-11-21 11:54:29 +00:00
Bob Mottram 050c87d0e4 Move image format functions to utils 2020-11-21 11:21:05 +00:00
Bob Mottram dc98dc514d Detect media mime types 2020-11-13 13:34:14 +00:00
Bob Mottram 4a3a2c2319 Calendar module 2020-11-09 20:15:17 +00:00
Bob Mottram a3a022c917 Splitting webapp into smaller modules 2020-11-09 19:41:01 +00:00
Bob Mottram 2b15de6ee7 Function sequence 2020-11-08 10:52:07 +00:00
Bob Mottram 30e63970f6 Include description in newswire rss feed 2020-11-08 10:45:33 +00:00
Bob Mottram 49414c7012 Include description within rss feeds 2020-11-08 10:30:25 +00:00
Bob Mottram cd64d747d1 CSS cache 2020-10-29 12:48:58 +00:00
Bob Mottram 3fd0723684 Remove html before checking for hashtags 2020-10-25 12:47:16 +00:00
Bob Mottram 32758ffe62 Option to archive news posts 2020-10-21 11:39:09 +01:00
Bob Mottram ee539416bb Remove debug 2020-10-18 21:10:45 +01:00
Bob Mottram ee6b6b7662 Remove from recent posts cache when clearing post 2020-10-18 21:06:52 +01:00
Bob Mottram dcf34cd3c2 Fix cache filename 2020-10-18 20:41:18 +01:00
Bob Mottram 0bbede6a83 Debug 2020-10-18 20:35:47 +01:00
Bob Mottram 20dd5e069a Clear post from caches before updating 2020-10-18 17:19:28 +01:00
Bob Mottram 511f5cf192 Check for invalid characters 2020-10-15 09:59:08 +01:00
Bob Mottram 1bd0a70218 Get boolean value from config 2020-10-13 21:33:23 +01:00
Bob Mottram e64620a876 More verbose 2020-10-13 12:13:32 +01:00
Bob Mottram 22f31f0356 More checks that admin user is defined 2020-10-10 17:10:32 +01:00
Bob Mottram e0ec134810 Delete arrived files 2020-10-09 13:57:45 +01:00
Bob Mottram 513d0784e4 Remove debug 2020-10-09 13:52:56 +01:00
Bob Mottram 9a7a6db47b Double date 2020-10-09 13:41:32 +01:00
Bob Mottram 31bc48df9e Arrived 2020-10-09 13:38:58 +01:00
Bob Mottram fe9047929f Debug 2020-10-09 13:35:37 +01:00
Bob Mottram 947a13fba2 Voting time period 2020-10-09 13:15:20 +01:00
Bob Mottram cc642557f4 Apply voting threshold to timeline 2020-10-08 20:47:23 +01:00
Bob Mottram b07ce27a03 Locate news posts 2020-10-08 14:07:17 +01:00
Bob Mottram eca0cbe982 Indicate that imported posts contain news 2020-10-08 10:07:45 +01:00
Bob Mottram 3928340dc9 Move rss posts to news account 2020-10-07 17:55:15 +01:00
Bob Mottram 9d30158618 News instance type 2020-10-07 10:10:42 +01:00
Bob Mottram 092be5c5c5 Remove votes file if post is deleted 2020-10-06 22:00:53 +01:00
Bob Mottram 164e949125 # not permitted in nickname 2020-10-06 17:30:37 +01:00
Bob Mottram ebb760a3c3 Create a dictionary of blog posts to be moderated 2020-10-06 11:34:56 +01:00
Bob Mottram f4cb24490a Tidying 2020-10-06 09:58:44 +01:00
Bob Mottram 6435156179 Remove capabilities 2020-09-27 20:27:24 +01:00
Bob Mottram b064d6f4d6 Deprecate capabilities module 2020-09-27 19:35:35 +01:00
Bob Mottram b1672fb9d5 Return lists 2020-09-25 15:14:59 +01:00
Bob Mottram e5eaf42a36 Move functions 2020-09-25 14:21:56 +01:00
Bob Mottram 99893e5e23 Don't insist on lowercase handle 2020-09-15 10:16:03 +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 2135525d2b Tidying 2020-09-05 17:35:50 +01:00
Bob Mottram 949f54f5f3 Unit test for adding new follow to calendar 2020-09-03 13:16:24 +01:00
Bob Mottram 8d642fe267 Avoid confusing variable name 2020-09-03 11:12:11 +01:00
Bob Mottram b54c9e52f7 Improve handling of the first follow 2020-09-03 11:09:40 +01:00
Bob Mottram c47a046c95 Default to adding new follows to the calendar 2020-09-03 11:04:44 +01:00
Bob Mottram fc062e0342 Extra invalid nickname 2020-08-31 20:21:52 +01:00
Bob Mottram 3179a37975 Tidying to reduce file reads 2020-08-29 20:54:30 +01:00
Bob Mottram 7635652ac5 Directories must be created first 2020-08-29 12:14:19 +01:00
Bob Mottram 01397b3dad More configurability when loading json 2020-08-29 10:09:15 +01:00
Bob Mottram 41607d1542 Check that replyTo field is a string 2020-08-28 15:45:07 +01:00
Bob Mottram dcefa585bb Event edit button 2020-08-26 18:41:38 +01:00
Bob Mottram 3b7bc19dba Removing old posts from cache 2020-08-26 13:42:17 +01:00
Bob Mottram 9c7895e43a Debug 2020-08-24 15:17:16 +01:00
Bob Mottram 3bd8f96994 Unbreak the unit tests 2020-08-23 15:45:58 +01:00
Bob Mottram 86f2e9d8ab Remove id endings in a better way 2020-08-23 12:13:35 +01:00
Bob Mottram 25e1724691 Extra event attributes 2020-08-21 16:10:47 +00:00
Bob Mottram ec9941d7ca More actor parsing 2020-08-13 17:41:02 +01:00
Bob Mottram 1c62500763 Don't allow accounts as a username 2020-08-13 17:21:09 +01:00
Bob Mottram 58bba56e75 Allow accounts as users path 2020-08-13 17:19:35 +01:00
Bob Mottram fe5e21ee7d File write style 2020-07-12 20:04:58 +00:00
Bob Mottram db64ceb87d Tidying 2020-07-08 16:17:00 +01:00
Bob Mottram b02ddbaed0 Use secrets for password generation 2020-07-08 16:09:27 +01:00
Bob Mottram aec28278cf Add new follows to the calendar by default 2020-07-03 22:33:51 +01:00
Bob Mottram bdb13540d2 Remove stray indentation 2020-06-28 12:12:38 +01:00
Bob Mottram 01338dd85d Less indentation 2020-06-28 12:09:38 +01:00
Bob Mottram a17e2b1ad2 Check if index exists 2020-06-24 15:11:10 +01:00
Bob Mottram 0e3c41db2b When deleting a post also remove it from the recent posts cache in memory 2020-06-24 14:30:50 +01:00
Bob Mottram 72fdb90d17 Try trapping socket errors 2020-06-23 14:28:41 +01:00
Bob Mottram 2d970cc377 Function to check if a domain is resolvable 2020-06-22 17:57:57 +01:00
Bob Mottram dc9ae0c117 qrcode dependencies on parabola 2020-06-22 17:55:19 +01:00
Bob Mottram d523a6354d Avoid duplicate prefixes 2020-06-11 13:46:44 +01:00
Bob Mottram 6e769484aa Reduce duplicate prefixes 2020-06-11 13:26:15 +01:00
Bob Mottram d352b27dd8 Tidying 2020-06-11 13:04:42 +01:00
Bob Mottram bee0d99ce6 Support for gnunet 2020-06-09 12:51:51 +01:00
Bob Mottram 9729b37be0 Like url 2020-06-07 10:10:10 +01:00
Bob Mottram a927d4ef58 Likes debug 2020-06-07 09:53:34 +01:00
Bob Mottram 51f2b060c9 Avoid race condition when repeating post 2020-06-06 19:34:39 +01:00
Bob Mottram ec07f83e5a Fix circular dependency 2020-06-06 19:16:16 +01:00
Bob Mottram 1943419e27 Fonts and icons are reserved names 2020-05-25 13:36:23 +01:00
Bob Mottram e75f1a0abb Remove carriage returns 2020-05-22 11:32:38 +00:00
Bob Mottram e4a9db57ce Don't remove replies to blog posts, including attachments 2020-05-18 17:21:10 +01:00
Bob Mottram fbb7ed2a53 Don't remove cached html if it is a reply to a blog post 2020-05-18 16:59:11 +01:00
Bob Mottram ca76479059 Single line 2020-05-18 11:59:45 +01:00
Bob Mottram 21c5db8ab4 Tidying 2020-05-18 11:19:31 +01:00
Bob Mottram 664d087b01 Tidying 2020-05-18 11:14:29 +01:00
Bob Mottram 4608678cae Support hypercore protocol 2020-05-17 10:37:59 +01:00
Bob Mottram e8b5a26189 Return original path if not matched 2020-05-04 19:29:30 +01:00
Bob Mottram a9206ee855 Case insensitive avatar image search 2020-05-04 19:24:30 +01:00
Bob Mottram 8fdf1908db debug 2020-04-11 14:45:53 +01:00
Bob Mottram 6933692348 Ignore case in history search 2020-04-11 14:38:28 +01:00
Bob Mottram f2707d43ac Extra continue 2020-04-11 14:35:22 +01:00
Bob Mottram f556c69ea0 Search your posts with multiple keywords 2020-04-11 14:30:54 +01:00
Bob Mottram 70443f4d04 Add cw script to history search 2020-04-11 14:20:52 +01:00
Bob Mottram 1831af8226 Simple match 2020-04-11 14:14:53 +01:00
Bob Mottram 82c859852f slash 2020-04-11 14:07:05 +01:00
Bob Mottram 4e9077547b Search function 2020-04-11 11:19:35 +01:00
Bob Mottram b63bf2c72d flake8 format 2020-04-04 14:44:49 +01:00
Bob Mottram 36267ac5f4 Faster checking for blocked domains 2020-03-28 10:33:04 +00:00
Bob Mottram 23bb250deb Remove trailing whitespace 2020-03-22 21:16:02 +00:00
Bob Mottram d0884fa04d Tidying 2020-03-22 20:36:19 +00:00
Bob Mottram 80066532b9 Avoid beautifulsoup 2020-03-03 11:02:34 +00:00
Bob Mottram cf3899b58f Warn if account does not exist 2020-03-03 09:56:48 +00:00
Bob Mottram ca5c0d5f20 Fix network unit test 2020-03-02 21:28:22 +00:00
Bob Mottram 63a5c76cbe Sending dms to onion domains 2020-03-02 16:11:34 +00:00
Bob Mottram 30eb7bcd6d onion on http 2020-03-02 14:51:30 +00:00
Bob Mottram 3c5b549db7 Onion webfinger requests 2020-03-02 14:35:44 +00:00
Bob Mottram 5e1e5f8961 Handle invalid ports 2020-03-01 10:01:15 +00:00
Bob Mottram e36b6a8646 Different link for blog posts 2020-02-24 23:14:49 +00:00
Bob Mottram fd24aee2fc Save blogs to a separate box 2020-02-24 22:07:13 +00:00
Bob Mottram 0bd778d553 Blogs timeline 2020-02-24 14:39:25 +00:00
Bob Mottram 26ebd73b0e Function to get weekly events 2020-02-22 16:00:27 +00:00
Bob Mottram 9ce41424c2 Don't change case of follow handle 2020-02-22 10:59:41 +00:00
Bob Mottram 4db44418be Add unfollowed file
This prevents received follow accepts from refollowing after an unfollow
2020-02-22 10:50:07 +00:00
Bob Mottram cc0b6f48e2 Extra emoji fields 2020-02-21 10:19:02 +00:00
Bob Mottram 55dcdd546d Fix opposite addresses 2020-02-19 13:16:38 +00:00
Bob Mottram 0277b309d9 Check if port is already used 2020-02-19 11:37:33 +00:00
Bob Mottram dfdf4c032e Support use on i2p addresses 2020-02-17 17:18:21 +00:00
Bob Mottram 972727cc8b Clearing avatar images from cache before storing updated ones 2020-02-04 19:34:52 +00:00
Bob Mottram aff29e1f70 Warning message 2020-01-17 23:21:56 +00:00
Bob Mottram 656589a620 Type check 2020-01-17 23:19:17 +00:00
Bob Mottram 10fde1cb21 Improve manual follow approval 2019-12-29 12:59:13 +00:00
Bob Mottram f6acc62b16 Version 1.1.0 2019-12-14 10:52:19 +00:00
Bob Mottram 7b96e12e2b Removing tag from file 2019-12-12 19:02:06 +00:00
Bob Mottram 95f46cf276 Check that hashtag name exists 2019-12-12 12:57:08 +00:00
Bob Mottram 1a94e9b239 Handling removal of hashtags 2019-12-12 12:54:39 +00:00
Bob Mottram 72192282dd Make replies to non-public posts non-public 2019-12-10 17:19:53 +00:00
Bob Mottram 1c2a643522 Remove etag when post is deleted 2019-12-04 13:00:34 +00:00
Bob Mottram c948effb85 Missing argument 2019-12-02 16:10:18 +00:00
Bob Mottram 964b8524b3 Check object 2019-12-02 16:08:26 +00:00
Bob Mottram c29dbe4dae Add muted field 2019-12-01 16:15:41 +00:00
Bob Mottram 7ee0f39767 Missing domain 2019-12-01 13:55:24 +00:00
Bob Mottram ec6bd97e1c Mute button 2019-12-01 13:45:30 +00:00
Bob Mottram 96775d6d66 Remove debug 2019-11-29 23:34:21 +00:00
Bob Mottram 8283edd34e cache post filename 2019-11-29 23:20:56 +00:00
Bob Mottram 8dc02ae340 Check for invalid directory 2019-11-29 23:04:37 +00:00
Bob Mottram aa8956827d Debug 2019-11-29 22:57:30 +00:00
Bob Mottram 7186100126 Debug 2019-11-29 22:55:18 +00:00
Bob Mottram 915288c7e1 Debug 2019-11-29 22:52:55 +00:00
Bob Mottram fe3fb78801 Receiving question updates 2019-11-26 10:43:37 +00:00
Bob Mottram d73f40c8f2 Remove any hash from cached post id 2019-11-25 14:09:47 +00:00
Bob Mottram efacbc0d0c Avoid nicknames which could confuse the system 2019-11-25 12:37:11 +00:00
Bob Mottram 7ffc14e0fb Check that index exists 2019-11-24 23:52:29 +00:00
Bob Mottram 3259190161 Update post cache after regeneration of posts 2019-11-24 17:40:31 +00:00
Bob Mottram f6f35d69d6 Update announce posts in cache 2019-11-24 13:46:28 +00:00
Bob Mottram ae1ce9080f Remove commentjson entirely 2019-11-23 10:28:36 +00:00
Bob Mottram ac2ab89aa6 Use dumps to save json 2019-11-23 10:20:30 +00:00