Commit Graph

1535 Commits

Author SHA1 Message Date
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
Josh Soref ea81e2c839 spelling: pattern
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-05 02:44:02 -05:00
Josh Soref 02fb079a9f spelling: optional
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-05 02:44:02 -05:00
Josh Soref 0746ec8567 spelling: modified
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-05 02:44:02 -05:00
Josh Soref 7e5d60043d spelling: miscellaneous
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-05 02:24:29 -05:00
Josh Soref af875b4d87 spelling: message
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-05 02:24:29 -05:00
Josh Soref 8dd7b40c02 spelling: javascript
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-05 02:24:29 -05:00
Josh Soref 8834253502 spelling: into
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-05 02:24:29 -05:00
Josh Soref 7feea370ed spelling: highlight
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-05 02:24:29 -05:00
Josh Soref 680f0d1e20 spelling: github
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-05 02:24:29 -05:00
Josh Soref bc53300e33 spelling: dynamic
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-05 02:24:29 -05:00
Josh Soref af0927cf5c spelling: consequences
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-05 02:24:29 -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
Abdullah 83765d5cbc
Update Makefile 2023-01-31 21:27:56 +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 118eb732f4 Merge branch 'develop' into letters 2023-01-08 11:49:57 -05: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
Timshel fc5a79a6bc Use TEXT for oauth_users.access_token to prevent insertion failure 2023-01-03 19:32:21 +01: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