Commit Graph

187 Commits

Author SHA1 Message Date
Jan-Lukas Else 486bc3a250 Simplify http.go 2021-07-17 18:08:13 +02:00
Jan-Lukas Else 86825ea601 Simplify HTTP routing 2021-07-17 09:33:44 +02:00
Jan-Lukas Else caf21a07fd Improved timehandling (save everything as UTC) and new post status: unlisted and private 2021-07-14 15:44:57 +02:00
Jan-Lukas Else 4205fb173f Priorities for posts (pinned posts), comments on blogroll, stats and map & some refactorings and fixes 2021-07-12 16:19:28 +02:00
Jan-Lukas Else 09804d7640 Add map feature 2021-07-06 21:06:39 +02:00
Jan-Lukas Else b397015a06 Use autocert instead of certmagic (was broken) 2021-06-30 16:15:07 +02:00
Jan-Lukas Else 804ff1c221 Add optional database logging and add index for queue 2021-06-29 17:07:08 +02:00
Jan-Lukas Else 2437ed70d7 Vanity import path and listing of media files 2021-06-28 22:17:18 +02:00
Jan-Lukas Else 67f2b1fbdb Bug fixes, refactoring and other improvements 2021-06-18 14:32:03 +02:00
Jan-Lukas Else ad8bf087ca Use shutdowner library, improve logging, update deps 2021-06-17 16:34:57 +02:00
Jan-Lukas Else 1ef5b11310 Improve ActivityPub and Webmention verification 2021-06-15 22:20:54 +02:00
Jan-Lukas Else eb9a842a40 Fix 2021-06-11 08:24:41 +02:00
Jan-Lukas Else a2f5ddbdcf Improve method to get relative and full addresses (first unit tests!) 2021-06-10 22:10:13 +02:00
Jan-Lukas Else 4f1c07957d Allow to retrieve opensearch.xml with private mode 2021-06-09 23:08:01 +02:00
Jan-Lukas Else 9242305be4 Open Search 2021-06-09 22:44:22 +02:00
Jan-Lukas Else 9714d65679 Big refactoring: Avoid global vars almost everywhere 2021-06-06 14:39:42 +02:00
Jan-Lukas Else deb3189673 Verify mention: Check if URL is present and if it is present, check if it is correct
Also add option to reverify a mention
2021-05-23 20:11:48 +02:00
Jan-Lukas Else 1898536bf1 Allow to delete notifications 2021-05-15 08:51:48 +02:00
Jan-Lukas Else a21f48c309 Persistent cache for blogroll and stats 2021-05-10 17:37:34 +02:00
Jan-Lukas Else bfee141015 Promote Tor 2021-05-09 14:42:53 +02:00
Jan-Lukas Else 59e491ee0a Improve blogstats and load table using JS (because it's slow) 2021-05-09 09:08:31 +02:00
Jan-Lukas Else 1ef34889ae Add native blogroll integration 2021-05-08 21:22:48 +02:00
Jan-Lukas Else 705f02b7ef Rework shutdown mechanism 2021-05-07 16:14:15 +02:00
Jan-Lukas Else 9d63d0632e Add config options to disable sending and receiving of webmentions 2021-04-23 19:36:57 +02:00
Jan-Lukas Else 06a1a0cdde Command "check" to check for broken external links and improve graceful shutdown 2021-04-03 15:39:43 +02:00
Jan-Lukas Else 33684a7940 Various changes (SRI for JS, HTTP server init, ect.) 2021-04-02 10:28:04 +02:00
Jan-Lukas Else 7f8ea2d94b Improve HTTP handling (timeouts etc.) 2021-03-31 09:29:52 +02:00
Jan-Lukas Else eb5675f0b0 Fix ActivityStreams, only serve AS on desired paths 2021-03-23 07:27:12 +01:00
Jan-Lukas Else c4baa47456 Reduce amount of middleware initializations when rebuilding router 2021-03-22 15:57:29 +01:00
Jan-Lukas Else 610113e9c9 Add heartbeat endpoint and improve dockerfile 2021-03-22 10:25:43 +01:00
Jan-Lukas Else bbbabdb335 Improve http router setup (use middlewares instead of custom functions) 2021-03-22 08:20:56 +01:00
Jan-Lukas Else 58586fb9a7 Start restructuring router building 2021-03-19 13:04:11 +01:00
Jan-Lukas Else e5117779cc Use RWMutex instead of atomic value 2021-03-19 11:26:45 +01:00
Jan-Lukas Else ded4294c45 Add support for Tor 2021-03-19 10:10:47 +01:00
Jan-Lukas Else 94cc221625 Added regular garbage collection 2021-03-13 13:17:42 +01:00
Jan-Lukas Else 5aa04ba366 Collect garbage after cache clear and reloading router 2021-03-12 08:57:40 +01:00
Jan-Lukas Else d9afd0cb49 Fix 2021-03-10 18:49:32 +01:00
Jan-Lukas Else 41083cfb31 Add some Server-Timing informations 2021-03-10 18:47:56 +01:00
Jan-Lukas Else 826a672bae Improve handler initialization 2021-03-10 18:08:20 +01:00
Jan-Lukas Else 8fb6d8e177 Update dependencies 2021-03-03 18:19:55 +01:00
Jan-Lukas Else e25199b2a3 Private mode 2021-02-27 08:31:06 +01:00
Jan-Lukas Else b81f890120 Login, Logout and show update and delete below posts 2021-02-24 16:01:10 +01:00
Jan-Lukas Else 243d695bf4 Small things 2021-02-24 13:16:33 +01:00
Jan-Lukas Else e74afac829 Show admin links when logged in 2021-02-20 23:35:16 +01:00
Jan-Lukas Else be929058cf Save notifications to DB, Notificationsadmin 2021-02-20 15:42:45 +01:00
Jan-Lukas Else 175c78624b Comments Admin pagination 2021-02-17 16:07:42 +01:00
Jan-Lukas Else 58f41085dd Add CSP and rework speak.js 2021-02-16 21:27:52 +01:00
Jan-Lukas Else 99789efcd3 Various improvements; Remove Hugo import API; Add feeds for photos 2021-02-16 16:26:21 +01:00
Jan-Lukas Else 82ace66544 Small improvements 2021-02-15 21:35:05 +01:00
Jan-Lukas Else 78f3d3c07b Add pagination to Webmention Admin 2021-01-30 19:37:26 +01:00
Jan-Lukas Else 72f676dda2 Add comment functionality 2021-01-23 17:24:47 +01:00
Jan-Lukas Else 6a0eda2184 Update + get rid of a few dependencies 2021-01-21 17:59:47 +01:00
Jan-Lukas Else dafcace8db cache path redirects and improve regexredirects 2021-01-21 17:08:11 +01:00
Jan-Lukas Else c73e53ce3c Add config option to enable redirect to random post 2021-01-20 13:38:24 +01:00
Jan-Lukas Else 89b48b1d37 One editor per blog 2021-01-17 12:53:07 +01:00
Jan-Lukas Else e0ad125d93 Fix middleware for drafts 2021-01-15 22:05:01 +01:00
Jan-Lukas Else d1850300e5 Drafts 2021-01-15 21:56:46 +01:00
Jan-Lukas Else abe1f39ea4 Disable cache for static and media files, serve template assets directly from memory 2021-01-10 17:19:08 +01:00
Jan-Lukas Else 4c87a95e73 Local media storage 2021-01-10 15:59:43 +01:00
Jan-Lukas Else 37f36678b2 Add blog stats with posts per year 2021-01-04 20:29:49 +01:00
Jan-Lukas Else a34dc887b0 Add archives for months and months + days 2020-12-26 20:40:22 +01:00
Jan-Lukas Else efce703f33 Add config for short domains 2020-12-24 11:00:16 +01:00
Jan-Lukas Else 9e4a03549f Improve error rendering 2020-12-24 10:09:34 +01:00
Jan-Lukas Else 818a1c23c2 Use static home page 2020-12-23 16:53:10 +01:00
Jan-Lukas Else afcbf69e7d Serve files in "static" folder 2020-12-23 14:11:14 +01:00
Jan-Lukas Else 9da9e37f32 Short URLs 2020-12-22 22:15:29 +01:00
Jan-Lukas Else 75a960e975 Update chi 2020-12-22 20:29:25 +01:00
Jan-Lukas Else 39e999acca Simplify webmention routing 2020-12-19 11:06:55 +01:00
Jan-Lukas Else 74d02b00bd Login form with JWT 2020-12-15 17:40:14 +01:00
Jan-Lukas Else c8df151c57 Add year and month archives 2020-12-13 15:16:47 +01:00
Jan-Lukas Else e8690c52e9 http router fixes 2020-12-13 11:01:57 +01:00
Jan-Lukas Else eeb68dbba9 Add editor to create, update or delete posts 2020-12-12 23:44:03 +01:00
Jan-Lukas Else db1c4901c7 Update IndieAuth (w/o PKCE for now) 2020-12-09 17:25:09 +01:00
Jan-Lukas Else 8fd3fd07cc Rotate logs and cache assets too 2020-11-26 17:40:40 +01:00
Jan-Lukas Else f3248ccf51 Add support for nodeinfo 2020-11-17 17:10:14 +01:00
Jan-Lukas Else 3a866fb3c0 Custom webmention sending implementation and other improvements 2020-11-16 18:34:29 +01:00
Jan-Lukas Else 764c9f7536 Full text search 2020-11-15 11:34:48 +01:00
Jan-Lukas Else 10b71871ec Change response codes for activitypub inbox 2020-11-13 21:29:09 +01:00
Jan-Lukas Else 24cd596348 Remove local https, use certmagic for public https, improve hooks (no empty output) and improve webmentions (admin and ascending order on posts) 2020-11-11 16:58:44 +01:00
Jan-Lukas Else c6d25c0385 Fix photos 2020-11-10 16:48:59 +01:00
Jan-Lukas Else 5a284ab286 Fix chi routing rawpath 2020-11-10 16:40:22 +01:00
Jan-Lukas Else 902f0f55e8 Fixes 2020-11-10 07:45:32 +01:00
Jan-Lukas Else 352c0f4d82 Reimplement redirects 2020-11-09 18:33:56 +01:00
Jan-Lukas Else 5b9ac19cb8 Add some features, improve database handling & performance, robots.txt and more 2020-11-09 16:40:12 +01:00
Jan-Lukas Else 5ea44630d7 Webmentions, Telegram Notifications, etc. 2020-11-06 18:45:31 +01:00
Jan-Lukas Else 5bc95ef807 Redirect to slash-free path 2020-11-05 17:06:42 +01:00
Jan-Lukas Else 1e7dd17f1a Log to file in combined format 2020-11-03 18:58:32 +01:00
Jan-Lukas Else f300c3d498 Improve templates and stuff 2020-11-01 18:37:21 +01:00
Jan-Lukas Else d13b0a5394 Add basic ActivityPub support and other things 2020-10-26 17:37:31 +01:00
Jan-Lukas Else 77f6a53a7e Add garbage collection to cache and cache redirects 2020-10-19 23:33:08 +02:00
Jan-Lukas Else a3c6ba832e Massively improve cache using singleflight and storing cacheitems in memory 2020-10-19 23:02:57 +02:00
Jan-Lukas Else a2190306da Add HTTP compression 2020-10-19 21:09:51 +02:00
Jan-Lukas Else 92e508d5cf Update dependencies, minify sitemap 2020-10-17 17:36:18 +02:00
Jan-Lukas Else 5652fab725 Add basic security headers 2020-10-16 15:35:38 +02:00
Jan-Lukas Else a78883a679 Regex path redirects 2020-10-15 20:54:43 +02:00
Jan-Lukas Else dff1da6f68 Simplify routing code a bit 2020-10-15 19:50:34 +02:00
Jan-Lukas Else 91b094053f Replace certmagic with autocert and use database to store certs 2020-10-15 17:02:58 +02:00
Jan-Lukas Else a3668baf10 Micropub media endpoint 2020-10-14 21:20:17 +02:00
Jan-Lukas Else 9e97ec3a2b Micropub get, update, delete (with scopes), and some other fixes 2020-10-14 18:23:56 +02:00
Jan-Lukas Else e611a5008d IndieAuth server 2020-10-13 21:35:39 +02:00