Commit Graph

772 Commits

Author SHA1 Message Date
c399d6edfb Prevent password reset for inactive users 2021-09-27 09:31:51 -07:00
fb823189a0 don't allow non-local users to join groups (yet)
Groups are not compatible with ActivityPub because I don't know what I'm doing.

NOTE: this is super hacky, fix ASAP
2021-09-27 21:48:40 +10:00
0e6895633c Allow adding a cover by url when adding a new book (#1443) 2021-09-27 13:00:16 +02:00
1a02af1450 allow members to see groups and their lists
- add additional logic to visible_to_user, for groups and their objects
- cleans up some queries in Group view

NOTE: I can't work out how to make group lists only visible
to users who should be able to see them, on user group listings.
They still can't access the actual group, but can see it on
user pages. This is potentialy problematic.
2021-09-27 20:24:25 +10:00
c87712c995 allow group members to add items to group lists directly
NOTE: this will be the case regardless of privacy settings of the list
2021-09-27 18:41:29 +10:00
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
e38d7b63f3 make groups actually editable 2021-09-27 16:49:56 +10:00
493ed14f34 better group creation form logic and placement 2021-09-27 16:39:12 +10:00
2874e52309 rationalise group creation and prep for group privacy 2021-09-27 15:34:14 +10:00
5fccb991a7 remove list from group when changing curation
Allows 'group' to be blank when saving a list.
Removes the 'group' field when saving a list with curation other than 'group' - this stops the list "sticking" to a group after it is changed from group curation to something else.
2021-09-26 18:28:16 +10:00
f3a3ba5f01 pass group value to list views and vice-versa 2021-09-26 15:56:02 +10:00
ec0720514e don't allow non-manager to add and remove group members 2021-09-25 20:25:30 +10:00
b645d75303 add and remove users from groups 2021-09-25 17:34:44 +10:00
7c0deabcb2 update urls and group view for searching users to add to group 2021-09-25 11:14:04 +10:00
273ad9a466 add create_group to __init__.py
you probably want this otherwise nothing previously added for group creation will work :-)
2021-09-25 10:55:32 +10:00
d4fcf88cf5 add list cards to groups page
- add list cards to groups page based on lists page
- add sort to members on group page
2021-09-24 21:57:01 +10:00
86a60d58e5 add user cards to group pages 2021-09-24 21:24:06 +10:00
9b6d2a9d88 add group page 2021-09-24 20:34:11 +10:00
f32a2cc4d0 group creation form can now be submitted!
Whoops
2021-09-24 15:04:52 +10:00
4e93b09067 create group form
adds a group creation form to user dashboard
2021-09-24 14:12:36 +10:00
3e3c90ec03 add views for groups 2021-09-24 07:49:25 +10:00
c465c70c22 Handles statuses with no readthrough updates 2021-09-22 17:06:06 -07:00
d510d72b8d Fixes syntax in reading view 2021-09-22 16:41:43 -07:00
a96d027cf3 Easier to read first-item-or-none list logic 2021-09-22 16:16:53 -07:00
c54609d7fd Refactors how readthroughs get updated 2021-09-22 16:08:25 -07:00
2419942770 Create model function to update user last active date 2021-09-22 08:35:20 -07:00
ea303fb285 Updating string format synatx part 3 2021-09-20 16:45:26 -07:00
cf3157a3b5 Merge branch 'main' into pylint-update 2021-09-20 16:31:27 -07:00
89fad59793 Query efficiency in user view 2021-09-20 15:25:29 -07:00
aa0ffd86c0 Fetch related items when loading list page 2021-09-20 14:49:07 -07:00
22ead6ba46 More efficient followers query 2021-09-20 14:29:01 -07:00
38c66b208c Adds customizable invite request copy 2021-09-18 15:45:04 -07:00
385da1ea43 Handle get request to /register path 2021-09-18 15:08:02 -07:00
acfb1bb376 Updating string format synatx part 2 2021-09-18 11:32:00 -07:00
6022e7b232 Adds IP blocklist views 2021-09-17 13:04:10 -07:00
8c4cafed79 Fixes formatting isbn endpoint results 2021-09-16 12:53:27 -07:00
0d5e05a3c2 Updates other calls to the search endpoint 2021-09-16 10:55:23 -07:00
98325818b2 Display search results in api mode and regular 2021-09-16 10:44:33 -07:00
1f06d1a1d8 Removes local connector 2021-09-14 15:26:36 -07:00
be7fae2053 Show recent servers first 2021-09-12 10:02:15 -07:00
0f3e71978e Federated and blocked tabs 2021-09-11 14:41:52 -07:00
03a5ac9c3f Use elided page range for federated peer list 2021-09-11 14:27:42 -07:00
09e49c70ed Fixes peers endpoint 2021-09-11 13:30:27 -07:00
e801c7d991 Cleaner chart intervals 2021-09-11 09:32:29 -07:00
84b90db4bb Adds filtering to admin panel 2021-09-11 08:47:16 -07:00
1f53ce33a8 Fixes user stats reporting 2021-09-11 07:52:56 -07:00
19cdda372c Tidies up charts 2021-09-11 07:14:14 -07:00
a79fb14686 Basic dashboard page 2021-09-10 21:12:08 -07:00
e515912dbc Move admin views into their own directory 2021-09-10 18:50:31 -07:00
7c3cf095f3 Adds opensearch xml file 2021-09-10 16:47:59 -07:00