Matt Baer
1bdcf7096a
Fix "Collection.hostName is empty!" log on Stats page
...
Fixes #468
3 years ago
Matt Baer
ed771380fb
Fix SQLite database lock on Reader
...
Fetching posts for the Reader involves an additional query on each row,
which previously ran into our connection limit to the database and caused
it to lock up. This increases the connection limit from 1 to 2, to allow
this.
This is meant to be a quick, safe fix, but there could always be a better
solution.
Fixes #467
3 years ago
Matt Baer
720a8c1975
Don't include img alt text in post Summary()
...
Fixes #306
3 years ago
Matt Baer
f933b36170
Prevent out of bounds error when post has no title
3 years ago
Matt Baer
e91ffe2dcb
Remove additional slash in /feed/ redirect
3 years ago
Matt Baer
3008668a7d
Error when generic OAuth provider doesn't return a user ID
...
...on the OAuth access token inspection call. This returns an error and
privately (via logs) prompts the admin to add a `map_user_id` config value.
Fixes #469
3 years ago
Matt Baer
0ddca40529
Don't render title as list item
...
This fixes an issue where "12. April" would get rendered as "1. April" because
it looks like a Markdown list item to our renderer. Now, we parse titles as
titles, instead of standalone text, which causes the renderer to give us the
results we want. This also adds some basic tests for the applyBasicMarkdown()
func.
Closes #470
3 years ago
Matt Baer
e983c4527f
Update README links and intro text
4 years ago
Matt Baer
25e4d6448b
Fix ineffectual assignments in migrations
4 years ago
Matt Baer
230c736583
Run gofmt on files that need it
4 years ago
Matt Baer
e7245536f3
Merge pull request #463 from writefreely/wm-fix
...
Web Monetization fixes + exclusive content
4 years ago
Matt Baer
42db4b38f6
Truncate paid posts and show badge on Reader
4 years ago
Matt Baer
c05f7056c4
Fix collection rendering in Chorus mode
4 years ago
Matt Baer
e42ba392c6
Support Web Monetized split content
...
Ref T770
4 years ago
Matt Baer
9341784c0c
Fix OAuth signup with collection description
4 years ago
Matt Baer
f0697fd555
Merge branch 'develop' into wm-fix
4 years ago
Matt Baer
7695f8c2e4
Merge pull request #464 from writefreely/api-updates
...
Final API changes
4 years ago
Matt Baer
85fb2a952b
Support setting `description` on user registration
4 years ago
Matt Baer
6740fbe097
Support publishing title-only posts
4 years ago
Matt Baer
2938bba15a
Support updating collection only with monetization_pointer
4 years ago
Matt Baer
ddc7087d1e
Fix Web Monetization option not showing on Customize page
4 years ago
Matt Baer
b010484493
Return `url` of new post on publish
4 years ago
Matt Baer
73e0b72878
Fix release build
...
This forces xgo to use Go 1.15, to work around a bug with Go modules:
https://github.com/techknowlogick/xgo/issues/109#issuecomment-835494720
This also uses the correct Darwin and Windows binary names to prevent
failures in the `make release` process.
4 years ago
Matt Baer
14f5100d6a
Bump version to 0.13.0
4 years ago
Matt Baer
5c89812764
Merge pull request #460 from writefreely/add-funding-info
...
Enable GitHub Sponsor button
4 years ago
Matt Baer
7a71731274
Add GitHub Sponsors profile
4 years ago
Matt Baer
b0f792c211
Add Open Collective funding profile
4 years ago
Matt Baer
73450a50e3
Merge pull request #356 from writefreely/draft-list-paging
...
Draft list paging
4 years ago
Matt Baer
895e04c8c4
Merge pull request #443 from writefreely/minor-fixes
...
Minor WYSIWYG and miscellaneous fixes
4 years ago
Matt Baer
4565c6dd90
Only use SameSite=None on Secure site
...
This fixes logging in when developing on newer versions of Chrome.
4 years ago
Matt Baer
a7c4a318f3
Merge pull request #458 from writefreely/improve-gopher
...
Fix Gopher links and add blog info
4 years ago
Matt Baer
7c32dc1045
Merge pull request #457 from writefreely/intl-domain-support
...
Support international domain names
4 years ago
Matt Baer
2903c86875
Remove prose.bundle.js from repo
...
This file is compiled from other sources, and thus shouldn't be
included in the repo.
4 years ago
Matt Baer
e5347dd924
Move Classic editor horizontal spacing inside .ProseMirror
4 years ago
Matt Baer
c9c2adde0f
Use Sans font for Classic editor menubar
4 years ago
Matt Baer
b2c6c6c167
Rename wysiwyg editor to classic
4 years ago
Matt Baer
5a4ff2a9de
Support blockquotes in Classic editor
...
Ref T727
4 years ago
Matt Baer
c01fb585ba
Support horizontal rules in Classic editor
...
Ref T727
4 years ago
Matt Baer
affcd270bb
Merge pull request #204 from writefreely/T319-user-delete-acct
...
T319 user delete acct
4 years ago
Matt Baer
14a8961457
Show correct extracted title on loaded posts page
...
Ref T401
4 years ago
Matt Baer
4e0912b32a
Merge pull request #203 from writefreely/T319-admin-delete-acct
...
T319 admin delete acct
4 years ago
Matt Baer
02bb5013a7
Show blog title and description via Gopher
4 years ago
Matt Baer
7257af2905
Strip HTTP port from Gopher links
...
Previously, if running an instance on e.g. http://localhost:8080 , the port
would show up in the Gopher links and potentially cause rendering to fail.
This fixes that.
4 years ago
Matt Baer
36455eea2b
Remove debug log
4 years ago
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.
4 years ago
Matt Baer
d3d77cee54
Make open account deletion configurable
...
This adds a configuration option to the [app] section: open_deletion. When
true, users can delete their account on their own.
Ref T319
4 years ago
Matt Baer
7c1c1218b1
Tweak "deletion success" message and note it doesn't work
...
Ref T319
4 years ago
Matt Baer
b092421f6e
Add Cross-Site Request Forgery (CSRF) protection on account deletion
...
This requires admins to generate a new encryption key with:
writefreely keys generate
Ref T319
4 years ago
Matt Baer
a6c93c37da
Move user account deletion to confirmation modal
...
This mimics the admin UI for deleting a user account.
Ref T319
4 years ago
Matt Baer
1d8facfe1c
Prevent admin self-deletion in API
...
Ref T319
4 years ago