Commit Graph

1249 Commits

Author SHA1 Message Date
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.
2021-05-10 13:08:49 -04:00
Matt Baer 14f5100d6a Bump version to 0.13.0 2021-05-08 15:31:32 -04:00
Matt Baer 5c89812764
Merge pull request #460 from writefreely/add-funding-info
Enable GitHub Sponsor button
2021-05-08 12:27:39 -04:00
Matt Baer 7a71731274 Add GitHub Sponsors profile 2021-05-08 12:27:05 -04:00
Matt Baer b0f792c211 Add Open Collective funding profile 2021-05-07 12:44:50 -04:00
Matt Baer 73450a50e3
Merge pull request #356 from writefreely/draft-list-paging
Draft list paging
2021-05-04 09:39:22 -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 4565c6dd90 Only use SameSite=None on Secure site
This fixes logging in when developing on newer versions of Chrome.
2021-04-30 11:03:42 -04:00
Matt Baer a7c4a318f3
Merge pull request #458 from writefreely/improve-gopher
Fix Gopher links and add blog info
2021-04-30 10:58:34 -04:00
Matt Baer 7c32dc1045
Merge pull request #457 from writefreely/intl-domain-support
Support international domain names
2021-04-30 09:45:42 -04:00
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.
2021-04-30 09:41:18 -04:00
Matt Baer e5347dd924 Move Classic editor horizontal spacing inside .ProseMirror 2021-04-30 09:38:28 -04:00
Matt Baer c9c2adde0f Use Sans font for Classic editor menubar 2021-04-30 09:25:24 -04:00
Matt Baer b2c6c6c167 Rename wysiwyg editor to classic 2021-04-29 17:09:24 -04:00
Matt Baer 5a4ff2a9de Support blockquotes in Classic editor
Ref T727
2021-04-29 17:07:40 -04:00
Matt Baer c01fb585ba Support horizontal rules in Classic editor
Ref T727
2021-04-29 17:05:18 -04:00
Matt Baer affcd270bb
Merge pull request #204 from writefreely/T319-user-delete-acct
T319 user delete acct
2021-04-28 17:57:34 -04:00
Matt Baer 14a8961457 Show correct extracted title on loaded posts page
Ref T401
2021-04-28 17:19:22 -04:00
Matt Baer 4e0912b32a
Merge pull request #203 from writefreely/T319-admin-delete-acct
T319 admin delete acct
2021-04-28 09:46:56 -04:00
Matt Baer 02bb5013a7 Show blog title and description via Gopher 2021-04-27 11:39:28 -04:00
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.
2021-04-27 11:30:04 -04:00
Matt Baer 36455eea2b Remove debug log 2021-04-26 11:54:42 -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 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
2021-04-22 13:13:47 -04:00
Matt Baer 7c1c1218b1 Tweak "deletion success" message and note it doesn't work
Ref T319
2021-04-22 12:45:55 -04:00
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
2021-04-22 12:41:54 -04:00
Matt Baer a6c93c37da Move user account deletion to confirmation modal
This mimics the admin UI for deleting a user account.

Ref T319
2021-04-22 11:55:17 -04:00
Matt Baer 1d8facfe1c Prevent admin self-deletion in API
Ref T319
2021-04-22 11:37:02 -04:00
Matt Baer f689706baa Merge branch 'T319-admin-delete-acct' into T319-user-delete-acct 2021-04-22 10:14:48 -04:00
Matt Baer f06ab629d1 Make user deletion success message more concise
Ref T319
2021-04-22 10:11:18 -04:00
Matt Baer e4164cbf67 Move admin user deletion confirmation to modal
Ref T319
2021-04-22 10:08:05 -04:00
Matt Baer 3b58d77e67 Merge branch 'develop' into T319-admin-delete-acct 2021-04-22 09:07:40 -04:00
Matt Baer c0fdd8af49
Merge pull request #452 from writefreely/fix-ace-touchscreens
Disable Ace editor on touchscreen devices
2021-04-19 16:25:53 -04:00
Matt Baer c06a739f9b
Merge pull request #450 from writefreely/fix-markdown-import-safari
Accept general text/* files on post import
2021-04-19 16:23:45 -04:00
Matt Baer 4ec8ffa699
Merge pull request #449 from writefreely/fix-actions-on-mobile
Always show post actions on mobile devices
2021-04-19 16:22:44 -04:00
Matt Baer e0a0d71c84 Revert "Use Sans font for post action buttons"
This reverts commit af4e0b4f1c.
2021-04-19 16:22:01 -04:00
Matt Baer 3ab21f7834
Merge pull request #445 from writefreely/remove-nerds-dep
Remove writeas/nerds/store pkg dependency
2021-04-19 16:19:52 -04:00
Matt Baer 61974fadc0 Merge branch 'develop' into remove-nerds-dep 2021-04-19 16:18:33 -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 63fa8d299a Include 'move to...' action in loaded draft posts
Ref T401
2021-04-07 16:44:18 -04:00
Matt Baer 27b43ac2f1 Merge branch 'develop' into draft-list-paging 2021-04-07 15:58:25 -04:00
Matt Baer 51a83069c4 Disable Ace editor on touchscreen devices
Ace doesn't work well with touchscreen devices, so instead we fall back to a
plain textarea.
2021-04-07 14:58:09 -04:00
Matt Baer ac7583eadb
Merge pull request #384 from colin-axner/374-fix-silenced-post-accessibility
fix accessibility of silenced user posts
2021-04-07 14:01:04 -04:00
Colin Axnér 8ac2d0b310 merge develop 2021-04-07 18:33:02 +02:00
Colin Axnér 866a585119 fix compile error 2021-04-07 18:31:45 +02: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 de601e16ac
Merge pull request #451 from writefreely/move-repo
Update repo URL to writefreely org
2021-04-06 17:27:17 -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 f8888df746 Accept general text/* files on post import
This fixes an issue with Safari not allowing users to select *.md files.

Closes #334
2021-04-06 15:59:32 -04:00