Commit graph

1408 commits

Author SHA1 Message Date
Matt Baer
989d7eb2fc
Merge pull request #705 from writefreely/dependabot/go_modules/github.com/microcosm-cc/bluemonday-1.0.24
Bump github.com/microcosm-cc/bluemonday from 1.0.23 to 1.0.24
2023-06-30 18:07:52 -04:00
dependabot[bot]
ba8aebaa6f
Bump github.com/microcosm-cc/bluemonday from 1.0.23 to 1.0.24
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.23 to 1.0.24.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.23...v1.0.24)

---
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>
2023-06-30 22:05:07 +00:00
Matt Baer
949f13bf66
Merge pull request #721 from writefreely/dependabot/go_modules/golang.org/x/net-0.11.0
Bump golang.org/x/net from 0.9.0 to 0.11.0
2023-06-30 18:03:47 -04:00
Matt Baer
f92f7b13cb
Merge pull request #692 from writefreely/dependabot/go_modules/github.com/go-sql-driver/mysql-1.7.1
Bump github.com/go-sql-driver/mysql from 1.7.0 to 1.7.1
2023-06-30 18:03:20 -04:00
Matt Baer
a9733c30cf
Merge pull request #708 from writefreely/dependabot/go_modules/github.com/mattn/go-sqlite3-1.14.17
Bump github.com/mattn/go-sqlite3 from 1.14.16 to 1.14.17
2023-06-30 17:57:48 -04:00
dependabot[bot]
d3f935f693
Bump golang.org/x/net from 0.9.0 to 0.11.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.9.0 to 0.11.0.
- [Commits](https://github.com/golang/net/compare/v0.9.0...v0.11.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>
2023-06-30 21:57:43 +00:00
Matt Baer
3eb3146ae9
Merge pull request #709 from writefreely/dependabot/go_modules/github.com/stretchr/testify-1.8.4
Bump github.com/stretchr/testify from 1.8.1 to 1.8.4
2023-06-30 17:57:13 -04:00
Matt Baer
229607a5ab
Merge pull request #711 from writefreely/dependabot/github_actions/docker/login-action-2.2.0
Bump docker/login-action from 2.1.0 to 2.2.0
2023-06-30 17:56:23 -04:00
Matt Baer
d476c3b2f7
Merge pull request #716 from writefreely/dependabot/github_actions/docker/metadata-action-4.6.0
Bump docker/metadata-action from 4.1.1 to 4.6.0
2023-06-30 17:55:59 -04:00
Matt Baer
6946d3b785
Merge pull request #717 from writefreely/dependabot/github_actions/docker/build-push-action-4.1.1
Bump docker/build-push-action from 3.2.0 to 4.1.1
2023-06-30 17:53:48 -04:00
Matt Baer
e0372979d9
Merge pull request #691 from writefreely/netgo
Use Go DNS resolution in release binaries
2023-06-30 17:53:10 -04:00
dependabot[bot]
639770be4d
Bump docker/build-push-action from 3.2.0 to 4.1.1
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3.2.0 to 4.1.1.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3.2.0...v4.1.1)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13 23:00:23 +00:00
dependabot[bot]
b0b166e827
Bump docker/metadata-action from 4.1.1 to 4.6.0
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4.1.1 to 4.6.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v4.1.1...v4.6.0)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13 23:00:19 +00:00
dependabot[bot]
e2237653bb
Bump docker/login-action from 2.1.0 to 2.2.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 23:00:05 +00:00
dependabot[bot]
77823a382b
Bump github.com/stretchr/testify from 1.8.1 to 1.8.4
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.1 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 22:58:42 +00:00
dependabot[bot]
b6d17a9594
Bump github.com/mattn/go-sqlite3 from 1.14.16 to 1.14.17
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.16 to 1.14.17.
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.16...v1.14.17)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-01 22:58:34 +00:00
dependabot[bot]
e1e05e5f29
Bump github.com/go-sql-driver/mysql from 1.7.0 to 1.7.1
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.7.0 to 1.7.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.0...v1.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-28 14:20:58 +00:00
Matt Baer
67dbc9b22b
Merge pull request #617 from writefreely/dependabot/go_modules/github.com/go-sql-driver/mysql-1.7.0
Bump github.com/go-sql-driver/mysql from 1.6.0 to 1.7.0
2023-04-28 10:11:32 -04:00
Matt Baer
3f5fd6e2d2
Merge pull request #644 from writefreely/dependabot/go_modules/github.com/dustin/go-humanize-1.0.1
Bump github.com/dustin/go-humanize from 1.0.0 to 1.0.1
2023-04-28 10:10:12 -04:00
Matt Baer
3a7554abe8 Use Go DNS resolution in release binaries
This builds with the `netgo` tag, ensuring WF binaries use Go DNS
resolution instead of libc, preventing unhelpful errors when the
application can't resolve addresses.

Closes #675
2023-04-28 10:07:00 -04:00
Matt Baer
e350b7ce8a
Merge pull request #597 from ilteriseroglu-ty/fix-xbuilds
fix Makefile and Dockerfile to build on latest go versions
2023-04-07 12:14:07 -04:00
Matt Baer
1a61128dfc
Merge pull request #621 from writefreely/filepath-errors
Catch and output directory walking errors
2023-04-07 11:47:13 -04:00
Matt Baer
ddabab041a
Merge pull request #543 from clarfonthey/unix-support
Add unix socket support
2023-04-07 11:46:08 -04:00
Matt Baer
2ba840634b
Merge pull request #660 from writefreely/fix-alt-text
Loosen restrictions on rendered img alt attribute
2023-04-07 11:26:43 -04:00
Matt Baer
ac9c53cfff
Merge pull request #666 from writefreely/dependabot/go_modules/github.com/microcosm-cc/bluemonday-1.0.23
Bump github.com/microcosm-cc/bluemonday from 1.0.21 to 1.0.23
2023-04-07 11:25:57 -04:00
dependabot[bot]
1a4845aca8
Bump github.com/microcosm-cc/bluemonday from 1.0.21 to 1.0.23
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.21 to 1.0.23.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.21...v1.0.23)

---
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>
2023-04-07 15:24:24 +00:00
Matt Baer
7c0e69cf41
Merge pull request #672 from writefreely/dependabot/go_modules/golang.org/x/crypto-0.8.0
Bump golang.org/x/crypto from 0.0.0-20200622213623-75b288015ac9 to 0.8.0
2023-04-07 11:23:34 -04:00
dependabot[bot]
cdaa13a260
Bump github.com/go-sql-driver/mysql from 1.6.0 to 1.7.0
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.6.0 to 1.7.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.6.0...v1.7.0)

---
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>
2023-04-07 15:22:18 +00:00
dependabot[bot]
0dcfd1809d
Bump github.com/dustin/go-humanize from 1.0.0 to 1.0.1
Bumps [github.com/dustin/go-humanize](https://github.com/dustin/go-humanize) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/dustin/go-humanize/releases)
- [Commits](https://github.com/dustin/go-humanize/compare/v1.0.0...v1.0.1)

---
updated-dependencies:
- dependency-name: github.com/dustin/go-humanize
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-07 15:22:17 +00:00
dependabot[bot]
ad6c8f30bc
Bump golang.org/x/crypto from 0.0.0-20200622213623-75b288015ac9 to 0.8.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20200622213623-75b288015ac9 to 0.8.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/commits/v0.8.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>
2023-04-07 15:22:13 +00:00
Matt Baer
86c76b0442
Merge pull request #670 from writefreely/dependabot/go_modules/github.com/fatih/color-1.15.0
Bump github.com/fatih/color from 1.13.0 to 1.15.0
2023-04-07 11:21:31 -04:00
dependabot[bot]
43176ed7ea
Bump github.com/fatih/color from 1.13.0 to 1.15.0
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.13.0 to 1.15.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.13.0...v1.15.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>
2023-04-01 22:59:14 +00:00
Matt Baer
64772aa203 Loosen restrictions on rendered img alt attribute
Previously, certain characters weren't allowed, and they would cause the entire
alt attribute to be elided from the rendered page. Since we safely sanitize the
content of this attribute anyway, this is unnecessary, so we now allow all text
entered there.

Fixes #649
2023-03-14 15:13:03 -04:00
Matt Baer
40b9c08c86
Merge pull request #657 from writefreely/dependabot/go_modules/github.com/writeas/web-core-1.4.1
Bump github.com/writeas/web-core from 1.4.1-0.20220118212728-0da0bcaf018e to 1.4.1
2023-03-07 13:37:34 -05:00
dependabot[bot]
ee665c0c68
Bump github.com/writeas/web-core
Bumps [github.com/writeas/web-core](https://github.com/writeas/web-core) from 1.4.1-0.20220118212728-0da0bcaf018e to 1.4.1.
- [Release notes](https://github.com/writeas/web-core/releases)
- [Commits](https://github.com/writeas/web-core/commits/v1.4.1)

---
updated-dependencies:
- dependency-name: github.com/writeas/web-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-01 23:00:16 +00:00
İlteriş Yağıztegin Eroğlu
77cc1cc816 fix Makefile and Dockerfile to build on latest go versions
Signed-off-by: İlteriş Yağıztegin Eroğlu <ilteris.eroglu@trendyol.com>
2023-01-20 11:36:11 +00:00
Matt Baer
99d72881cf Catch and output directory walking errors
Previously, app would panic and admins would see unhelpful errors.

This closes #620
2023-01-06 15:34:22 -05:00
Matt Baer
a0f1e1821f Delete socket file on server shutdown 2022-12-26 13:20:28 -05:00
Matt Baer
f84b4b0f74 Use more idiomatic variable initialization for network/protocol 2022-12-26 13:18:45 -05:00
Matt Baer
7a84d27dca Re-use err variable, instead of creating new error vars 2022-12-26 13:17:56 -05:00
Matt Baer
3e6669828c
Merge pull request #605 from writefreely/dependabot/go_modules/github.com/go-ini/ini-1.67.0
Bump github.com/go-ini/ini from 1.66.4 to 1.67.0
2022-12-25 00:51:59 -05:00
Matt Baer
bbcb61bc53
Merge pull request #531 from writefreely/markdown-descriptions
Support Markdown and rel=me links in blog descriptions
2022-12-25 00:48:46 -05:00
Matt Baer
8684ff04a4 Merge branch 'develop' into markdown-descriptions 2022-12-25 00:47:41 -05:00
Matt Baer
93d5fd152d
Merge pull request #610 from lpar/remove-go-bindata
Replace go-bindata with standard go:embed
2022-12-25 00:24:36 -05:00
mathew
6903dd4349 Replace go-bindata with standard go:embed 2022-12-24 17:59:19 -06:00
dependabot[bot]
b5021f2b0c
Bump github.com/go-ini/ini from 1.66.4 to 1.67.0
Bumps [github.com/go-ini/ini](https://github.com/go-ini/ini) from 1.66.4 to 1.67.0.
- [Release notes](https://github.com/go-ini/ini/releases)
- [Commits](https://github.com/go-ini/ini/compare/v1.66.4...v1.67.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 22:02:03 +00:00
Matt Baer
29c898867a
Merge pull request #483 from writefreely/log-gone-user-out
Log user out when authenticated as deleted user
2022-11-14 23:45:33 -05:00
Matt Baer
17614b5e02
Merge pull request #533 from writefreely/custom-css
Support custom instance-level stylesheets with file
2022-11-14 23:43:32 -05:00
Matt Baer
950090c0d7 Fix whitespace in templates/user/include/header.tmpl 2022-11-14 23:42:37 -05:00
Matt Baer
01c920b253 Merge branch 'develop' into custom-css 2022-11-14 23:41:36 -05:00