Matt Baer
99d86a7489
Merge pull request #303 from writeas/fix-oauth-account-creation
Respect registration config on OAuth signup flow
4 jaren geleden
Matt Baer
8e16bac12c
Update README
Includes a better description, features, install and license sections, and a screenshot.
4 jaren geleden
Matt Baer
7420039770
Merge branch 'develop' of github.com:writeas/writefreely into develop
4 jaren geleden
Matt Baer
f15acf3880
Reduce vertical margin around OAuth buttons
4 jaren geleden
Matt Baer
308b1a7282
Remove "login" verbiage on OAuth signup page
Change it to reflect that this is the final step in the signup flow.
4 jaren geleden
Matt Baer
fd97539f85
Mention unset password on failed login
(when it applies)
4 jaren geleden
Matt Baer
cf3d5588c2
Move unique OAuth username creation to client-side
Now, on OAuth signup form, we create a unique username with random appended string only if there's a conflict.
Previously, this was always happening during the Slack OAuth flow. This has the benefit of preventing username collisions for all OAuth providers.
4 jaren geleden
Matt Baer
6fc166174b
Merge pull request #299 from writeas/fix-friendica-federation
Fix federation with Friendica
4 jaren geleden
Matt Baer
0c6d3e45e4
Update Go modules
4 jaren geleden
Matt Baer
b97038e696
Better describe usage stats in setup process
4 jaren geleden
Matt Baer
37ccf69d81
Increase App Settings checkbox and select sizes
4 jaren geleden
Matt Baer
0127e38ed0
Reorder App Settings page and improve descriptions
4 jaren geleden
Matt Baer
7b7df5535e
Run go fmt on oauth_test.go
4 jaren geleden
Matt Baer
5400f416c0
Reduce db calls on normal invite-based signup
This removes an unnecessary database call after creating a user, and documents `db.CreateUser()` to make it clear that extra calls are unnecessary.
4 jaren geleden
Matt Baer
ca4a576c31
Support OAuth registration with invite code
This adds any OAuth login buttons to the invite signup page, stores the invite code for the flow duration, and associates the new user with it once successfully registered.
It enables invite-only instances with OAuth-based registration.
4 jaren geleden
Matt Baer
93c2773412
Prevent account creation via OAuth when registration is closed
4 jaren geleden
Matt Baer
5e4ed5d9bc
Remove extraneous @context fields on AP outbox
4 jaren geleden
Matt Baer
1c5a0099b6
Fix empty date showing on collection 404 page
4 jaren geleden
Matt Baer
e51e58386e
Update versions in migrations.go
4 jaren geleden
Matt Baer
9f1dd7a138
Use latest writeas/activityserve library
This fixes a 500 error / panic caused by ActivityPub actors without an
`inbox` or `outbox` attribute.
4 jaren geleden
Matt Baer
d6cb178eb6
Use writeas/impart v1.1.1
This doesn't change the actual underlying dependency; it simply uses the
current, most recent tag for the impart library.
4 jaren geleden
Matt Baer
c2417399a4
Bump version to 0.12.0
4 jaren geleden
Matt Baer
8cc793142e
Merge pull request #288 from writeas/css-invalidation-release
Add CSS cache busting to templates in release
4 jaren geleden
Matt Baer
599e7669d0
Add CSS cache busting to templates in release
4 jaren geleden
Matt Baer
dbd7eff7ea
Merge pull request #284 from writeas/high-load-error-page
Show 503 page on blogs under high load
4 jaren geleden
Matt Baer
07debec8d5
Add new err func to wflib and sqlite builds
4 jaren geleden
Matt Baer
8ad04c5187
Merge pull request #272 from writeas/novelfix
Fix Novel pagination
4 jaren geleden
CJ Eller
f11e6ed843
Apply review edits to chorus-collection
4 jaren geleden
CJ Eller
540d716d29
Apply review edits
4 jaren geleden
Matt Baer
1d25b38eb7
Merge pull request #282 from writeas/patch-ap-mentions
Clean up ActivityPub mentions
4 jaren geleden
Matt Baer
c3400242f0
Merge pull request #274 from writeas/private-instance-improvements
Private instance cleanup
4 jaren geleden
Matt Baer
9c93e55e0a
Merge pull request #281 from writeas/accessibility-improvements
Accessibility improvements for readers
4 jaren geleden
Matt Baer
0acc630af5
Merge pull request #243 from writeas/T713-oauth-account-management
OAuth account management
4 jaren geleden
Matt Baer
491a1148ee
Restyle OAuth account management section
- Break up linked / to-link sections
- Add logos for all services
- Lay out buttons horizontally
- Tweak the copy
Ref T713
4 jaren geleden
Matt Baer
5d01f49ce9
Move /me/oauth/remove endpoint to /api/me/oauth/remove
4 jaren geleden
Matt Baer
d7d4cd907e
Tweak "account already attached" verbiage
4 jaren geleden
Matt Baer
b25e80bb1b
Show configured GitLab name on Account page
This includes the chosen GitLab display name in the button text.
4 jaren geleden
Matt Baer
9dbba9d8c7
Make `handle` column in remoteusers NULL
This alters the V6 migration to make the column NULLable. Anyone who has already run this migration will need to manually update their database.
4 jaren geleden
Nick Gerakines
048e8a5e13
Added error messaging when user attempts to attach a slack account to a user that already has the slack account attached. Added GitLab to settings page as oauth option.
4 jaren geleden
Matt Baer
f9cd87ae3a
Log handle on GetProfilePageFromHandle err
4 jaren geleden
Matt Baer
cf4f08b264
Merge branch 'develop' into T713-oauth-account-management
4 jaren geleden
Matt Baer
75a9df82ab
Merge pull request #283 from writeas/gitlab-oauth-cleanup
Clean up GitLab auth code
4 jaren geleden
Matt Baer
9e25979e37
Run go fmt on modified GitLab files
4 jaren geleden
Matt Baer
0285a9b0bd
Show 503 page on collections under high load
This acknowledges "too many connections" and "max user connections"
errors in MySQL and propagates the error up the chain so we can notify
the user and return the correct HTTP code.
4 jaren geleden
Matt Baer
79a968f425
Fix login.tmpl rendering
This passes in the correct field named GitlabDisplayName.
4 jaren geleden
Matt Baer
ac522ed600
Reuse mention regex
This makes the app less error-prone by avoiding a regexp.MustCompile()
call in the ActivityObject() method, saves CPU work, and reuses code.
4 jaren geleden
Matt Baer
97aec9c158
Fix error / info logging around AP mentions
This fixes log formatting and makes verbiage consistent & concise.
4 jaren geleden
Matt Baer
471a9e0602
Store AP handles consistently
This ensures handles are always stored without leading @ symbol.
4 jaren geleden
Matt Baer
a9bed9fea9
Prevent nil pointer panic from ActivityObject() method
Previously, we might potentially return a nil activitystreams.Object,
which would crash the app. This fixes that.
4 jaren geleden
Matt Baer
f4c106beaf
Fix text contrast ratio in blockquote
This darkens the text slightly to get a contrast ratio over 4.5:1.
4 jaren geleden