Commit Graph

1158 Commits (86f2e9d8ab136920343b7eb0d3de4d532086c2a0)

Author SHA1 Message Date
Bob Mottram 0e3c41db2b When deleting a post also remove it from the recent posts cache in memory 2020-06-24 14:30:50 +01:00
Bob Mottram f5be8eb132 @ prefix 2020-06-24 13:55:39 +01:00
Bob Mottram 326fb9fc48 Don't use a separate function for reminder posts 2020-06-24 13:42:07 +01:00
Bob Mottram e1470a7d37 Reminder post content includes handle 2020-06-24 13:33:06 +01:00
Bob Mottram a7b8f7453a Reminder post type, for posting to yourself 2020-06-24 12:53:43 +01:00
Bob Mottram 52d1f30b4f More debug for sessions 2020-06-24 10:04:58 +01:00
Bob Mottram 306af20d45 Different exception type 2020-06-23 22:27:13 +01:00
Bob Mottram 1a0fcf95e7 Handle exceptions on read 2020-06-23 15:25:03 +01:00
Bob Mottram 4587ce6771 http return codes 2020-06-22 13:05:58 +01:00
Bob Mottram 117b231230 Show handle qrcode 2020-06-21 16:12:42 +00:00
Bob Mottram c1a2f82e80 Create a qrcode for handles during person creation 2020-06-21 16:02:52 +00:00
Bob Mottram a2325209fb Simplify 2020-06-21 12:23:59 +00:00
Bob Mottram 3dea14cee8 Apply settings to all cookies 2020-06-21 12:04:46 +00:00
Bob Mottram 48fbbe9247 Set-Cookie security 2020-06-21 11:44:57 +00:00
Bob Mottram 46808e3932 Create a qrcode for the domain name 2020-06-20 19:37:44 +00:00
Bob Mottram 1d92aab187 i2p uses http prefix 2020-06-19 22:50:41 +00:00
Bob Mottram f7b9fcead8 Tidying 2020-06-19 21:08:06 +01:00
Bob Mottram bdee44e6b8 Tidying 2020-06-19 21:04:22 +01:00
Bob Mottram ca6f735ff3 Not an image 2020-06-19 20:40:40 +01:00
Bob Mottram 6b3f3d1a64 Remove content type from redirect 2020-06-19 14:20:19 +01:00
Bob Mottram 40e52d0744 Tidying 2020-06-19 12:14:49 +01:00
Bob Mottram 889356b0b1 i2p uses http prefix 2020-06-19 12:12:26 +01:00
Bob Mottram 4ae51bda6e Set content type 2020-06-19 12:07:46 +01:00
Bob Mottram e48f019d56 Set path on redirect 2020-06-19 12:05:01 +01:00
Bob Mottram a77fdc074c Set redirect headers 2020-06-19 12:01:42 +01:00
Bob Mottram c08dd907d2 Set content type 2020-06-19 11:51:13 +01:00
Bob Mottram c608bd443b Try redirect without redirecting 2020-06-19 11:47:25 +01:00
Bob Mottram 8c1f56e42b i2p sites use http prefix 2020-06-19 10:50:00 +01:00
Bob Mottram ed2b7b5c60 Redirects all use the same function 2020-06-19 10:40:35 +01:00
Bob Mottram 505e4116eb Set a dummy Accept if it doesn't exist 2020-06-18 22:20:56 +01:00
Bob Mottram b3791e703d Special accept case for i2p domains 2020-06-18 21:56:29 +01:00
Bob Mottram 725719ae7d Missing server 2020-06-17 17:52:45 +01:00
Bob Mottram 6d9771f22b Change endpoint name to avoid conflicts 2020-06-17 17:50:52 +01:00
Bob Mottram 3007790bf6 Endpoint for showing a list of accounts which you are following 2020-06-17 17:48:58 +01:00
Bob Mottram a4350228de Set encoding 2020-06-14 20:06:10 +01:00
Bob Mottram 691af249ba Tidying 2020-06-12 22:41:32 +01:00
Bob Mottram e08a25fed6 Missing import 2020-06-12 13:03:04 +01:00
Bob Mottram 8631654a70 Exit if no translations 2020-06-12 13:02:04 +01:00
Bob Mottram c357ad6a0d Set search banner from profile 2020-06-10 17:56:23 +01:00
Bob Mottram c6a925e9e4 Get nickname for search banner 2020-06-10 14:05:47 +01:00
Bob Mottram 9223da4284 Show search banner 2020-06-10 13:59:01 +01:00
Bob Mottram 691253d1c8 Pass domain as argument 2020-06-10 13:53:16 +01:00
Bob Mottram 35438c0fc8 Generalise proxying 2020-06-09 12:03:59 +01:00
Bob Mottram 29c8332741 Error handling when reading POST data 2020-06-08 19:52:18 +01:00
Bob Mottram d780c3330f Clear busy status if session creation fails 2020-06-08 19:34:29 +01:00
Bob Mottram 48f0f81a9f Handle errors when creating session 2020-06-08 18:10:53 +01:00
Bob Mottram ba38e6c995 Log http server errors 2020-06-08 17:46:01 +01:00
Bob Mottram eaf2344caa Debug for likes 2020-06-07 10:18:17 +01:00
Bob Mottram 96eef930a9 Actor variable 2020-06-07 10:14:20 +01:00
Bob Mottram 9729b37be0 Like url 2020-06-07 10:10:10 +01:00
Bob Mottram a927d4ef58 Likes debug 2020-06-07 09:53:34 +01:00
Bob Mottram c8844bba5e Don't update announce 2020-06-06 20:28:12 +01:00
Bob Mottram 51f2b060c9 Avoid race condition when repeating post 2020-06-06 19:34:39 +01:00
Bob Mottram ec07f83e5a Fix circular dependency 2020-06-06 19:16:16 +01:00
Bob Mottram c8d90863ea Directly like/unlike posts
This is faster and so should work better with the web interface
2020-06-06 19:06:06 +01:00
Bob Mottram 7a22130837 Handling of i2p secondary domains 2020-06-03 21:21:44 +01:00
Bob Mottram cb0ffaeb40 Handle i2p calling domains 2020-06-03 20:14:24 +01:00
Bob Mottram b8de97a9c3 Configuration for a secondary i2p domain alongside clearnet 2020-06-03 18:38:34 +01:00
Bob Mottram 85bb69ec66 Remove any existing etag for uploaded images 2020-05-31 16:55:00 +01:00
Bob Mottram b3d2b059eb Remove debug 2020-05-29 20:42:08 +01:00
Bob Mottram 56a223f863 Debug 2020-05-29 20:37:33 +01:00
Bob Mottram de9972153a webp favicon 2020-05-29 20:27:45 +01:00
Bob Mottram 727c032059 Earlier favicon access 2020-05-29 20:21:08 +01:00
Bob Mottram e8c76ab651 Tidying 2020-05-29 20:19:26 +01:00
Bob Mottram 8647bcf9e7 Remove debug 2020-05-29 14:08:10 +01:00
Bob Mottram 78e13dbd82 No html check for favicon 2020-05-29 14:05:46 +01:00
Bob Mottram 74ef61fc95 No slash 2020-05-29 13:57:37 +01:00
Bob Mottram c321c00e44 Check that fonts and favicon are delivered on html requests 2020-05-29 13:53:58 +01:00
Bob Mottram 41feec3c1e Debug 2020-05-29 13:48:33 +01:00
Bob Mottram 1a70ece630 Favicon mime type 2020-05-29 13:45:11 +01:00
Bob Mottram 01ded187b1 Variable names 2020-05-29 13:39:49 +01:00
Bob Mottram f796764a88 Name of file 2020-05-29 13:31:50 +01:00
Bob Mottram 165b79cc42 Add favicon 2020-05-29 13:28:12 +01:00
Bob Mottram 3e9948374c Remove unused font upload code 2020-05-28 09:52:25 +01:00
Bob Mottram c740b07c9f Don't allow custom font upload
Extraction of the font from POST seems buggy and causes other problems
2020-05-27 16:08:09 +01:00
Bob Mottram da148f8e9e Don't set actorchanged flag when font is uploaded 2020-05-27 15:21:28 +01:00
Bob Mottram ea1bf2caa3 Ensure that a theme exists before setting it 2020-05-27 14:03:36 +01:00
Bob Mottram 54224094a9 Set theme after removing custom font 2020-05-27 14:01:13 +01:00
Bob Mottram 0a3188a5da Handle none values from config 2020-05-27 11:30:40 +01:00
Bob Mottram 28ba4d080b Too many slashes 2020-05-26 23:02:05 +01:00
Bob Mottram d2f7a4e210 Font mime types according to mozilla documentation 2020-05-26 22:52:36 +01:00
Bob Mottram 80a9634572 Reset theme when removing custom font 2020-05-26 22:02:06 +01:00
Bob Mottram b0ae449c1a Checkbox to remove custom font 2020-05-26 21:47:52 +01:00
Bob Mottram b107668452 Update theme after adding custom font 2020-05-26 21:17:16 +01:00
Bob Mottram 21b0f0c752 Rename rather than copy font file 2020-05-26 20:39:12 +01:00
Bob Mottram aacbf8cbb9 Detecting font files 2020-05-26 20:29:15 +01:00
Bob Mottram 89e7995a33 More debug 2020-05-26 17:08:30 +01:00
Bob Mottram c2fe5c3ade Upload custom font 2020-05-26 15:28:58 +01:00
Bob Mottram 24c77eca7b Return of the etags 2020-05-25 17:32:13 +01:00
Bob Mottram 354ba728f5 cookie 2020-05-25 17:29:27 +01:00
Bob Mottram 447125fbdc Without etag 2020-05-25 17:26:43 +01:00
Bob Mottram 0ab9258f3b Process fonts earlier 2020-05-25 17:21:53 +01:00
Bob Mottram 95722d127e Fonts not in path 2020-05-25 17:18:33 +01:00
Bob Mottram b7f66db945 Fix variable name 2020-05-25 12:53:47 +01:00
Bob Mottram e6fb9842dd Detecting fonts 2020-05-25 12:52:10 +01:00
Bob Mottram a6b395c068 hacker theme font is bedstead 2020-05-25 12:33:37 +01:00
Bob Mottram 1fb272f0d9 fonts 2020-05-25 12:22:49 +01:00
Bob Mottram 3904068cc9 Remove debug 2020-05-25 10:29:34 +01:00
Bob Mottram 6203345e8e Support for custom fonts 2020-05-24 23:10:14 +01:00
Bob Mottram 6badb0da28 Missing argument 2020-05-23 16:14:59 +01:00
Bob Mottram 4efdf42c4d No server 2020-05-23 16:13:14 +01:00
Bob Mottram 75cd12e4c8 baseDir 2020-05-23 15:26:49 +01:00
Bob Mottram 46b1f6311b Minimize web interface clutter 2020-05-23 15:23:56 +01:00
Bob Mottram 19a64c7f93 Support rss version 3.0 blog feeds 2020-05-23 09:41:50 +00:00
Bob Mottram e454377a07 Rename rss functions with version number 2020-05-23 09:10:26 +00:00
Bob Mottram f019aa9dc2 Extract page number with hashes 2020-05-22 12:41:47 +00:00
Bob Mottram 83345a6d84 Clear inbox queue when full 2020-05-22 11:48:13 +00:00
Bob Mottram e75f1a0abb Remove carriage returns 2020-05-22 11:32:38 +00:00
Bob Mottram 3de6c87e51 Tidying 2020-05-21 22:28:35 +01:00
Bob Mottram c7c4218fe0 Don't send bookmarks to the outbox 2020-05-21 22:23:34 +01:00
Bob Mottram dca3da71b5 Creating bookmarks timeline 2020-05-21 20:58:21 +01:00
Bob Mottram 71915b8c94 Comment 2020-05-18 15:00:47 +01:00
Bob Mottram 3badf3ad57 Test authorized state 2020-05-18 13:04:05 +01:00
Bob Mottram 959c1080c7 Only store webfinger in cache if returned 2020-05-07 14:21:58 +01:00
Bob Mottram b5b54e5d44 Define variable 2020-05-04 18:48:07 +01:00
Bob Mottram e8aeba7b4c Update webfinger aliases when profile is saved 2020-05-04 13:58:24 +00:00
Bob Mottram a604973716 Move blog functions to avoid circular reference 2020-05-04 12:34:13 +00:00
Bob Mottram fc141708a1 Show blog address from actor tags 2020-05-04 12:28:43 +01:00
Bob Mottram a72a3e6d14 Convert project names list to lower case 2020-05-02 12:45:15 +00:00
Bob Mottram 42280d9737 Set git project names list within profile 2020-05-02 12:44:41 +00:00
Bob Mottram 15ba6c3688 Fix warnings 2020-05-02 10:19:24 +00:00
Bob Mottram c79efe6d6f Restart the inbox queue when full 2020-04-27 10:41:38 +01:00
Bob Mottram 859fe460b9 Show onion address on about screen 2020-04-17 17:30:06 +01:00
Bob Mottram c73f4970c5 Expand return code range 2020-04-16 20:17:19 +01:00
Bob Mottram 9dbcf8f20e Tidying 2020-04-16 19:54:38 +01:00
Bob Mottram f86c7f461f Include port 2020-04-16 19:54:15 +01:00
Bob Mottram 32fe09eda8 Debug 2020-04-16 19:51:44 +01:00
Bob Mottram ecf886d3ed Reject posts from bad domains early 2020-04-16 19:49:16 +01:00
Bob Mottram f3723d4707 Less sleep in inbox queue 2020-04-16 19:25:59 +01:00
Bob Mottram ec519746e3 Bigger inbox queue 2020-04-16 17:47:33 +01:00
Bob Mottram c687d0ce52 Debug 2020-04-16 12:57:13 +01:00
Bob Mottram 607c0aa40e Tidying 2020-04-16 12:49:17 +01:00
Bob Mottram 553a6f25c1 Tidying 2020-04-16 12:48:00 +01:00
Bob Mottram 73a2b37696 Tidying 2020-04-16 11:28:56 +01:00
Bob Mottram 32bce7bfa1 Return 1 on failure 2020-04-16 11:27:55 +01:00
Bob Mottram ed1c986fe5 Return on zero 2020-04-16 11:20:13 +01:00
Bob Mottram 9a5e5c8dfc if 2020-04-16 11:16:00 +01:00
Bob Mottram d8aac0a273 Only send one response 2020-04-16 11:14:05 +01:00
Bob Mottram eb7ed65adb Remove authorized argument 2020-04-16 10:01:33 +01:00
Bob Mottram db8e703c40 Exit loop if not authorized 2020-04-16 09:55:53 +01:00
Bob Mottram 167b7926fd unquote 2020-04-15 11:57:04 +01:00
Bob Mottram 073444c55a Etags on background images 2020-04-13 21:59:56 +01:00
Bob Mottram 94bb081428 Use etags with cached avatars 2020-04-13 21:57:18 +01:00
Bob Mottram 377c47740b Don't set cache control twice 2020-04-13 21:18:45 +01:00
Bob Mottram 677b505013 Use etags on icons 2020-04-13 21:14:46 +01:00
Bob Mottram e08aa14c22 Cache control of one day 2020-04-13 20:58:29 +01:00
Bob Mottram 9c67f95869 Tidying 2020-04-13 20:44:01 +01:00
Bob Mottram 1c66f2fde7 Use etags on images 2020-04-13 20:28:35 +01:00
Bob Mottram 6009193a66 Convert plus 2020-04-11 14:51:10 +01:00
Bob Mottram 6195f4d0e5 Exclamation hex code 2020-04-11 13:45:03 +01:00