Commit Graph

579 Commits (0ab49c28d4ecd9ccf02db34c72d4f9d3cded3395)

Author SHA1 Message Date
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