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
69ab0d34e0
Elide Markdown when generating slug
...
This makes sure e.g. link URLs and image alt text don't get included
in the slug.
Ref T329
2021-12-21 13:55:10 -05:00
Matt Baer
fbb3000e4d
Merge pull request #476 from writefreely/strip-image-alt-meta
...
Don't include img alt text in post Summary()
2021-06-28 15:47:42 -04:00
Matt Baer
720a8c1975
Don't include img alt text in post Summary()
...
Fixes #306
2021-06-25 11:16:03 -04:00
Matt Baer
e91ffe2dcb
Remove additional slash in /feed/ redirect
2021-06-23 16:50:23 -04:00
Matt Baer
c05f7056c4
Fix collection rendering in Chorus mode
2021-06-09 10:04:28 -04:00
Matt Baer
e42ba392c6
Support Web Monetized split content
...
Ref T770
2021-06-07 15:52:24 -04:00
Matt Baer
6740fbe097
Support publishing title-only posts
2021-05-25 17:04:17 -04:00
Matt Baer
b010484493
Return url
of new post on publish
2021-05-20 20:44:59 -04:00
Colin Axnér
8ac2d0b310
merge develop
2021-04-07 18:33:02 +02:00
Matt Baer
484d2736ce
Update repo URL to writefreely org
...
From the writeas org on GitHub.
2021-04-06 17:24:07 -04:00
Matt Baer
4a58a94e26
Include images as attachments in ActivityStreams data
...
Ref T709
2021-03-24 16:00:52 -04:00
Colin Axnér
f2e3cd8bd7
merge develop
2021-03-08 11:42:00 +01:00
Matt Baer
1f6d0e2e70
Merge branch 'develop' into support-notes
2021-03-04 11:42:49 -05:00
Matt Baer
bb008aa66c
Merge pull request #382 from Antolius/fix-post-summary-escaping
...
Fix escaping in post summary
2020-10-13 08:41:25 -04:00
Colin Axner
5ba0ea2b04
fix accessibility of silenced user posts
...
Change view post collection queries to verify that the authenticated user of a silenced collection is either the owner or admin
2020-09-17 12:50:06 +02:00
Josip Antoliš
eb76faa129
Fix escaping in post summary
...
Unescaping post content after sanitizing it. This will prevent double
escaping when summary is rendered by html/template package which does
escaping by default.
Fixes #340
2020-09-05 01:59:44 +02:00
Matt Baer
f821ead3a1
Support only federating Notes
...
When setting `notes_only = true` in the `[app]` configuration section, WF will only send out `Note` objects. Otherwise, it will send out both `Note`s and `Article`s.
2020-09-02 10:36:00 -04:00
Matt Baer
8be71481c8
Merge branch 'develop' into support-notes
2020-09-02 10:29:59 -04:00
Matt Baer
13eb51913e
Support Web Monetization via backend attribute
...
This supports a new `monetization_pointer` collection attribute.
When present, we include the `monetization` meta tag on all
collection pages.
2020-08-19 09:28:44 -04:00
Matt Baer
849e5b8503
Merge pull request #330 from writeas/post-signatures
...
Support post signatures
Ref T582
2020-07-30 11:53:27 -04:00
Matt Baer
a25664bb97
Support post signatures
...
This enables users to add a signature to all blog posts, and update it from a single location.
Requires database migration with: writefreely db migrate
Closes T582
2020-06-23 16:24:45 -04:00
Matt Baer
9624c4db00
Show warning in editor when local draft is out of date
...
Fixes #41
2020-06-11 11:45:12 -04:00
Matt Baer
f9cd87ae3a
Log handle on GetProfilePageFromHandle err
2020-03-19 13:43:07 -04:00
Matt Baer
ac522ed600
Reuse mention regex
...
This makes the app less error-prone by avoiding a regexp.MustCompile()
call in the ActivityObject() method, saves CPU work, and reuses code.
2020-03-17 13:43:25 -04:00
Matt Baer
97aec9c158
Fix error / info logging around AP mentions
...
This fixes log formatting and makes verbiage consistent & concise.
2020-03-17 13:42:51 -04:00
Matt Baer
a9bed9fea9
Prevent nil pointer panic from ActivityObject() method
...
Previously, we might potentially return a nil activitystreams.Object,
which would crash the app. This fixes that.
2020-03-17 13:14:29 -04:00
Matt Baer
563ea5b25b
Fix image extraction for URLs with query strings
...
Previously, image extraction wouldn't catch images with a query string
(or anything else) appended. This fixes that by parsing extracted URLs
and only checking the path for what looks like an image file.
2020-02-19 17:07:02 -05:00
Matt Baer
34d196376e
Include extracted images in draft social metadata
...
Previously, we didn't extract images for draft posts. This fixes that.
2020-02-19 16:38:50 -05:00
Matt Baer
7023b74d12
Update calls and vars for Invites and elsewhere
...
Ref T661
2020-02-09 11:24:48 -05:00
Matt Baer
468bbf2187
Merge branch 'develop' into rename-account-suspend
2020-02-09 11:14:14 -05:00
Matt Baer
bb63e64883
Clean up getProfilePageFromHandle
...
- Export the func
- Remove commented-out code
- Use log, not fmt for debug messages
- Remove named return parameters
- Use standard var naming schemes
- Fix spacing in queries and remove unnecessary chars
2020-02-08 12:10:47 -05:00
Matt Baer
68d63d3fef
Merge branch 'develop' into activitypub-mentions
2020-02-08 11:51:18 -05:00
Matt Baer
1fd4230267
Merge pull request #248 from writeas/fix-drafts-html-entities
...
A minor Drafts page fix + improvement
2020-02-05 12:26:42 +01: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
b336e95e12
Render HTML entities in Drafts list
...
Previously, we'd show the raw HTML entities in the summaries of Draft
posts, instead of rendering them. This fixes that.
2020-01-20 15:20:45 -05:00
Matt Baer
9958a1122b
Show published date on post pages if Blog
...
Dates now display on blog post pages if the collection's chosen display
format is "Blog". It updates the chorus-collection-post template to now
respect this value (previously, it always showed the date).
Ref T669
2020-01-09 16:50:02 -05:00
Matt Baer
8dc1ef0fdb
Merge pull request #215 from writeas/prevent-fail-on-suspend-check
...
Prevent failed requests on failed user silence check
2019-12-17 21:12:58 -05:00
Matt Baer
6afafa4d67
Fix whitespace
2019-12-17 21:10:39 -05:00
Matt Baer
cfea887b78
Suppress "user not found" log when post not found
...
This also saves a user suspension check when a post isn't found.
2019-12-17 20:58:32 -05:00
Rob Loranger
4c0e4d04c1
404 for protected posts when previously authorized
...
a user who had previously authenticated on a protected collection would
still see the post after the owner was silenced, with a banner meant for
the owner displayed.
2019-12-17 10:42:31 -08:00
Matt Baer
5259c4fcdf
Federate posts without a double-line break as Notes
...
This proof-of-concept sends out posts that don't include a double-line
break as Notes -- otherwise they go out as Articles, as before.
Inspired by the discussion here:
https://socialhub.activitypub.rocks/t/resolving-the-note-vs-article-distinction/258
2019-12-04 19:40:52 -05:00
Matt Baer
a513c99a1e
Merge branch 'hotfix-0.11.2' into activitypub-mentions
2019-11-27 18:20:04 -05:00
Matt Baer
d8df15855c
Merge branch 'develop' into activitypub-mentions
2019-11-26 13:19:20 -05:00
Matt Baer
44a6703742
Prevent failed requests on failed user silence check
2019-11-26 13:14:52 -05:00
Matt Baer
c81927a69f
Fix empty hostname when fetching AS post via ID
...
Previously, fetching ActivityStreams data about a post via
/api/posts/ID, instead of /api/collections/ALIAS/posts/SLUG wouldn't
include the instance's base URL. This fixes that.
2019-11-26 12:59:15 -05:00
Matt Baer
8d8e671a07
Fix suspension check in fetchPost()
...
Previously, this check would return a "user not found" error when
retrieving a collection post by its post ID, e.g. /api/posts/abc123
instead of /api/collections/demo/posts/my-slug -- this happens
particularly when `Announce`ing a post in the fediverse. This change
fixes that.
2019-11-19 09:59:13 +09:00
Matt Baer
2899d98cfd
Fix collection post 500 when not logged in
...
This reverts some code from 5429ca4a
, which broke collection post
loading on blog posts when not logged in.
2019-11-12 19:43:41 +09: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