Commit Graph

1124 Commits (bbca901c4fbcd46423f552018267aa47f3245a8c)

Author SHA1 Message Date
Bob Mottram 9726f0c48b Extra checks 2023-05-14 23:07:56 +01:00
Bob Mottram 705792d2fb Handle no user path 2023-05-10 12:53:38 +01:00
Bob Mottram 8fc9339129 Less verbose debug 2023-05-06 17:07:23 +01:00
Bob Mottram 3717096afc log id of filtered content 2023-05-04 12:40:19 +01:00
Bob Mottram 17520ad6ad Less verbose debug 2023-05-04 12:36:48 +01:00
Bob Mottram 11995eccb4 Fix tests 2023-04-30 11:12:52 +01:00
Bob Mottram 21caca5a0c Block based on nickname 2023-04-29 11:14:21 +01:00
Bob Mottram 0ae7f614d9 Update default categories 2023-04-28 18:44:35 +01:00
Bob Mottram aaa7740bfc Randomize session restart interval 2023-04-13 11:09:37 +01:00
Bob Mottram 53d8801dc3 Tidying 2023-04-13 10:41:42 +01:00
Bob Mottram 8f64ecfeb3 Turning off votes applies to announced votes 2023-04-05 22:41:40 +01:00
Bob Mottram a193639b53 Always return true when receiving follow request 2023-03-23 18:10:58 +00:00
Bob Mottram f1b85d9936 When receiving an invalid unfollow always remove item from queue 2023-03-23 11:54:49 +00:00
Bob Mottram e59e410ff9 Already checked for object 2023-03-23 11:52:10 +00:00
Bob Mottram 89efd0e965 More validation of undo follow 2023-03-23 11:49:02 +00:00
Bob Mottram 28943c3ef7 Remove entry for followers synchronization when a follower change occurs 2023-03-18 21:06:10 +00:00
Bob Mottram 9443212820 Followers synchronization header 2023-03-17 21:13:43 +00:00
Bob Mottram 636ca0e7ec Convert markdown formatted posts to html 2023-03-06 12:08:25 +00:00
Bob Mottram 1acf4987ac Define function first 2023-03-06 11:26:56 +00:00
Bob Mottram ef3e03093a Improve checking of the sending actor when validating inbox posts 2023-03-01 15:44:32 +00:00
Bob Mottram a7c0e187b5 Asking the dangerous questions 2023-02-28 18:01:24 +00:00
Bob Mottram 27fce3ba0e Filtering applied to question options 2023-02-28 17:38:04 +00:00
Bob Mottram dc031cd4a9 Adding support for video transcripts 2023-02-18 22:10:15 +00:00
Bob Mottram d863eb25e4 Three representations of public post 2023-02-09 20:40:42 +00:00
Bob Mottram fb088adcbe Tidying 2023-02-06 11:47:24 +00:00
Bob Mottram 228bada5ab Comment 2023-02-06 10:47:10 +00:00
Bob Mottram 8769429944 Show message id for malformed cipher 2023-02-03 15:14:56 +00:00
Bob Mottram ef7d283e04 Debug for malformed ciphertext 2023-02-03 15:12:10 +00:00
Bob Mottram d9143403fe Add media creator for attachments 2023-01-23 11:33:07 +00:00
Bob Mottram bdde4450c1 Add arguments for media license 2023-01-22 23:47:13 +00:00
Bob Mottram b91a876b75 v1.4.0 2023-01-21 23:03:30 +00:00
Bob Mottram 008a8d1284 Check that a domain is returned 2023-01-15 14:33:18 +00:00
Bob Mottram 1b5594bcbd Add buy link to posts 2023-01-13 19:19:57 +00:00
Bob Mottram 2f9a0c7792 Buy links 2023-01-13 15:04:48 +00:00
Bob Mottram 7d6451ae09 Add debug to vote checking 2023-01-12 11:58:41 +00:00
Bob Mottram 818f54f472 Tidying 2023-01-12 11:35:37 +00:00
Bob Mottram a06bb9217c Allow DMs if they are votes on a question 2023-01-12 11:30:23 +00:00
Bob Mottram 212bdacdb3 Votes on questions are a type of DM
See https://socialhub.activitypub.rocks/t/votes-on-question-activities/2880
2023-01-12 10:45:39 +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 adf98ebf93 Less strict checking of announce id 2023-01-08 21:41:44 +00:00
Bob Mottram 02e0870f33 Reject quote toots at inbox 2023-01-03 17:32:59 +00:00
Bob Mottram 8d8582d725 Reject quote toot based upon content 2023-01-03 15:43:52 +00:00
Bob Mottram d955d4ab75 Change button links to redirect to same timeline 2022-12-28 18:33:09 +00:00
Bob Mottram 13d3159262 Extra actor validation 2022-12-26 11:25:51 +00:00
Bob Mottram aa2f2de21c Reject quote toots 2022-12-24 15:33:26 +00:00
Bob Mottram c39bb9f396 Tidying 2022-12-18 15:29:54 +00:00
Bob Mottram dae4543f38 Saving two posts 2022-12-09 12:06:48 +00:00
Bob Mottram 7e5b4cd908 Tidying 2022-12-09 11:29:06 +00:00
Bob Mottram a1c363e065 Comments 2022-12-09 11:25:41 +00:00
Bob Mottram 05be9041bf Add notification for moved accounts 2022-12-07 09:57:38 +00:00
Bob Mottram fdbe400def Function to get moved accounts 2022-11-27 20:35:12 +00:00
Bob Mottram cf461cba20 Keep track of moved actors 2022-11-27 19:30:58 +00:00
Bob Mottram d9f7e8c4f6 Set maximum number of hashtags 2022-11-19 18:03:55 +00:00
Bob Mottram 2653902825 Receiving edited posts 2022-11-17 19:08:21 +00:00
Bob Mottram 5fd1fb746d Debug 2022-11-13 20:16:54 +00:00
Bob Mottram f81e2f32ae Ability to minimize all images by default 2022-11-13 18:54:11 +00:00
Bob Mottram 6602908522 Ability to block announces from particular accounts or instances 2022-11-08 14:16:19 +00:00
Bob Mottram a9e300037d mitm status on announces 2022-10-03 11:39:23 +01:00
Bob Mottram 947715bfae Check for inverted text 2022-09-25 18:26:11 +01:00
Bob Mottram 2fe3da8f34 Fix line lengths 2022-09-21 21:00:57 +01:00
Bob Mottram 1f0b1601ce Fix hashtag indexing bug 2022-08-22 21:14:37 +01:00
Bob Mottram 5f1a037274 Test 2022-08-22 20:48:00 +01:00
Bob Mottram 1d795cbcad Set post url 2022-08-22 20:37:59 +01:00
Bob Mottram babc4cae64 Debug 2022-08-22 20:32:06 +01:00
Bob Mottram c027629cfb Check that location tag is a geocoordinate 2022-08-22 12:50:35 +01:00
Bob Mottram c0176832a9 Create hashtag lookups for map links 2022-08-22 11:42:39 +01:00
Bob Mottram f2917482db Less indentation 2022-08-19 17:22:53 +01:00
Bob Mottram ced75a7b3d Less indentation 2022-08-19 17:00:33 +01:00
Bob Mottram 9d7856f9c0 Increase emoji chcracter length check 2022-07-29 17:05:22 +01:00
Bob Mottram 651fa18e5d Support for zot style emoji reactions 2022-07-29 16:10:34 +01:00
Bob Mottram db95a22ee4 Function to start threads 2022-07-28 10:59:18 +01:00
Bob Mottram 61b2207795 Check for twitter content within announces 2022-07-27 10:13:30 +01:00
Bob Mottram ab9d2ac24e If retweets are disabled then check the summary for twitter posts 2022-07-26 19:21:26 +01:00
Bob Mottram 297f25f92c Translate the nowplaying hashtag 2022-07-18 17:18:04 +01:00
Bob Mottram 2ec98dfefc Improve mentions count estimate 2022-07-17 17:17:09 +01:00
Bob Mottram 1efcea73e0 Add a space to the emoji count estimate, to avoid too many false positives 2022-07-17 17:05:28 +01:00
Bob Mottram 14d587a7cf Check summary for dangerous html 2022-07-17 10:38:07 +01:00
Bob Mottram 542f0c6605 Pass dict through to html generation 2022-07-05 15:40:26 +01:00
Bob Mottram 65d9b0680a Function for line ending characters 2022-06-21 12:58:50 +01:00
Bob Mottram ea22ab0f48 Avoid possible content filtering loophole 2022-06-21 10:24:32 +01:00
Bob Mottram 5ece8e80b5 Tidying 2022-06-14 12:42:45 +01:00
Bob Mottram 448b0e3120 Tidying 2022-06-14 11:51:40 +01:00
Bob Mottram ac6695b9f3 Tidying 2022-06-14 11:24:29 +01:00
Bob Mottram b8b25760e9 File encoding 2022-06-10 15:32:48 +01:00
Bob Mottram e1ac8f1ea1 Replace open with text in file function 2022-06-10 14:29:51 +01:00
Bob Mottram f0f612fba1 Replacing open statements 2022-06-10 14:01:39 +01:00
Bob Mottram f86560e8da Function for finding text in file 2022-06-10 12:43:33 +01:00
Bob Mottram 4e29c26ad4 Revert "Finding text not in file"
This reverts commit bc614fcd3c.
2022-06-10 11:30:42 +01:00
Bob Mottram bc614fcd3c Finding text not in file 2022-06-10 11:18:08 +01:00
Bob Mottram f0b9757bde Tidying 2022-06-09 17:54:44 +01:00
Bob Mottram 4308f7501a Explicitly set file encoding 2022-06-09 15:46:30 +01:00
Bob Mottram 0fde692c24 Tidying 2022-06-09 11:28:03 +01:00
Bob Mottram ec31deb739 Filtering include image descriptions and urls 2022-06-02 19:07:07 +01:00
Bob Mottram 1708a928ef Post filtering includes summary 2022-06-02 18:47:56 +01:00
Bob Mottram 5eef7c72e9 Use appropriate session to send follow rejects 2022-06-01 15:26:50 +01:00
Bob Mottram 733ae3a17e Tidying 2022-05-31 17:51:56 +01:00
Bob Mottram e69beba537 Tidying 2022-05-31 16:16:55 +01:00
Bob Mottram 238e0b5d08 Tidying 2022-05-31 14:52:46 +01:00
Bob Mottram c8ff37bd5b Tidying 2022-05-31 14:34:29 +01:00
Bob Mottram 57a606f04d Tidying 2022-05-30 13:09:18 +01:00
Bob Mottram bef7946cbe Use correct user agent domain for public key lookups 2022-05-27 10:20:37 +01:00
Bob Mottram a6d4df628c Unit test for cacheing svg images 2022-05-26 16:14:48 +01:00
Bob Mottram 5852de9746 Log svg scripts for subsequent review 2022-05-26 13:17:56 +01:00
Bob Mottram 88fe018f1b Check that url contains slash 2022-05-26 12:50:25 +01:00
Bob Mottram bedb68f705 Cache svg image attachments so that any scripts can be removed 2022-05-26 11:26:19 +01:00
Bob Mottram cfd15a6206 Set end time for events 2022-05-23 13:14:36 +01:00
Bob Mottram ad3ad1b045 Check for very long urls within incoming posts 2022-05-17 12:40:05 +01:00
Bob Mottram bdf61e0a60 Handle ssml files in outbox 2022-05-12 12:56:45 +01:00
Bob Mottram 8bb32a6a55 Cache ssml for posts 2022-05-12 11:13:55 +01:00
Bob Mottram 05197552cb Remove any fraction from published time when checking recency 2022-05-08 16:06:24 +01:00
Bob Mottram ac8b86059f Only prevent remote DM deletions during archive 2022-05-01 18:14:29 +01:00
Bob Mottram b8b9f9f2fc Get hashtag categories only when needed 2022-04-24 19:15:25 +01:00
Bob Mottram 726447e1cb Only update category if hashtag was added 2022-04-24 18:19:41 +01:00
Bob Mottram 3c17749dae Remove old hashtags while updating hashtag swarm 2022-04-24 18:02:09 +01:00
Bob Mottram 94f9daeec4 Write hashtag index in one go 2022-04-24 17:56:52 +01:00
Bob Mottram 52697e5437 Longer period between hashtag swarm update 2022-04-24 17:41:01 +01:00
Bob Mottram 95c709c7ca More profiling 2022-04-23 22:20:20 +01:00
Bob Mottram 85617c7d55 More profiling 2022-04-23 21:06:38 +01:00
Bob Mottram 2983d9c8bc Change profile names 2022-04-23 20:55:30 +01:00
Bob Mottram a1cfa0cec6 More profiling 2022-04-23 20:26:46 +01:00
Bob Mottram 999cd95369 More profiling 2022-04-23 20:09:02 +01:00
Bob Mottram d4bde42c90 More profiling 2022-04-23 20:05:45 +01:00
Bob Mottram 9733f6f9de Reset start time 2022-04-23 19:41:17 +01:00
Bob Mottram 973e2e1d13 Profiling for inbox 2022-04-23 19:26:54 +01:00
Bob Mottram 39a64844e0 Use contentMap when detecting edited posts 2022-04-13 17:13:12 +01:00
Bob Mottram 8f6980ccab Update edits file for delete-and-redraft edits 2022-04-11 10:59:35 +01:00
Bob Mottram 968836a40f Check that incoming edited posts have changed 2022-04-09 17:13:02 +01:00
Bob Mottram a21c19eac1 Store history of edited posts 2022-04-09 17:02:18 +01:00
Bob Mottram 4be7edd5f5 Handle incoming edited posts 2022-04-09 16:11:22 +01:00
Bob Mottram 1d46483996 Debug for receiving post edits 2022-04-09 13:14:04 +01:00
Bob Mottram b6c2067c71 Handle fractional seconds within post published date 2022-03-30 19:13:40 +01:00
Bob Mottram 8befe357ab More debug 2022-03-30 18:24:22 +01:00
Bob Mottram 7857b3f369 'author' users path for pixelfed 2022-03-28 22:45:11 +01:00
Bob Mottram f6da511dbf Revert "Simplify"
This reverts commit 65f26f4046.
2022-03-24 14:49:44 +00:00
Bob Mottram 65f26f4046 Simplify 2022-03-24 14:45:13 +00:00
Bob Mottram 5320e7ed7b Allow bold markup for bold reading 2022-03-24 14:40:28 +00:00
Bob Mottram 4ea1f7e1bd More robust bold reading detection 2022-03-24 13:53:56 +00:00
Bob Mottram 15795248d7 Tidying 2022-03-24 13:48:42 +00:00
Bob Mottram 7f1e23c013 Bold reading accessibility feature 2022-03-24 13:14:41 +00:00
Bob Mottram f55f7a258f Handle none return valued from nickname 2022-03-23 23:59:29 +00:00
Bob Mottram 95eed2183a Check for type 2022-03-23 22:24:49 +00:00
Bob Mottram b68fd5c561 mitm parameter available when generating posts 2022-03-14 19:55:36 +00:00
Bob Mottram b08acd0cf0 Write a file to indicate that a post was delivered via a third party 2022-03-14 17:37:46 +00:00
Bob Mottram 5730d7bff0 Fix missing server parameters 2022-03-14 13:45:42 +00:00
Bob Mottram a2e864a1bc Test that onion or i2p domain is active 2022-03-14 13:31:23 +00:00
Bob Mottram cd5229efc5 Change onion/i2p domains to local clearnet domain for incoming posts 2022-03-14 13:08:26 +00:00
Bob Mottram 4567ec17f0 Checking recipients with onion or i2p address 2022-03-14 12:45:36 +00:00
Bob Mottram e8de643760 Convert domain from onion/i2p to account handle 2022-03-13 23:57:51 +00:00
Bob Mottram 7145900ff9 Check that original domain is not onion or i2p 2022-03-13 23:42:17 +00:00