Commit Graph

852 Commits (5132fe994d90822aa77b960dbd66b11a1a24a408)

Author SHA1 Message Date
Bob Mottram f1beb08b89 Replacement 2019-12-10 20:18:08 +00:00
Bob Mottram 9b47aee635 Extra replacement 2019-12-10 20:12:22 +00:00
Bob Mottram 621763b996 Extra arguments 2019-12-10 17:25:29 +00:00
Bob Mottram f9a511984c Extra argument 2019-12-10 16:05:07 +00:00
Bob Mottram 27276b332b Replace https in css 2019-12-10 14:48:08 +00:00
Bob Mottram 49f7803571 Typo 2019-12-05 12:52:13 +00:00
Bob Mottram 8dbca38a62 Replace plus 2019-12-04 22:27:03 +00:00
Bob Mottram f79a97b782 Remove trailing spaces 2019-12-04 22:19:02 +00:00
Bob Mottram f029c07a61 Create etag at time of media upload 2019-12-04 18:52:27 +00:00
Bob Mottram bf1d65ea57 binary 2019-12-04 13:57:53 +00:00
Bob Mottram 3ff2d27697 Include length and etag in head 2019-12-04 13:54:59 +00:00
Bob Mottram c1f098db8f Return code if file has not changed 2019-12-04 13:05:12 +00:00
Bob Mottram 47860b081b use sha1 for etags 2019-12-04 12:57:12 +00:00
Bob Mottram 13826ca5cb Check etag 2019-12-04 12:47:16 +00:00
Bob Mottram 99883818cd Add etag header to media 2019-12-04 12:36:13 +00:00
Bob Mottram 486619e05f Use of blurhash is optional 2019-12-04 11:11:18 +00:00
Bob Mottram 4cbaedffba http headers 2019-12-04 09:40:13 +00:00
Bob Mottram 13aa1822ee http header doesn't apply 2019-12-03 23:03:18 +00:00
Bob Mottram fdcf5db728 Extra header 2019-12-03 22:55:56 +00:00
Bob Mottram a3758541d2 Syntax 2019-12-03 22:54:09 +00:00
Bob Mottram 5f84a80b7a Extra http headers 2019-12-03 22:51:16 +00:00
Bob Mottram ec174d336d X-Robots back again 2019-12-03 22:30:02 +00:00
Bob Mottram 1407b0e51f No X-Robots 2019-12-03 22:23:15 +00:00
Bob Mottram 85f9ad2d8b Don't set length as response to head 2019-12-03 22:11:51 +00:00
Bob Mottram 4478b4f578 head file types 2019-12-03 22:08:20 +00:00
Bob Mottram 7a506172b4 Other media types 2019-12-03 21:47:28 +00:00
Bob Mottram 087712addd Bookmarked mute button 2019-12-01 15:28:23 +00:00
Bob Mottram ac8bb75f41 unmute 2019-12-01 15:10:30 +00:00
Bob Mottram d274bbe51d Missing import 2019-12-01 15:03:55 +00:00
Bob Mottram ec6bd97e1c Mute button 2019-12-01 13:45:30 +00:00
Bob Mottram 85645fb5e7 Handle new questions 2019-11-29 22:14:19 +00:00
Bob Mottram 16e333f4a8 Remove debug 2019-11-29 15:45:26 +00:00
Bob Mottram 9c8702133b Tidying 2019-11-29 13:07:20 +00:00
Bob Mottram 4327a72542 Receiving new questions 2019-11-29 12:42:51 +00:00
Bob Mottram 3d2402590b Typo 2019-11-29 12:28:45 +00:00
Bob Mottram 2d53a75972 debug 2019-11-29 12:27:11 +00:00
Bob Mottram 582649c720 Increase maximum message length to 8K 2019-11-29 09:40:10 +00:00
Bob Mottram 7851ccf960 Show queue length 2019-11-29 09:38:19 +00:00
Bob Mottram 299b135129 Less message box height for media instance 2019-11-28 17:35:32 +00:00
Bob Mottram 0dd80a8438 Turning off media instance 2019-11-28 17:21:38 +00:00
Bob Mottram 829cdacd90 Profile header links to default timeline 2019-11-28 17:09:57 +00:00
Bob Mottram 9fdc2e1039 Set media instance in admin profile 2019-11-28 17:03:57 +00:00
Bob Mottram 7779ab44e3 Media instance option 2019-11-28 16:16:43 +00:00
Bob Mottram 9fc251c11f Check that questions file exists 2019-11-27 09:58:39 +00:00
Bob Mottram 26ecb678d4 Only show tokens if in debug 2019-11-26 18:00:44 +00:00
Bob Mottram 6f3f5d4edc Don't try to authorize avatars or icons 2019-11-26 17:57:05 +00:00
Bob Mottram 63d5d8ee5a More exit points 2019-11-26 17:52:08 +00:00
Bob Mottram a0a158bf0b Strip the token string 2019-11-26 17:47:56 +00:00
Bob Mottram 30bfe14ccf More debug 2019-11-26 17:41:19 +00:00
Bob Mottram 85f3f2313b Remove trailing part of token 2019-11-26 17:30:22 +00:00
Bob Mottram ed476f6726 Extra debug 2019-11-26 17:27:47 +00:00
Bob Mottram 64d824504e Extra debug 2019-11-26 17:23:34 +00:00
Bob Mottram 34f1ae730c Authorization debug 2019-11-26 17:19:03 +00:00
Bob Mottram 5acc604b4f Report redirect errors 2019-11-26 15:30:13 +00:00
Bob Mottram a53b669356 Redirects use absolute paths 2019-11-26 15:22:45 +00:00
Bob Mottram 356f29ab37 Show accept in debug 2019-11-26 14:32:09 +00:00
Bob Mottram 4a2e671149 Increase maximum question options 2019-11-26 12:17:52 +00:00
Bob Mottram 08811ffcf8 Creating question activity 2019-11-25 22:34:26 +00:00
Bob Mottram 91058ea30f Update post cache when receiving question updates 2019-11-25 14:05:59 +00:00
Bob Mottram 6c10a30069 Add imports 2019-11-25 13:50:39 +00:00
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