Matt Baer
e4e059cb13
Fix Collection property serialization on API
...
Use standard string instead of sql.NullString for `style_sheet`, `script`, and `signature`.
Addresses #820
2023-11-07 10:54:16 -05:00
Matt Baer
5204b3b752
Merge pull request #782 from writefreely/verify-collection-max-lengths
...
Prevent 500 errors on too-long collection title or description
2023-10-23 12:50:06 -04:00
Matt Baer
4aad0338bf
Merge pull request #779 from writefreely/fix-ld-json-response-2
...
Correctly respond to application/ld+json requests, part 2
2023-10-03 12:06:10 -04:00
Matt Baer
530a36fc53
Prevent 500 errors on too-long collection title or description
...
This truncates long titles and descriptions to the maximum column length, so
we don't get errors back from MySQL.
Fixes #600
2023-10-03 11:55:52 -04:00
Matt Baer
2275a288b9
Correctly respond to application/ld+json requests, part 2
...
This finishes the work started in #766 , ensuring that requests to
canonical URLs of blogs and posts (not just at their API endpoints)
respond correctly to `application/ld+json;...` requests.
Fully addresses issue #564
2023-09-26 14:46:35 -04:00
Matt Baer
82e7dcd3f3
Add Subscribers page
...
- Shows all fediverse followers and email subscribers
- Shows number of email subscribers on Stats page
- Links to Subscribers page from Stats page
Requires running `make ui` to regenerate stylesheet.
Ref T826
2023-09-25 16:55:57 -04:00
Matt Baer
06968e7341
Merge branch 'develop' into letters
2023-09-25 13:59:46 -04:00
Matt Baer
334d499fb3
Merge pull request #508 from writefreely/lang-posts-filter
...
Support filtering blog posts by language
Closes T805
2023-09-22 12:53:20 -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
Matt Baer
94bb566e4f
Merge pull request #766 from writefreely/fix-ld-json-response
...
Correctly respond to application/ld+json requests
2023-09-21 17:03:18 -04:00
Matt Baer
d3f312a1e2
Use Chorus template (if configured) when filtering by language
...
Ref T805
2023-09-21 16:59:32 -04:00
Matt Baer
ebeb45ac5a
Support pagination when viewing language-filtered posts
...
Ref T805
2023-09-21 16:58:44 -04:00
Matt Baer
3dc515c249
Merge branch 'develop' into lang-posts-filter
2023-09-21 16:38:48 -04:00
Matt Baer
8f03da0ec1
Correctly respond to application/ld+json requests
...
This returns ActivityStreams objects when the Accept header is
`application/ld+json; profile="https://www.w3.org/ns/activitystreams "`,
per the ActivityPub spec.
Fixes #564
2023-09-21 16:16:57 -04:00
Matt Baer
54eb2db14d
Fix tagged posts falsely showing Older link
2023-07-08 00:31:02 -04:00
Matt Baer
e65086b635
Merge branch 'develop' into paginate-tag-collection
2023-07-08 00:01:40 -04:00
Matt Baer
118eb732f4
Merge branch 'develop' into letters
2023-01-08 11:49:57 -05:00
Matt Baer
8684ff04a4
Merge branch 'develop' into markdown-descriptions
2022-12-25 00:47:41 -05: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
a0e936ee1b
Support Markdown and rel=me links in blog descriptions
...
Ref T874 T744
2022-01-18 16:43:17 -05:00
Matt Baer
414d5b0a1c
Add pagination routes on lang post filter
...
Ref T805
2021-09-16 14:23:35 -04:00
Matt Baer
f4977c7a34
Support filtering blog posts by language
...
Ref T805
2021-09-13 18:36:36 -04:00
Matt Baer
2288ccf2a2
Merge branch 'develop' into letters
2021-08-10 17:47:23 -04:00
Matt Baer
e91ffe2dcb
Remove additional slash in /feed/ redirect
2021-06-23 16:50:23 -04:00
Matt Baer
2ea235f0c4
Support email subscriptions (base)
...
This adds beginning email subscription functionality, with only MySQL support,
Mailgun support, and incomplete support for private instances. It includes
database changes, so run:
writefreely db migrate
to use this feature.
Ref T856
2021-06-21 18:24:40 -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
895e04c8c4
Merge pull request #443 from writefreely/minor-fixes
...
Minor WYSIWYG and miscellaneous fixes
2021-04-30 11:31:06 -04:00
Matt Baer
967ee9679c
Support international domain names
...
This internally converts the configured host name into its Punycode ASCII
representation, while showing users the correct Unicode domain name.
2021-04-26 11:18:51 -04:00
Matt Baer
439f8bd262
Merge pull request #444 from writefreely/log-out-pass-blog
...
Support logging out of password-protected blogs
2021-04-12 14:11:12 -04: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
50c4e944a4
Merge branch 'develop' into minor-fixes
2021-04-06 12:30:37 -04:00
Matt Baer
5a3e8d59b6
Support logging out of password-protected blogs
...
Closes T492
2021-03-29 20:55:21 -04:00
Matt Baer
3e282e4c85
Rename MonetizationPointer field to Monetization
2021-03-25 13:02:35 -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
Donald Feury
9ed2687543
Added TagCollectionPage
...
* Implements PrevPageURL and NextPageURL
* This allows the collection-tag template to get proper urls for
paginating using tags.
2021-02-24 23:49:15 -05:00
Donald Feury
530439772d
Add Pagination to Tags Collection
...
Mostly copied the logic for pagination from non tag collection
2021-02-24 23:00:21 -05:00
Matt Baer
e1cde913e2
Merge pull request #369 from writeas/web-monetization
...
Support Web Monetization
2020-10-06 16:22:28 -04:00
Matt Baer
2768ea9414
Make Monetization optional
...
Some WriteFreely instances are completely private, and thus have no need for public-
oriented features like Web Monetization. Like federation, this gives admins control
over whether or not the feature is enabled for users.
Ref T773
2020-09-30 15:18:21 -04:00
Matt Baer
ec7b299fd3
Enable updating WM payment pointer via API and Customize page
...
Ref T773
2020-09-30 14:40:13 -04:00
Colin Axner
678653ac30
update getCollectionPage
...
Update getCollectionPage godoc and reduce logic and variable assignments
2020-09-25 16:47:31 +02: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
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
7023b74d12
Update calls and vars for Invites and elsewhere
...
Ref T661
2020-02-09 11:24:48 -05:00
Matt Baer
629d40b549
Fix collection rendering after merge
2020-02-09 11:24:16 -05:00
Matt Baer
468bbf2187
Merge branch 'develop' into rename-account-suspend
2020-02-09 11:14:14 -05:00
Matt Baer
867eb53b35
Show 404 when remote user not found
...
This notifies the user that the remote user doesn't exist, instead of
showing a blank page.
Ref T627
2020-02-08 12:55:10 -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
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