Keturah Dola-Borg
badaffcd5c
Add generic oauth to routes
...
Signed-off-by: prichier <pascoualito@gmail.com>
5 years ago
Keturah Dola-Borg
cfd2165442
Add HTML for generic oauth login button
...
Signed-off-by: prichier <pascoualito@gmail.com>
5 years ago
Keturah Dola-Borg
75ca5cd417
Add generic oauth module
...
Signed-off-by: prichier <pascoualito@gmail.com>
5 years ago
Keturah Dola-Borg
ee1ca48800
Add generic oauth client
...
Signed-off-by: prichier <pascoualito@gmail.com>
5 years ago
Keturah Dola-Borg
89f7946cb0
Add config/ini structures for generic oauth
...
Signed-off-by: prichier <pascoualito@gmail.com>
5 years ago
Keturah Dola-Borg
6174987c6a
Adds generic oAuth bool & name string to login view.
...
Signed-off-by: prichier <pascoualito@gmail.com>
5 years ago
Matt Baer
5c94d23466
Merge pull request #312 from writeas/fix-no-to
...
Only log "No to!" when debugging
5 years ago
Matt Baer
2aa154d85c
Merge pull request #295 from writeas/optimize-drafts-fetch
...
Optimize Drafts retrieval
5 years ago
RJ722
53cb5c3837
core.less: Use a bigger font size for h2
...
The font-size for h2 was set to be 1.17em, which is also the font
size defined for h3 by user agent stylesheet. This lead to both
h2 and h3 being rendered in same size. Use 1.2em for h2.
Closes : #217
5 years ago
Matt Baer
9d854c17c1
Only log "No to!" when debugging
...
Fixes #311
5 years ago
Matt Baer
037fc40fb3
Merge pull request #307 from writeas/fix-numeric-alpha-hashtags
...
Support hashtags with numbers + letters
5 years ago
Matt Baer
5fe1dd1731
Add SQLite query for v9 migration
5 years ago
Matt Baer
b9c467558c
Return transaction Begin error in v9 migration
5 years ago
Matt Baer
a0e517c224
Merge branch 'develop' into optimize-drafts-fetch
5 years ago
Matt Baer
dc7b5df90e
Update saturday library to support number+letter hashtags
...
Previously, a hashtag like #100DaysToOffload wouldn't automatically turn
into a clickable link. This fixes that by updating to the latest version
of the satuday library.
5 years ago
gytisrepecka
8675eb0f95
Merge develop branch into oauth-gitea and resolve pages/login.tmpl conflict.
5 years ago
Matt Baer
99d86a7489
Merge pull request #303 from writeas/fix-oauth-account-creation
...
Respect registration config on OAuth signup flow
5 years ago
Matt Baer
8e16bac12c
Update README
...
Includes a better description, features, install and license sections, and a screenshot.
5 years ago
Matt Baer
7420039770
Merge branch 'develop' of github.com:writeas/writefreely into develop
5 years ago
Matt Baer
f15acf3880
Reduce vertical margin around OAuth buttons
5 years ago
Matt Baer
308b1a7282
Remove "login" verbiage on OAuth signup page
...
Change it to reflect that this is the final step in the signup flow.
5 years ago
Matt Baer
fd97539f85
Mention unset password on failed login
...
(when it applies)
5 years ago
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.
5 years ago
Matt Baer
6fc166174b
Merge pull request #299 from writeas/fix-friendica-federation
...
Fix federation with Friendica
5 years ago
Matt Baer
0c6d3e45e4
Update Go modules
5 years ago
Matt Baer
b97038e696
Better describe usage stats in setup process
5 years ago
Matt Baer
37ccf69d81
Increase App Settings checkbox and select sizes
5 years ago
Matt Baer
0127e38ed0
Reorder App Settings page and improve descriptions
5 years ago
Matt Baer
7b7df5535e
Run go fmt on oauth_test.go
5 years ago
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.
5 years ago
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.
5 years ago
Matt Baer
93c2773412
Prevent account creation via OAuth when registration is closed
5 years ago
gytisrepecka
0e1459c6b2
Remove address variable - to make Locations use host value from config instead.
5 years ago
gytisrepecka
658310bc24
Remove constant giteaHost because there is no default URL for Gitea - must always use host from config.ini.
5 years ago
gytisrepecka
ddd519f6b7
Merge branch 'develop' into oauth-gitea before making fixes to address pull request #293 feedback.
5 years ago
Joice M. Joseph
671c7e99a5
fix : #297 - tls for mysql connetions
5 years ago
Matt Baer
5e4ed5d9bc
Remove extraneous @context fields on AP outbox
5 years ago
Matt Baer
1c5a0099b6
Fix empty date showing on collection 404 page
5 years ago
Matt Baer
5de4d2086b
Optimize Drafts retrieval
...
This adds a database index to speed up retrieval of Drafts.
It is untested with SQLite.
5 years ago
Matt Baer
e51e58386e
Update versions in migrations.go
5 years ago
Matt Baer
9f1dd7a138
Use latest writeas/activityserve library
...
This fixes a 500 error / panic caused by ActivityPub actors without an
`inbox` or `outbox` attribute.
5 years ago
gytisrepecka
c798a44f69
Added Gitea OAuth login and account management.
5 years ago
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.
5 years ago
Matt Baer
c2417399a4
Bump version to 0.12.0
5 years ago
Matt Baer
8cc793142e
Merge pull request #288 from writeas/css-invalidation-release
...
Add CSS cache busting to templates in release
5 years ago
Matt Baer
599e7669d0
Add CSS cache busting to templates in release
5 years ago
Matt Baer
dbd7eff7ea
Merge pull request #284 from writeas/high-load-error-page
...
Show 503 page on blogs under high load
5 years ago
Matt Baer
07debec8d5
Add new err func to wflib and sqlite builds
5 years ago
Matt Baer
8ad04c5187
Merge pull request #272 from writeas/novelfix
...
Fix Novel pagination
5 years ago
CJ Eller
f11e6ed843
Apply review edits to chorus-collection
5 years ago