Commit Graph

127 Commits

Author SHA1 Message Date
Jonathan.Street 267ce249c1 Inclusive language update (allowlist/denylist). 2023-03-01 16:06:17 +00:00
Wouter Groeneveld 63f410d106 replaced github links with correct ones 2023-02-01 10:49:33 +01:00
Wouter Groeneveld 4c2326b887 implement repost-of microformat + test against brid.gy twitter example 2022-07-01 11:55:34 +02:00
Wouter Groeneveld 92252f8bc9 wmio import: also trim name and add extra tests 2022-06-22 21:28:55 +02:00
Wouter Groeneveld 6503037098 wmio import: in case of silo domains, use url instead of src 2022-06-22 21:19:44 +02:00
Wouter Groeneveld 989495a18e webmention.io import functionality implementation 2022-06-22 15:19:53 +02:00
Wouter Groeneveld fb5ba20292 webmention.io import functionality funadmentals 2022-06-22 14:09:25 +02:00
Wouter Groeneveld ec6d61b221 rss endpoint implementation as suggested by Chris 2022-06-21 11:35:52 +02:00
Wouter Groeneveld 3be4b23159 fix microformat parse author name if h-card is next to name in h-entry 2022-05-18 08:59:15 +02:00
Wouter Groeneveld d2cffd68b0 fix webmention validation content-type with charset would fail 2022-05-16 14:47:04 +02:00
Wouter Groeneveld 56b84125c4 loosen up ratelimiter to take requestUri into account 2022-05-07 14:49:19 +02:00
Wouter Groeneveld 8d415d022c fix microformat parsing author name fails for complicated mf 2022-05-04 16:12:10 +02:00
Wouter Groeneveld f61bda5c5a fix domain extraction from .co.uk using publicsuffix 2022-05-03 11:34:25 +02:00
Wouter Groeneveld 522cc3d746 fix tests that were dependent on default values of config 2022-04-29 09:34:45 +02:00
Wouter Groeneveld a9fd1542e9 use more general defaults in config 2022-04-29 08:36:36 +02:00
Wouter Groeneveld 45ff736001 also notify when received from whitelist 2022-04-28 09:28:16 +02:00
Wouter Groeneveld bf018eafe8 remove unneeded utcOffset in config: only used to create new time instance when parsing failes. update deps 2022-04-27 09:28:25 +02:00
Wouter Groeneveld 3f1ece1c39 fix HREF parsing to limit to <a/> tags only (case insensitive) 2022-04-26 14:44:08 +02:00
Wouter Groeneveld eec2ed69f8 vangen update pkgs 2022-04-24 16:34:52 +02:00
Wouter Groeneveld f1ac5a9602 do not hardcode e-mail addresses, update readme 2022-04-24 16:25:00 +02:00
Wouter Groeneveld 0652aa73d4 updated notification mail to use HTML template. Ready for tag v2.0.0 2022-04-24 16:10:59 +02:00
Wouter Groeneveld e361567eed admin html dashboard and handler test 2022-04-24 13:27:42 +02:00
Wouter Groeneveld 6cc83620ba mail notifier, admin wrappers endpoints, first impl done 2022-04-23 21:27:43 +02:00
Wouter Groeneveld 2e504eaa65 foundations for approve/reject system, /admin router endpoints 2022-04-23 11:35:53 +02:00
Wouter Groeneveld 3ec6694757 refactor out conString; create a db wrapper for mentions in moderation 2022-04-23 10:00:00 +02:00
Wouter Groeneveld 9d08d35576 slightly simplify content-type check: just make sure XML is there 2022-04-20 14:55:55 +02:00
Wouter Groeneveld f57a53e1b1 take proper RSS/Atom Content-Type headers into account 2022-04-20 11:24:02 +02:00
Wouter Groeneveld d0eddc3047 another attempt at fighting spam 2022-04-18 10:18:00 +02:00
Wouter Groeneveld 2b3e3f9b22 added licence 2021-10-16 12:04:09 +02:00
Wouter Groeneveld e9817549f6 implement auto-discovering of rss endpoints besides /index.xml 2021-05-20 16:09:46 +02:00
Wouter Groeneveld f503ea8c27 install links updated 2021-05-17 08:43:55 +02:00
Wouter Groeneveld e64ada6b71 installation instructions separated 2021-05-17 08:34:45 +02:00
Wouter Groeneveld cc35510194 github release workflow 2021-05-16 11:09:40 +02:00
Wouter Groeneveld 3b58d2031f json encoding of result: [] instead of null if empty 2021-05-09 20:52:07 +02:00
Wouter Groeneveld b7a12b427f implement blacklisting and wm deleting if needed 2021-05-02 11:40:45 +02:00
Wouter Groeneveld 255fea17e0 remove since and simply check <link/> tags in rss feed. fixes time difference bugs 2021-05-02 09:41:13 +02:00
Wouter Groeneveld 1f38a42c77 if no picture found in microformat data, revert to anonymous pic 2021-05-01 20:37:52 +02:00
Wouter Groeneveld c5dcb45de9 anonymize mentions coming from silos such as brid.gy 2021-05-01 20:22:56 +02:00
Wouter Groeneveld 40ae44b2fd sanitize receiving publication dates, this caused yet another crash... 2021-04-26 11:15:11 +02:00
Wouter Groeneveld 2812130d75 just to be sure: recover from panics in processSourceBody()! 2021-04-25 15:45:00 +02:00
Wouter Groeneveld 529bf932b8 fix unable to receive wm from wordpress-wm plugin with unusual author hcard microformat 2021-04-25 15:11:16 +02:00
Wouter Groeneveld dd5dca5d98 webmention.rocks test case 23: redirects and relative paths 2021-04-25 12:48:05 +02:00
Wouter Groeneveld 8779eb01ee webmention.rocks unit tests and fixes 2021-04-25 12:18:31 +02:00
Wouter Groeneveld ceabec241a fix non-pointer author pic change 2021-04-23 11:27:43 +02:00
Wouter Groeneveld d54fe42ec7 profiling tests to fiddle with pprof just for fun 2021-04-23 09:39:49 +02:00
Wouter Groeneveld f964c7442f built-in genuine image checker based on byte headers 2021-04-22 16:03:03 +02:00
Wouter Groeneveld f90af3b076 built-in genuine image checker based on byte headers 2021-04-22 16:02:59 +02:00
Wouter Groeneveld 3d3f17590e had a "Go" at golangci-lint run and fixed a few hickups"
"
2021-04-20 20:08:07 +02:00
Wouter Groeneveld 80bc4dfe59 update readme 2021-04-20 10:03:50 +02:00
Wouter Groeneveld 1181b9e1fe HttpClient now has a built-in max response size check 2021-04-20 09:53:17 +02:00