Commit Graph

1658 Commits

Author SHA1 Message Date
vtyeh ec7d336bc2 Update title link to be dynamic with new singleUser bool 2024-10-22 13:42:17 -07:00
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
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
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
dependabot[bot] 57497f9542
Bump github.com/gorilla/sessions from 1.2.2 to 1.3.0
Bumps [github.com/gorilla/sessions](https://github.com/gorilla/sessions) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/gorilla/sessions/releases)
- [Commits](https://github.com/gorilla/sessions/compare/v1.2.2...v1.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 22:11:18 +00:00
dependabot[bot] 8cf0d9c02c
Bump golang.org/x/net from 0.22.0 to 0.26.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.22.0 to 0.26.0.
- [Commits](https://github.com/golang/net/compare/v0.22.0...v0.26.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-07-01 22:11:10 +00:00
CDN18 bdcf369b3d
add client_id and client_secret to exchangeOauthCode form 2024-06-10 14:05:15 +08:00
CDN18 69eb4d6b0a
fix: do second actor deref from main-key endpoint against publickey.Owner 2024-06-10 13:57:22 +08:00
dependabot[bot] d11270a340
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-06-01 22:36:15 +00:00
Matt Baer 038a80c25e
Merge pull request #893 from writefreely/consistent-reader-nav
Fix Admin and Invite links never showing on Reader nav
2024-04-17 12:44:28 -04:00
Matt Baer 9ece6682ef
Merge pull request #930 from tkngaejcpi/develop
support more image formats
2024-04-17 12:43:50 -04:00
Matt Baer 41e1989345
Merge pull request #982 from writefreely/dependabot/go_modules/golang.org/x/net-0.22.0
Bump golang.org/x/net from 0.20.0 to 0.22.0
2024-04-03 14:25:17 -04:00
Matt Baer 34d902062f
Merge pull request #927 from writefreely/dependabot/go_modules/github.com/stretchr/testify-1.9.0
Bump github.com/stretchr/testify from 1.8.4 to 1.9.0
2024-04-03 14:23:13 -04:00
dependabot[bot] 5b7e2a6f2f
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/v1.8.1/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-04-01 22:46:52 +00:00
dependabot[bot] ed9ff51b68
Bump golang.org/x/net from 0.20.0 to 0.22.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.20.0 to 0.22.0.
- [Commits](https://github.com/golang/net/compare/v0.20.0...v0.22.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-04-01 22:46:41 +00:00
CDN18 e36db46eb6 Add linux/arm64 platform support for docker 2024-03-06 19:17:10 +08:00
Riley Chang 83ffea7fa0
support more image formats 2024-03-04 22:48:51 +08:00
dependabot[bot] 3dd0a9b8dc
Bump github.com/stretchr/testify from 1.8.4 to 1.9.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 22:40:53 +00:00
Matt Baer 427f4980b9
Merge pull request #874 from claabs/docker-fixes
Version number and healthcheck fixes for Docker image
2024-02-20 10:19:30 -05:00
charlocharlie 0bf67639c1 Change Docker healthcheck to wget
curl is not available in the Alpine image
2024-02-20 09:08:33 -06:00
Matt Baer e34a58d0ef Fix Admin and Invite links never showing on Reader nav 2024-02-20 10:02:14 -05:00