Commit Graph

981 Commits (9446b4ecf9b8b38bae1e35335e78e90e25803c2b)

Author SHA1 Message Date
Bob Mottram 7b6c939b92 Attributed within object 2021-07-07 10:49:46 +01:00
Bob Mottram 21a9e06c26 Notifications should only be for posts written by the selected account 2021-07-07 10:36:53 +01:00
Bob Mottram 804c045a75 Comments 2021-07-07 10:32:48 +01:00
Bob Mottram c417566675 Check that the same notification is not repeatedly sent 2021-07-07 10:30:15 +01:00
Bob Mottram 5bc7f28685 Notifications about posts from particular accounts 2021-07-07 10:06:59 +01:00
Bob Mottram 523399881c Actor for notifications 2021-07-06 23:43:39 +01:00
Bob Mottram a68ea9b2a4 Notifications handles 2021-07-06 23:10:26 +01:00
Bob Mottram 6a73192c24 Tidying 2021-07-06 22:53:55 +01:00
Bob Mottram 71c2794a19 Optional notifications for the arrival of posts from low frequency follows 2021-07-06 21:38:08 +01:00
Bob Mottram 06eb2b96a3 Check for dictionary objects 2021-07-06 11:00:19 +01:00
Bob Mottram 5d38503baa Deprecate events
Mobilizon does it in a different way
2021-07-01 22:30:36 +01:00
Bob Mottram c37f3ac004 Extra architecture graphs 2021-06-26 15:21:24 +01:00
Bob Mottram 6f8060932c Alternative field for indicating no replies 2021-06-25 10:51:54 +01:00
Bob Mottram bb09f2a655 Function to extract port number from domain 2021-06-23 22:44:31 +01:00
Bob Mottram e0aac3c6a3 Separate function for extracting domain name 2021-06-23 22:31:50 +01:00
Bob Mottram 939e053e5b Function to check that activitypub posts have an object dictionary 2021-06-22 16:45:59 +01:00
Bob Mottram 80f43a728a Spaces 2021-06-22 13:42:52 +01:00
Bob Mottram b4783c510d Spaces 2021-06-22 13:29:17 +01:00
Bob Mottram 25d0cd8c65 Use with style when writing files 2021-06-22 13:27:10 +01:00
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
Bob Mottram b8a698d887 Show keyId for json signature check 2021-01-04 20:26:55 +00:00
Bob Mottram 9bdfec94f0 Fix jsonld signatures
Also some schemas are no longer remotely accessed
2021-01-04 19:02:24 +00:00
Bob Mottram 6aa1cc8389 Extra json signature checks 2021-01-03 19:20:28 +00:00
Bob Mottram 5fc36f6ebb Debug 2021-01-03 19:11:59 +00:00
Bob Mottram a8906b25d7 Check for signature without header 2021-01-03 19:08:39 +00:00
Bob Mottram 5a327d281e Debug 2021-01-03 18:42:39 +00:00
Bob Mottram edf0c8880e Debug 2021-01-03 18:40:26 +00:00
Bob Mottram 2449b57005 Simplify 2021-01-03 18:34:35 +00:00
Bob Mottram b0eaa6835d Consistent message 2021-01-03 18:25:23 +00:00
Bob Mottram 77f965162c Enable checking of json signatures on inbox posts 2021-01-03 18:20:25 +00:00
Bob Mottram be14587011 Only warn about json signature failures 2021-01-03 14:44:57 +00:00
Bob Mottram 183141ee80 Show from key 2021-01-03 14:36:16 +00:00
Bob Mottram e8290d99d5 Check that json signatured are present on inbox posts 2021-01-03 14:25:20 +00:00
Bob Mottram c09596f1e2 More verbose 2021-01-03 09:44:33 +00:00
Bob Mottram 1df8ed9c76 Resolving the webfinger conundrum 2020-12-31 12:23:15 +00:00
Bob Mottram 0d0d49ac89 Revert "Fix missing webfingers"
This reverts commit 4bee4e236a.
2020-12-31 12:14:47 +00:00
Bob Mottram 4bee4e236a Fix missing webfingers 2020-12-31 11:08:08 +00:00
Bob Mottram 9d937826bc Update when receiving likes 2020-12-30 21:21:57 +00:00
Bob Mottram 7fbdb2445f Get webfinger from cache 2020-12-30 10:29:14 +00:00
Bob Mottram adbddb95c3 Check before adding new entries to indexes 2020-12-29 20:22:28 +00:00
Bob Mottram cce7941b39 Only write to indexes once 2020-12-29 17:56:42 +00:00
Bob Mottram b3bb866f69 Remove option to follow new actor
It wasn't implemented, and doing so could create an oprn relay situation where the authenticity of posts becomes obscured
2020-12-26 10:22:56 +00:00
Bob Mottram cf4d9466eb Start of custom peertube sites 2020-12-23 23:59:49 +00:00
Bob Mottram 0fe9b2adcd Tidying 2020-12-23 22:18:19 +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 0cf0841402 Check that imports are correct 2020-12-22 13:57:24 +00:00
Bob Mottram a7b094f84f Test for stranded functions which aren't called 2020-12-22 12:59:46 +00:00
Bob Mottram 96e813181b Move hashtag categories functions to their own module 2020-12-22 10:30:52 +00:00
Bob Mottram 679c06b20e Don't guess very small tags 2020-12-22 10:13:15 +00:00
Bob Mottram a3cbc28c1e Indentation 2020-12-21 21:40:29 +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 31a48db4a4 Validation of published date on incoming posts
This mitigates replay attacks, where an otherwise valid post gets endlessly repeated
2020-12-21 10:45:31 +00:00
Bob Mottram 99374a63dc Revert to previous wfRequest 2020-12-19 14:17:30 +00:00
Bob Mottram 8c7071b6e3 Single webfinger 2020-12-18 18:12:33 +00:00
Bob Mottram bb31ce37cd is_alive replaces isAlive 2020-12-18 15:29:12 +00:00
Bob Mottram fa7741a650 Log actor update requests 2020-12-17 20:56:29 +00:00
Bob Mottram c2404d0943 Tidying 2020-12-16 10:48:40 +00:00
Bob Mottram e87fd5a168 Break after loop 2020-12-13 22:13:45 +00:00
Bob Mottram f94f6eb997 Don't write time to file if it hasn't changed 2020-12-13 14:31:22 +00:00
Bob Mottram 1cf2ea73f9 Comment 2020-12-13 11:28:23 +00:00
Bob Mottram a23f47cdf3 Keep track of when people that you are following were last seen 2020-12-13 11:27:12 +00:00
Bob Mottram e996141fd8 Spaces 2020-12-12 10:06:03 +00:00
Bob Mottram 14d7985353 Remove icons path argument 2020-12-09 13:31:54 +00:00
Bob Mottram ffdc49a56c Remove icons path variable 2020-12-09 13:08:26 +00:00
Bob Mottram 4d46817350 Simplify 2020-12-05 11:58:03 +00:00
Bob Mottram 67e06f65c9 Guess hashtag categorisations 2020-12-05 11:11:32 +00:00
Bob Mottram ed51cf51e7 Change imports to new modules 2020-11-28 10:54:48 +00:00
Bob Mottram 020c7a1314 Delete button also removed blogs from the news actor 2020-11-27 10:38:51 +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 64348c5161 Misleading function name 2020-11-14 13:03:09 +00:00
Bob Mottram a3a022c917 Splitting webapp into smaller modules 2020-11-09 19:41:01 +00:00
Bob Mottram ddc63da755 Rename module 2020-11-09 13:18:28 +00:00
Bob Mottram fa419cf995 Option to set a maximum number of followers per account 2020-10-23 20:48:59 +01:00
Bob Mottram b5d492b668 Optionally allow the news account to be followed 2020-10-23 20:18:13 +01:00
Bob Mottram 2899768828 Option to only show date at bottom of posts, not time 2020-10-11 19:50:13 +01:00
Bob Mottram d3fc053df9 Space 2020-10-11 14:18:54 +01:00
Bob Mottram cf729200b0 More verbose 2020-10-11 14:18:27 +01:00
Bob Mottram 93e554efb8 Check earlier 2020-10-11 14:15:36 +01:00
Bob Mottram c9981f6936 Check that following file exists 2020-10-11 14:14:28 +01:00
Bob Mottram bbbf470149 Boxname 2020-10-08 13:28:02 +01:00
Bob Mottram 90283d5707 Boxname 2020-10-08 13:16: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 5016a3b2df Additional type checks when receiving post 2020-09-05 17:46:03 +01:00
Bob Mottram 43b1fdf67c functions in utils module 2020-09-05 17:13:25 +01:00
Bob Mottram 605be761ff Add a tags directory if it doesn't exist 2020-09-03 10:09:58 +01:00
Bob Mottram a6a715df63 Indent 2020-09-03 10:01:27 +01:00
sireebob 61ff46ad1c prevent an error for posts missing an inReplyTo key. 2020-09-02 22:42:29 +00:00
Bob Mottram 2dc5bcfdd2 Storing posts 2020-08-29 21:14:44 +01:00
Bob Mottram 7635652ac5 Directories must be created first 2020-08-29 12:14:19 +01:00
Bob Mottram 77c5f810f9 Don't write actors to cache while loading the timeline 2020-08-29 11:21:29 +01:00
Bob Mottram 41607d1542 Check that replyTo field is a string 2020-08-28 15:45:07 +01:00
Bob Mottram 10a21e797b More checks on replyto 2020-08-28 15:28:59 +01:00
Bob Mottram cabdc9c3c5 Replies to muted posts are also muted 2020-08-27 18:40:09 +01:00
Bob Mottram 7db274b57a Comment 2020-08-27 10:35:26 +01:00
Bob Mottram 8ff510e791 Optionally notify when posts are liked 2020-08-27 10:19:32 +01:00
Bob Mottram dcefa585bb Event edit button 2020-08-26 18:41:38 +01:00
Bob Mottram 673247abf0 debug flag 2020-08-26 12:19:32 +01:00
Bob Mottram a9db0b03ab Updating of recent posts cache for events timeline 2020-08-26 12:10:21 +01:00
Bob Mottram a484936793 More content warning validation 2020-08-25 20:45:15 +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 c64a8aadc1 Check for allowed comments 2020-08-21 19:32:16 +01:00
Bob Mottram fa0434ca9c Link to event parameters 2020-08-20 18:08:25 +01:00
Bob Mottram f263cef884 Receiving event posts 2020-08-20 17:51:48 +01:00
Bob Mottram a771ce3041 Tidying 2020-08-20 13:11:07 +01:00
Bob Mottram 28830ed660 Consistent append 2020-08-20 12:34:39 +01:00
Bob Mottram 58bba56e75 Allow accounts as users path 2020-08-13 17:19:35 +01:00
Bob Mottram 37b86507c5 Separate event creation function 2020-08-13 11:58:05 +00:00
Bob Mottram 8735567751 Comments 2020-08-13 09:37:11 +00:00
Bob Mottram 34798bfd15 Check that attributedTo is a string 2020-08-06 17:21:46 +01:00
Bob Mottram 83cac23229 Youtube replacement domain is configurable 2020-08-02 10:51:20 +01:00
Bob Mottram 3333574007 Link to who liked a post 2020-07-13 20:42:30 +01:00
Bob Mottram 6b3e9396d7 Check if post was already liked 2020-07-13 14:36:45 +01:00
Bob Mottram 94b4529cf6 Bad variable reuse 2020-07-13 10:34:04 +01:00
Bob Mottram 092bc00d1e Show errors if like notification cannot be saved 2020-07-13 09:56:24 +01:00
Bob Mottram fe5e21ee7d File write style 2020-07-12 20:04:58 +00:00
Bob Mottram e007168cd6 Check for type field 2020-07-11 23:36:52 +01:00
Bob Mottram e61e8bb21b More descriptive 2020-07-11 22:01:08 +01:00
Bob Mottram 1a15d07dfd Improve checking for bad markup 2020-07-10 14:15:01 +00:00
Bob Mottram ac0dd52c78 Check for repeated like notifications 2020-07-08 23:17:21 +01:00
Bob Mottram a70edfab53 Check that the liked post is by this handle 2020-07-08 23:04:17 +01:00
Bob Mottram cfba4874f8 Check for sent like notifications 2020-07-08 22:52:18 +01:00
Bob Mottram 57d64ed033 Check if like notification exists 2020-07-08 22:41:48 +01:00
Bob Mottram 80248889b8 Remove debug 2020-07-08 22:37:03 +01:00
Bob Mottram 81c06ae2f5 Tidying 2020-07-08 22:34:54 +01:00
Bob Mottram 3607bfd439 Check for liking own post 2020-07-08 22:28:44 +01:00
Bob Mottram 10ae18affc Debug 2020-07-08 22:18:50 +01:00
Bob Mottram 290ea18b0b Check nickname and domain 2020-07-08 22:04:19 +01:00
Bob Mottram 61f7a09670 Create notification when likes arrive 2020-07-08 20:49:15 +01:00
Bob Mottram 7d78d27e28 Change name of module 2020-07-03 20:20:31 +01:00
Bob Mottram ebd681d11a Check that an account can receive calendar events from the actor 2020-07-03 19:49:00 +01:00
Bob Mottram a7dc83813c Tidying 2020-06-28 20:04:43 +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 d392e0a15d Regenerate sessions less frequently 2020-06-24 10:40:17 +01:00
Bob Mottram 52d1f30b4f More debug for sessions 2020-06-24 10:04:58 +01:00
Bob Mottram 18b80efcb7 Remove experimental semantics 2020-06-16 21:33:17 +01:00
Bob Mottram 12c7035d50 Abandon accusatory 2020-06-16 21:29:17 +01:00
Bob Mottram 72fc823c51 More html validity checks 2020-06-14 14:47:46 +01:00
Bob Mottram 0132674ea3 Label accusatory posts 2020-06-12 12:50:49 +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 35438c0fc8 Generalise proxying 2020-06-09 12:03:59 +01:00
Bob Mottram 99a4b65467 Wait for session 2020-06-08 21:18:02 +01:00
Bob Mottram 7a22130837 Handling of i2p secondary domains 2020-06-03 21:21:44 +01:00
Bob Mottram 20a24edaa8 Less indentation 2020-06-02 10:05:55 +01:00
Bob Mottram 09d63088f0 Remove old hashtags when new ones are created 2020-05-31 17:31:33 +01:00
Bob Mottram 4c356b2fe9 Check for blocked actors within arriving announce posts 2020-05-25 10:21:34 +01:00
Bob Mottram c3c378eb4c Comment 2020-05-22 12:57:15 +00:00
Bob Mottram 83345a6d84 Clear inbox queue when full 2020-05-22 11:48:13 +00:00
Bob Mottram b749b37187 More debug 2020-05-22 11:35:33 +00:00
Bob Mottram e8c45a272f Only add to replies index if incoming post is not a DM 2020-05-17 19:21:38 +01:00
Bob Mottram 4608678cae Support hypercore protocol 2020-05-17 10:37:59 +01:00
Bob Mottram a08f6b273e Missing parameter 2020-05-03 13:12:52 +00:00
Bob Mottram 08f19f2e8d Commit ActivityPub type 2020-05-03 10:56:29 +00:00
Bob Mottram 4fc5afde9c More descriptive git patch notification message 2020-05-03 09:58:51 +00:00
Bob Mottram 5dcc60aa7c ActivityPub signoff added to patches 2020-05-03 09:48:12 +00:00
Bob Mottram 0bea2ab9f9 Remove debug 2020-05-02 18:15:48 +00:00
Bob Mottram 0a2cf0e8b1 Save notification patch content at time of receiving 2020-05-02 17:36:22 +00:00
Bob Mottram e2c7648d0b Prepend From 2020-05-02 17:16:24 +00:00
Bob Mottram 03f88377dd Removing html formatting from patch 2020-05-02 17:06:13 +00:00
Bob Mottram b5053a9155 Formatting content before saving patch 2020-05-02 17:01:58 +00:00
Bob Mottram a99483b3fc Tidying 2020-05-02 16:13:02 +00:00
Bob Mottram 884fb86d1a Debug for git 2020-05-02 14:04:08 +00:00
Bob Mottram 307ae74b29 Debug for git 2020-05-02 13:59:23 +00:00
Bob Mottram 71f8b95adf Use the correct json object 2020-05-02 13:45:49 +00:00
Bob Mottram 17d95ea5f8 Comment 2020-05-02 13:17:02 +00:00
Bob Mottram 78ff64dfc1 Check that message fields exist 2020-05-02 13:14:55 +00:00
Bob Mottram 33458499bb Typo 2020-05-02 12:10:28 +00:00
Bob Mottram 2361301203 Also save content of git patch for use by notification system 2020-05-02 12:02:49 +00:00
Bob Mottram b73aca47c2 Creates a notification file when a git patch is received 2020-05-02 11:20:57 +00:00
Bob Mottram ba042f4dd8 Receiving git patches via the inbox 2020-05-02 11:08:38 +00:00
Bob Mottram 15ba6c3688 Fix warnings 2020-05-02 10:19:24 +00:00
Bob Mottram c79efe6d6f Restart the inbox queue when full 2020-04-27 10:41:38 +01:00
Bob Mottram f3723d4707 Less sleep in inbox queue 2020-04-16 19:25:59 +01:00
Bob Mottram 3045e8c860 Reduce lower bound for maximum posts per minute 2020-04-16 15:37:01 +01:00
Bob Mottram d8aac0a273 Only send one response 2020-04-16 11:14:05 +01:00
Bob Mottram d21b584f78 Tidying 2020-04-16 10:49:57 +01:00
Bob Mottram d81c985e44 Exit loop if no keyId 2020-04-16 10:27:22 +01:00
Bob Mottram 6b092d63ec flake8 format 2020-04-03 16:27:34 +00:00
Bob Mottram 8cb0d18680 Show failed header 2020-03-30 20:35:47 +01:00
Bob Mottram 7cfc046859 More verbose inbox queue processing 2020-03-30 20:32:25 +01:00
Bob Mottram 2f46c2b31f Minimum per minute quotas 2020-03-28 11:46:11 +00:00
Bob Mottram 4e2e1dab21 Simplify 2020-03-25 10:55:47 +00:00
Bob Mottram 305e45ea91 Remove queue file when over quota 2020-03-25 10:52:53 +00:00
Bob Mottram 9333bf012b Account quotas per day 2020-03-25 10:47:13 +00:00
Bob Mottram 05ef1933b4 Quota for domain posts per minute 2020-03-25 10:36:37 +00:00
Bob Mottram 57306c798c Always show over quota messages 2020-03-25 10:23:08 +00:00
Bob Mottram 92c84c4dc2 Daily quotas variable names 2020-03-25 10:21:25 +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 3fe3dd06a9 Sending to followers on onion domains 2020-03-02 16:23:30 +00:00
Bob Mottram b44d364449 Check that onion domain has been given 2020-03-02 13:35:24 +00:00
Bob Mottram b93f5dd10b Optionally use onion address when fetching keys 2020-03-02 13:11:06 +00:00
Bob Mottram 4b46b1f7f5 Pass onion domain to inbox queue 2020-03-02 12:44:41 +00:00
Bob Mottram 8d22d8493a Function moved 2020-02-25 15:24:29 +00:00
Bob Mottram e36b6a8646 Different link for blog posts 2020-02-24 23:14:49 +00:00
Bob Mottram 0bd778d553 Blogs timeline 2020-02-24 14:39:25 +00:00
Bob Mottram c59eb480ae Fix indents 2020-02-21 11:32:43 +00:00
Bob Mottram dfdf4c032e Support use on i2p addresses 2020-02-17 17:18:21 +00:00
Bob Mottram ba091b74e4 Invert logic 2020-02-05 17:30:49 +00:00
Bob Mottram e7239a078b Another content filter check 2020-02-05 17:29:38 +00:00
Bob Mottram 972727cc8b Clearing avatar images from cache before storing updated ones 2020-02-04 19:34:52 +00:00
Bob Mottram a5251ba561 Tidying 2020-02-04 19:20:16 +00:00
Bob Mottram aa2128f51b Unwrapped actor update requests 2020-01-19 21:05:02 +00:00
Bob Mottram 2f00cf06e7 Replace YouTube links, so they get less data 2020-01-15 10:56:39 +00:00
Bob Mottram f6acc62b16 Version 1.1.0 2019-12-14 10:52:19 +00:00
Bob Mottram e886e81778 Timestamp in tag file 2019-12-12 19:24:18 +00:00
Bob Mottram 2da2a331c2 Tidying 2019-12-12 19:18:29 +00:00
Bob Mottram fe50d3d677 Update hashtags from announces 2019-12-12 19:13:55 +00:00
Bob Mottram a19e61c90d Add nickname to tag url 2019-12-12 18:56:30 +00:00
Bob Mottram 619cc2b9cb Strip name 2019-12-12 18:17:43 +00:00
Bob Mottram 6df175a641 Filename 2019-12-12 18:14:55 +00:00
Bob Mottram 851ac0fc18 Exception message 2019-12-12 17:49:16 +00:00
Bob Mottram 7eca0b33be Prepend to tags file 2019-12-12 17:47:16 +00:00
Bob Mottram 8ef0a72489 Storing hashtags for incoming posts 2019-12-12 17:34:31 +00:00
Bob Mottram 182c529047 Check for published value 2019-11-29 22:45:56 +00:00
Bob Mottram c94b80a36d Sending out updates when votes on a question change 2019-11-29 22:02:16 +00:00
Bob Mottram d0705c3f98 Get nickname earlier 2019-11-29 19:46:46 +00:00
Bob Mottram 57a7194d5e Update question votes 2019-11-29 19:22:11 +00:00
Bob Mottram e0183a0171 Updating vote counts 2019-11-29 18:46:21 +00:00
Bob Mottram fe3fb78801 Receiving question updates 2019-11-26 10:43:37 +00:00
Bob Mottram 4bea7f3fd2 Pass recent posts cache 2019-11-25 22:37:20 +00:00
Bob Mottram 91058ea30f Update post cache when receiving question updates 2019-11-25 14:05:59 +00:00
Bob Mottram 4d16e41f34 Missing argument 2019-11-24 22:05:46 +00:00
Bob Mottram 880d0ff1c4 Lazy paste 2019-11-24 21:54:46 +00:00
Bob Mottram 7200c12e44 Missing argument 2019-11-24 21:53:25 +00:00
Bob Mottram 1da6bea818 Bookmarks interaction with posts cache 2019-11-24 21:50:18 +00:00
Bob Mottram 7b8925ce08 Missing argument 2019-11-24 21:39:26 +00:00
Bob Mottram 3259190161 Update post cache after regeneration of posts 2019-11-24 17:40:31 +00:00
Bob Mottram 0aedab61fb Handle post cache for undo like 2019-11-24 13:37:34 +00:00
Bob Mottram c5204ea1fa Adding json posts to the timeline from cache 2019-11-24 12:12:29 +00:00
Bob Mottram bd68e84776 Store recent posts in memory for fast access 2019-11-24 11:28:58 +00:00
Bob Mottram 1fb7811d08 Always deliver to individual inboxes 2019-11-23 21:18:35 +00:00
Bob Mottram 9de4fc04c1 Remove excess references to commentjson 2019-11-23 10:08:00 +00:00
Bob Mottram abd62d4d6e Remove paths from index 2019-11-18 13:16:21 +00:00
Bob Mottram c789d5bbdc Typo 2019-11-17 14:02:59 +00:00
Bob Mottram 52e1d44021 Adding bookmarks 2019-11-17 14:01:49 +00:00
Bob Mottram 96fd59d295 Maximum limit on emoji within a post 2019-11-16 14:49:21 +00:00
Bob Mottram 1e9bffa6a3 Log time for html cache saves 2019-11-16 14:07:54 +00:00
Bob Mottram c36a8a0401 Reduce indentation 2019-11-16 12:32:28 +00:00
Bob Mottram 3fc0a69e3f Tidying 2019-11-16 12:30:59 +00:00
Bob Mottram b1acdc69ac Prepend zeros 2019-11-16 10:12:40 +00:00
Bob Mottram 7654534777 Log digest calculation time 2019-11-16 10:07:32 +00:00
Bob Mottram 213d4bdf6e Check message length before storage in inbox queue 2019-11-15 23:43:07 +00:00
Bob Mottram bd87d365f0 No pprint 2019-11-15 22:44:10 +00:00
Bob Mottram e0ab020773 Slower inbox checking 2019-11-15 10:39:47 +00:00
Bob Mottram 21b99f2d61 Session parameters not needed 2019-11-13 10:50:16 +00:00
Bob Mottram da4123b1ec Change heartbeat date format 2019-11-12 21:58:59 +00:00
Bob Mottram 127a60280f Debug in http signature verification 2019-11-12 15:03:17 +00:00
Bob Mottram 12a0943d4b Only show public key in debug 2019-10-29 20:37:55 +00:00
Bob Mottram c1da8ffe8f Reduce use of non-debug pprint 2019-10-29 20:23:49 +00:00
Bob Mottram 71af23ff6f Option to only receive DMs from people you follow 2019-10-29 10:49:23 +00:00
Bob Mottram e7f377698a Catch all commentjson load errors 2019-10-26 14:01:32 +01:00
Bob Mottram 5f94b413a7 json loading error handling 2019-10-26 13:47:27 +01:00
Bob Mottram cf2be50b48 commentjson exceptions 2019-10-26 13:19:34 +01:00
Bob Mottram adcc5dcc1c nickname 2019-10-22 21:46:10 +01:00
Bob Mottram ab7ac29d35 Index for media timeline 2019-10-22 21:30:43 +01:00
Bob Mottram b0d6fd80f5 Index for DM timeline 2019-10-22 21:07:12 +01:00
Bob Mottram cd53ee8dff Create replies index 2019-10-22 21:00:00 +01:00
Bob Mottram 077d34ba7a Tidying the loading and saving of json 2019-10-22 12:55:06 +01:00
Bob Mottram 6da5c21edb Tidying 2019-10-21 13:52:22 +01:00
Bob Mottram 15e2805d69 Tidying 2019-10-21 13:49:16 +01:00
Bob Mottram af85e6ce99 Missing import 2019-10-21 12:02:58 +01:00
Bob Mottram 133c858884 Experimentally allow replies to unidentified accounts. Checks can be done later 2019-10-21 11:51:49 +01:00
Bob Mottram 11073cb1f7 Tidying 2019-10-21 11:33:45 +01:00
Bob Mottram 12cabfab26 Reference to announced id 2019-10-21 11:14:36 +01:00
Bob Mottram 38e954af17 Allow announces without status 2019-10-21 10:48:37 +01:00
Bob Mottram be91c3b79c Warning 2019-10-20 13:50:31 +01:00
Bob Mottram 53fc839cae Add exception handling for index 2019-10-20 13:43:59 +01:00
Bob Mottram 8f826a1ac5 Tidying 2019-10-20 12:21:09 +01:00
Bob Mottram 3025922d5c Remove path from index entries 2019-10-20 12:06:12 +01:00
Bob Mottram a318f299ca Write first entry in index 2019-10-20 11:45:12 +01:00
Bob Mottram 6b7120dca7 Add debug 2019-10-20 11:40:09 +01:00
Bob Mottram 0325b044b8 Error message if index isn't updated 2019-10-20 11:35:13 +01:00
Bob Mottram 4beddb1584 Create an index of received posts 2019-10-20 11:25:38 +01:00
Bob Mottram 4ca3ac28cd Replace page number 2019-10-20 09:52:31 +01:00
Bob Mottram 2ef2141a9a Remove cached html announce when its state changes 2019-10-19 19:21:14 +01:00
Bob Mottram 236aef17ba Fix unit test for like 2019-10-19 19:08:47 +01:00
Bob Mottram 255a32c0dc Remove cached post on like update 2019-10-19 18:50:05 +01:00
Bob Mottram 7bb41b4414 json object variable 2019-10-19 14:22:53 +01:00
Bob Mottram 222597f190 Add variable 2019-10-19 14:05:35 +01:00
Bob Mottram 3b688be18b Extra debug 2019-10-19 14:02:41 +01:00
Bob Mottram 192236d58e Check that post was saved 2019-10-19 14:00:46 +01:00
Bob Mottram 1fc5750174 Update html post cache as new posts arrive 2019-10-19 13:37:35 +01:00
Bob Mottram 303f7e2572 Report from with blocked posts 2019-10-18 20:12:21 +01:00
Bob Mottram 4ea799f264 Reduce indents 2019-10-18 19:57:34 +01:00
Bob Mottram 130bd12fb5 Tidying 2019-10-18 10:58:57 +01:00
Bob Mottram 92214ef5ed Parsing outbox for hubzilla channel 2019-10-17 23:26:47 +01:00
Bob Mottram 335a35b84e Check for blocked domains 2019-10-17 14:18:21 +01:00
Bob Mottram c0361bd5bf Convert exception to string 2019-10-17 11:26:56 +01:00
Bob Mottram f056c811be More debug for commentjson 2019-10-17 10:40:31 +01:00
Bob Mottram 1f0a869fbe Extra checks when removing inbox queue items 2019-10-13 13:22:27 +01:00
Bob Mottram 5979591ad2 Notification file for calendar 2019-10-12 17:05:45 +01:00
Bob Mottram 76ba1858ff Highlight calendar when a new event arrives 2019-10-12 15:31:07 +01:00
Bob Mottram 48c5424e33 More retries 2019-10-12 10:37:21 +01:00
Bob Mottram ffc949406d Remove activity 2019-10-11 19:08:47 +01:00