Commit Graph

662 Commits (27544b7eaa8eb7166fef2f2df3f4bb0df961c7b7)

Author SHA1 Message Date
Bob Mottram d42ee647d3 Revert "File storage functions"
This reverts commit 9c18e7042e.
2021-06-21 23:53:04 +01:00
Bob Mottram 550a993711 Revert "Storage functions"
This reverts commit feb4286031.
2021-06-21 23:52:50 +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 feb4286031 Storage functions 2021-06-21 22:21:43 +01:00
Bob Mottram 9c18e7042e File storage functions 2021-06-21 22:02:03 +01:00
Bob Mottram 7d6b6d95fb Additional ise of blocked domains cache 2021-06-21 15:32:17 +01:00
Bob Mottram ab7c2a9a66 Module groups 2021-06-15 16:08:12 +01:00
Bob Mottram 84d6e50820 Move function out of daemon 2021-06-07 18:49:10 +01:00
Bob Mottram 56c1785ab2 Move DM validation to its own function 2021-06-07 17:34:08 +01:00
Bob Mottram 38beac7f7e Move json signature check to its own function 2021-06-07 15:07:15 +01:00
Bob Mottram 9ac74f9aba Move inbox quota checks to separate function 2021-06-07 14:48:29 +01:00
Bob Mottram 9b9bd05e30 No recursion on queue directory 2021-06-05 22:09:11 +01:00
Bob Mottram a9d1927eb1 Broch mode lapse time is somewhat random 2021-06-05 14:36:03 +01:00
Bob Mottram efe1b54b38 Checking for self-announces using a function 2021-06-03 14:21:57 +01:00
Bob Mottram 613e6b8945 Reject self-boosts
These are easily abused by spammers
2021-06-03 09:33:50 +01:00
Bob Mottram 3b2237dc44 Clearing cache when new announce is received 2021-05-19 20:42:45 +01:00
Bob Mottram bbde34144f Clearing cache when new like is received 2021-05-19 20:35:07 +01:00
Bob Mottram ede2162d7c Tidying 2021-05-19 20:21:27 +01:00
Bob Mottram 67ab24db90 Default geolocation 2021-05-09 20:29:53 +01:00
Bob Mottram 05f1ada1c1 Spoof gps metadata on images 2021-05-09 20:11:05 +01:00
Bob Mottram 857b788ae1 Record any unknown json sigtaure types 2021-05-04 14:06:27 +01:00
Bob Mottram c3a91fc574 Store unknown contexts 2021-05-04 13:51:08 +01:00
Bob Mottram 73f1fea0b0 Consistent spelling 2021-05-04 13:39:19 +01:00
Bob Mottram e91cc35fd9 Revert "Key access to individual timeline posts"
This reverts commit a8063e1c0d.
2021-04-22 18:05:10 +01:00
Bob Mottram a8063e1c0d Key access to individual timeline posts 2021-04-22 16:06:24 +01:00
Bob Mottram 702fa3167f Instance allow list for receiving DMs 2021-04-22 10:27:20 +01:00
Bob Mottram e982515043 Tidying 2021-03-23 23:33:33 +00:00
Bob Mottram ebb2453542 Done earlier 2021-03-23 22:52:00 +00:00
Bob Mottram f6a07cde76 Re-adding notifications to the desktop client 2021-03-22 13:09:17 +00:00
Bob Mottram 247bb06ba5 Fix bookmark validation 2021-03-20 14:25:24 +00:00
Bob Mottram eabe1ea535 Tidy bookmark debug 2021-03-20 14:09:07 +00:00
Bob Mottram 60276e70e9 Redo inbox bookmark handling 2021-03-20 09:49:43 +00:00
Bob Mottram 08775141b0 Less frequent heartbeat 2021-03-14 21:37:33 +00:00
Bob Mottram 6dc85f69dc Less verbose 2021-03-14 20:55:37 +00:00
Bob Mottram a3be3c1803 Less verbose 2021-03-14 20:15:44 +00:00
Bob Mottram 928412c34c Less verbose 2021-03-14 19:53:22 +00:00
Bob Mottram b207d2d674 Less verbose 2021-03-14 19:46:46 +00:00
Bob Mottram 1a17acd43e Less verbose 2021-03-14 19:42:25 +00:00
Bob Mottram f074349ab2 Less verbose 2021-03-14 19:39:00 +00:00
Bob Mottram a4b7b921de Less verbose when not in debug 2021-03-14 19:32:11 +00:00
Bob Mottram faadca51b6 Less verbose when not in debug 2021-03-14 19:22:58 +00:00
Bob Mottram 5981ee16d8 Debug header on signature failure 2021-03-14 18:16:37 +00:00
Bob Mottram fa66fdbed9 Notify before updating likes collection 2021-03-12 15:34:56 +00:00
Bob Mottram e492190721 Notification sounds 2021-03-09 19:52:10 +00:00
Bob Mottram 66056face5 Add dm and reply notifications to speaker endpoint 2021-03-09 13:52:02 +00:00
Bob Mottram df50fcc797 Define handle variable earlier 2021-03-07 17:14:16 +00:00
Bob Mottram 6d66bbf9ed Check for sending to self 2021-03-07 15:29:08 +00:00
Bob Mottram 151fa8cab6 Remove rejected posts from recent posts cache 2021-03-05 19:23:33 +00:00
Bob Mottram a9f5831db9 Check post recency before creating speaker endpoint 2021-03-03 20:16:53 +00:00
Bob Mottram 50ec0f6ce2 Tidying 2021-03-03 19:06:18 +00:00
Bob Mottram d6f4bc15ba Remove emoji from spoken display name 2021-03-03 18:24:37 +00:00
Bob Mottram d2b084b0dc Sequence 2021-03-03 18:17:55 +00:00
Bob Mottram 0b3897b174 Speaking announces 2021-03-03 17:09:31 +00:00
Bob Mottram 5b2986d685 Gender detection from profile tag 2021-03-03 13:37:18 +00:00
Bob Mottram d96cdd6c85 Gender detaction for SSML 2021-03-03 13:02:47 +00:00
Bob Mottram 7c20406d3f SSML inbox endpoint 2021-03-03 12:34:46 +00:00
Bob Mottram b64f7e1bfa Preserve line endings for speaker 2021-03-02 23:06:31 +00:00
Bob Mottram 32e5f03948 TTS custom pronounce 2021-03-02 12:39:18 +00:00
Bob Mottram 2b26b09980 Include announced handle within speaker interface 2021-03-01 23:14:05 +00:00
Bob Mottram 2787ceb724 Only speak announces once 2021-03-01 22:59:40 +00:00
Bob Mottram a4f2bfdc06 Check that a name exists for the speaker 2021-03-01 22:35:57 +00:00
Bob Mottram 40afe12e1b Speak announces 2021-03-01 22:27:36 +00:00
Bob Mottram 9851a0f1af Include any detected links within speaker endpoint 2021-03-01 21:26:34 +00:00
Bob Mottram b4b6af70f5 Replace web links with shorter versions for the speaker interface 2021-03-01 21:20:06 +00:00
Bob Mottram 7062c0a1c8 Speak image descriptions 2021-03-01 20:27:35 +00:00
Bob Mottram 5e85887cd1 Excessive unescaping 2021-03-01 19:43:33 +00:00
Bob Mottram f262e02ff1 More unescaping 2021-03-01 19:42:55 +00:00
Bob Mottram 3807077dae Unescape speacker text 2021-03-01 19:28:38 +00:00
Bob Mottram 8f8c70ed6a Replace quotes 2021-03-01 16:04:19 +00:00
Bob Mottram 47be751f47 Remove encoding from speaker endpoint 2021-03-01 15:36:40 +00:00
Bob Mottram 58ab2b05d3 Endpoint for TTS of posts arriving in the inbox 2021-03-01 15:24:12 +00:00
Bob Mottram 079c724bb9 Check for missing onion domain 2021-02-28 18:21:12 +00:00
Bob Mottram a0a800c980 Don't send bounce messages too frequently
Otherwise an adversary can tie up your instance with sending bounces
2021-02-24 11:43:48 +00:00
Bob Mottram cc35f03170 Don't send bounces to replies to bounces 2021-02-24 11:10:03 +00:00
Bob Mottram a9de85cb13 Send DM bounce messages 2021-02-24 11:01:44 +00:00
Bob Mottram 4555917eeb Tidying 2021-02-24 10:05:30 +00:00
Bob Mottram 764f6673c0 Improve follow checking when a DM arrives 2021-02-24 09:54:37 +00:00
Bob Mottram 6b55ceab12 Broch mode elapses 2021-02-15 22:26:25 +00:00
Bob Mottram 01385fbdfe Only show failed http signatures in debug mode 2021-02-14 20:41:11 +00:00
Bob Mottram 0c1ad3ecde Don't log posts for http signature failures 2021-02-14 20:30:01 +00:00
Bob Mottram 62100efd38 Log posts of failing signatures 2021-02-14 19:49:39 +00:00
Bob Mottram 5c5e6c7d1a More descriptive jsonld failures 2021-02-14 15:45:42 +00:00
Bob Mottram e6b9382a0a Allow incoming posts with failing http signatures provided that they have a json signature which passes
This provides the same level of assurance, but allows posts to arrive via relays
2021-02-14 15:22:03 +00:00
Bob Mottram 345ded45c7 Honk style users path 2021-02-09 16:21:59 +00:00
Bob Mottram 30ac93d578 Additional type checks on incoming json 2021-02-08 15:06:26 +00:00
Bob Mottram ae0b1505f9 Join activity has the same meaning as Follow 2021-02-08 14:48:37 +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 8299b77942 Check for dangerout markup in downloaded announces 2021-01-30 11:47:09 +00:00
Bob Mottram 419353ccf9 Version 1.2.0 2021-01-26 10:07:42 +00:00
Bob Mottram e5c4d9e69b Only use json signatures on outgoing posts unless verify all signatures is enabled 2021-01-05 20:55:11 +00:00
Bob Mottram 2ce7456e28 Convert to string 2021-01-05 20:16:58 +00:00
Bob Mottram 99903072d2 Debug 2021-01-05 20:15:52 +00:00
Bob Mottram 6b9f30cbd2 Check context before json signature verify 2021-01-05 20:11:16 +00:00
Bob Mottram 52159d3817 Debug 2021-01-05 17:36:50 +00:00
Bob Mottram 0a5c65e9a2 Limit json signature checking to strict mode 2021-01-05 12:20:59 +00:00
Bob Mottram 584fe93b56 Only abandon post if signature checking is strict 2021-01-05 12:13:18 +00:00
Bob Mottram 75788fd9f8 Comment 2021-01-05 10:54:50 +00:00
Bob Mottram 7125a97bbe Update json signature enforcement state once per min 2021-01-05 10:48:22 +00:00
Bob Mottram 2c2476f3c0 Option to enforce json signature checks 2021-01-05 10:29:37 +00:00