Commit Graph

514 Commits (0cbb86bdb3017dbd2366ab1aa34b968eaa9603dc)

Author SHA1 Message Date
Bob Mottram 37f2ae5776 Remove muted post from cache 2019-12-01 15:19:11 +00:00
Bob Mottram 4d3dab83ae Check for index 2019-12-01 14:43:09 +00:00
Bob Mottram f3af1bb68d String conversion 2019-12-01 14:40:32 +00:00
Bob Mottram c125d4dc69 Add muted parameter to recent posts cache 2019-12-01 14:34:10 +00:00
Bob Mottram fc364b68d9 Debug 2019-12-01 14:03:18 +00:00
Bob Mottram 2c05fbc669 Missing import 2019-12-01 13:57:43 +00:00
Bob Mottram 7ee0f39767 Missing domain 2019-12-01 13:55:24 +00:00
Bob Mottram 06f7b71cb0 Missing import 2019-12-01 13:51:44 +00:00
Bob Mottram ec6bd97e1c Mute button 2019-12-01 13:45:30 +00:00
Bob Mottram 96775d6d66 Remove debug 2019-11-29 23:34:21 +00:00
Bob Mottram 915288c7e1 Debug 2019-11-29 22:52:55 +00:00
Bob Mottram c94b80a36d Sending out updates when votes on a question change 2019-11-29 22:02:16 +00:00
Bob Mottram be96800473 oneOf 2019-11-29 13:54:25 +00:00
Bob Mottram 08811ffcf8 Creating question activity 2019-11-25 22:34:26 +00:00
Bob Mottram c9e5a24826 Remove likes,shares,replies and bookmarks for unauthorized requests on individual posts 2019-11-25 11:04:27 +00:00
Bob Mottram c6d008b28a Allow question updates in timeline 2019-11-25 10:10:59 +00:00
Bob Mottram ae150ca710 Comment out debug 2019-11-24 12:41:48 +00:00
Bob Mottram 342d6a3bd6 Show the post index added from cache 2019-11-24 12:21:13 +00:00
Bob Mottram c5204ea1fa Adding json posts to the timeline from cache 2019-11-24 12:12:29 +00:00
Bob Mottram 9de4fc04c1 Remove excess references to commentjson 2019-11-23 10:08:00 +00:00
Bob Mottram 6f33b6f2db Retire old timeline function 2019-11-18 17:04:45 +00:00
Bob Mottram 50bd337e87 Tidying 2019-11-18 16:55:04 +00:00
Bob Mottram 3b83a30e41 Sequence 2019-11-18 15:04:08 +00:00
Bob Mottram 026ef6e194 Increment counter anyway 2019-11-18 14:12:00 +00:00
Bob Mottram 084c5c0cc9 Rename function 2019-11-18 12:57:34 +00:00
Bob Mottram a332ccf219 Remove directories from filename 2019-11-18 12:54:41 +00:00
Bob Mottram 8b6dd0798d Remove colon 2019-11-18 12:50:03 +00:00
Bob Mottram d693bb2e16 No condition 2019-11-18 12:49:41 +00:00
Bob Mottram 4d249faa9c Different indexes 2019-11-18 12:43:21 +00:00
Bob Mottram 8a29d5510c Revert "Always test timeline post type"
This reverts commit fc1878d72a.
2019-11-18 12:40:38 +00:00
Bob Mottram fc1878d72a Always test timeline post type 2019-11-18 12:25:59 +00:00
Bob Mottram e97e223ecb Use post content 2019-11-18 12:02:55 +00:00
Bob Mottram 077709f180 Typo 2019-11-18 11:57:10 +00:00
Bob Mottram 4b1013cd45 Don't load posts twice 2019-11-18 11:55:27 +00:00
Bob Mottram 4401c48682 Bad variable 2019-11-18 11:30:09 +00:00
Bob Mottram 29893507e8 Refactoring timeline generation 2019-11-18 11:28:17 +00:00
Bob Mottram c87713ff79 Use locate 2019-11-18 10:27:34 +00:00
Bob Mottram e1abfed010 Use announce cache 2019-11-17 17:59:27 +00:00
Bob Mottram 1d06970320 Don't show bookmarks to unauthorized users 2019-11-17 16:51:54 +00:00
Bob Mottram 18c2867490 No shared inbox directory for bookmarks 2019-11-17 15:14:06 +00:00
Bob Mottram 3bb0ef5b27 Only use index for bookmarks timeline 2019-11-17 14:36:32 +00:00
Bob Mottram 52e1d44021 Adding bookmarks 2019-11-17 14:01:49 +00:00
Bob Mottram e4c6e2d2f1 Moderation reports are not media items 2019-11-16 22:20:16 +00:00
Bob Mottram d13b2511c2 Moderation reports are not replies 2019-11-16 22:18:20 +00:00
Bob Mottram 26d561d4d7 Fix removals from moderation index 2019-11-16 22:09:54 +00:00
Bob Mottram cb97b5ceb2 Get nickname 2019-11-16 18:14:00 +00:00
Bob Mottram 8ea168c5ab Create index entry for new report 2019-11-16 18:11:30 +00:00
Bob Mottram 28d1869826 dms are not moderation posts 2019-11-16 17:29:02 +00:00
Bob Mottram b4bcbf4a8c Moderation button is highlighted if a new report appears 2019-11-16 15:24:07 +00:00
Bob Mottram 21b99f2d61 Session parameters not needed 2019-11-13 10:50:16 +00:00
Bob Mottram 246e280231 Also update the create 2019-11-10 12:34:44 +00:00
Bob Mottram 9e53f93997 Mentioned recipients go into 'to' for dms 2019-11-10 12:28:12 +00:00
Bob Mottram 0192532293 Fixing non-ascii text 2019-11-09 21:39:04 +00:00
Bob Mottram 171f23e751 dms are not necessarily replies 2019-11-09 13:06:38 +00:00
Bob Mottram e84bf4d726 Revert "Revert "Use ensure_ascii when encoding to utf8""
This reverts commit 719bfb9f5d.
2019-11-09 12:52:47 +00:00
Bob Mottram 719bfb9f5d Revert "Use ensure_ascii when encoding to utf8"
This reverts commit 440016aa3a.
2019-11-09 12:47:42 +00:00
Bob Mottram 440016aa3a Use ensure_ascii when encoding to utf8 2019-11-09 12:33:48 +00:00
Bob Mottram 2b884be142 Include character encoding in content-type http header 2019-11-09 10:18:14 +00:00
Bob Mottram d258a15283 Debug message when it's really the end 2019-11-07 21:16:40 +00:00
Bob Mottram 4225c40e48 Re-enable shared unbox updates 2019-11-07 21:12:53 +00:00
Bob Mottram 49a1169e67 Longer thread timeout 2019-11-07 21:03:17 +00:00
Bob Mottram dd6916b580 cc to individual recipients 2019-11-07 20:51:29 +00:00
Bob Mottram 57d29d49a0 Extra debug 2019-11-07 19:23:56 +00:00
Bob Mottram a3cc8184bb Send profile updates to individual inboxes 2019-11-07 19:04:55 +00:00
Bob Mottram 897e35afb6 Consistent terminology 2019-11-07 19:01:00 +00:00
Bob Mottram 1a09fa0823 Getting less sleep 2019-11-07 13:38:17 +00:00
Bob Mottram b167c5bae8 Consistent max threads 2019-11-07 13:35:33 +00:00
Bob Mottram f80fd83998 Indentation 2019-11-07 12:56:00 +00:00
Bob Mottram c15fa6b8c0 Remove debug 2019-11-06 14:56:08 +00:00
Bob Mottram 6572e57d9d List index 2019-11-06 14:54:17 +00:00
Bob Mottram 74a0b0b2c1 Get published time 2019-11-06 14:50:17 +00:00
Bob Mottram a24959fa66 Get posts a second time 2019-11-06 13:49:51 +00:00
Bob Mottram a7872e7c7f File path when archiving 2019-11-06 13:49:27 +00:00
Bob Mottram b2f926eaa3 Archive based on creation date of post files 2019-11-06 13:35:25 +00:00
Bob Mottram e6bd4cf1f4 Indents 2019-11-04 13:34:43 +00:00
Bob Mottram 45a2844855 Tidying 2019-11-04 12:46:51 +00:00
Bob Mottram 409bc2103b Fix sending posts to mentions 2019-11-04 12:09:59 +00:00
Bob Mottram 543f0b4d7d Sending to followers thread 2019-11-04 10:43:19 +00:00
Bob Mottram 0b6c6f16e2 Send to followers with delay 2019-11-04 10:14:59 +00:00
Bob Mottram 9412c01223 Extra replace 2019-11-01 10:19:21 +00:00
Bob Mottram 273a8cd358 Replace 's 2019-10-31 22:56:54 +00:00
Bob Mottram 324ab9bf2a Don't show shares if unauthorised 2019-10-31 10:04:49 +00:00
Bob Mottram c1da8ffe8f Reduce use of non-debug pprint 2019-10-29 20:23:49 +00:00
Bob Mottram bb5951a74d Don't replace emoji within json content 2019-10-29 13:11:10 +00:00
Bob Mottram 14d7e2e2b2 Don't replace emoji within json content 2019-10-29 13:04:38 +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 21ce09e192 Exit from retries of unauthorized 2019-10-23 19:44:03 +01:00
Bob Mottram ef7135cd98 Replace exponential backoff with regular retries 2019-10-23 19:28:04 +01:00
Bob Mottram 621795db65 Allow video and audio in media timeline 2019-10-23 14:24:09 +01:00
Bob Mottram c3b1e9ef08 Avoid checks for indexed posts 2019-10-23 11:43:20 +01:00
Bob Mottram 049da094da Read index line by line 2019-10-22 22:53:15 +01:00
Bob Mottram 97ea349a69 Mentions included in replies 2019-10-22 20:07:23 +01:00
Bob Mottram a8c177cbd1 Only show the first page if not authorized 2019-10-22 14:53:51 +01:00
Bob Mottram 077d34ba7a Tidying the loading and saving of json 2019-10-22 12:55:06 +01:00
Bob Mottram 79d43fa7b6 Debug 2019-10-21 17:21:16 +01:00
Bob Mottram 07ec81e202 Additional attempt to get actor 2019-10-21 17:20:33 +01:00
Bob Mottram 4bc0d11a7c Get actor for single user instance 2019-10-21 17:15:12 +01:00
Bob Mottram 515305f005 Getting actor for single user instance 2019-10-21 17:03:44 +01:00
Bob Mottram ad16224628 Argument type 2019-10-21 16:55:30 +01:00
Bob Mottram fd626be274 Handle for single user instance 2019-10-21 16:25:13 +01:00
Bob Mottram db621abb6f Following single user instances 2019-10-21 15:12:22 +01:00
Bob Mottram 49b0a2de45 Single user instance when getting actor 2019-10-21 00:01:12 +01:00
Bob Mottram 6dc0e3afd4 Always allow a few more pages 2019-10-20 15:28:47 +01:00
Bob Mottram 4ec7e69437 Minimum number of items 2019-10-20 15:14:21 +01:00
Bob Mottram 9ae3f23383 Set minimum number of index pages to load 2019-10-20 15:11:56 +01:00
Bob Mottram 53fc839cae Add exception handling for index 2019-10-20 13:43:59 +01:00
Bob Mottram 5c67ada3bb Extract status number 2019-10-20 13:09:07 +01:00
Bob Mottram 3bf8cdb36d Increase maximum 2019-10-20 13:05:15 +01:00
Bob Mottram 0b95f9df52 Remove carriage return 2019-10-20 13:01:44 +01:00
Bob Mottram 478b9e7909 Debug 2019-10-20 12:59:47 +01:00
Bob Mottram 3328336639 Use different dictionary 2019-10-20 12:42:46 +01:00
Bob Mottram 7e0ae8d8e1 Use index to construct timeline 2019-10-20 12:40:35 +01:00
Bob Mottram 079c5003f6 Archive the index file 2019-10-20 12:18:25 +01:00
Bob Mottram e02fadcef0 Don't use loop 2019-10-20 10:53:25 +01:00
Bob Mottram 71f2b04bfc Exit earlier 2019-10-20 10:51:32 +01:00
Bob Mottram b82a60bf8c Missing parameter 2019-10-20 10:49:26 +01:00
Bob Mottram f3c4baadb1 Only load the following handles once 2019-10-20 10:47:06 +01:00
Bob Mottram ab85b2ea16 Extra parameters 2019-10-20 10:39:07 +01:00
Bob Mottram c86738ef3a Tidying of shared inbox index 2019-10-20 10:36:07 +01:00
Bob Mottram 1aa4559f8b Tidying 2019-10-20 10:22:40 +01:00
Bob Mottram d91efacf4b Extra filename check 2019-10-20 10:14:27 +01:00
Bob Mottram 426873d0a9 New post context 2019-10-19 16:59:49 +01:00
Bob Mottram 4d349544ed Reduce maximum posts 2019-10-19 11:23:49 +01:00
Bob Mottram 514630d3b9 Count posts 2019-10-19 11:19:19 +01:00
Bob Mottram 451684fdca Remove cached posts during archive 2019-10-19 11:10:52 +01:00
Bob Mottram 4ea799f264 Reduce indents 2019-10-18 19:57:34 +01:00
Bob Mottram 4a8d8b34a8 More support for zap style ActivityPub 2019-10-18 10:28:00 +01:00
Bob Mottram 92214ef5ed Parsing outbox for hubzilla channel 2019-10-17 23:26:47 +01:00
Bob Mottram 385a0ee31d Another block 2019-10-17 17:00:34 +01:00
Bob Mottram da58015e20 Getting actor if webfinger fails 2019-10-17 16:55:05 +01:00
Bob Mottram dd82f0b7c3 Use actor if webfinger fails 2019-10-17 16:18:43 +01:00
Bob Mottram 9ac770dc50 Show errors 2019-10-17 15:44:59 +01:00
Bob Mottram 13a16bec18 Handle errors returned from webfinger 2019-10-17 15:41:47 +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 d8c4661741 Add queue to send out posts 2019-10-16 19:19:18 +01:00
Bob Mottram 3b0d441e5b Extra debug 2019-10-16 15:46:29 +01:00
Bob Mottram 4326c67b1a Only save a post log in debug mode 2019-10-16 12:27:43 +01:00
Bob Mottram 9b21151523 Add followers to posts if necessary 2019-10-16 11:58:31 +01:00
Bob Mottram 49d252c0d1 Removing dormant threads 2019-10-16 11:08:21 +01:00
Bob Mottram 85415f579f Exception handling in threaded post 2019-10-14 22:05:14 +01:00
Bob Mottram 48c5424e33 More retries 2019-10-12 10:37:21 +01:00
Bob Mottram 83d21e4de6 Add some retries 2019-10-11 19:03:58 +01:00
Bob Mottram da7d9b4ea4 Get start time of event 2019-10-11 17:16:56 +01:00
Bob Mottram 9be5b928d0 Get time zone 2019-10-10 14:48:05 +01:00
Bob Mottram 65b8a744d1 Check for ending of time 2019-10-10 14:24:29 +01:00
Bob Mottram 34618f64a9 Append seconds 2019-10-10 14:22:38 +01:00
Bob Mottram 892700e057 Param defaults 2019-10-10 14:13:59 +01:00