Commit graph

1676 commits

Author SHA1 Message Date
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
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
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
Matt Baer
6e01bb7d94 Remove length restriction on other methods on /api/posts/{post} 2024-10-22 14:04:05 -04:00
Matt Baer
94f12dfc29 Fix bad regex on /api/posts/{post} endpoint 2024-10-22 14:02:52 -04:00
Matt Baer
9421cfd422
Merge pull request #1116 from sahilmulla/fix-glibc
Fix glibc issue
2024-10-22 10:42:36 -04:00
Matt Baer
8d3d7419cd
Merge pull request #1061 from writefreely/dependabot/go_modules/golang.org/x/net-0.30.0
Bump golang.org/x/net from 0.26.0 to 0.30.0
2024-10-21 09:43:53 -04:00
dependabot[bot]
6b47fd9e35
Bump golang.org/x/net from 0.26.0 to 0.30.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.26.0 to 0.30.0.
- [Commits](https://github.com/golang/net/compare/v0.26.0...v0.30.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-21 13:41:58 +00:00
Matt Baer
25808c7281
Merge pull request #1062 from writefreely/dependabot/go_modules/golang.org/x/crypto-0.28.0
Bump golang.org/x/crypto from 0.24.0 to 0.28.0
2024-10-21 09:40:36 -04:00
sam-pc
2f37c666fb Fix glibc issue 2024-10-21 09:59:58 +05:30
vtyeh
4f3bacb182 Fix broken links in drafts loaded with "load more" by dynamically creating edit link based on single_user bool in config.ini 2024-10-15 16:23:28 -07:00
Matt Baer
71033ecc3d
Merge pull request #1038 from leo9800/docker-prod
Docker for Production
2024-10-09 15:46:12 -04:00
Matt Baer
f80139456e
Merge pull request #1047 from writefreely/use-gosimple-slug
Switch to gosimple/slug from writeas/slug
2024-10-09 15:33:46 -04:00
dependabot[bot]
096430f1cd
Bump golang.org/x/crypto from 0.24.0 to 0.28.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.24.0 to 0.28.0.
- [Commits](https://github.com/golang/crypto/compare/v0.24.0...v0.28.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-05 18:40:49 +00:00
Matt Baer
8d14c09dc6
Merge pull request #1060 from writefreely/hotfix-0.15.1
Hotfix 0.15.1
2024-10-05 14:39:25 -04:00
Matt Baer
0adffb98a6
Merge branch 'develop' into hotfix-0.15.1 2024-10-05 14:39:08 -04:00
Matt Baer
deec706f14 Use Go 1.21 in make build-* 2024-10-05 14:17:30 -04:00
Matt Baer
ceb84bfc3c Bump version to 0.15.1 2024-10-05 13:43:02 -04:00
Matt Baer
401f70c7ee
Merge pull request #1050 from writefreely/nodeinfo-handle
Fix `follow` handle in nodeinfo
2024-10-05 13:41:41 -04:00
Matt Baer
0233a62f91 Use @writefreely handle for nodeinfo
Instead of @write_as
2024-10-01 18:42:46 -04:00
Matt Baer
4753eef550 Switch to gosimple/slug from writeas/slug
The upstream library now has the changes we'd merged in this fork,
so no need to use our (very outdated) fork anymore.
2024-09-27 19:20:43 -04:00
Leo
52d6ea60f3 Create Dockerfile & sample docker-compose.yml for production build 2024-09-02 12:45:55 +10:00
Leo
2a668d18d3 Update config/setup.go for docker environment 2024-09-02 12:43:31 +10:00
dependabot[bot]
b9f50883a9
Bump github.com/fatih/color from 1.16.0 to 1.17.0
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.16.0...v1.17.0)

---
updated-dependencies:
- dependency-name: github.com/fatih/color
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 22:25:17 +00:00
dependabot[bot]
680c0f5564
Bump github.com/go-sql-driver/mysql from 1.7.1 to 1.8.1
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.7.1 to 1.8.1.
- [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.7.1...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/go-sql-driver/mysql
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-01 22:25:11 +00:00
Matt Baer
b8d652eb1a
Merge pull request #1024 from writefreely/fix-sitemap
Correctly show 404 page on /sitemap.xml on multi-user instances
2024-08-16 21:59:30 -04:00
Matt Baer
884a479de6
Merge pull request #1001 from CDN18/oauth-patch
add client_id and client_secret to exchangeOauthCode form
2024-08-15 20:21:16 -04:00
Matt Baer
2bef7a2100
Merge pull request #1000 from CDN18/actor-patch
fix: do second actor deref from main-key endpoint against publickey.Owner
2024-08-15 20:18:27 -04:00
Matt Baer
c6d54665ac
Merge pull request #1025 from writefreely/bump-go
Bump Go from v1.19 to v1.21
2024-08-15 18:54:14 -04:00
Matt Baer
24e94302d9
Merge pull request #1026 from writefreely/dependabot/go_modules/github.com/urfave/cli/v2-2.27.4
Bump github.com/urfave/cli/v2 from 2.27.1 to 2.27.4
2024-08-15 18:53:53 -04:00
dependabot[bot]
8372386abd
Bump github.com/urfave/cli/v2 from 2.27.1 to 2.27.4
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.27.1 to 2.27.4.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.27.1...v2.27.4)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-15 22:51:32 +00:00
Matt Baer
23f0669f7a
Merge pull request #997 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-08-15 18:51:28 -04:00
Matt Baer
bfb9e3c4fb Bump Go from v1.19 to v1.21 2024-08-15 18:44:18 -04:00
Matt Baer
1b888e0c04
Merge pull request #1011 from writefreely/dependabot/go_modules/golang.org/x/net-0.26.0
Bump golang.org/x/net from 0.22.0 to 0.26.0
2024-08-15 18:25:43 -04:00
Matt Baer
4e60f0fe6a
Merge pull request #984 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-08-15 18:24:39 -04:00
Matt Baer
0eb7c3bf47
Merge pull request #1010 from writefreely/dependabot/go_modules/github.com/gorilla/schema-1.4.1
Bump github.com/gorilla/schema from 1.2.1 to 1.4.1
2024-08-15 18:18:41 -04:00
dependabot[bot]
de167b162c
Bump github.com/gorilla/schema from 1.2.1 to 1.4.1
Bumps [github.com/gorilla/schema](https://github.com/gorilla/schema) from 1.2.1 to 1.4.1.
- [Release notes](https://github.com/gorilla/schema/releases)
- [Commits](https://github.com/gorilla/schema/compare/v1.2.1...v1.4.1)

---
updated-dependencies:
- dependency-name: github.com/gorilla/schema
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-15 22:17:13 +00:00
Matt Baer
d03ae0e93d
Merge pull request #1013 from writefreely/dependabot/go_modules/github.com/gorilla/sessions-1.3.0
Bump github.com/gorilla/sessions from 1.2.2 to 1.3.0
2024-08-15 18:11:39 -04:00
Matt Baer
47c584d0a2
Merge pull request #1014 from writefreely/dependabot/go_modules/golang.org/x/crypto-0.24.0
Bump golang.org/x/crypto from 0.21.0 to 0.24.0
2024-08-15 18:08:42 -04:00
Matt Baer
e338880609 Correctly show 404 page on /sitemap.xml on multi-user instances
Sitemaps are only meant for individual blogs right now, so instead
of invalid HTML getting returned, we'll properly catch the issue and
show a user-friendly "not found" page.

Fixes #941
2024-08-15 18:00:13 -04:00
Matt Baer
1dd37bc56d
Merge pull request #894 from claabs/docker-healthcheck-fix
Fix Docker healthcheck with wget
2024-08-13 15:38:50 -04:00
Matt Baer
226bb14716
Merge pull request #933 from CDN18/develop
Add linux/arm64 platform support for docker
2024-08-13 15:16:20 -04:00
Matt Baer
68d43f7af9
Merge pull request #1023 from writefreely/update-phabricator
Update Phabricator URL in docs and PR template
2024-08-13 14:42:14 -04:00
Matt Baer
5cc89b6795 Update Phabricator URL in docs and PR template
Moved from phabricator.write.as to todo.musing.studio
2024-08-13 14:40:24 -04:00
dependabot[bot]
f5d9839a70
Bump golang.org/x/crypto from 0.21.0 to 0.24.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.21.0 to 0.24.0.
- [Commits](https://github.com/golang/crypto/compare/v0.21.0...v0.24.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 22:11:22 +00:00