Commit Graph

740 Commits (1c2a643522a331a01ba42df58fd35ec988598727)

Author SHA1 Message Date
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
Bob Mottram b79703dbfd Default to jpg cached avatars 2019-10-18 10:00:16 +01:00
Bob Mottram c0361bd5bf Convert exception to string 2019-10-17 11:26:56 +01:00
Bob Mottram 8b5376f616 Thread for expiring shared items 2019-10-17 10:58:30 +01:00
Bob Mottram f056c811be More debug for commentjson 2019-10-17 10:40:31 +01:00
Bob Mottram 700ee84320 Dummy argument 2019-10-16 19:24:06 +01:00
Bob Mottram d8c4661741 Add queue to send out posts 2019-10-16 19:19:18 +01:00
Bob Mottram b4aa34490d Retry on write 2019-10-16 14:45:51 +01:00
Bob Mottram dac79d53f9 Extra exceptions 2019-10-14 22:38:03 +01:00
Bob Mottram ebed9f5202 Missing returns 2019-10-14 22:29:46 +01:00
Bob Mottram 48c5424e33 More retries 2019-10-12 10:37:21 +01:00
Bob Mottram 7567e79536 prefix 2019-10-11 20:26:08 +01:00
Bob Mottram 8ea78dda93 Use full domain 2019-10-11 20:25:36 +01:00