Matt Baer
29c898867a
Merge pull request #483 from writefreely/log-gone-user-out
...
Log user out when authenticated as deleted user
2022-11-14 23:45:33 -05:00
Matt Baer
d08f067e9c
Change copyright notices to Musing Studio LLC
...
A Bunch Tell is now Musing Studio.
2022-11-10 23:49:16 -05:00
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.
2021-06-27 17:57:07 -04:00
Matt Baer
1bdcf7096a
Fix "Collection.hostName is empty!" log on Stats page
...
Fixes #468
2021-06-25 12:39:59 -04:00
Matt Baer
e42ba392c6
Support Web Monetized split content
...
Ref T770
2021-06-07 15:52:24 -04:00
Matt Baer
85fb2a952b
Support setting description
on user registration
2021-06-07 14:53:22 -04:00
Matt Baer
73450a50e3
Merge pull request #356 from writefreely/draft-list-paging
...
Draft list paging
2021-05-04 09:39:22 -04:00
Matt Baer
895e04c8c4
Merge pull request #443 from writefreely/minor-fixes
...
Minor WYSIWYG and miscellaneous fixes
2021-04-30 11:31:06 -04:00
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
2021-04-22 13:13:47 -04:00
Matt Baer
7c1c1218b1
Tweak "deletion success" message and note it doesn't work
...
Ref T319
2021-04-22 12:45:55 -04:00
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
2021-04-22 12:41:54 -04:00
Matt Baer
1d8facfe1c
Prevent admin self-deletion in API
...
Ref T319
2021-04-22 11:37:02 -04:00
Matt Baer
f689706baa
Merge branch 'T319-admin-delete-acct' into T319-user-delete-acct
2021-04-22 10:14:48 -04:00
Matt Baer
27b43ac2f1
Merge branch 'develop' into draft-list-paging
2021-04-07 15:58:25 -04:00
Matt Baer
484d2736ce
Update repo URL to writefreely org
...
From the writeas org on GitHub.
2021-04-06 17:24:07 -04:00
Matt Baer
3e282e4c85
Rename MonetizationPointer field to Monetization
2021-03-25 13:02:35 -04:00
Matt Baer
d52e2826f8
Merge pull request #389 from colin-axner/remove-unnecessary-var
...
remove unnecessary var in account.go
2020-11-16 12:06:47 -05:00
Matt Baer
e1cde913e2
Merge pull request #369 from writeas/web-monetization
...
Support Web Monetization
2020-10-06 16:22:28 -04:00
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
2020-09-30 15:18:21 -04:00
Matt Baer
ec7b299fd3
Enable updating WM payment pointer via API and Customize page
...
Ref T773
2020-09-30 14:40:13 -04:00
Colin Axner
75a79d49bd
remove unnecessary var
...
Remove createdWithPass var in account.go along with impossible if statement
2020-09-25 16:07:30 +02:00
Matt Baer
ce69117c79
Merge pull request #371 from writeas/design-update
...
Navigation improvements
2020-08-31 18:21:41 -05:00
Matt Baer
3a915ad8ea
Make New Post button contextual on coll sub-sections
2020-08-19 18:21:53 -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
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
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
gytisrepecka
731d4e8efe
Run gofmt for modified files.
2020-08-13 09:15:04 +03:00
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
2020-07-30 16:46:01 -04:00
Matt Baer
7eeba4dc9e
Limit initial draft post loading to 10 posts
...
Ref T401
2020-07-30 16:28:21 -04:00
prichier
f6aa99e591
Add disable_password_auth option
2020-06-14 00:27:25 +02:00
prichier
724ab34006
Fix: option name from allow_logout to allow_disconnect
2020-06-06 23:52:26 +02:00
prichier
fe7ff38bd8
Manage generic Oauth buttons on Account Settings
...
Add generic Oauth allow_logout option
2020-05-31 04:09:14 +02:00
Keturah Dola-Borg
7b71d455a8
Apply go fmt
...
Signed-off-by: prichier <pascoualito@gmail.com>
2020-05-31 00:20:21 +02:00
Keturah Dola-Borg
630ac1f7c0
Typo fix
...
Signed-off-by: prichier <pascoualito@gmail.com>
2020-05-31 00:20:16 +02:00
Keturah Dola-Borg
6174987c6a
Adds generic oAuth bool & name string to login view.
...
Signed-off-by: prichier <pascoualito@gmail.com>
2020-05-30 23:58:42 +02:00
gytisrepecka
8675eb0f95
Merge develop branch into oauth-gitea and resolve pages/login.tmpl conflict.
2020-04-23 14:24:17 +03:00
Matt Baer
fd97539f85
Mention unset password on failed login
...
(when it applies)
2020-04-22 09:26:42 -04:00
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.
2020-04-20 18:21:01 -04:00
gytisrepecka
c798a44f69
Added Gitea OAuth login and account management.
2020-04-03 13:26:59 +03:00
Matt Baer
b25e80bb1b
Show configured GitLab name on Account page
...
This includes the chosen GitLab display name in the button text.
2020-03-24 09:07:27 -04:00
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.
2020-03-20 18:07:35 -04:00
Matt Baer
cf4f08b264
Merge branch 'develop' into T713-oauth-account-management
2020-03-19 12:02:33 -04:00
Matt Baer
79a968f425
Fix login.tmpl rendering
...
This passes in the correct field named GitlabDisplayName.
2020-03-18 16:05:26 -04:00
Kyle Robbertze
26b6ed5f4f
simplify gitlab oauth config
2020-03-16 15:11:03 +02:00
Kyle Robbertze
c292512b9d
add Gitlab OAuth
2020-03-12 10:50:55 +02:00
Matt Baer
f846cada4b
Merge branch 'develop' into T713-oauth-account-management
2020-02-09 14:05:12 -05:00
Matt Baer
f406f894c5
Merge branch 'develop' into T319-user-delete-acct
2020-02-09 11:53:24 -05:00
Matt Baer
468bbf2187
Merge branch 'develop' into rename-account-suspend
2020-02-09 11:14:14 -05:00