Matt Baer
9b336dee8c
Fix instance-wide actor lookup
...
This skips the silenced-user check.
Ref T820
4 years ago
Matt Baer
9aeeb52bdb
Fix nil pointer on instance-wide actor lookup
...
Ref T820
4 years ago
Matt Baer
9484880bca
Sign actor fetch request
...
This fixes federation with Mastodon instances that have Authorized
Fetch turned on by signing the GET request to fetch the actor when
a blog is first followed.
Ref T820
4 years ago
Matt Baer
1f6d0e2e70
Merge branch 'develop' into support-notes
4 years ago
Matt Baer
53ea85dc86
Merge pull request #407 from conor-f/docker-fixes
...
Dockerfile/docker-compose fixes
4 years ago
Matt Baer
d52e2826f8
Merge pull request #389 from colin-axner/remove-unnecessary-var
...
remove unnecessary var in account.go
4 years ago
Conor Flynn
9f925c8138
Changes docker-compose image to use writefreely.
4 years ago
Conor Flynn
0eb1a2deec
Fixes broken Docker/docker-compose structures.
...
Updates versions and uses maria DB instead of sqlite in the
docker-compose. Also fixes things related to networks, generating
config, etc.
4 years ago
Matt Baer
3493921837
Merge pull request #402 from dariusk/dariusk/mastodon
...
Adding scope field to generic OAuth
4 years ago
Matt Baer
7d4df23d3c
Merge pull request #397 from mrvdb/issue305
...
Drop the /tags/{tag} route
4 years ago
Matt Baer
3b91400b62
Merge pull request #387 from writeas/resize-customize-editor
...
Automatically resize CSS editor
4 years ago
Matt Baer
bb008aa66c
Merge pull request #382 from Antolius/fix-post-summary-escaping
...
Fix escaping in post summary
4 years ago
Darius Kazemi
667cbb97ed
Adding scope field to generic OAuth
...
Some OAuth providers (like Mastodon) do not use the default
"read_user" scope, instead offering a custom scope. The config.ini
for generic OAuth now contains a "scope" field, allowing the admin
to set the scope manually (it defaults to "read_user" if blank).
4 years ago
Matt Baer
e1cde913e2
Merge pull request #369 from writeas/web-monetization
...
Support Web Monetization
4 years ago
Matt Baer
345313200e
Merge pull request #385 from writeas/fix-pinned-post-header-space
...
Fix header spacing on pinned posts
4 years ago
Matt Baer
211b02c209
Merge pull request #364 from Obayanju/fix-youtube-query-parameters
...
Fix removal of query parameters on youtube embed links
4 years ago
Matt Baer
b1e22795b1
Merge pull request #378 from writeas/dependabot/go_modules/github.com/gorilla/mux-1.8.0
...
Bump github.com/gorilla/mux from 1.7.4 to 1.8.0
4 years ago
Matt Baer
cf0403d955
Merge pull request #398 from writeas/dependabot/go_modules/github.com/mattn/go-sqlite3-1.14.4
...
Bump github.com/mattn/go-sqlite3 from 1.14.2 to 1.14.4
4 years ago
Matt Baer
c1aed45388
Merge pull request #396 from writeas/dependabot/go_modules/gopkg.in/ini.v1-1.61.0
...
Bump gopkg.in/ini.v1 from 1.57.0 to 1.61.0
4 years ago
dependabot[bot]
083d8c4d67
Bump github.com/mattn/go-sqlite3 from 1.14.2 to 1.14.4
...
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3 ) from 1.14.2 to 1.14.4.
- [Release notes](https://github.com/mattn/go-sqlite3/releases )
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.2...v1.14.4 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Matt Baer
e3c7a8ac3a
Merge pull request #395 from writeas/dependabot/go_modules/github.com/mitchellh/go-wordwrap-1.0.1
...
Bump github.com/mitchellh/go-wordwrap from 1.0.0 to 1.0.1
4 years ago
dependabot[bot]
454e781ed4
Bump github.com/mitchellh/go-wordwrap from 1.0.0 to 1.0.1
...
Bumps [github.com/mitchellh/go-wordwrap](https://github.com/mitchellh/go-wordwrap ) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/mitchellh/go-wordwrap/releases )
- [Commits](https://github.com/mitchellh/go-wordwrap/compare/v1.0.0...v1.0.1 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Matt Baer
1b6f9b6742
Merge pull request #393 from writeas/dependabot/go_modules/github.com/manifoldco/promptui-0.8.0
...
Bump github.com/manifoldco/promptui from 0.7.0 to 0.8.0
4 years ago
Marcel van der Boom
5961eb8f27
Drop the /tags/{tag} route
...
fixes issue #305
4 years ago
dependabot[bot]
f5f28550fb
Bump gopkg.in/ini.v1 from 1.57.0 to 1.61.0
...
Bumps [gopkg.in/ini.v1](https://github.com/go-ini/ini ) from 1.57.0 to 1.61.0.
- [Release notes](https://github.com/go-ini/ini/releases )
- [Commits](https://github.com/go-ini/ini/compare/v1.57.0...v1.61.0 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
dependabot[bot]
c22a751ab7
Bump github.com/manifoldco/promptui from 0.7.0 to 0.8.0
...
Bumps [github.com/manifoldco/promptui](https://github.com/manifoldco/promptui ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/manifoldco/promptui/releases )
- [Changelog](https://github.com/manifoldco/promptui/blob/master/CHANGELOG.md )
- [Commits](https://github.com/manifoldco/promptui/compare/v0.7.0...v0.8.0 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Matt Baer
2768ea9414
Make Monetization optional
...
Some WriteFreely instances are completely private, and thus have no need for public-
oriented features like Web Monetization. Like federation, this gives admins control
over whether or not the feature is enabled for users.
Ref T773
4 years ago
Matt Baer
13a3a68d54
Validate and trim spaces on WM pointer
...
Ref T773
4 years ago
Matt Baer
ec7b299fd3
Enable updating WM payment pointer via API and Customize page
...
Ref T773
4 years ago
Matt Baer
f534ee1dec
Merge pull request #391 from colin-axner/getCollectionPage-cleanup
...
update getCollectionPage
4 years ago
Colin Axner
678653ac30
update getCollectionPage
...
Update getCollectionPage godoc and reduce logic and variable assignments
4 years ago
Colin Axner
75a79d49bd
remove unnecessary var
...
Remove createdWithPass var in account.go along with impossible if statement
4 years ago
Matt Baer
2908080b52
Automatically resize CSS editor
...
Closes T708
4 years ago
Matt Baer
d6d510aec9
Fix `dated` header class on pinned posts
...
The header shouldn't include the `dated` property, since we don't display a date
on pinned posts. This fixes that.
4 years ago
Dami
f847ade1ef
Use camelCase
4 years ago
Dami
3a789f5a00
Go to next regex match if url parsing error
4 years ago
Dami
79715891fb
Merge branch 'develop' of https://github.com/writeas/writefreely into fix-youtube-query-parameters
4 years ago
Josip Antoliš
eb76faa129
Fix escaping in post summary
...
Unescaping post content after sanitizing it. This will prevent double
escaping when summary is rendered by html/template package which does
escaping by default.
Fixes #340
4 years ago
Matt Baer
7c1244e6b1
Merge pull request #381 from writeas/fix-testpostlede
...
Truncate post lede at question mark
4 years ago
Matt Baer
c31a87fb76
Merge pull request #336 from Antolius/static-assets-cache-control
...
Add Cache-Control header
4 years ago
Josip Antoliš
1b1d3064c9
Move cacheControl func into handle.go file
4 years ago
Josip Antoliš
3f36ede885
Add Cache-Control header
...
Add Cache-Control response header for static files in order to improve page loading speed.
Fixes #322
4 years ago
Matt Baer
f821ead3a1
Support only federating Notes
...
When setting `notes_only = true` in the `[app]` configuration section, WF will only send out `Note` objects. Otherwise, it will send out both `Note`s and `Article`s.
4 years ago
Matt Baer
8be71481c8
Merge branch 'develop' into support-notes
4 years ago
Matt Baer
a8a6525006
Merge pull request #377 from writeas/dependabot/go_modules/github.com/microcosm-cc/bluemonday-1.0.4
...
Bump github.com/microcosm-cc/bluemonday from 1.0.3 to 1.0.4
4 years ago
Matt Baer
98d88b9a4b
Truncate lede at question mark
...
This fixes TestPostLede and closes #316 .
4 years ago
Matt Baer
ac90cb2c80
Fix panic in TestViewOauthCallback
4 years ago
dependabot[bot]
00a5a4f7ab
Bump github.com/microcosm-cc/bluemonday from 1.0.3 to 1.0.4
...
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday ) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases )
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.3...v1.0.4 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Matt Baer
505b124db7
Merge pull request #379 from writeas/dependabot/go_modules/github.com/mattn/go-sqlite3-1.14.2
...
Bump github.com/mattn/go-sqlite3 from 1.14.0 to 1.14.2
4 years ago
Matt Baer
f75d4cb75d
Merge pull request #327 from Dar13/add-cors-headers-public-api
...
Add CORS header ('Access-Control-Allow-Origin') to public APIs
4 years ago