Matt Baer
cc75be1eb5
Rename Letters [letters] config section to Email [email]
7 месяцев назад
Matt Baer
264bef03b1
Support rel=me verification on blogs
This allows setting a URL, and then renders a <link> element
in the head of the blog. It requires a database migration.
Ref T744
8 месяцев назад
Josh Soref
af875b4d87
spelling: message
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
1 год назад
Josh Soref
8834253502
spelling: into
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
1 год назад
Matt Baer
d08f067e9c
Change copyright notices to Musing Studio LLC
A Bunch Tell is now Musing Studio.
1 год назад
Matt Baer
6b336e22aa
Log user out when authenticated as deleted user
Now when we check for the user at certain times and find that the user
doesn't exist in the database, we log them out and send them back to
the home page.
2 лет назад
Matt Baer
1bdcf7096a
Fix "Collection.hostName is empty!" log on Stats page
Fixes #468
2 лет назад
Matt Baer
2ea235f0c4
Support email subscriptions (base)
This adds beginning email subscription functionality, with only MySQL support,
Mailgun support, and incomplete support for private instances. It includes
database changes, so run:
writefreely db migrate
to use this feature.
Ref T856
2 лет назад
Matt Baer
e42ba392c6
Support Web Monetized split content
Ref T770
2 лет назад
Matt Baer
85fb2a952b
Support setting `description` on user registration
2 лет назад
Matt Baer
d3d77cee54
Make open account deletion configurable
This adds a configuration option to the [app] section: open_deletion. When
true, users can delete their account on their own.
Ref T319
3 лет назад
Matt Baer
7c1c1218b1
Tweak "deletion success" message and note it doesn't work
Ref T319
3 лет назад
Matt Baer
b092421f6e
Add Cross-Site Request Forgery (CSRF) protection on account deletion
This requires admins to generate a new encryption key with:
writefreely keys generate
Ref T319
3 лет назад
Matt Baer
1d8facfe1c
Prevent admin self-deletion in API
Ref T319
3 лет назад
Matt Baer
484d2736ce
Update repo URL to writefreely org
From the writeas org on GitHub.
3 лет назад
Matt Baer
3e282e4c85
Rename MonetizationPointer field to Monetization
3 лет назад
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 лет назад
Matt Baer
ec7b299fd3
Enable updating WM payment pointer via API and Customize page
Ref T773
3 лет назад
Colin Axner
75a79d49bd
remove unnecessary var
Remove createdWithPass var in account.go along with impossible if statement
3 лет назад
Matt Baer
3a915ad8ea
Make New Post button contextual on coll sub-sections
3 лет назад
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 лет назад
Matt Baer
63f023ea98
Fix GitLab & OAuth button labels on Login page
Previously, these display names were swapped.
3 лет назад
Matt Baer
ab32caa49c
Include key names in Login page struct
3 лет назад
prichier
ab285644a0
Fix: signup methods mutually exclusive
3 лет назад
gytisrepecka
731d4e8efe
Run gofmt for modified files.
3 лет назад
Matt Baer
09e70e07f8
Support loading more draft posts
This adds a "load more" button to the bottom of the draft posts page,
which calls /api/me/posts with new parameters and the current page
number. It then populates the page accordingly.
Ref T696 - load anon. posts with ?anonymous=1&page=1
Ref T401 - completes UI for post loading
3 лет назад
Matt Baer
7eeba4dc9e
Limit initial draft post loading to 10 posts
Ref T401
3 лет назад
prichier
f6aa99e591
Add disable_password_auth option
3 лет назад
prichier
724ab34006
Fix: option name from allow_logout to allow_disconnect
4 лет назад
prichier
fe7ff38bd8
Manage generic Oauth buttons on Account Settings
Add generic Oauth allow_logout option
4 лет назад
Keturah Dola-Borg
7b71d455a8
Apply go fmt
Signed-off-by: prichier <pascoualito@gmail.com>
4 лет назад
Keturah Dola-Borg
630ac1f7c0
Typo fix
Signed-off-by: prichier <pascoualito@gmail.com>
4 лет назад
Keturah Dola-Borg
6174987c6a
Adds generic oAuth bool & name string to login view.
Signed-off-by: prichier <pascoualito@gmail.com>
4 лет назад
Matt Baer
fd97539f85
Mention unset password on failed login
(when it applies)
4 лет назад
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 лет назад
gytisrepecka
c798a44f69
Added Gitea OAuth login and account management.
4 лет назад
Matt Baer
b25e80bb1b
Show configured GitLab name on Account page
This includes the chosen GitLab display name in the button text.
4 лет назад
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 лет назад
Matt Baer
79a968f425
Fix login.tmpl rendering
This passes in the correct field named GitlabDisplayName.
4 лет назад
Kyle Robbertze
26b6ed5f4f
simplify gitlab oauth config
4 лет назад
Kyle Robbertze
c292512b9d
add Gitlab OAuth
4 лет назад
Nick Gerakines
5d834c1cd2
Minor code cleanup on settings page to improve oauth account management UI. T713
4 лет назад
Nick Gerakines
c0317b4e93
Implemented oauth attach functionality, oauth detach functionality, and required data migration. T713
4 лет назад
Nick Gerakines
6429d495a2
Implemented /oauth/signup. T712
4 лет назад
Nick Gerakines
6d8da2bffd
Encrypting email from oauth signup as per PR feedback. T710
4 лет назад
Rob Loranger
7e014ca659
Rename Suspend status to Silence
This changes all variables and functions from using Suspend{ed} to using
Silence{d} as well as documentation, errors and logging.
4 лет назад
Matt Baer
7f96e8c384
Rename UserSuspended to UserSilenced
Some of the work needed to have the backend match user-facing wording.
Ref T661
4 лет назад
Matt Baer
f7550a0da8
Change more suspension check logic
From u.Status == UserSuspended to u.IsSuspended()
Ref T661
4 лет назад
Matt Baer
e1149cd1e9
Fix URLs in CSV exports
This includes the instance's hostname in calls to export a CSV file and
PublicPost.CanonicalURL().
It also fixes a panic in that method during CSV export caused by draft
posts.
4 лет назад
Rob Loranger
482e632ca9
add user account delete UI
4 лет назад