pub icon indicating copy to clipboard operation
pub copied to clipboard

pub, a tiny ActivityPub to Mastodon bridge

Results 9 pub issues
Sort by recently updated
recently updated
newest added

I want to create SQLite database: ``` root@freebsd:~ # ~/go/bin/pub auto-migrate --dsn "pub.db" time=2023-12-15T08:46:17.596+03:00 level=INFO msg="setting all in_reply_to_id to null if the parent status does not exist" 2023/12/15 08:46:17 /root/go/pkg/mod/github.com/davecheney/[email protected]/automigrate.go:21...

Actor's AfterUpdate log shows that only actor's ID has a value. This happens after updateFollowersCount/Following where a single column update is performed (I haven't checked all AfterUpdates yet.)

I am getting a 401 from servers. I noticed that `id` are gone from posted activities (they were previously uuid). This might be it??

I just noticed that the first follow this template `https://%s/u/%s` ([here](https://github.com/davecheney/pub/blob/75df84eb28ebc9a36295715e83c5495f0917d668/models/status.go#L243)) whereas the second => `https://%s/users/%s/%d` ([here](https://github.com/davecheney/pub/blob/75df84eb28ebc9a36295715e83c5495f0917d668/models/account.go#LL121C31-L121C46)) and I was wondering if this was intentional or just an oversight when...

When it is not named after [the owner’s type name plus its primary field name](https://gorm.io/docs/belongs_to.html#Override-Foreign-Key). Fixes #18.

Hi, That's probably a "gorm magic" issue and I really have no idea how to solve it. Check my test server (https://none.com/api/v1/instance/). You'll see that email, contact_account is myself although...

There is some missing parts with validation during `delete actor` request processing and with simple modification it's possible to remove any actor owned by `pub`. This could be done just...

The "@" case calls finger without prefixing with "acct:" (done in the url case) leading to an error. I see also an issue when you transform the ActivityPub URI `https://somedomain.org/someuser`...

Hey Dave. 👋 It looks like `pub` doesn't have `trends` endpoints. Request sample: ``` GET /api/v1/trends/statuses HTTP/1.1 User-Agent: Mastodon/224 CFNetwork/1335.0.3 Darwin/21.6.0 .... ``` Response sample: ``` HTTP/1.1 404 Not Found...