1
0
Fork 0
Commit graph

164 commits

Author SHA1 Message Date
Christof Dorner
7ae983acdf Use default user auth group from site settings 2023-01-21 17:04:32 +01:00
Joachim
a44f427d84 Add remote user test before the task is called 2022-12-19 22:26:09 +01:00
0744bd5385
delete avatar when user is deleted 2022-12-15 23:01:56 +01:00
50a42dc0a2 Use user.reactivate when a user confirms their email address
This is cleaner and easier to maintain.
2022-12-11 11:44:04 -08:00
b1c6781036 Fixes collecting list of admins 2022-11-17 14:38:05 -08:00
André Jaenisch
530d7de309
Use variable instead of string
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2022-11-13 16:59:05 +01:00
eae1866992
Allow users to temporarily deactivate their accounts (#2324) 2022-11-10 13:40:54 -08:00
9b74c26742 backup codes
- add hotp_secret to user model
- view to create backup codes in user prefs
- check backup code if otp doesn't work
- increment hotp count if used
- show correct errors if code wrong
2022-10-15 07:47:20 +11:00
514762c233 fix typo in new user fields
oopsie
2022-10-15 07:47:20 +11:00
54daade9f9 prepare for 2FA
- add and migrate User fields for 2FA
- add views for 2FA
- add new forms for 2FA
- update package list in requirements.txt
- add URLs for 2FA views
2022-10-15 07:47:20 +11:00
fdc477afdf
Merge pull request #2258 from bookwyrm-social/form-perms
Check permissions automatically on form save
2022-09-19 13:32:41 -07:00
6947f3b787 Uses class method to get list of instance admins
Re-writing this query over and over is a bad approach
2022-09-19 10:43:52 -07:00
3f5eb6c682 Adds raise_not_editable to User model
This model doens't inherit from BookwyrmModel for various reasons, but
it still needs to editability check.
2022-09-19 09:26:01 -07:00
844023f104
Merge pull request #2246 from bookwyrm-social/goal-model
Moves annual goal to its own file
2022-07-29 13:22:12 -07:00
2298a478cf Moves annual goal to its own file
The user model file is just,, very long
2022-07-29 13:00:59 -07:00
ed20587695
Merge pull request #2168 from hughrun/tour
Add guided tour / walkthrough
2022-07-28 11:08:49 -07:00
f3bc7d759f Only show pending follow requests from active users 2022-07-24 12:26:58 -07:00
3365bb6d35 show_guided_tour is not added to AP serialisation 2022-07-09 10:17:10 +10:00
80c71928c3 add show_guided_tour value to User
This boolean value indicates whether the user wishes to be show the guided tour.
It defaults to True but will be able to be easily set to False.
2022-06-13 13:07:48 +10:00
34a4c18397
Merge branch 'main' into partially-read-shelf 2022-03-05 19:23:35 -08:00
f4dc07b6b9 Select theme in context processors 2022-03-01 09:53:02 -08:00
043fd54d70
Merge branch 'main' into themes 2022-02-28 13:27:05 -08:00
e1ea847441
Merge pull request #1986 from bookwyrm-social/instance-refresh
Instance refresh
2022-02-28 13:26:22 -08:00
81cfcff939 Reload instance data 2022-02-28 13:11:01 -08:00
e90cb52f23 Add option to hide follows 2022-02-28 11:48:49 -08:00
8850b68b52 Show theme options 2022-02-27 10:48:33 -08:00
3dfbb3272e Theme selector 2022-02-27 10:00:50 -08:00
43269429ac Use selected theme 2022-02-26 13:40:06 -08:00
Thomas Versteeg
c88b34814f Rename 'Partially Read' to 'Stopped Reading' 2022-02-12 19:49:54 +01:00
Thomas Versteeg
2b27889457 Add 'Partially Read' shelf 2022-02-11 14:33:46 +01:00
d74360a13f Merge branch 'main' into book-file-links 2022-01-12 17:14:27 -08:00
8b2335c52c Build-in translations to privacy choices dropdwon 2022-01-12 15:26:13 -08:00
16a58ae079 Merge branch 'main' into book-file-links 2022-01-08 16:58:37 -08:00
aa1a7189ae Uses function to get current year for annual goal default 2022-01-04 11:02:59 -08:00
Joachim
24b0e086e7 Add summary_keys JSONField for the user 2021-12-22 14:57:26 +01:00
5c99f142f9 Serialize links for books 2021-12-15 17:12:53 -08:00
Joachim
0001d6e92a PyLint 2021-11-24 19:04:14 +01:00
Joachim
40e4591a24 Apply review suggestions 2021-11-24 11:59:45 +01:00
Joachim
a0093a8a2e Add status type filters 2021-11-22 00:25:47 +01:00
ba5ec878fa Adds language preference to database 2021-10-06 12:19:52 -07:00
2419942770 Create model function to update user last active date 2021-09-22 08:35:20 -07:00
08f6a97653 Python formatting 2021-09-18 11:33:43 -07:00
377a4e1ef1 Updating string format syntax part 1 2021-09-17 21:39:18 -07:00
992e478e95 Use readable/translatable strings for db choices 2021-09-11 14:23:47 -07:00
3e7847e645 Set deactivation date 2021-09-11 09:00:52 -07:00
430554444f Adds deactivation date to user model
Also fixes django admin around saved lists
2021-09-11 08:57:38 -07:00
a5ef8aa6e9 Adds flag on user model to hide suggested users 2021-09-08 09:30:13 -07:00
aa91361fe4 Fixes celery kwarg for queue 2021-09-07 17:09:44 -07:00
de3f18655c Set priorities on tasks 2021-09-07 16:33:43 -07:00
5a224b5aa4 Use atomic when creating new users 2021-09-07 10:09:28 -07:00