Commit graph

1199 commits

Author SHA1 Message Date
Matt Baer
217430e56b Redirect user to /me/settings on cancelled OAuth flow 2020-08-19 15:40:07 -04:00
Matt Baer
7a09a47de2 Include OAuth buttons on signup-via-invite page 2020-08-19 15:20:13 -04:00
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.
2020-08-19 15:14:29 -04:00
Matt Baer
a78b36b871 Fix whitespace in user/settings.tmpl 2020-08-19 14:55:16 -04:00
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.
2020-08-19 13:35:21 -04:00
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.
2020-08-19 13:31:07 -04:00
Matt Baer
a773d94dc7 Reorder Gitea fields and structs in config.go 2020-08-19 13:26:15 -04:00
Matt Baer
04d404e61f Move text OAuth button styles to login.less 2020-08-19 12:38:44 -04:00
Matt Baer
21e9b4a667 Run go fmt on database.go 2020-08-19 12:29:23 -04:00
Matt Baer
63f023ea98 Fix GitLab & OAuth button labels on Login page
Previously, these display names were swapped.
2020-08-19 12:04:36 -04:00
Matt Baer
ab32caa49c Include key names in Login page struct 2020-08-19 12:02:36 -04:00
Matt Baer
13eb51913e Support Web Monetization via backend attribute
This supports a new `monetization_pointer` collection attribute.
When present, we include the `monetization` meta tag on all
collection pages.
2020-08-19 09:28:44 -04:00
Matt Baer
95273697f4 Use consistent server User-Agent across application 2020-08-18 12:22:04 -04:00
Matt Baer
dfa14c9c92
Merge pull request #317 from pascoual/feature/generic-oauth
Login with generic oauth feature++
2020-08-17 14:24:50 -04:00
prichier
ab285644a0 Fix: signup methods mutually exclusive 2020-08-16 20:42:55 +02:00
Pascal Richier
d3f1e40010
Merge branch 'develop' into feature/generic-oauth 2020-08-16 19:58:01 +02:00
Matt Baer
7e3eb9a87b
Merge pull request #319 from writeas/silo-mentions
Support AP-style mentions of centralized social media accounts
2020-08-13 12:36:42 -04:00
Matt Baer
7fa78c2255 Move fakeAPInstances to web-core/silobridge package
This adds support for mentioning profiles on the following sites:

- deviantart.com
- facebook.com
- flickr.com
- github.com
- instagram.com
- reddit.com
- wattpad.com
- youtube.com
2020-08-13 12:33:35 -04:00
Matt Baer
c16414843a
Merge pull request #368 from writeas/RJ722-217-fix-h2-size
Use a bigger font size for h2
2020-08-13 12:24:41 -04:00
Matt Baer
b2382b5422
Merge pull request #293 from gytisrepecka/oauth-gitea
Added Gitea OAuth login and account management.
2020-08-13 10:41:29 -04:00
gytisrepecka
731d4e8efe
Run gofmt for modified files. 2020-08-13 09:15:04 +03:00
Matt Baer
fd3a6399b3
Merge pull request #355 from writeas/accessible-dropdowns
Add menu hover delay
2020-08-12 13:51:08 -04:00
Matt Baer
8b243e119f Change post page h2 size to 1.4em 2020-08-12 13:48:48 -04:00
Matt Baer
0c8b779afb Merge branch '217-fix-h2-size' of https://github.com/RJ722/writefreely into RJ722-217-fix-h2-size 2020-08-12 13:42:57 -04:00
Matt Baer
5f52c23a65
Merge pull request #181 from writeas/mathjax-in-binaries
Mathjax in binaries
2020-08-11 09:47:16 -04:00
Matt Baer
e37bec6aa1
Merge pull request #196 from writeas/dark-mode-pad
Dark mode pad
2020-08-11 09:30:07 -04:00
Matt Baer
121d83d94d Clean up pad JS formatting, debug messages 2020-08-11 09:27:50 -04:00
Dami
9b614bc922 Fix removal of query parameters on youtube embed links
This uses go's html and url parser plus regex, instead of
using only a single regex for simplicity sake. A single regex expression
might be error prone, for example, when trying to matching html entities.

Fixes #328
2020-08-07 00:05:43 -06:00
Matt Baer
849e5b8503
Merge pull request #330 from writeas/post-signatures
Support post signatures

Ref T582
2020-07-30 11:53:27 -04:00
Matt Baer
fee44e7c8d Add menu hover delay on user pages + editor 2020-07-30 11:26:29 -04:00
Matt Baer
a32fc44153
Merge pull request #350 from writeas/dependabot/go_modules/github.com/fatih/color-1.9.0
Bump github.com/fatih/color from 1.7.0 to 1.9.0
2020-07-28 15:14:54 -04:00
Matt Baer
bd387c6dec Merge branch 'develop' into dependabot/go_modules/github.com/fatih/color-1.9.0 2020-07-28 15:09:19 -04:00
Matt Baer
cd6ccd257b
Merge pull request #343 from writeas/dependabot/go_modules/github.com/manifoldco/promptui-0.7.0
Bump github.com/manifoldco/promptui from 0.3.2 to 0.7.0
2020-07-28 15:05:21 -04:00
dependabot[bot]
9c835a2b9d
Bump github.com/fatih/color from 1.7.0 to 1.9.0
Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.7.0 to 1.9.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](https://github.com/fatih/color/compare/v1.7.0...v1.9.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-28 18:01:42 +00:00
Matt Baer
55ffb86ac2
Merge pull request #351 from writeas/dependabot/go_modules/github.com/go-sql-driver/mysql-1.5.0
Bump github.com/go-sql-driver/mysql from 1.4.1 to 1.5.0
2020-07-28 14:00:05 -04:00
Matt Baer
78e0d98589
Merge pull request #349 from writeas/dependabot/go_modules/github.com/guregu/null-3.5.0incompatible
Bump github.com/guregu/null from 3.4.0+incompatible to 3.5.0+incompatible
2020-07-28 13:54:58 -04:00
Matt Baer
6af24293d1 Merge branch 'develop' into dependabot/go_modules/github.com/guregu/null-3.5.0incompatible 2020-07-28 13:53:36 -04:00
Matt Baer
9d7783f80d
Merge pull request #348 from writeas/dependabot/go_modules/gopkg.in/ini.v1-1.57.0
Bump gopkg.in/ini.v1 from 1.55.0 to 1.57.0
2020-07-28 13:41:04 -04:00
Matt Baer
2eaf7493d7
Merge pull request #347 from writeas/dependabot/go_modules/github.com/urfave/cli/v2-2.2.0
Bump github.com/urfave/cli/v2 from 2.1.1 to 2.2.0
2020-07-28 13:19:43 -04:00
Matt Baer
ab6d4bfb9d
Merge pull request #353 from writeas/dependabot/go_modules/github.com/writeas/import-0.2.1
Bump github.com/writeas/import from 0.2.0 to 0.2.1
2020-07-28 13:00:25 -04:00
dependabot[bot]
2c45307107
Bump github.com/urfave/cli/v2 from 2.1.1 to 2.2.0
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.1.1...v2.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-28 16:43:05 +00:00
dependabot[bot]
ad2e46cb40
Bump github.com/manifoldco/promptui from 0.3.2 to 0.7.0
Bumps [github.com/manifoldco/promptui](https://github.com/manifoldco/promptui) from 0.3.2 to 0.7.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.3.2...v0.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-28 16:40:57 +00:00
Matt Baer
e796331de8
Merge pull request #346 from writeas/dependabot/go_modules/github.com/stretchr/testify-1.6.1
Bump github.com/stretchr/testify from 1.6.0 to 1.6.1
2020-07-28 12:39:26 -04:00
Matt Baer
9ff54f9944
Merge pull request #342 from writeas/dependabot/go_modules/github.com/mattn/go-sqlite3-1.14.0
Bump github.com/mattn/go-sqlite3 from 1.10.0 to 1.14.0
2020-07-28 12:38:13 -04:00
dependabot[bot]
aa170d0c5a
Bump github.com/mattn/go-sqlite3 from 1.10.0 to 1.14.0
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.10.0 to 1.14.0.
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.10.0...v1.14.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-28 16:25:28 +00:00
Matt Baer
42c6f3ca03
Merge pull request #345 from writeas/dependabot/go_modules/github.com/microcosm-cc/bluemonday-1.0.3
Bump github.com/microcosm-cc/bluemonday from 1.0.2 to 1.0.3
2020-07-28 12:22:47 -04:00
Matt Baer
191eac77ab
Merge pull request #352 from writeas/dependabot/go_modules/github.com/gorilla/schema-1.1.0
Bump github.com/gorilla/schema from 1.0.2 to 1.1.0
2020-07-28 12:15:52 -04:00
dependabot[bot]
00c47fa62f
Bump github.com/gorilla/schema from 1.0.2 to 1.1.0
Bumps [github.com/gorilla/schema](https://github.com/gorilla/schema) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/gorilla/schema/releases)
- [Commits](https://github.com/gorilla/schema/compare/v1.0.2...v1.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-28 16:10:53 +00:00
Matt Baer
29dc53aacd
Merge pull request #344 from writeas/dependabot/go_modules/github.com/hashicorp/go-multierror-1.1.0
Bump github.com/hashicorp/go-multierror from 1.0.0 to 1.1.0
2020-07-28 12:09:22 -04:00
Matt Baer
2f06b0b487
Merge pull request #341 from writeas/dependabot/go_modules/github.com/gorilla/feeds-1.1.1
Bump github.com/gorilla/feeds from 1.1.0 to 1.1.1
2020-07-28 12:06:19 -04:00