Commit Graph

919 Commits (db8e703c4072ace6845763b9d1ab40d8fb3441cc)

Author SHA1 Message Date
Bob Mottram 7d6b74e961 Scheduled posts go to their own directory 2020-01-12 11:18:49 +00:00
Bob Mottram 5cb075c209 html detection 2020-01-09 20:31:00 +00:00
Bob Mottram 29d0a8dcc6 Ability to clear some fields 2019-12-17 23:21:59 +00:00
Bob Mottram 0d0a52e07d email 2019-12-17 21:00:47 +00:00
Bob Mottram c06a80bae0 Add email address and pgp public key to profile 2019-12-17 20:44:18 +00:00
Bob Mottram 4562fec1ca Matrix address in profile 2019-12-17 15:25:34 +00:00
Bob Mottram 6aa5950c2c xmpp address within profile 2019-12-17 14:57:16 +00:00
Bob Mottram fc089022f5 Back button on search screen 2019-12-17 13:09:08 +00:00
Bob Mottram e87f66f62d Button on search screen to go back 2019-12-17 12:58:10 +00:00
Bob Mottram f6acc62b16 Version 1.1.0 2019-12-14 10:52:19 +00:00
Bob Mottram 1f460fbc3f Remove extra options from search path 2019-12-13 21:00:56 +00:00
Bob Mottram a54c25fe01 Check for search 2019-12-13 20:58:16 +00:00
Bob Mottram cc99ebf527 tags path including nickname 2019-12-13 10:33:44 +00:00
Bob Mottram 4a53e8b2fe Missing port argument 2019-12-12 19:05:55 +00:00
Bob Mottram a19e61c90d Add nickname to tag url 2019-12-12 18:56:30 +00:00
Bob Mottram c48811710b Add import 2019-12-10 21:39:02 +00:00
Bob Mottram 243a0eaca8 Fixing sending question replies 2019-12-10 21:08:03 +00:00
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
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
Bob Mottram 127a60280f Debug in http signature verification 2019-11-12 15:03:17 +00:00
Bob Mottram aaf5c1a77f Confusing debug 2019-11-12 13:59:16 +00:00
Bob Mottram 05a9693661 Separate conditions for better debug 2019-11-12 13:53:14 +00:00
Bob Mottram e08e12de1f Change password on edit profile screen 2019-11-12 10:59:17 +00:00
Bob Mottram ffea5b704e Language option 2019-11-11 17:49:08 +00:00
Bob Mottram cae6637b24 Profile updates supporting utf-8 2019-11-10 13:31:55 +00:00
Bob Mottram 9e53f93997 Mentioned recipients go into 'to' for dms 2019-11-10 12:28:12 +00:00
Bob Mottram c417f18c65 More debug 2019-11-10 12:00:05 +00:00
Bob Mottram 1f68f22925 More debug 2019-11-10 11:54:45 +00:00
Bob Mottram 95a11cccbb Refactoring receiving of posts 2019-11-10 11:37:24 +00:00
Bob Mottram 0192532293 Fixing non-ascii text 2019-11-09 21:39:04 +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 99e738ae65 More debug 2019-11-08 10:27:08 +00:00
Bob Mottram d1b0adbd86 Debug on vote creation 2019-11-08 10:21:26 +00:00
Bob Mottram fc56f3199d Tidying 2019-11-07 20:19:19 +00:00
Bob Mottram 60e8821d13 Don't save upgrade activities 2019-11-07 20:12:43 +00:00
Bob Mottram 9fd8ed4c2e Remove excess threads 2019-11-07 19:59:59 +00:00
Bob Mottram 833d282888 Actor changed when images are posted 2019-11-07 19:46:06 +00:00
Bob Mottram 4f1797b046 Followers threads debug 2019-11-07 13:44:00 +00:00
Bob Mottram f80fd83998 Indentation 2019-11-07 12:56:00 +00:00