Add support for real-time feed fetching using WebSub #857

Merged
prologic merged 42 commits from websub into main 3 months ago
Owner

Closes #676

Closes #676
prologic added 1 commit 3 months ago
e34fb9d1eb
Add support for real-time feed fetching using WebSub
prologic added 1 commit 3 months ago
b6c539a7ca
Forgot to initialize websub processor
prologic added 1 commit 3 months ago
9e20d92835
Forgot a nil check in IsSubscribed()
prologic added 1 commit 3 months ago
65abe7baf9
Fix error logging
prologic added 1 commit 3 months ago
39542e72d2
Forgot to add self link
prologic added 1 commit 3 months ago
d39a034ef0
Fix syntax error
prologic added 1 commit 3 months ago
cc00d98026
Fix name of rel= link for websub
prologic added 1 commit 3 months ago
prologic added 1 commit 3 months ago
bcdbcce7a7
Fix GetHubEndpoint()
prologic added 1 commit 3 months ago
ae67b9cbea
Fix Cache dtection of rel=hub feeds
prologic added 1 commit 3 months ago
474daa26cb
Forgot to initialize verify channels
prologic added 3 commits 3 months ago
prologic added 1 commit 3 months ago
10734e7139
Fix how notifications are made
prologic added 2 commits 3 months ago
prologic added 1 commit 3 months ago
89f269bda2
Fix /notify route
prologic added 1 commit 3 months ago
81208552d9
Refactor Cache handling
prologic added 1 commit 3 months ago
ff34fdd114
Actually implemented processNotification()
prologic added 1 commit 3 months ago
f0023cc028
Fix syntax error
prologic added 1 commit 3 months ago
4866fb375f
Don't subscribe if we're already subscribed
prologic added 1 commit 3 months ago
95825cf40d
Forgot to create the Subscription object
prologic added 1 commit 3 months ago
a43b4c59fd
Fix status for accepting subscirption request
prologic added 1 commit 3 months ago
c24dbf7013
Whatever
prologic added 1 commit 3 months ago
34c9d87285
Fix Dockerfilfe
prologic added 1 commit 3 months ago
5e93d1c518
Force feed refresh on receipt of websub notification
prologic added 1 commit 3 months ago
2e7529dc89
Add cleanup goroutine
prologic added 1 commit 3 months ago
cc567c7214
Guard against nil callbackURL
prologic added 1 commit 3 months ago
ffc1f9d526
Be more idempotent when handling websub requests
prologic added 1 commit 3 months ago
bee9efdddf
Fix some more crap
prologic added 1 commit 3 months ago
8665d92ef4
Fix a nil pointer bug
prologic added 1 commit 3 months ago
1a202c8c0e
Missed a few more things :/
prologic added 1 commit 3 months ago
a0786fdc66
Bah humbug
prologic added 1 commit 3 months ago
9291a63c72
Use http.StatusAccepted
prologic added 1 commit 3 months ago
35e8e20a1d
Fix cleanup bug
prologic added 1 commit 3 months ago
8a561522c1
Add debug endpoint for websub
prologic added 1 commit 3 months ago
db5d77ea9f
Fix debug endpoint
prologic added 1 commit 3 months ago
ec4acb31c8
Refactor url handling
prologic added 1 commit 3 months ago
e9ab9a647b
Fix all the thigns
prologic added 1 commit 3 months ago
a9a7598b3c
Wrong method :/
prologic added 1 commit 3 months ago
e7696c7235
Bah I suck, I should stop coding late at night :/
prologic merged commit 5f8ed906e1 into main 3 months ago
prologic deleted branch websub 3 months ago
xuu reviewed 3 months ago
"github.com/gomarkdown/markdown/parser"
"github.com/james4k/fmatter"
"github.com/julienschmidt/httprouter"
sync "github.com/sasha-s/go-deadlock"
xuu commented 3 months ago
Owner

Is this a drop in replacement of sync? What does it bring over the stdlib?

Is this a drop in replacement of sync? What does it bring over the stdlib?
Poster
Owner

It is. and I configured it with deadlock tracing when in debug mode -D, otherwise in production mode ie behaves the same as sync and has little to no performance differences. It's quite a useful tool for tracking down stupid deadlocks in your code :)

It is. and I configured it with deadlock tracing when in debug mode `-D`, otherwise in production mode ie behaves the same as `sync` and has little to no performance differences. It's quite a useful tool for tracking down stupid deadlocks in your code :)
prologic marked this conversation as resolved
xuu approved these changes 3 months ago

Reviewers

xuu approved these changes 3 months ago
continuous-integration/drone/pr Build is passing
The pull request has been merged as 5f8ed906e1.
Sign in to join this conversation.
Loading…
There is no content yet.