Matt Baer
82e7dcd3f3
Add Subscribers page
...
- Shows all fediverse followers and email subscribers
- Shows number of email subscribers on Stats page
- Links to Subscribers page from Stats page
Requires running `make ui` to regenerate stylesheet.
Ref T826
1 year ago
Matt Baer
cc75be1eb5
Rename Letters [letters] config section to Email [email]
1 year ago
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
1 year ago
Josh Soref
af875b4d87
spelling: message
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2 years ago
Josh Soref
8834253502
spelling: into
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2 years ago
Matt Baer
d08f067e9c
Change copyright notices to Musing Studio LLC
...
A Bunch Tell is now Musing Studio.
2 years ago
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.
3 years ago
Matt Baer
1bdcf7096a
Fix "Collection.hostName is empty!" log on Stats page
...
Fixes #468
3 years ago
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
3 years ago
Matt Baer
e42ba392c6
Support Web Monetized split content
...
Ref T770
4 years ago
Matt Baer
85fb2a952b
Support setting `description` on user registration
4 years ago
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
4 years ago
Matt Baer
7c1c1218b1
Tweak "deletion success" message and note it doesn't work
...
Ref T319
4 years ago
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
4 years ago
Matt Baer
1d8facfe1c
Prevent admin self-deletion in API
...
Ref T319
4 years ago
Matt Baer
484d2736ce
Update repo URL to writefreely org
...
From the writeas org on GitHub.
4 years ago
Matt Baer
3e282e4c85
Rename MonetizationPointer field to Monetization
4 years ago
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
4 years ago
Matt Baer
ec7b299fd3
Enable updating WM payment pointer via API and Customize page
...
Ref T773
4 years ago
Colin Axner
75a79d49bd
remove unnecessary var
...
Remove createdWithPass var in account.go along with impossible if statement
4 years ago
Matt Baer
3a915ad8ea
Make New Post button contextual on coll sub-sections
4 years ago
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.
4 years ago
Matt Baer
63f023ea98
Fix GitLab & OAuth button labels on Login page
...
Previously, these display names were swapped.
4 years ago
Matt Baer
ab32caa49c
Include key names in Login page struct
4 years ago
prichier
ab285644a0
Fix: signup methods mutually exclusive
4 years ago
gytisrepecka
731d4e8efe
Run gofmt for modified files.
4 years ago
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
4 years ago
Matt Baer
7eeba4dc9e
Limit initial draft post loading to 10 posts
...
Ref T401
4 years ago
prichier
f6aa99e591
Add disable_password_auth option
5 years ago
prichier
724ab34006
Fix: option name from allow_logout to allow_disconnect
5 years ago
prichier
fe7ff38bd8
Manage generic Oauth buttons on Account Settings
...
Add generic Oauth allow_logout option
5 years ago
Keturah Dola-Borg
7b71d455a8
Apply go fmt
...
Signed-off-by: prichier <pascoualito@gmail.com>
5 years ago
Keturah Dola-Borg
630ac1f7c0
Typo fix
...
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
fd97539f85
Mention unset password on failed login
...
(when it applies)
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
gytisrepecka
c798a44f69
Added Gitea OAuth login and account management.
5 years ago
Matt Baer
b25e80bb1b
Show configured GitLab name on Account page
...
This includes the chosen GitLab display name in the button text.
5 years ago
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.
5 years ago
Matt Baer
79a968f425
Fix login.tmpl rendering
...
This passes in the correct field named GitlabDisplayName.
5 years ago
Kyle Robbertze
26b6ed5f4f
simplify gitlab oauth config
5 years ago
Kyle Robbertze
c292512b9d
add Gitlab OAuth
5 years ago
Nick Gerakines
5d834c1cd2
Minor code cleanup on settings page to improve oauth account management UI. T713
5 years ago
Nick Gerakines
c0317b4e93
Implemented oauth attach functionality, oauth detach functionality, and required data migration. T713
5 years ago
Nick Gerakines
6429d495a2
Implemented /oauth/signup. T712
5 years ago
Nick Gerakines
6d8da2bffd
Encrypting email from oauth signup as per PR feedback. T710
5 years ago
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.
5 years ago
Matt Baer
7f96e8c384
Rename UserSuspended to UserSilenced
...
Some of the work needed to have the backend match user-facing wording.
Ref T661
5 years ago
Matt Baer
f7550a0da8
Change more suspension check logic
...
From u.Status == UserSuspended to u.IsSuspended()
Ref T661
5 years ago
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.
5 years ago