Commit Graph

1610 Commits

Author SHA1 Message Date
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
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
Matt Baer 4c1678f91e
Merge pull request #537 from dariusk/fix-drop
Prevent dropping of external files onto editor
2022-11-14 23:38:38 -05:00
Matt Baer 4b33c51ece
Merge pull request #540 from writefreely/better-titles-stats
Show post excerpt in stats list when no post title
2022-11-14 23:37:21 -05:00
Matt Baer 99d17e5e97
Merge pull request #596 from writefreely/dependabot/go_modules/github.com/urfave/cli/v2-2.23.5
Bump github.com/urfave/cli/v2 from 2.5.1 to 2.23.5
2022-11-11 03:41:25 -05:00
dependabot[bot] 6347301867
Bump github.com/urfave/cli/v2 from 2.5.1 to 2.23.5
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.5.1 to 2.23.5.
- [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.5.1...v2.23.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-11 08:36:55 +00:00
Matt Baer 7f83bb2706
Merge pull request #594 from writefreely/dependabot/go_modules/github.com/mattn/go-sqlite3-1.14.16
Bump github.com/mattn/go-sqlite3 from 1.14.6 to 1.14.16
2022-11-11 03:36:14 -05:00
Matt Baer 02383768ed
Merge pull request #591 from writefreely/dependabot/go_modules/github.com/stretchr/testify-1.8.1
Bump github.com/stretchr/testify from 1.7.0 to 1.8.1
2022-11-11 03:35:43 -05:00
Matt Baer f85241e037
Merge pull request #589 from writefreely/dependabot/github_actions/docker/metadata-action-4.1.1
Bump docker/metadata-action from 4.0.1 to 4.1.1
2022-11-11 03:35:05 -05:00
dependabot[bot] a080e51aaa
Bump github.com/mattn/go-sqlite3 from 1.14.6 to 1.14.16
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.6 to 1.14.16.
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.6...v1.14.16)

---
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>
2022-11-11 08:34:57 +00:00
Matt Baer 57b12f31c9
Merge pull request #587 from writefreely/dependabot/github_actions/docker/login-action-2.1.0
Bump docker/login-action from 2.0.0 to 2.1.0
2022-11-11 03:34:36 -05:00
Matt Baer c58eedba7d
Merge pull request #586 from writefreely/dependabot/github_actions/docker/build-push-action-3.2.0
Bump docker/build-push-action from 3.0.0 to 3.2.0
2022-11-11 03:34:15 -05:00
Matt Baer 9767910b1f
Merge pull request #560 from writefreely/dependabot/go_modules/github.com/gorilla/csrf-1.7.1
Bump github.com/gorilla/csrf from 1.7.0 to 1.7.1
2022-11-11 03:33:46 -05:00
Matt Baer ac1b947b18
Merge pull request #563 from writefreely/dependabot/go_modules/github.com/fatih/color-1.13.0
Bump github.com/fatih/color from 1.10.0 to 1.13.0
2022-11-11 03:33:09 -05:00
dependabot[bot] a5c80b98e7
Bump github.com/guregu/null
Bumps [github.com/guregu/null](https://github.com/guregu/null) from 3.5.0+incompatible to 4.0.0+incompatible.
- [Release notes](https://github.com/guregu/null/releases)
- [Commits](https://github.com/guregu/null/compare/v3.5.0...v4.0.0)

---
updated-dependencies:
- dependency-name: github.com/guregu/null
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-11 08:29:20 +00:00
dependabot[bot] 7b5326ada9
Bump github.com/fatih/color from 1.10.0 to 1.13.0
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.10.0 to 1.13.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.10.0...v1.13.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>
2022-11-11 08:29:06 +00:00
Matt Baer 2c644dd262
Merge pull request #562 from writefreely/dependabot/go_modules/github.com/gorilla/sessions-1.2.1
Bump github.com/gorilla/sessions from 1.2.0 to 1.2.1
2022-11-11 03:28:28 -05:00
Matt Baer 7687341512
Merge pull request #554 from writefreely/dependabot/go_modules/github.com/manifoldco/promptui-0.9.0
Bump github.com/manifoldco/promptui from 0.8.0 to 0.9.0
2022-11-11 03:27:19 -05:00
dependabot[bot] beb964a9f1
Bump github.com/stretchr/testify from 1.7.0 to 1.8.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.8.1)

---
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>
2022-11-11 07:58:29 +00:00
dependabot[bot] 42c7e22b98
Bump github.com/gorilla/csrf from 1.7.0 to 1.7.1
Bumps [github.com/gorilla/csrf](https://github.com/gorilla/csrf) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/gorilla/csrf/releases)
- [Commits](https://github.com/gorilla/csrf/compare/v1.7.0...v1.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-11 07:58:27 +00:00