Commit Graph

1281 Commits

Author SHA1 Message Date
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
Matt Baer 0c7aba1f53
Merge pull request #442 from writeas/add-attachments
Include images as attachments in ActivityStreams data
2021-04-06 12:44:30 -04:00
Matt Baer 02490c798c Only set lang on initial publish in all editors
This fixes #280 in all editors, continuing work from #435.
2021-04-06 12:38:45 -04:00
Matt Baer 11e636359d Clean up lang field setting in pad.tmpl
This continues work by @cjeller1592 in #435.
2021-04-06 12:37:26 -04:00
Matt Baer 50c4e944a4 Merge branch 'develop' into minor-fixes 2021-04-06 12:30:37 -04:00
Matt Baer e58e457b25
Merge pull request #435 from cjeller1592/lang-metadata
Add conditional for preserving lang metadata
2021-04-06 12:17:35 -04:00
Matt Baer af4e0b4f1c Use Sans font for post action buttons 2021-04-06 12:11:45 -04:00
Matt Baer ed74228795
Merge pull request #434 from cjeller1592/compose-update-wf-image
Update writefreely-web image in docker-compose.yml
2021-04-06 11:59:26 -04:00
Matt Baer 2c1d3a51af
Merge pull request #429 from x4e/develop
Case insensitive language highlighting matching
2021-04-06 11:31:08 -04:00
Matt Baer 23818c6104
Merge pull request #426 from mostfunkyduck/develop
Fixes problem where all links were breaking in gopher
2021-04-06 11:26:46 -04:00
Matt Baer 5510ef15b5 Always show post actions on mobile devices
This maintains previous show-on-hover effect for post actions on blog
index, but always shows the actions when on a mobile device.

Fixes #309
2021-04-06 11:09:38 -04:00
Matt Baer 5ecf613cb5
Merge pull request #448 from writeas/dependabot/go_modules/github.com/microcosm-cc/bluemonday-1.0.5
Bump github.com/microcosm-cc/bluemonday from 1.0.4 to 1.0.5
2021-04-01 07:26:05 -04:00
dependabot[bot] 9cbd254d64
Bump github.com/microcosm-cc/bluemonday from 1.0.4 to 1.0.5
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.4...v1.0.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 11:24:37 +00:00
Matt Baer 733301d364
Merge pull request #447 from writeas/dependabot/go_modules/github.com/go-sql-driver/mysql-1.6.0
Bump github.com/go-sql-driver/mysql from 1.5.0 to 1.6.0
2021-04-01 07:24:26 -04:00
Matt Baer f1eae4007e
Merge pull request #446 from writeas/dependabot/go_modules/github.com/hashicorp/go-multierror-1.1.1
Bump github.com/hashicorp/go-multierror from 1.1.0 to 1.1.1
2021-04-01 07:22:09 -04:00
dependabot[bot] f70fc0c4e2
Bump github.com/go-sql-driver/mysql from 1.5.0 to 1.6.0
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/go-sql-driver/mysql/releases)
- [Changelog](https://github.com/go-sql-driver/mysql/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-sql-driver/mysql/compare/v1.5.0...v1.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 05:14:03 +00:00
dependabot[bot] 2a9aa84366
Bump github.com/hashicorp/go-multierror from 1.1.0 to 1.1.1
Bumps [github.com/hashicorp/go-multierror](https://github.com/hashicorp/go-multierror) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/hashicorp/go-multierror/releases)
- [Commits](https://github.com/hashicorp/go-multierror/compare/v1.1.0...v1.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-01 05:13:09 +00:00
Matt Baer 64f1d71524 Remove writeas/nerds/store dependency 2021-03-30 12:49:12 -04:00
Matt Baer 5a3e8d59b6 Support logging out of password-protected blogs
Closes T492
2021-03-29 20:55:21 -04:00