Commit Graph

1982 Commits

Author SHA1 Message Date
6c73c94fce Move site settings sub-tabs to the site.html template 2021-09-28 12:53:17 -07:00
9b091eaf75 Moves user admin templates into settings directory 2021-09-28 12:46:38 -07:00
a1a1fd90a1 Moves reports into settings directory 2021-09-28 12:43:21 -07:00
9c9adfc6f0 Updates references to templates 2021-09-28 12:39:52 -07:00
1c262a1a64 Updates internal references 2021-09-28 12:26:55 -07:00
7b985f3a41 Sorts admin templates into even more directories 2021-09-28 12:22:41 -07:00
057f870997 Avatar display on mobile 2021-09-28 12:09:13 -07:00
4511bb2ccd Italics for null state text 2021-09-28 11:29:42 -07:00
e971638f14 Render test for change password view 2021-09-28 11:09:24 -07:00
f281d9014a Creates sections in edit profile view 2021-09-28 11:00:16 -07:00
585c71e72a Adds html linting to test 2021-09-28 10:59:51 -07:00
9a06b7d493 Fixes incorrect label in edit user panel 2021-09-28 09:24:09 -07:00
72cbc1cb1b Adds label 2021-09-28 09:23:50 -07:00
273198d634 Merge branch 'main' into progress-modal 2021-09-28 08:00:45 -07:00
66494e7788 fix reverse reference to user bookwyrm_groups 2021-09-28 18:53:11 +10:00
0a37556941 Merge pull request #1401 from bookwyrm-social/opensearch
Adds opensearch xml file
2021-09-27 19:48:53 -07:00
c32f975a67 Working in firefox 2021-09-27 19:28:50 -07:00
99ef81be9b Linter fixes 2021-09-27 19:05:13 -07:00
15fc31bf77 Merge branch 'main' into opensearch 2021-09-27 18:58:28 -07:00
0f57a43bfb Separate access controls for delete and re-order 2021-09-27 13:31:35 -07:00
10098a402d Don't show list item controls to contributing viewers 2021-09-27 13:25:53 -07:00
bc87856c2e Merge branch 'main' into book-format-choices 2021-09-27 10:29:12 -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
e15eef16c5 improve new group member adding
The add-members page now looks almost identical to the group
page and is clearer.
2021-09-27 21:21:00 +10:00
0e6895633c Allow adding a cover by url when adding a new book (#1443) 2021-09-27 13:00:16 +02:00
df5a5f94a1 fix local_path for groups 2021-09-27 19:27:39 +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
277c033fda show star if this user is the creator/manager of the group 2021-09-27 17:50:38 +10:00
e5ca377cd3 clean up stray code mess 2021-09-27 16:50:51 +10:00
493ed14f34 better group creation form logic and placement 2021-09-27 16:39:12 +10:00
f3181690a2 change group owner from 'manager' to 'user'
This will allow privacy management to use existing code.
Some template updates also are for rationalising how
groups are created and edited.
2021-09-27 15:36:41 +10:00
762202c4b0 fix UI for group curated list editing
When creating or editing a list, the group selection dropdown will only appear if the user selects "group" as the curation option (or it is already selected).

- fix typo in bookwyrm.js comments
- add data-hides trigger for hiding elements after they have been unhidden, where simple toggles are not the right approach
2021-09-27 11:03:41 +10:00
0e2095bc5e refer to group in group lists created_text 2021-09-26 20:52:44 +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
8bfc71db6e create group curated lists 2021-09-26 15:56:52 +10:00
ec0720514e don't allow non-manager to add and remove group members 2021-09-25 20:25:30 +10:00
035fc5209d better logic for identifying group manager 2021-09-25 20:23:59 +10:00
62a5ed7a9e identify group manager 2021-09-25 19:53:06 +10:00
b645d75303 add and remove users from groups 2021-09-25 17:34:44 +10:00
e800106be4 smaller cards for group members
- this will also enable members to be removed easily by managers in a future commit.
2021-09-25 11:37:08 +10:00
8d17f888ea improve naming of templates and urls for groups 2021-09-25 11:36:35 +10:00
cbe172df3d find users for groups
- search for users to add to a group
- display suggested users on search results screen

TODO: actaully enable users to be added!
TODO: groups/suggested_users probably could be replaced with some logic in snippets/suggested_users.html
2021-09-25 11:11:58 +10:00
8c326ec52f user groups listing template
- creates groups/user_groups template for listing a user's groups on their user page
2021-09-25 11:10:06 +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
264d9b2f3c add group page template 2021-09-24 20:35:51 +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