Commit Graph

742 Commits (3ff2d2769764dcc4bd46b9a0b5e95249b74b01ef)

Author SHA1 Message Date
Bob Mottram ffe23ce23d Remove question from post cache 2019-11-25 13:48:07 +00:00
Bob Mottram e2a9814ef9 Show vote results 2019-11-25 13:34:44 +00:00
Bob Mottram d41187620e Tidying 2019-11-25 12:43:00 +00:00
Bob Mottram 71fb0285b3 Keep track of votes 2019-11-25 12:33:05 +00:00
Bob Mottram 4ed9020883 Tidying 2019-11-25 11:19:03 +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 1da6bea818 Bookmarks interaction with posts cache 2019-11-24 21:50:18 +00:00
Bob Mottram 24fabc7c4f Revert "Extra html checks"
This reverts commit 19009b3d28.
2019-11-24 21:04:26 +00:00
Bob Mottram 19009b3d28 Extra html checks 2019-11-24 21:00:51 +00:00
Bob Mottram a9b8d8014e Don't keep storing icons 2019-11-24 20:49:00 +00:00
Bob Mottram de303d28bd Get icon binary from cache 2019-11-24 18:11:32 +00:00
Bob Mottram 5a63454d1b Caching of icons 2019-11-24 18:06:54 +00:00
Bob Mottram 3259190161 Update post cache after regeneration of posts 2019-11-24 17:40:31 +00:00
Bob Mottram f6f35d69d6 Update announce posts in cache 2019-11-24 13:46:28 +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 f8b4e4961d Setting theme via profile screen 2019-11-23 14:13:25 +00:00
Bob Mottram 9de4fc04c1 Remove excess references to commentjson 2019-11-23 10:08:00 +00:00
Bob Mottram a8c72965f5 Check content type 2019-11-22 18:37:07 +00:00
Bob Mottram aa71738c6c Return to bookmark position 2019-11-19 15:27:43 +00:00
Bob Mottram cce4488683 Allow questions in outbox index 2019-11-18 18:39:06 +00:00
Bob Mottram 12815d70f6 Indentation 2019-11-18 17:26:38 +00:00
Bob Mottram c1bbe2863e Only index outbox notes or announces 2019-11-18 17:25:21 +00:00
Bob Mottram 3191701e39 Create index for outbox 2019-11-18 17:02:16 +00:00
Bob Mottram 88861ad69d Redundant condition 2019-11-18 15:57:51 +00:00
Bob Mottram 5e7dc8dc50 Reduce indentation 2019-11-17 17:20:08 +00:00
Bob Mottram ee5682a728 Use variable 2019-11-17 17:17:17 +00:00
Bob Mottram c8291d0af5 Indentation 2019-11-17 14:47:02 +00:00
Bob Mottram ecb0b3b419 Not inbox 2019-11-17 14:27:55 +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 d7ff49cfc4 Avoid pprint 2019-11-16 13:41:48 +00:00
Bob Mottram 302bda9aa1 Change GET benchmarks 2019-11-16 13:25:44 +00:00
Bob Mottram c0f4f502c5 Remove POST benchmarks 2019-11-16 13:06:15 +00:00
Bob Mottram 2e8691f4ba Return none on failure 2019-11-16 12:49:34 +00:00
Bob Mottram fb2eb659e2 Check signature before domains 2019-11-16 12:07:57 +00:00
Bob Mottram 98b8a5a161 Extra POST timings 2019-11-16 11:55:14 +00:00
Bob Mottram 86ecab9ac3 Avoid collisions when making new posts 2019-11-16 11:29:57 +00:00
Bob Mottram b870a324be Timings for POST 2019-11-16 11:03:02 +00:00
Bob Mottram a69c2f2bd9 Extra POST benchmarks 2019-11-16 10:40:35 +00:00
Bob Mottram 5b7cebc46d Benchmark before slowest POST 2019-11-16 10:30:09 +00:00
Bob Mottram e0cb54169c Slow 2019-11-16 10:02:35 +00:00
Bob Mottram c522ca1d99 queue items may have already been removed by inbox thread 2019-11-16 09:57:51 +00:00
Bob Mottram 72cfda3f9d Else 2019-11-16 09:53:52 +00:00
Bob Mottram 94a3f1c2b1 Check post length before and after 2019-11-16 00:07:07 +00:00
Bob Mottram b583869938 Check message length early 2019-11-16 00:01:00 +00:00
Bob Mottram ef9056761b Log slow json saves 2019-11-15 23:03:37 +00:00
Bob Mottram ee8679a731 Report how long inbox cleadown took 2019-11-15 22:28:40 +00:00
Bob Mottram 88c248c426 Post ID for tracibility 2019-11-15 22:18:22 +00:00
Bob Mottram d137800785 Don't report benchmarks if shared inbox is not enabled 2019-11-15 21:49:21 +00:00
Bob Mottram 2c8d6721d2 Optionally enable shared inbox 2019-11-15 21:43:20 +00:00
Bob Mottram e7e35131f8 benchmark before redirect 2019-11-15 19:44:20 +00:00
Bob Mottram d921448984 POST 2019-11-15 19:21:38 +00:00
Bob Mottram 314022a693 Leading zeros 2019-11-15 19:15:13 +00:00
Bob Mottram 6bdcf49c56 Swap order so that it's easier to sort 2019-11-15 19:08:09 +00:00
Bob Mottram bfa82fbc0d Add benchmarks to return points 2019-11-15 18:59:15 +00:00
Bob Mottram 9e5e34c071 Don't use threading for likes 2019-11-15 14:34:11 +00:00
Bob Mottram de10253088 Colon 2019-11-15 14:04:54 +00:00
Bob Mottram 5d107acf09 Returning http codes 2019-11-15 14:03:43 +00:00
Bob Mottram f84c800cb1 Return 404 is path doesn't match 2019-11-15 13:45:21 +00:00
Bob Mottram 6b4a23bcd3 Prioritize nodeinfo 2019-11-15 13:17:28 +00:00
Bob Mottram 2f5c061168 Checking cookie 2019-11-15 12:56:07 +00:00
Bob Mottram 690b40eea0 Tidying 2019-11-15 11:26:41 +00:00
Bob Mottram 0d354d81b3 Don't clear busy state before it is set 2019-11-15 11:21:09 +00:00
Bob Mottram ec672b81a9 Reject if no Accept header 2019-11-15 11:18:49 +00:00
Bob Mottram 56ff9b6f39 Remove unused variables 2019-11-15 10:23:56 +00:00
Bob Mottram cc704314a9 Remove some checks from the Like object urls so that non-mastodon posts can be liked 2019-11-15 10:14:12 +00:00
Bob Mottram 9bff2c24df Thread 2019-11-14 22:48:35 +00:00
Bob Mottram bd06e8925a Remove whitespace 2019-11-14 21:12:09 +00:00
Bob Mottram b87e752d3b Get actor from path 2019-11-14 21:09:36 +00:00
Bob Mottram 4b39111b38 Don't need actorLiked 2019-11-14 17:58:46 +00:00
Bob Mottram b0b5f1fece Supporting webp image format 2019-11-14 15:11:20 +00:00
Bob Mottram 14b9266ba8 Extra extensions 2019-11-14 14:40:51 +00:00
Bob Mottram b94d1e3877 Support different image formats 2019-11-14 13:30:54 +00:00
Bob Mottram 3ed3d8e61c login not logo 2019-11-13 21:24:34 +00:00
Bob Mottram 672a36d038 Special handling of logo changes 2019-11-13 21:14:29 +00:00
Bob Mottram e4c75578c5 Add extension 2019-11-13 21:08:28 +00:00
Bob Mottram dcefca19b0 Admin can set instance metadata and logo from their profile screen 2019-11-13 20:50:23 +00:00
Bob Mottram 7631a814f6 Check for accept 2019-11-13 15:41:03 +00:00
Bob Mottram 1f50dfdc19 Store earlier 2019-11-13 15:32:46 +00:00
Bob Mottram 340d301ec4 File storing the last time a post was made 2019-11-13 15:28:37 +00:00
Bob Mottram 0198b09782 File storing the last time something was posted 2019-11-13 15:26:40 +00:00
Bob Mottram 1c2407fe01 Some logging 2019-11-13 14:32:44 +00:00
Bob Mottram 11ee7aaf2d json formats 2019-11-13 14:21:21 +00:00
Bob Mottram 4b53029376 Metadata reports the number of accounts 2019-11-13 14:02:45 +00:00
Bob Mottram 90da6de43b Registration is boolean 2019-11-13 12:49:40 +00:00
Bob Mottram 4b5ddf1d48 instance metadata endpoint 2019-11-13 12:45:41 +00:00
Bob Mottram 2124e31ba0 The minimal peer set 2019-11-13 11:40:56 +00:00
Bob Mottram 3e543342c3 Instance in path 2019-11-13 11:26:02 +00:00
Bob Mottram a6ddf71cfa Vestigil mastodon api 2019-11-13 11:24:27 +00:00
Bob Mottram 85ea49a567 Header format for nodeinfo 2019-11-13 11:00:53 +00:00
Bob Mottram 4ab26f0378 Convert json to string 2019-11-13 10:59:17 +00:00
Bob Mottram 437f07f95a Wrong object 2019-11-13 10:55:58 +00:00
Bob Mottram 21b99f2d61 Session parameters not needed 2019-11-13 10:50:16 +00:00
Bob Mottram 4cfb33befe nodeinfo header type 2019-11-13 10:37:07 +00:00
Bob Mottram c14ab97586 nodeinfo metadata endpoint 2019-11-13 10:32:12 +00:00
Bob Mottram 5f7b8d383c Default language if none is discovered 2019-11-12 21:38:02 +00:00
Bob Mottram f2b295ed7b Avoid duplicates 2019-11-12 18:32:33 +00:00
Bob Mottram a688f2aeab Add content length to headers dict 2019-11-12 17:30:31 +00:00