Matt Baer
fbf505cff0
Merge branch 'develop' into archive-page
2025-01-24 15:40:25 -05:00
Matt Baer
eca7bcda0a
Fix comment in activitypub.go
2024-12-01 18:30:32 -05:00
Matt Baer
6b4179fa01
Fix INSERT remote_likes query for SQLite
2024-12-01 18:15:58 -05:00
Matt Baer
76818287d6
Add Archive page for all blogs
...
This adds a special page at `blog-url/archive/` that lists all posts
on a blog in descending order.
It includes stylesheet changes. Update with `make ui`.
Ref T873
2024-10-22 15:56:14 -04:00
Matt Baer
8193a41082
Fix post ID extraction regex, actually
...
Ref T906
2024-10-21 12:37:37 -04:00
Matt Baer
1b20d3704f
Catch errors around Like/Unlike actions
...
Previously, we'd get nil panics or insert blank post IDs
Ref T906
2024-10-21 12:23:39 -04:00
Matt Baer
9c0a2f8b13
Fix post ID extraction regex
...
Ref T906
2024-10-21 12:18:21 -04:00
Matt Baer
7f1cc6bf8f
Support un-liking posts from the fediverse
...
Ref T906
2024-10-21 11:40:18 -04:00
Matt Baer
0ce5d3ba26
Accept Like activities from the fediverse
...
This includes database changes; update with `writefreely db migrate`.
Ref T906
2024-10-21 11:28:35 -04:00
CDN18
69eb4d6b0a
fix: do second actor deref from main-key endpoint against publickey.Owner
2024-06-10 13:57:22 +08:00
Matt Baer
45ca9c4c2b
Merge pull request #781 from writefreely/fix-updates-masto
...
Ensure Update activities work with Mastodon
2023-10-23 12:49:30 -04:00
Matt Baer
dd797c8145
Add missing methods for showing fediverse followers
...
Fixes #791
2023-10-13 16:45:12 -04:00
Matt Baer
273267343a
Ensure Updated property can be omitted
...
Now, the web-core pkg uses a pointer instead of a var, so we don't send
a zero time.Time value out via ActivityPub.
2023-10-02 21:35:23 -04:00
Matt Baer
167971771e
Send updated
parameter with Update
activities
...
Per the Mastodon docs, this ensures the activity correctly updates posts there.
https://docs.joinmastodon.org/spec/activitypub/#supported-activities-for-statuses
2023-10-02 19:33:03 -04:00
Matt Baer
96eb800eaa
Merge pull request #730 from testwill/loop
...
chore: slice replace loop
2023-09-22 13:01:36 -04:00
Matt Baer
177cbf2e57
Merge pull request #728 from testwill/ioutil
...
chore: remove refs to deprecated io/ioutil
2023-09-22 13:00:41 -04:00
Matt Baer
264bef03b1
Support rel=me verification on blogs
...
This allows setting a URL, and then renders a <link> element
in the head of the blog. It requires a database migration.
Ref T744
2023-09-21 19:04:34 -04:00
guoguangwu
78e59b749b
chore: slice replace loop
2023-07-11 12:17:34 +08:00
guoguangwu
cf53730f6c
chore: remove refs to deprecated io/ioutil
2023-07-10 17:55:04 +08:00
Matt Baer
d08f067e9c
Change copyright notices to Musing Studio LLC
...
A Bunch Tell is now Musing Studio.
2022-11-10 23:49:16 -05:00
Matt Baer
61974fadc0
Merge branch 'develop' into remove-nerds-dep
2021-04-19 16:18:33 -04:00
Matt Baer
4228761eb3
Merge pull request #431 from Dak425/stop-federating-protected-and-private-blogs
...
Stop private and protected blogs from federating
2021-04-07 10:54:28 -04:00
Donald Feury
68297acb74
Moved guard clauses to stop federation before debug logging
2021-04-07 11:27:25 -04:00
Matt Baer
64f1d71524
Remove writeas/nerds/store dependency
2021-03-30 12:49:12 -04:00
Matt Baer
9b336dee8c
Fix instance-wide actor lookup
...
This skips the silenced-user check.
Ref T820
2021-03-08 12:54:50 -05:00
Matt Baer
9aeeb52bdb
Fix nil pointer on instance-wide actor lookup
...
Ref T820
2021-03-08 12:50:08 -05:00
Matt Baer
9484880bca
Sign actor fetch request
...
This fixes federation with Mastodon instances that have Authorized
Fetch turned on by signing the GET request to fetch the actor when
a blog is first followed.
Ref T820
2021-03-08 11:43:38 -05:00
Donald Feury
e6417d911c
Stop private and protected blogs from federating
...
Fixes #403
2021-01-27 19:39:46 -05:00
Matt Baer
95273697f4
Use consistent server User-Agent across application
2020-08-18 12:22:04 -04:00
Matt Baer
507acc7e1c
Support AP-style mentions of centralized social media accounts
...
This allows users to mention users on the following non-ActivityPub
social media sites:
- twitter.com
- medium.com
It also adds missing error handling in federatePost().
2020-06-08 13:50:43 -04:00
Matt Baer
9d854c17c1
Only log "No to!" when debugging
...
Fixes #311
2020-05-15 13:48:20 -04:00
Matt Baer
5e4ed5d9bc
Remove extraneous @context fields on AP outbox
2020-04-15 12:30:50 -04:00
Matt Baer
9dbba9d8c7
Make handle
column in remoteusers NULL
...
This alters the V6 migration to make the column NULLable. Anyone who has already run this migration will need to manually update their database.
2020-03-24 07:59:00 -04:00
Matt Baer
8e8eb3c563
Merge pull request #260 from writeas/fix-deletion-pleroma
...
Fix post deletion on Pleroma
2020-02-19 09:59:25 -05:00
Matt Baer
ab2b8dff7f
Merge pull request #249 from writeas/fix-activitypub-client
...
Improve resource use for federation
2020-02-09 12:03:00 -05:00
Matt Baer
468bbf2187
Merge branch 'develop' into rename-account-suspend
2020-02-09 11:14:14 -05:00
Matt Baer
fe82cbb96e
Fix post deletion on Pleroma
...
See: https://git.pleroma.social/pleroma/pleroma/issues/1481
Fixes #223
2020-02-08 15:19:06 -05:00
Matt Baer
9589612d0e
Add TODOs for improving GetProfilePageFromHandle()
2020-02-08 13:05:54 -05:00
Matt Baer
68d63d3fef
Merge branch 'develop' into activitypub-mentions
2020-02-08 11:51:18 -05:00
Matt Baer
ff33c59f27
Merge pull request #180 from writeas/cache-control
...
Add Cache-Control headers on AP endpoints
Closes T693
2020-01-31 12:00:47 +01:00
Matt Baer
bf8dcff01e
Quit AP goroutine early when there's no "to"
...
Previously, we'd sleep for 2 seconds and then return for no reason. This
fixes that.
2020-01-27 09:23:50 -05:00
Matt Baer
8d3e755c8f
Return pointer to http.Client in activityPubClient()
2020-01-23 12:03:23 -05:00
Matt Baer
bc9843dfa3
Add timeout on ActivityPub requests
2020-01-23 11:47:35 -05:00
Matt Baer
d8df15855c
Merge branch 'develop' into activitypub-mentions
2019-11-26 13:19:20 -05:00
Rob Loranger
7e014ca659
Rename Suspend status to Silence
...
This changes all variables and functions from using Suspend{ed} to using
Silence{d} as well as documentation, errors and logging.
2019-11-11 15:25:19 -08:00
Matt Baer
53586d9cb8
Merge branch 'develop' into T661-disable-accounts
2019-11-12 01:46:37 +09:00
Matt Baer
fcf074cf40
Merge pull request #166 from writeas/159-follow-panic
...
fix panic on duplicate remoteuser key
2019-11-07 12:26:57 +09:00
Rob Loranger
f85f0751a3
address PR comments
...
- update error messages to be correct
- move suspended message into template and include for other pages
- check suspended status on all relevant pages and show message if
logged in user is suspended.
- fix possible nil pointer error
- remove changes to db schema files
- add version comment to migration
- add UserStatus type with UserActive and UserSuspended
- change database table to use status column instead of suspended
- update toggle suspended handler to be toggle status in prep for
possible future inclusion of further user statuses
2019-10-25 12:04:24 -07:00
Matt Baer
9873fc443f
Merge branch 'develop' into T661-disable-accounts
2019-10-24 13:22:26 -04:00
Michael Demetriou
b9d2689828
Fix comments on T627 pull request
...
(https://github.com/writeas/writefreely/pull/195 )
2019-10-11 10:05:18 +03:00