Commit graph

57 commits

Author SHA1 Message Date
Joachim
5284e7009d fix pylint remark 2021-12-28 21:51:45 +01:00
Joachim
ff3021d1f3 Redirect /@<username> to /user/<username> 2021-12-28 21:40:01 +01:00
Mouse Reeve
cf275d0c59 Removes unused groups view 2021-12-09 18:38:05 -08:00
Mouse Reeve
bcfe13bb4e Sort followers/following lists by if you follow the user 2021-11-15 11:28:43 -08:00
Mouse Reeve
73a8f89bee
Merge branch 'main' into bookwyrm-groups 2021-10-06 11:37:38 -07:00
Mouse Reeve
97cc129478 Updates calls to privacy_filter 2021-10-06 10:37:09 -07:00
Hugh Rundle
f8e0de1ea9 run black for clean code
Godammit Hugh remember to do this before pushing new code.
2021-10-05 21:32:48 +11:00
Hugh Rundle
6fde19e9b1 lint fixes 2021-10-05 21:29:33 +11:00
Hugh Rundle
484e9ed959 fix user Groups view pagination function 2021-10-05 08:14:52 +11:00
Hugh Rundle
dafda649f1 run Black on changed code 2021-10-04 21:31:28 +11:00
Hugh Rundle
602664b8d7 Merge branch 'main' into groups-merge-test
Big merge of a couple of weeks' work from the main project back into this branch. :ohno:
2021-10-03 10:49:38 +11:00
Hugh Rundle
52a083a907 revert name change for Group, GroupMember
these were named as BookwyrmGroup and BookwyrmGroupMember due to a misunderstanding about related_name and a dodgy development environment. This naming makes more sense.
2021-10-02 16:52:34 +10:00
Hugh Rundle
2f42161dda disambiguate groups and prep for group invitations
- rename Group to BookwyrmGroup
- create group memberships and invitations
- adjust all model name references accordingly
2021-10-02 10:10:37 +10:00
Mouse Reeve
dfa8bafe18 Uses new visible/editable/deleteable functions 2021-09-27 16:04:40 -07:00
Hugh Rundle
81e5ff5b76 show groups on member pages if allowed
- display groups on user pages when not the logged in user
- restrict visibility of groups on user pages and group pages themselves according to privacy settings
2021-09-27 17:51:18 +10:00
Hugh Rundle
3e3c90ec03 add views for groups 2021-09-24 07:49:25 +10:00
Mouse Reeve
89fad59793 Query efficiency in user view 2021-09-20 15:25:29 -07:00
Mouse Reeve
527c0542af View to hide suggestions 2021-09-08 10:03:23 -07:00
Mouse Reeve
4dddd67d0c Resolves ambiguous ordering in views 2021-08-02 17:48:29 -07:00
Mouse Reeve
7ae64c2a68 Splits user view out and adds template 2021-06-14 10:01:21 -07:00
Mouse Reeve
bdf267dea5 Refactors block button for query efficiency 2021-05-22 20:36:30 -07:00
Mouse Reeve
3f1d670911 Uses safe method for pagination on follows pages 2021-05-20 14:47:23 -07:00
Mouse Reeve
4dacf4df3a Refactor get_user_from_username to raise 404 directly 2021-04-30 09:33:36 -07:00
Mouse Reeve
d810d1bb8c Remove duplicate check for user blocks 2021-04-30 09:26:02 -07:00
Mouse Reeve
418e656aea Uses layout for followers/following page 2021-04-30 09:17:46 -07:00
Mouse Reeve
862ef83536 Move user templates into more subdirectories 2021-04-30 08:47:04 -07:00
Mouse Reeve
786cf4fb97 Paginate followers/following pages 2021-04-26 10:26:49 -07:00
Mouse Reeve
3ade2d3bb1 New version of black, new whitespace 2021-04-26 09:15:42 -07:00
Mouse Reeve
b22d1863c9 More robust user page test and bug fix 2021-04-20 12:31:45 -07:00
Mouse Reeve
91aa6fa95f Remove unneeded page checking logic 2021-04-19 15:01:20 -07:00
Mouse Reeve
77775d9bf8 Remove superfluous calls to all() 2021-04-19 14:47:59 -07:00
Pablo Barton
88d37736ee 902 using get_page for Paginator instead of page 2021-04-15 08:54:23 -04:00
Mouse Reeve
b552634a87 Make sure goal exists before checking perms 2021-04-11 09:58:03 -07:00
Mouse Reeve
b6a7871b04 Makes visibility evaluator a model function 2021-04-11 09:31:18 -07:00
Mouse Reeve
1e75674f7b Fixes user view 2021-04-01 09:57:50 -07:00
Mouse Reeve
ed127f4e07 Save and continue from get started books view 2021-04-01 09:13:10 -07:00
Mouse Reeve
e2388d8f67 Makes user profile view editable 2021-04-01 08:38:42 -07:00
Mouse Reeve
7eb494b4ab Removes get activity feed function 2021-03-22 19:17:46 -07:00
Mouse Reeve
a8545e2701 Adds tests for upload cover view
bonus test for user view
2021-03-19 09:20:48 -07:00
Mouse Reeve
70296e760b Runs black 2021-03-08 08:49:10 -08:00
Mouse Reeve
c483768544 Moves titles into templates and adds i18n support 2021-02-28 10:00:36 -08:00
Mouse Reeve
779581c6f4 Only show dms in dm page 2021-02-24 12:06:00 -08:00
Mouse Reeve
2a5d4b83d8 Show dms in the right places 2021-02-24 11:59:21 -08:00
Mouse Reeve
364b053d9a Better user block privacy 2021-02-23 12:41:37 -08:00
Mouse Reeve
42d80ce238 Remove explicit broadcast calls 2021-02-04 13:21:55 -08:00
Mouse Reeve
9fa8ee3940 Groups profile settings templates 2021-01-29 09:28:00 -08:00
Mouse Reeve
24af288c52 Refactors user pages 2021-01-29 09:05:53 -08:00
Mouse Reeve
1a54ed875b easier way to get user statuses queryset 2021-01-27 09:30:03 -08:00
Mouse Reeve
662cbf2da9
Merge pull request #555 from mouse-reeve/blocking
Blocking
2021-01-26 14:43:01 -08:00
Mouse Reeve
acfc865d4e Adds blocked users view
also refactors the setting view
2021-01-26 10:01:50 -08:00