Commit Graph

579 Commits (0ab49c28d4ecd9ccf02db34c72d4f9d3cded3395)

Author SHA1 Message Date
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
Bob Mottram 83d21e4de6 Add some retries 2019-10-11 19:03:58 +01:00
Bob Mottram b0bd93e52d Remove trailing activity 2019-10-11 18:12:24 +01:00