1
mirror of https://github.com/jlelse/GoBlog synced 2024-06-15 10:47:08 +00:00
Commit Graph

47 Commits

Author SHA1 Message Date
6e3fedeb20 Use cmp.Or 2024-04-22 15:49:22 +02:00
ad7536034a Use slog 2023-12-27 11:37:58 +01:00
720fc62919 Create and use a strings.Builder pool
This will probably make no big difference, but let's give it a try
2023-01-24 16:49:33 +01:00
e8a5e9eb0e More strings.Builder and io.Pipe 2023-01-24 14:30:53 +01:00
6bfaf16e25 Automatically fetch reply and like title
(Updates #45)
2022-12-14 14:56:27 +01:00
e005cda096 Rework activitypub using library and support replies using the comment system 2022-11-23 22:16:56 +01:00
2158b156c5 Basic (experimental) plugin support with two plugin types (exec and middleware) 2022-08-09 17:47:53 +02:00
c38c5e8ed9 Fix webmention 2022-03-28 18:02:16 +02:00
474155306d Go 1.18 2022-03-16 08:28:03 +01:00
856b504877 More pooled buffers, benchmarks and optional pprof server 2022-02-23 21:33:02 +01:00
337392112b Add support for undeleting posts within 7 days (#3) 2022-01-03 13:56:27 +01:00
4015bdba74 Reject webmentions where target equals source 2021-12-08 11:08:33 +01:00
affa7d7d54 Fix: Don't return mentions when no address provided 2021-11-22 16:56:40 +01:00
659d6dcea3 Support bridgy 2021-11-19 22:17:15 +01:00
974892e3e5 Fix 405 on HEAD requests, improve webmention verification 2021-11-19 17:36:03 +01:00
54656dacc7 Prevent infinite recursion 2021-11-19 06:27:43 +01:00
5760355769 Show comment threads 2021-11-18 22:56:30 +01:00
232aed2398 Improve webmention verification 2021-11-10 19:24:54 +01:00
2bf98dddaa Use Golang toLower func for lower in queries, add webmention tests 2021-08-09 13:09:45 +02:00
636948103a Add debug logs to webmentions 2021-08-03 21:32:02 +02:00
6429d64b0a Use more strings.Builder instead of += for building queries etc. (more efficient) 2021-07-23 17:26:14 +02:00
caf21a07fd Improved timehandling (save everything as UTC) and new post status: unlisted and private 2021-07-14 15:44:57 +02:00
4e6afb8cc5 Another fix for webmentions 2021-06-30 08:04:30 +02:00
597dc35470 Fix webmention verification 2021-06-29 23:19:58 +02:00
2437ed70d7 Vanity import path and listing of media files 2021-06-28 22:17:18 +02:00
67f2b1fbdb Bug fixes, refactoring and other improvements 2021-06-18 14:32:03 +02:00
9714d65679 Big refactoring: Avoid global vars almost everywhere 2021-06-06 14:39:42 +02:00
29dba59574 Improve database usage 2021-05-29 13:32:00 +02:00
a4c145e68c Fix hooks 2021-05-24 12:54:43 +02:00
b5faa6bbb2 Only wait with queue processing if queue is empty 2021-05-24 10:44:43 +02:00
0dd256579a Add option to query webmentions with source (using like) 2021-05-24 10:09:37 +02:00
bc1a978793 SQLite based queue (option to reschedule item in queue) 2021-05-24 09:12:46 +02:00
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
9d63d0632e Add config options to disable sending and receiving of webmentions 2021-04-23 19:36:57 +02:00
175c78624b Comments Admin pagination 2021-02-17 16:07:42 +01:00
424d1e9944 Fix lint errors 2021-02-08 18:51:07 +01:00
78f3d3c07b Add pagination to Webmention Admin 2021-01-30 19:37:26 +01:00
72f676dda2 Add comment functionality 2021-01-23 17:24:47 +01:00
d1850300e5 Drafts 2021-01-15 21:56:46 +01:00
efce703f33 Add config for short domains 2020-12-24 11:00:16 +01:00
9e4a03549f Improve error rendering 2020-12-24 10:09:34 +01:00
39e999acca Simplify webmention routing 2020-12-19 11:06:55 +01:00
004c4fd2c1 Verify webmentions using a queue 2020-11-25 12:36:14 +01:00
baf9c63e56 Purge cache after webmention approved / deleted via admin 2020-11-22 13:20:48 +01:00
8332d7ee43 Make hooks a bit more modular 2020-11-17 22:10:13 +01:00
eed86794ff Improve webmentions 2020-11-17 20:01:02 +01:00
3a866fb3c0 Custom webmention sending implementation and other improvements 2020-11-16 18:34:29 +01:00