Commit graph

1730 commits

Author SHA1 Message Date
Big Squirrel
d1e99e7a44
Merge c075cb2ce4 into 72fa575fee 2025-06-05 00:51:00 +00:00
Matt Baer
72fa575fee
Merge pull request #1372 from writefreely/fix-context-security
Fix security context getting removed on AP collection endpoint
2025-06-04 14:26:57 -04:00
Matt Baer
01e239e657
Merge pull request #1373 from writefreely/fix-ghost-follow
Fix ActivityPub following from Ghost
2025-06-03 16:04:19 -04:00
Matt Baer
79ab0a3786
Merge pull request #1131 from writefreely/smtp
Support SMTP email configuration
2025-06-03 16:02:22 -04:00
Matt Baer
188b41ef53
Merge pull request #1153 from jbgi/smtp-fix
Fixes for smtp branch
2025-05-19 13:49:47 -04:00
Matt Baer
c249abdb10 Fix ActivityPub following from Ghost
This makes Follow request parsing more robust. Previously, this only worked if the `object`
was a URI, which is what many platforms send. Now, we can also handle objects here.
2025-05-08 14:05:44 -04:00
Matt Baer
2b79ab0313 Fix security context getting removed on AP collection endpoint 2025-05-07 17:20:22 -04:00
Matt Baer
db66a885fb
Merge pull request #1134 from sahilmulla/fix-edit-link
Fix edit link missing on mobile browser
2025-02-18 16:02:15 -05:00
Matt Baer
79a66ff140 Merge branch 'develop' into fix-edit-link 2025-02-18 16:00:16 -05:00
Matt Baer
4601951bbf
Merge pull request #1035 from writefreely/dependabot/go_modules/github.com/microcosm-cc/bluemonday-1.0.27
Bump github.com/microcosm-cc/bluemonday from 1.0.26 to 1.0.27
2025-02-18 14:31:06 -05:00
dependabot[bot]
e1db89311d
Bump github.com/microcosm-cc/bluemonday from 1.0.26 to 1.0.27
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.26 to 1.0.27.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.26...v1.0.27)

---
updated-dependencies:
- dependency-name: github.com/microcosm-cc/bluemonday
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-18 19:30:40 +00:00
Matt Baer
f7966996d7
Merge pull request #1129 from writefreely/compile-darwin-arm64
Build for macOS arm64
2025-02-18 14:28:51 -05:00
Matt Baer
a7fa19f2e4
Merge pull request #1247 from eyberg/develop
adding a link to the nanos unikernel package repository
2025-02-12 11:48:17 -05:00
Ian Eyberg
7b5d583b76 updating pkg location 2025-02-11 16:31:22 -08:00
Ian Eyberg
b765c02166 adding a link to the nanos unikernel package repository 2025-01-27 17:19:35 -08:00
Jean-Baptiste Giraudeau
0f9c32161c
Add fieldName when constructing SmtpMessage + go fmt 2025-01-25 12:57:53 +01:00
Jean-Baptiste Giraudeau
63963b6b19
Send smtp msg to recipients individualy instead of using BCC 2025-01-25 12:50:56 +01:00
Jean-Baptiste Giraudeau
d9deb29730
Implement remaining plumbing for sending stmp emails to subscribers 2025-01-25 12:50:53 +01:00
Jean-Baptiste Giraudeau
e65b73dc73
app.go: Use cfg.Email.Enabled() to check for email config
before starting publishJobsQueue.

 Also fix Email.Enabled to handle smtp config.
2025-01-25 12:47:14 +01:00
Matt Baer
0be229cdaa
Merge pull request #1155 from freesteph/fix/allow-eu-emails
email: allow sending emails from EU Mailgun domains
2025-01-24 16:21:49 -05:00
Matt Baer
4504617c1a
Merge pull request #1165 from c7io-dev/patch2
Fix admin/user pagination
2025-01-24 15:48:37 -05:00
Matt Baer
17039e620e
Merge pull request #1128 from writefreely/archive-page
Add Archive page

Closes T873
2025-01-24 15:41:15 -05:00
Matt Baer
fbf505cff0 Merge branch 'develop' into archive-page 2025-01-24 15:40:25 -05:00
Matt Baer
3966f9fa40 Update date in README 2025-01-17 15:37:32 -05:00
Matt Baer
387ddac892 Merge branch 'develop' of github.com:writefreely/writefreely into develop 2025-01-17 15:36:33 -05:00
Matt Baer
e3b94d7fb5
Merge pull request #1237 from c7io-dev/patch3
Fix api/posts routing as previous change breaks existing function
2025-01-17 15:36:07 -05:00
Matt Baer
121a21d900 Merge branch 'develop' of github.com:writefreely/writefreely into develop 2025-01-17 15:29:37 -05:00
snullp
eab66ee5fc Fix api/posts routing as previous changes breaks existing function 2025-01-05 19:32:46 +00:00
Stéphane Maniaci
83e0a57338
email: allow sending emails from EU Mailgun domains
The Mailgun API requires being told when a EU email domain is used[1]
so introduce a new `mailgun_europe` config parameter to indicate that.

[1]: https://github.com/mailgun/mailgun-go?tab=readme-ov-file#usage
2024-12-09 14:56:24 +01:00
snullp
b643e0520f Fix admin/user pagination
Integer division floor the page count but the ceil operation is needed.
Implemented without float conversion.
2024-12-09 05:22:21 +00:00
Big Squirrel
c075cb2ce4 Do not show 'Draft' button when reading someone else's drafts
The button links to user's own draft box. Need not to be shown on other's draft posts.
2024-12-09 05:09:16 +00:00
Matt Baer
f88aa393c5
Merge pull request #1122 from writefreely/ap-likes
Support ActivityPub Likes

Closes T906
2024-12-01 18:34:31 -05:00
Matt Baer
eca7bcda0a Fix comment in activitypub.go 2024-12-01 18:30:32 -05:00
Matt Baer
6b4179fa01 Fix INSERT remote_likes query for SQLite 2024-12-01 18:15:58 -05:00
Matt Baer
e29f371232
Merge pull request #1127 from DonPiotr/develop
Fix two error messages: user create and user create --admin
2024-10-30 13:31:18 -04:00
sam-pc
b7de165b76 Fix edit link missing on mobile browser 2024-10-28 17:24:14 +05:30
Matt Baer
f49c0b1c4c Send password resets and login emails with new email layer
(Untested)

Ref T905 T731
2024-10-24 16:13:36 -04:00
Matt Baer
2fcd45819f Send subscription confirmation email through new email layer
(Untested)

Ref T905 T731
2024-10-24 16:08:43 -04:00
Matt Baer
d06077c432 Add basic email abstraction layer
(Untested.) This will allow us to send via any supported provider within
WriteFreely.

Ref T731 T905
2024-10-24 15:53:11 -04:00
Matt Baer
5b6d17c9b9 Add SMTP configuration values
Ref T905
2024-10-24 15:52:14 -04:00
Matt Baer
c046dd04e7 Build for macOS arm64
Part of #1003
2024-10-24 14:38:38 -04:00
Matt Baer
6384f4667b
Merge pull request #1103 from vtyeh/drafts-with-load-more-have-broken-links-1054
Fix broken links in drafts loaded with "load more" #1054
2024-10-24 11:39:36 -04:00
vtyeh
82de4558de Link title directly to post page 2024-10-23 10:32:04 -07:00
vtyeh
ec7d336bc2 Update title link to be dynamic with new singleUser bool 2024-10-22 13:42:17 -07:00
Matt Baer
6d57d9d6a1 Fix trailing whitespace in database.go 2024-10-22 15:56:48 -04:00
Matt Baer
7fbf49a0f0 Fix whitespace in modified LESS files 2024-10-22 15:56:32 -04:00
Matt Baer
76818287d6 Add Archive page for all blogs
This adds a special page at `blog-url/archive/` that lists all posts
on a blog in descending order.

It includes stylesheet changes. Update with `make ui`.

Ref T873
2024-10-22 15:56:14 -04:00
Matt Baer
646fff775c
Merge pull request #1034 from writefreely/dependabot/go_modules/github.com/go-sql-driver/mysql-1.8.1
Bump github.com/go-sql-driver/mysql from 1.7.1 to 1.8.1
2024-10-22 15:06:44 -04:00
Matt Baer
ec8e0b4a8b
Merge pull request #1036 from writefreely/dependabot/go_modules/github.com/fatih/color-1.17.0
Bump github.com/fatih/color from 1.16.0 to 1.17.0
2024-10-22 15:05:03 -04:00
Matt Baer
d1c4efc143
Merge pull request #988 from Anish-Parkhi/fix-response-text-plain
fix: removed unnecessary strict post number checking causing error
2024-10-22 14:33:58 -04:00