Matt Baer
e1cde913e2
Merge pull request #369 from writeas/web-monetization
Support Web Monetization
3 anni fa
Matt Baer
345313200e
Merge pull request #385 from writeas/fix-pinned-post-header-space
Fix header spacing on pinned posts
3 anni fa
Matt Baer
211b02c209
Merge pull request #364 from Obayanju/fix-youtube-query-parameters
Fix removal of query parameters on youtube embed links
3 anni fa
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
3 anni fa
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
3 anni fa
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
3 anni fa
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>
3 anni fa
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
3 anni fa
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>
3 anni fa
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
3 anni fa
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>
3 anni fa
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>
3 anni fa
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
3 anni fa
Matt Baer
13a3a68d54
Validate and trim spaces on WM pointer
Ref T773
3 anni fa
Matt Baer
ec7b299fd3
Enable updating WM payment pointer via API and Customize page
Ref T773
3 anni fa
Matt Baer
f534ee1dec
Merge pull request #391 from colin-axner/getCollectionPage-cleanup
update getCollectionPage
3 anni fa
Colin Axner
678653ac30
update getCollectionPage
Update getCollectionPage godoc and reduce logic and variable assignments
3 anni fa
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.
3 anni fa
Dami
f847ade1ef
Use camelCase
3 anni fa
Dami
3a789f5a00
Go to next regex match if url parsing error
3 anni fa
Dami
79715891fb
Merge branch 'develop' of https://github.com/writeas/writefreely into fix-youtube-query-parameters
3 anni fa
Matt Baer
7c1244e6b1
Merge pull request #381 from writeas/fix-testpostlede
Truncate post lede at question mark
3 anni fa
Matt Baer
c31a87fb76
Merge pull request #336 from Antolius/static-assets-cache-control
Add Cache-Control header
3 anni fa
Josip Antoliš
1b1d3064c9
Move cacheControl func into handle.go file
3 anni fa
Josip Antoliš
3f36ede885
Add Cache-Control header
Add Cache-Control response header for static files in order to improve page loading speed.
Fixes #322
3 anni fa
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
3 anni fa
Matt Baer
98d88b9a4b
Truncate lede at question mark
This fixes TestPostLede and closes #316 .
3 anni fa
Matt Baer
ac90cb2c80
Fix panic in TestViewOauthCallback
3 anni fa
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>
3 anni fa
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
3 anni fa
Matt Baer
f75d4cb75d
Merge pull request #327 from Dar13/add-cors-headers-public-api
Add CORS header ('Access-Control-Allow-Origin') to public APIs
3 anni fa
dependabot[bot]
21579cfa71
Bump github.com/mattn/go-sqlite3 from 1.14.0 to 1.14.2
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3 ) from 1.14.0 to 1.14.2.
- [Release notes](https://github.com/mattn/go-sqlite3/releases )
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.0...v1.14.2 )
Signed-off-by: dependabot[bot] <support@github.com>
3 anni fa
dependabot[bot]
1779aeaf8c
Bump github.com/gorilla/mux from 1.7.4 to 1.8.0
Bumps [github.com/gorilla/mux](https://github.com/gorilla/mux ) from 1.7.4 to 1.8.0.
- [Release notes](https://github.com/gorilla/mux/releases )
- [Commits](https://github.com/gorilla/mux/compare/v1.7.4...v1.8.0 )
Signed-off-by: dependabot[bot] <support@github.com>
3 anni fa
Matt Baer
62d29166f4
Merge pull request #376 from writeas/dependabot/go_modules/github.com/gorilla/schema-1.2.0
Bump github.com/gorilla/schema from 1.1.0 to 1.2.0
3 anni fa
dependabot[bot]
e60398f0b4
Bump github.com/gorilla/schema from 1.1.0 to 1.2.0
Bumps [github.com/gorilla/schema](https://github.com/gorilla/schema ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/gorilla/schema/releases )
- [Commits](https://github.com/gorilla/schema/compare/v1.1.0...v1.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
3 anni fa
Matt Baer
ce69117c79
Merge pull request #371 from writeas/design-update
Navigation improvements
3 anni fa
Matt Baer
d8019bba0d
Merge pull request #370 from writeas/oauth-cleanup
OAuth tidy-up and refactor
3 anni fa
Matt Baer
820c5ae557
Remove Admin link from header on Account Settings page
3 anni fa
Matt Baer
3a915ad8ea
Make New Post button contextual on coll sub-sections
3 anni fa
Matt Baer
8d27ee6d99
Only show "New Post" button in coll. nav bar on Blogs page
3 anni fa
Matt Baer
6f8d70043f
Move coll. navigation to main header for single-user sites
This uses the main navigation bar for the Customize and Stats pages, instead of the collection-navigation bar used for multi-user / multi-collection instances.
3 anni fa
Matt Baer
9d0ba2bed4
Add contextual blog menu
3 anni fa
Matt Baer
cef51a7797
Remove accidental #user-nav color
3 anni fa
Matt Baer
0ed9c9c746
Add inter-blog navigation
This makes it easier to navigate between different blog sections: Customize, Stats, View.
3 anni fa
Matt Baer
217430e56b
Redirect user to /me/settings on cancelled OAuth flow
3 anni fa
Matt Baer
7a09a47de2
Include OAuth buttons on signup-via-invite page
3 anni fa
Matt Baer
455e50c9a8
Use branded OAuth buttons
This includes the platform mark with each login button and uses
brand colors. It also uses the same style on the Account Settings
page. And it wraps buttons on login / signup pages.
3 anni fa
Matt Baer
a78b36b871
Fix whitespace in user/settings.tmpl
3 anni fa
Matt Baer
00cceca104
Update signup-via-invite page
This updates signup.tmpl to include all supported OAuth methods and respect the new `DisablePasswordAuth` config value.
3 anni fa
Matt Baer
4db2cb8986
Templatize OAuth buttons across signup and login pages
This moves fields into the `OAuthButtons` struct and puts the buttons into templates/includes/oauth.tmpl.
3 anni fa