Aaron Parecki
3b8b3d6911
don't send self-mentions using target_domain feature
8 years ago
Aaron Parecki
d993c7afc1
fix up http classes
8 years ago
Aaron Parecki
8fc820167c
decode JSON input from superfeedr
8 years ago
Aaron Parecki
195b827e0d
log input received from superfeedr
8 years ago
Aaron Parecki
8c32594374
replace test data with an actual Superfeedr payload
8 years ago
Aaron Parecki
a54aa8e0c7
adds API route to handle Superfeedr payload
* new API route to handle Superfeedr notification of a mention
* sends webmentions to all URLs on the target domain of the notification
* adds "url" column to sites to specify the domain to use for superfeedr pings
* includes database migration
8 years ago
Aaron Parecki
c443484141
fix sending a single target parameter
8 years ago
Ryan Barrett
39e628d5b6
target_domain bug fix: require exact parent domain in subdomain check
8 years ago
Aaron Parecki
3b40a47aac
add test data
8 years ago
Aaron Parecki
1a20005c71
don't compare host on relative URLs
also adds test for ensuring other webmentions aren't sent when using target_domain
8 years ago
Aaron Parecki
b9bbf5b442
add email address target to the test
8 years ago
Ryan Barrett
82b26d15fe
add new optional target_domain parameter to /webmention endpoint. for #2
when used instead of target, finds all links to the target domain and subdomains, enqueues webmentions for them all, and returns all status URLs in the response's 'location' field. the HTTP Location header is omitted.
8 years ago
Ryan Barrett
16a3cdd8c9
fix callback param URL validation
8 years ago
Aaron Parecki
a711422b7e
implement status API
9 years ago
Aaron Parecki
bb66b07d57
post status updates to the callback URL
9 years ago
Aaron Parecki
83f84154b2
add tests for webmention
* also stores the webmention status URL
* tests that the webmention/pingback and status endpoints are stored in the database
9 years ago
Aaron Parecki
57b3c34695
processor sends webmention with one test
9 years ago
Aaron Parecki
036e69b12b
adds tests for processing pingbacks
9 years ago
Aaron Parecki
01bc6a8962
beginning API
* API validates and accepts requests and writes to the DB
* tests check all API responses
9 years ago