Commit Graph

852 Commits (5132fe994d90822aa77b960dbd66b11a1a24a408)

Author SHA1 Message Date
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
Bob Mottram d17b984bbb Move donation functions to their own module 2019-11-07 12:14:17 +00:00
Bob Mottram 005ff4b106 Donate button 2019-11-06 23:20:00 +00:00
Bob Mottram a0d7759567 Donation link within profile 2019-11-06 22:56:55 +00:00
Bob Mottram 201321506f Replace earlier 2019-11-06 18:51:51 +00:00
Bob Mottram 78b3fc3838 Post actor updates without thread 2019-11-06 18:07:00 +00:00
Bob Mottram 5388c6d70a Quote position 2019-11-06 11:55:22 +00:00
Bob Mottram 057251ae6f Snooze button 2019-11-06 11:39:41 +00:00
Bob Mottram cd98704ce5 basedir 2019-11-05 12:33:37 +00:00
Bob Mottram f140eee20f Deactivation of accounts from the web interface 2019-11-05 11:52:38 +00:00
Bob Mottram 4d88fa3ead Functions for activating and deactivating accounts 2019-11-05 10:26:36 +00:00
Bob Mottram 3e896ee09b Remove inactive follower threads 2019-11-04 11:19:25 +00:00
Bob Mottram 06025845cb Pop twice 2019-11-04 11:06:49 +00:00
Bob Mottram df5d048dee Tidying 2019-11-04 11:01:04 +00:00
Bob Mottram 543f0b4d7d Sending to followers thread 2019-11-04 10:43:19 +00:00
Bob Mottram ad92d8ee08 Tidying 2019-11-03 15:27:29 +00:00
Bob Mottram 586905f8d2 Removing codes 2019-11-03 10:29:01 +00:00
Bob Mottram 1f644e2812 Replace + 2019-11-03 10:20:30 +00:00
Bob Mottram d9b4a77dad Return to shares timeline 2019-11-03 09:56:35 +00:00
Bob Mottram ba30a051ea Replacing codes 2019-11-03 09:55:14 +00:00
Bob Mottram ee73e5866c Replace codes 2019-11-03 09:39:02 +00:00
Bob Mottram 04432eab77 Show shares timeline 2019-11-02 14:31:39 +00:00
Bob Mottram eeaf003711 Better handling of duration string 2019-11-02 10:46:56 +00:00
Bob Mottram a5a792762f Duration in days 2019-11-02 10:44:36 +00:00
Bob Mottram 7159e2e9d2 Change method name 2019-11-01 21:23:59 +00:00
Bob Mottram 7b8e639511 Receive new posts synchronously 2019-11-01 21:10:59 +00:00
Bob Mottram feda4d1eec Clear login credentials if supported by the browser 2019-10-30 12:22:59 +00:00
Bob Mottram 6f1d5d0cbd Redirect 2019-10-30 11:44:23 +00:00
Bob Mottram 0465f33857 Logout endpoint 2019-10-30 11:35:40 +00:00
Bob Mottram c1da8ffe8f Reduce use of non-debug pprint 2019-10-29 20:23:49 +00:00
Bob Mottram bb954b62c6 No attachment on vote 2019-10-29 15:07:21 +00:00
Bob Mottram 0a3652ae0d questionparams 2019-10-29 14:58:48 +00:00
Bob Mottram 71af23ff6f Option to only receive DMs from people you follow 2019-10-29 10:49:23 +00:00
Bob Mottram 93008d97b1 Remove token and salt on account suspend 2019-10-25 18:41:59 +01:00
Bob Mottram 5f5bb5290d Return type 2019-10-25 17:50:22 +01:00
Bob Mottram 504a2301c6 Saving and loading tokens 2019-10-25 17:48:53 +01:00
Bob Mottram 5dafb9d201 Remove salts dictionary 2019-10-25 14:18:29 +01:00
Bob Mottram 1cafe0c8dd Tidying 2019-10-25 13:52:07 +01:00
Bob Mottram 0638290ae3 Base directory 2019-10-25 13:46:33 +01:00
Bob Mottram 67f843607d Constant salts 2019-10-25 13:44:40 +01:00
Bob Mottram 02dcbe006a Remove nickname 2019-10-23 23:32:07 +01:00
Bob Mottram 204c9905c4 Authorized default to inbox 2019-10-23 23:27:52 +01:00
Bob Mottram fdb26967b3 Redirect 2019-10-23 23:11:27 +01:00
Bob Mottram a621ee6d0f Clear nickname 2019-10-23 23:02:14 +01:00
Bob Mottram 42bee345bd Set default path to inbox 2019-10-23 22:50:23 +01:00
Bob Mottram 3ec262d01f Store nickname in cookie 2019-10-23 22:47:40 +01:00
Bob Mottram 0088ae2aac View button on search screen 2019-10-23 16:48:06 +01:00
Bob Mottram b0fea9c7f7 Remove full screen image 2019-10-23 14:19:24 +01:00
Bob Mottram 358c4b6b5d Remove formatting from filename 2019-10-23 14:07:05 +01:00
Bob Mottram 222f5b8217 Remove formatting 2019-10-23 14:03:56 +01:00
Bob Mottram ae5c6d7641 Encoding 2019-10-23 13:56:05 +01:00
Bob Mottram 626ee41f6b Include username in path for full screen image 2019-10-23 13:47:06 +01:00
Bob Mottram a1bfc981dd fullscreen 2019-10-23 13:39:42 +01:00
Bob Mottram 2bb5d19904 fullscreen 2019-10-23 13:30:23 +01:00
Bob Mottram a496801a87 Image description 2019-10-23 13:22:20 +01:00
Bob Mottram 9027d68ab7 url format 2019-10-23 13:17:40 +01:00
Bob Mottram e31b227066 Full screen image 2019-10-23 13:11:20 +01:00
Bob Mottram 77633238a6 Fill screen image 2019-10-23 13:04:08 +01:00
Bob Mottram 2fb21da602 Tidying of write function retries 2019-10-22 13:35:51 +01:00
Bob Mottram 077d34ba7a Tidying the loading and saving of json 2019-10-22 12:55:06 +01:00
Bob Mottram 236aef17ba Fix unit test for like 2019-10-19 19:08:47 +01:00
Bob Mottram b19ab510bd Extra dummy parameter 2019-10-19 13:40:00 +01:00
Bob Mottram 1fc5750174 Update html post cache as new posts arrive 2019-10-19 13:37:35 +01:00
Bob Mottram 4d349544ed Reduce maximum posts 2019-10-19 11:23:49 +01:00
Bob Mottram ed067498da Back to original posts per page 2019-10-19 09:42:54 +01:00
Bob Mottram 4ea799f264 Reduce indents 2019-10-18 19:57:34 +01:00
Bob Mottram 9b60370a5a Reduce posts per page 2019-10-18 12:50:25 +01:00
Bob Mottram eb2ec00e2c Remove flushes 2019-10-18 10:04:51 +01:00