Commit graph

3674 commits

Author SHA1 Message Date
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
277c033fda show star if this user is the creator/manager of the group 2021-09-27 17:50:38 +10:00
Hugh Rundle
e5ca377cd3 clean up stray code mess 2021-09-27 16:50:51 +10:00
Hugh Rundle
e38d7b63f3 make groups actually editable 2021-09-27 16:49:56 +10:00
Hugh Rundle
493ed14f34 better group creation form logic and placement 2021-09-27 16:39:12 +10:00
Hugh Rundle
0ccd54b05a better urls and views for group creation and editing 2021-09-27 15:38:05 +10:00
Hugh Rundle
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
Hugh Rundle
2874e52309 rationalise group creation and prep for group privacy 2021-09-27 15:34:14 +10:00
Hugh Rundle
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
Hugh Rundle
0e2095bc5e refer to group in group lists created_text 2021-09-26 20:52:44 +10:00
Hugh Rundle
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
Hugh Rundle
8bfc71db6e create group curated lists 2021-09-26 15:56:52 +10:00
Hugh Rundle
f3a3ba5f01 pass group value to list views and vice-versa 2021-09-26 15:56:02 +10:00
Hugh Rundle
b921d666cf add group field to ListForm 2021-09-26 15:55:16 +10:00
Hugh Rundle
686198472d update group and list models
- remove GroupList model
- add a group foreign key value  to List model
- remove reference to lists in Group model
2021-09-26 15:50:15 +10:00
Hugh Rundle
ec0720514e don't allow non-manager to add and remove group members 2021-09-25 20:25:30 +10:00
Hugh Rundle
035fc5209d better logic for identifying group manager 2021-09-25 20:23:59 +10:00
Hugh Rundle
62a5ed7a9e identify group manager 2021-09-25 19:53:06 +10:00
Hugh Rundle
b645d75303 add and remove users from groups 2021-09-25 17:34:44 +10:00
Hugh Rundle
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
Hugh Rundle
8d17f888ea improve naming of templates and urls for groups 2021-09-25 11:36:35 +10:00
Hugh Rundle
7c0deabcb2 update urls and group view for searching users to add to group 2021-09-25 11:14:04 +10:00
Hugh Rundle
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
Hugh Rundle
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
Hugh Rundle
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
Hugh Rundle
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
Hugh Rundle
86a60d58e5 add user cards to group pages 2021-09-24 21:24:06 +10:00
Hugh Rundle
264d9b2f3c add group page template 2021-09-24 20:35:51 +10:00
Hugh Rundle
9b6d2a9d88 add group page 2021-09-24 20:34:11 +10:00
Hugh Rundle
f32a2cc4d0 group creation form can now be submitted!
Whoops
2021-09-24 15:04:52 +10:00
Hugh Rundle
4e93b09067 create group form
adds a group creation form to user dashboard
2021-09-24 14:12:36 +10:00
Hugh Rundle
e07a25e288 add groups urls 2021-09-24 07:52:40 +10:00
Hugh Rundle
99b533510a add group templates 2021-09-24 07:51:51 +10:00
Hugh Rundle
71b1c6117c update templates for groups 2021-09-24 07:50:57 +10:00
Hugh Rundle
b74cd37096 add models for groups 2021-09-24 07:49:54 +10:00
Hugh Rundle
3e3c90ec03 add views for groups 2021-09-24 07:49:25 +10:00
Mouse Reeve
c465c70c22 Handles statuses with no readthrough updates 2021-09-22 17:06:06 -07:00
Mouse Reeve
d510d72b8d Fixes syntax in reading view 2021-09-22 16:41:43 -07:00
Mouse Reeve
a96d027cf3 Easier to read first-item-or-none list logic 2021-09-22 16:16:53 -07:00
Mouse Reeve
c54609d7fd Refactors how readthroughs get updated 2021-09-22 16:08:25 -07:00
Mouse Reeve
8648bdc879 Merge branch 'main' into refactor-readthroughs 2021-09-22 15:08:58 -07:00
Mouse Reeve
2160a5c729 Newly created readthroughs are active by default 2021-09-22 13:00:38 -07:00
Mouse Reeve
f55803b409 Fixes updating readthroughs 2021-09-22 12:47:50 -07:00
Mouse Reeve
6bb0f3bc8f
Merge pull request #1453 from bookwyrm-social/status-whitespace
Preserve whitespace in statuses
2021-09-22 12:32:53 -07:00
Mouse Reeve
4a3bf1d92d Updates active readthrough templatetag 2021-09-22 12:27:57 -07:00
Mouse Reeve
3eb49f3f74 Preserve whitespace in statuses 2021-09-22 12:18:12 -07:00
Mouse Reeve
fa6e5605d1 Fixes goal url 2021-09-22 12:16:51 -07:00
Mouse Reeve
a05ef1a222 Adds active field to readthrough model 2021-09-22 11:23:56 -07:00
Mouse Reeve
d5dba9e66d
Merge pull request #1449 from bookwyrm-social/model-cleanup
Model cleanup
2021-09-22 11:20:39 -07:00
Mouse Reeve
50ca3eef31 Encompass all status models in notification signal 2021-09-22 11:10:37 -07:00
Mouse Reeve
b7c2fb600a String formatting for status view tests 2021-09-22 10:55:51 -07:00
Mouse Reeve
b1ff46a562 Remove unused import 2021-09-22 10:42:42 -07:00
Mouse Reeve
a4ac25bfae Move notifications to signals 2021-09-22 09:24:39 -07:00
Mouse Reeve
2419942770 Create model function to update user last active date 2021-09-22 08:35:20 -07:00
Mouse Reeve
41d34c6d4b Correctly use custom postgres ports 2021-09-22 08:13:31 -07:00
Mouse Reeve
5ad315faac
Merge pull request #1421 from bookwyrm-social/pylint-update
Pylint update
2021-09-20 18:16:43 -07:00
Mouse Reeve
673f49bf21 Tests fixes 2021-09-20 18:01:12 -07:00
Mouse Reeve
70f66f4cd4
Merge pull request #1439 from bookwyrm-social/search-placeholder
Updates search box placeholder for logged out users
2021-09-20 17:42:05 -07:00
Mouse Reeve
90c74f00c9 Fixes missing f format in preview image string
plus a unit test for it
2021-09-20 17:40:59 -07:00
Mouse Reeve
1be33c97a2 Fixes string formatting in site model 2021-09-20 17:19:26 -07:00
Mouse Reeve
a74141ece4 Adds site models tests 2021-09-20 17:19:20 -07:00
Mouse Reeve
ea303fb285 Updating string format synatx part 3 2021-09-20 16:45:26 -07:00
Mouse Reeve
cf3157a3b5 Merge branch 'main' into pylint-update 2021-09-20 16:31:27 -07:00
Mouse Reeve
467c6ff266
Merge pull request #1441 from bookwyrm-social/query-efficiency
Query efficiency
2021-09-20 16:25:00 -07:00
Mouse Reeve
89fad59793 Query efficiency in user view 2021-09-20 15:25:29 -07:00
Mouse Reeve
aa0ffd86c0 Fetch related items when loading list page 2021-09-20 14:49:07 -07:00
Mouse Reeve
22ead6ba46 More efficient followers query 2021-09-20 14:29:01 -07:00
Mouse Reeve
a304333acf Don't show delete button in create list form 2021-09-20 14:25:11 -07:00
Mouse Reeve
1ed3d4dde1 Updates search box placeholder for logged out users 2021-09-20 12:28:08 -07:00
Mouse Reeve
7c23d687b1 Use icon for content warning
This creates consistency between the compose box and the status display
2021-09-19 09:30:06 -07:00
Mouse Reeve
f772210d05 Clips tiles on discover view 2021-09-19 09:21:13 -07:00
Mouse Reeve
bc693216c6
Merge pull request #1428 from bookwyrm-social/cw-style
Visually differentiates content warnings from statuses
2021-09-19 08:55:12 -07:00
Mouse Reeve
a119c69592 Use dash instead of vertical line to separate page name and site name 2021-09-18 17:09:18 -07:00
Mouse Reeve
e6c2ea1fbf Visually differentiates content warnings from statuses 2021-09-18 17:00:01 -07:00
Mouse Reeve
b1984aeaf7
Merge pull request #1427 from bookwyrm-social/reply-cws
Reply cws
2021-09-18 16:40:38 -07:00
Mouse Reeve
c8aa0e9330 Send dms through http post 2021-09-18 16:28:38 -07:00
Mouse Reeve
cdab2cbf2c Fixes content warnings on replies 2021-09-18 16:27:13 -07:00
Mouse Reeve
c664c0e9b5
Merge pull request #1426 from bookwyrm-social/register-view
Improvements to register view
2021-09-18 16:13:53 -07:00
Mouse Reeve
40040b39da Fixes incorrect close tag 2021-09-18 16:04:11 -07:00
Mouse Reeve
6f0b1d10bb Fixes line length 2021-09-18 16:00:21 -07:00
Mouse Reeve
d80feb7470 Renames landing layout template 2021-09-18 15:56:29 -07:00
Mouse Reeve
38c66b208c Adds customizable invite request copy 2021-09-18 15:45:04 -07:00
Mouse Reeve
1be4f31a9e Cleans up display of login page 2021-09-18 15:15:48 -07:00
Mouse Reeve
246ab992ae Consistent layout for invite registration page 2021-09-18 15:10:25 -07:00
Mouse Reeve
385da1ea43 Handle get request to /register path 2021-09-18 15:08:02 -07:00
Mouse Reeve
7901da3b74
Merge pull request #1425 from bookwyrm-social/delete-and-redraft
Fixes form submission from compose view
2021-09-18 15:07:09 -07:00
Mouse Reeve
7a6a4cd7c1
Merge pull request #1424 from bookwyrm-social/checkall
Fixes select all checkbox
2021-09-18 15:02:55 -07:00
Mouse Reeve
01ffb8d77b Fixes form submission from compose view 2021-09-18 14:56:20 -07:00
Mouse Reeve
dda36f22c2 Fixes select all checkbox 2021-09-18 14:48:03 -07:00
Mouse Reeve
293962326c Tick javascript hash 2021-09-18 14:32:30 -07:00
Mouse Reeve
19e36eb181 Fixes content warning fields in modals 2021-09-18 14:05:17 -07:00
Mouse Reeve
0fe5cb1000 Show label for content warning field 2021-09-18 11:56:32 -07:00
Mouse Reeve
08f6a97653 Python formatting 2021-09-18 11:33:43 -07:00
Mouse Reeve
acfb1bb376 Updating string format synatx part 2 2021-09-18 11:32:00 -07:00
Mouse Reeve
be86fbcf4d Merge branch 'main' into pylint-update 2021-09-18 07:46:12 -07:00
Mouse Reeve
377a4e1ef1 Updating string format syntax part 1 2021-09-17 21:39:18 -07:00
Mouse Reeve
6022e7b232 Adds IP blocklist views 2021-09-17 13:04:10 -07:00
Mouse Reeve
8a5004d947 Adds migration 2021-09-17 12:00:00 -07:00
Mouse Reeve
2a2dddf5f4 Adds IP blocklist model 2021-09-17 11:58:59 -07:00
Mouse Reeve
16854a52bc Adds ip block middleware 2021-09-17 11:47:46 -07:00
Mouse Reeve
252fff8bfe Create middleware directory 2021-09-17 11:31:19 -07:00
Mouse Reeve
967e26ce48 Updates connector manager tests 2021-09-17 11:29:10 -07:00
Mouse Reeve
1465385452 Python formatting 2021-09-16 15:29:06 -07:00
Mouse Reeve
d9284ede9b updates search tests 2021-09-16 15:27:06 -07:00
Mouse Reeve
8c4cafed79 Fixes formatting isbn endpoint results 2021-09-16 12:53:27 -07:00
Mouse Reeve
22af7ece71 Fixes SearchResult imports in tests 2021-09-16 12:41:30 -07:00
Mouse Reeve
4cdf895d77 Removes references to local field in connector tests 2021-09-16 12:29:02 -07:00
Mouse Reeve
beb482f1db Linter fixes
Temporarily disables C0209 because it's out of scope to fix here
2021-09-16 11:47:44 -07:00
Mouse Reeve
18591c7b56 Fixes circular import 2021-09-16 11:30:04 -07:00
Mouse Reeve
fbe05623ff Updates first_search_result functionality 2021-09-16 11:07:36 -07:00
Mouse Reeve
76ab5a763c Remove outdated test 2021-09-16 10:56:28 -07:00
Mouse Reeve
0d5e05a3c2 Updates other calls to the search endpoint 2021-09-16 10:55:23 -07:00
Mouse Reeve
98325818b2 Display search results in api mode and regular 2021-09-16 10:44:33 -07:00
Mouse Reeve
1f06d1a1d8 Removes local connector 2021-09-14 15:26:36 -07:00
Mouse Reeve
ccdfaa3187 Linter fixes 2021-09-12 11:48:25 -07:00
Mouse Reeve
a13d3317c6 Bust javascript cache 2021-09-12 11:46:51 -07:00
Mouse Reeve
7cfb0a4271 Supports Safari in form submission event 2021-09-12 11:45:18 -07:00
Mouse Reeve
bee1b2a2eb
Merge pull request #1409 from bookwyrm-social/file-input-css
Adds css for file input buttons
2021-09-12 10:52:32 -07:00
Mouse Reeve
a011a9eab5 Linting fixes 2021-09-12 10:41:16 -07:00
Mouse Reeve
b5cc75e078 Adds css for file input buttons 2021-09-12 10:36:06 -07:00
Mouse Reeve
e24f2ea8c1 Null state text for announcements view 2021-09-12 10:14:56 -07:00
Mouse Reeve
0f31586ab6 Email domain isn't a sortable column 2021-09-12 10:10:21 -07:00
Mouse Reeve
be7fae2053 Show recent servers first 2021-09-12 10:02:15 -07:00
Mouse Reeve
22f01508d2 Show user count in federated server table 2021-09-12 09:59:35 -07:00
Mouse Reeve
bd1e31d981 Merge migration 2021-09-11 17:44:56 -07:00
Mouse Reeve
717dc91d49 Merge branch 'main' into admin-tests 2021-09-11 17:43:45 -07:00
Mouse Reeve
d31683e21f Adds merge migration 2021-09-11 14:45:56 -07:00
Mouse Reeve
d972ad2541 Merge branch 'main' into csv-import-failures 2021-09-11 14:42:59 -07:00
Mouse Reeve
0f3e71978e Federated and blocked tabs 2021-09-11 14:41:52 -07:00
Mouse Reeve
6f531beb1c Don't just write "none" when the info is absent 2021-09-11 14:32:10 -07:00
Mouse Reeve
03a5ac9c3f Use elided page range for federated peer list 2021-09-11 14:27:42 -07:00
Mouse Reeve
992e478e95 Use readable/translatable strings for db choices 2021-09-11 14:23:47 -07:00
Mouse Reeve
9d5bfc494f Adds dashbaord view test 2021-09-11 13:35:23 -07:00
Mouse Reeve
09e49c70ed Fixes peers endpoint 2021-09-11 13:30:27 -07:00
Mouse Reeve
c247527139 Adds missing dm form 2021-09-11 12:07:09 -07:00
Mouse Reeve
c20f6c21ae Fixes date formats 2021-09-11 11:37:10 -07:00
Mouse Reeve
cd9fe70dbc Don't increment unread counts on csv import statuses 2021-09-11 10:26:33 -07:00
Mouse Reeve
c0eded0003 Merge branch 'main' into csv-import-failures 2021-09-11 09:34:38 -07:00
Mouse Reeve
e801c7d991 Cleaner chart intervals 2021-09-11 09:32:29 -07:00
Mouse Reeve
3e7847e645 Set deactivation date 2021-09-11 09:00:52 -07:00
Mouse Reeve
430554444f Adds deactivation date to user model
Also fixes django admin around saved lists
2021-09-11 08:57:38 -07:00
Mouse Reeve
84b90db4bb Adds filtering to admin panel 2021-09-11 08:47:16 -07:00
Mouse Reeve
1f53ce33a8 Fixes user stats reporting 2021-09-11 07:52:56 -07:00
Mouse Reeve
c2ccef20a6 Fixes references to federation views 2021-09-11 07:27:45 -07:00
Mouse Reeve
255e59503b Updates migration 2021-09-11 07:23:22 -07:00
Mouse Reeve
b26e486888 Python formatting 2021-09-11 07:20:40 -07:00
Mouse Reeve
b36f7d7b69 Merge branch 'main' into csv-import-failures 2021-09-11 07:19:40 -07:00
Mouse Reeve
fc69729f93 Link to dashboard from menu 2021-09-11 07:17:14 -07:00
Mouse Reeve
bc179ab90f Remove unused library 2021-09-11 07:15:30 -07:00
Mouse Reeve
19cdda372c Tidies up charts 2021-09-11 07:14:14 -07:00
Mouse Reeve
a79fb14686 Basic dashboard page 2021-09-10 21:12:08 -07:00
Mouse Reeve
e515912dbc Move admin views into their own directory 2021-09-10 18:50:31 -07:00
Mouse Reeve
7c3cf095f3 Adds opensearch xml file 2021-09-10 16:47:59 -07:00
Mouse Reeve
926eb7646f Removes duplicate selector 2021-09-10 15:03:01 -07:00
Mouse Reeve
3fdbd3035a how to disable linter complaint?? 2021-09-10 14:58:08 -07:00
Mouse Reeve
da5003c45e Fixes hover states 2021-09-10 14:56:45 -07:00
Mouse Reeve
8840e09eac Fixes labels 2021-09-10 14:41:55 -07:00
Mouse Reeve
daf42a30da Adds javascript for half star ratings 2021-09-10 14:27:08 -07:00
Mouse Reeve
0be53f9133 Adds half star markup 2021-09-10 14:20:55 -07:00
Mouse Reeve
2665e3640e CSS for half stars 2021-09-10 14:19:57 -07:00
Mouse Reeve
fd353ecb87 Fixes label 2021-09-10 12:15:51 -07:00
Mouse Reeve
def4d89bf8 Adds short description to edit site form 2021-09-10 12:13:24 -07:00
Mouse Reeve
9413dacaf2 Updates instance info endpoint 2021-09-10 11:44:51 -07:00
Mouse Reeve
9de6407e5f
Merge pull request #1395 from bookwyrm-social/delete-user-clarification
Adds copy to clarify how to delete a user as a moderator
2021-09-10 11:22:35 -07:00
Mouse Reeve
110273d277 Adds copy to clarify how to delete a user as a moderator 2021-09-10 11:03:45 -07:00
Mouse Reeve
a4e6f610cd Adds javascript cache value to templates 2021-09-10 10:57:16 -07:00
Mouse Reeve
a15ba14226
Merge pull request #1388 from bookwyrm-social/draft-caching
Save status drafts in localstorage
2021-09-10 10:36:41 -07:00
Mouse Reeve
5c329c35f0 Warn http error 2021-09-10 10:22:28 -07:00
Mouse Reeve
5e9b8eb571 Removes unused variable 2021-09-10 10:20:40 -07:00
Mouse Reeve
08d2bff7ca General function for displaying messages 2021-09-10 10:12:37 -07:00
Mouse Reeve
e3ab5afcbd Catch error responses from API 2021-09-10 08:59:49 -07:00
Mouse Reeve
3a7717e22f Fixes status code variable in http response 2021-09-10 08:59:18 -07:00
Mouse Reeve
718744a92d Adds css animation for pending create status
Co-authored-by: Fabien Basmaison <contact@arkhi.org>
2021-09-10 08:30:28 -07:00
Mouse Reeve
136cc1a6e9 Adds spinner icon 2021-09-10 08:07:46 -07:00
Mouse Reeve
3c38a64a81 Return http responses for ajax requests 2021-09-10 08:03:22 -07:00
Mouse Reeve
909293bbb0 Re-adds error handling code written a while back
Co-authored-by: Fabien Basmaison <contact@arkhi.org>
2021-09-09 19:56:42 -07:00
Mouse Reeve
85cc46184e Prioritize adding statuses to strems
having to wait to see statuses feels very weird and janky
2021-09-09 17:24:50 -07:00
Mouse Reeve
ad9be9f3d1 Updates test 2021-09-09 17:22:42 -07:00
Mouse Reeve
f9b9a66224 Linter appeasement 2021-09-09 17:07:48 -07:00
Mouse Reeve
9ba066ad6d Cleanup after submitting modal 2021-09-09 17:04:16 -07:00
Mouse Reeve
06b0325c1b Update dropdown options on shelve action 2021-09-09 16:43:47 -07:00
Mouse Reeve
79602f69d7 Separate out shelve button options lists 2021-09-09 16:32:21 -07:00
Mouse Reeve
9ee1a110a9 Update visible shelve buttons on read action 2021-09-09 15:36:58 -07:00
Mouse Reeve
5f584c1403 Lints for the Linter god 2021-09-09 08:24:36 -07:00
Mouse Reeve
055cced75b Close reply panel 2021-09-09 08:20:55 -07:00
Mouse Reeve
49f1226f3a Close modals after submit 2021-09-09 08:06:36 -07:00
Mouse Reeve
053e2cea0d Clear localstorage items 2021-09-09 07:39:38 -07:00
Mouse Reeve
dfaf085843 Move status code into the new file 2021-09-09 06:54:34 -07:00
Mouse Reeve
b0e7a5e468 Post statuses asynchronously 2021-09-08 19:30:45 -07:00
Mouse Reeve
71b2f91a73 Ties draft functionality to more status fields 2021-09-08 19:30:24 -07:00
Mouse Reeve
59ec45496c Merge branch 'main' into draft-caching 2021-09-08 18:55:47 -07:00
Mouse Reeve
c007f44030 Linter's have demands 2021-09-08 17:54:50 -07:00
Mouse Reeve
7ef179a4f3 Merge migration 2021-09-08 17:44:17 -07:00
Mouse Reeve
de3c79ce21 Merge branch 'main' into email-blocking 2021-09-08 17:43:08 -07:00
Mouse Reeve
bcb78653e9 Fixes remove email domain test 2021-09-08 17:39:22 -07:00
Mouse Reeve
fadcbbcec7 Adds deletion form 2021-09-08 17:34:01 -07:00
Mouse Reeve
f5de1c903e Adds deletion test 2021-09-08 17:33:43 -07:00
Mouse Reeve
15344b6a8e Let moderators delete users 2021-09-08 17:21:45 -07:00
Mouse Reeve
916be2552d View for moderators deleting users 2021-09-08 16:58:16 -07:00
Mouse Reeve
31e6e59047 Updates test 2021-09-08 16:48:23 -07:00
Mouse Reeve
658e12eb86 Allow admins to suspend pending users 2021-09-08 16:47:12 -07:00
Mouse Reeve
21527803de Fixes delete test 2021-09-08 16:35:36 -07:00
Mouse Reeve
b891f32707 Adds deletion test 2021-09-08 16:31:15 -07:00
Mouse Reeve
d28db51a14 Adds delete functionality 2021-09-08 16:24:13 -07:00
Mouse Reeve
7638f99c1b Adds tests 2021-09-08 16:14:13 -07:00
Mouse Reeve
97f0d82b05 Missing close td tag 2021-09-08 15:49:52 -07:00
Mouse Reeve
5441b5b7f3 Prevent users from registering with blocked emails 2021-09-08 15:49:18 -07:00
Mouse Reeve
cc61d44cef Removes stray tag 2021-09-08 15:38:34 -07:00
Mouse Reeve
59096ae9ec Adds email filtering to user admin view 2021-09-08 15:37:52 -07:00
Mouse Reeve
605af3bf88 Not going to implement that today 2021-09-08 15:33:53 -07:00
Mouse Reeve
c4a43d5029 Updates migration 2021-09-08 15:31:07 -07:00
Mouse Reeve
8717d8a675 Create new email domain block entries 2021-09-08 15:31:01 -07:00
Mouse Reeve
c705178c3b Adds create block form 2021-09-08 15:08:22 -07:00
Mouse Reeve
21de8e66be Formats url 2021-09-08 14:39:43 -07:00
Mouse Reeve
7a684a2f96 Adds model 2021-09-08 14:39:38 -07:00
Mouse Reeve
fd0cf49b40 Adds html and view for email blocklist 2021-09-08 14:32:11 -07:00
Mouse Reeve
84fcc358fa Renames layout file 2021-09-08 14:06:43 -07:00
Mouse Reeve
03b608565d Save status drafts in localstorage 2021-09-08 13:58:10 -07:00
Mouse Reeve
d9090e723d
Merge pull request #1384 from bookwyrm-social/generate-image-transaction
Generate image task failing when transaction hasn't completed
2021-09-08 12:17:58 -07:00
Mouse Reeve
4db5677509 Fixes filters 2021-09-08 12:06:23 -07:00
Mouse Reeve
88a65b0b88 Only re-rank on bookwyrm instances 2021-09-08 11:47:36 -07:00
Mouse Reeve
d3b3dd6d99 Update suggestions on domain block 2021-09-08 11:38:22 -07:00
Mouse Reeve
2e2ee72333 Fixes inactive or mastodon users showing up in suggestions
They shouldn't be there, but just to be safe
2021-09-08 11:26:41 -07:00
Mouse Reeve
e06e507c8d Cleans up suggested users logic 2021-09-08 11:14:41 -07:00
Mouse Reeve
b826d29b0d Generate image task failing when transaction hasn't completed 2021-09-08 10:20:44 -07:00
Mouse Reeve
90800c190f Show suggested users toggle in user prefs page 2021-09-08 10:06:26 -07:00
Mouse Reeve
527c0542af View to hide suggestions 2021-09-08 10:03:23 -07:00
Mouse Reeve
bb29f33ca8 Fixes goal prompt not appearing in feed 2021-09-08 09:38:36 -07:00
Mouse Reeve
a5ef8aa6e9 Adds flag on user model to hide suggested users 2021-09-08 09:30:13 -07:00
Mouse Reeve
c9f9c0de58 Fixes boosts task 2021-09-08 09:21:15 -07:00
Mouse Reeve
4570d042a9 Tooltip icon 2021-09-08 08:56:13 -07:00
Mouse Reeve
1bf09459b5 Changes tooltip paradigm 2021-09-08 08:19:54 -07:00
Mouse Reeve
95bdf7b787 Adds goodreads data tooltip 2021-09-08 07:35:49 -07:00
Mouse Reeve
e13e13d3f3 Move import templates into directory 2021-09-08 07:28:42 -07:00
Mouse Reeve
d63e7243f5 Adds tooltip component 2021-09-08 07:26:51 -07:00
Mouse Reeve
2a93a8ea66 Adds class to status page 2021-09-07 18:16:26 -07:00
Mouse Reeve
e0f5f13a5a Fixes guessing read dates from goodreads csv 2021-09-07 18:09:43 -07:00
Mouse Reeve
aa91361fe4 Fixes celery kwarg for queue 2021-09-07 17:09:44 -07:00
Mouse Reeve
26adf2d974 Fixes queue for import task 2021-09-07 17:04:10 -07:00
Mouse Reeve
de3f18655c Set priorities on tasks 2021-09-07 16:33:43 -07:00
Mouse Reeve
b41293e2ce
Merge pull request #1375 from bookwyrm-social/celery-settings
Simplify celery settings
2021-09-07 15:23:05 -07:00
Mouse Reeve
47ba2478b6 Split out test files 2021-09-07 15:06:44 -07:00
Mouse Reeve
37dcae4558 Simply celery settings 2021-09-07 14:02:03 -07:00
Mouse Reeve
ec501dfee9 Make sure passwords aren't exposed in error reporting 2021-09-07 13:21:40 -07:00
Mouse Reeve
75cc2ee164 Split authentication views into login and register 2021-09-07 13:11:44 -07:00
Mouse Reeve
6db0bf4b6a Adds AP field 2021-09-07 12:51:07 -07:00
Mouse Reeve
8a748fa675 Adds format fields to edit book view 2021-09-07 12:49:28 -07:00
Mouse Reeve
da3bc1e591 Python formatting 2021-09-07 12:05:34 -07:00
Mouse Reeve
6bc4bf4503 Fixes mock 2021-09-07 12:02:29 -07:00
Mouse Reeve
b717c2fcd8 Fixes mock arg on test 2021-09-07 11:57:18 -07:00
Mouse Reeve
82ad1abe9a more activitystreams tests 2021-09-07 11:53:41 -07:00
Mouse Reeve
d147c6ac2f Separate tests into more files 2021-09-07 11:13:18 -07:00
Mouse Reeve
a4041911c6 Adds tests more activitystreams tasks 2021-09-07 11:01:27 -07:00
Mouse Reeve
f4b43af600 Creates test files for activitystreams 2021-09-07 10:24:09 -07:00
Mouse Reeve
5a224b5aa4 Use atomic when creating new users 2021-09-07 10:09:28 -07:00
Mouse Reeve
f25835feeb Fixes error breaking registration 2021-09-07 09:39:42 -07:00
Mouse Reeve
f80503d947 Merge migration 2021-09-06 22:15:13 -07:00
Mouse Reeve
22caf34d86 Merge branch 'main' into book-format-choices 2021-09-06 22:13:24 -07:00
Mouse Reeve
93d9e7b1a1
Merge pull request #1254 from bookwyrm-social/activitystreams-celery
Move activitystreams updates to tasks
2021-09-06 21:33:01 -07:00
Mouse Reeve
0a9d515d45 two more mocks 2021-09-06 20:37:09 -07:00
Mouse Reeve
9988a3e82b More test fixes 2021-09-06 18:58:45 -07:00
Mouse Reeve
c56a9021b6 A few more failing tests 2021-09-06 18:55:48 -07:00
Mouse Reeve
2653458e56 another round of mocks 2021-09-06 18:40:12 -07:00
Mouse Reeve
59400511c9 mocks mocks more mocks 2021-09-06 17:55:44 -07:00
Mouse Reeve
db34918347 Updates user view test 2021-09-06 16:33:21 -07:00
Mouse Reeve
4ea9637a2d Updates activitystreams tests 2021-09-06 16:16:45 -07:00
Mouse Reeve
e35c805960 Fixes typo in function call 2021-09-06 15:48:02 -07:00
Mouse Reeve
4db2557581 Fixes handling boosts 2021-09-06 15:39:32 -07:00
Mouse Reeve
38dc640dd5 Mock for goodreads import test` 2021-09-06 15:10:52 -07:00
Mouse Reeve
227b72eaf9 Fixes mocks syntax 2021-09-06 15:09:04 -07:00
Mouse Reeve
72d5238590 More mocks 2021-09-06 14:50:33 -07:00
Mouse Reeve
bb94995389 Where you need one mock, you probably need the other 2021-09-06 14:48:45 -07:00
Mouse Reeve
a6b0ba1826 Updates activistreams add_status mock 2021-09-06 13:53:49 -07:00
Mouse Reeve
aa856b0155
Merge pull request #1369 from bookwyrm-social/delete-lists
Delete lists
2021-09-06 13:16:56 -07:00
Mouse Reeve
a8973336d9 Adds mock to list items creation 2021-09-06 12:58:18 -07:00
Mouse Reeve
8382d1a684 Updates tests 2021-09-06 12:31:13 -07:00
Mouse Reeve
cb21099e0b Fixes serialization of delete activity 2021-09-06 12:00:10 -07:00
Mouse Reeve
ae81d6cf71 More tests 2021-09-06 11:55:04 -07:00
Mouse Reeve
d212cbfd3c Adds new template 2021-09-06 11:54:53 -07:00
Mouse Reeve
5640ae4f7e Handle deletions of ordered collections 2021-09-06 11:24:08 -07:00
Mouse Reeve
c4f2d67048 Adds view tests 2021-09-06 11:17:36 -07:00
Mouse Reeve
c8f148acb8
Merge pull request #1366 from bookwyrm-social/user-admin
User admin view improvements
2021-09-06 10:54:31 -07:00
Mouse Reeve
c630ec3572 Adds delete list view 2021-09-06 10:41:55 -07:00
Mouse Reeve
1e037d20a4 Adds delete button to list 2021-09-06 10:03:00 -07:00
Mouse Reeve
eb67c4730f Renames list layout file 2021-09-06 09:48:57 -07:00
Mouse Reeve
2886c15e1d Adds more info to user admin page 2021-09-06 09:35:25 -07:00
Mouse Reeve
a68196d9bb Improves user admin filter behavior 2021-09-06 08:54:57 -07:00
Mouse Reeve
0f32471b2a Show quotes without content as large discover cards 2021-09-06 08:47:59 -07:00
Mouse Reeve
1681b2563d Merge branch 'main' into quote-page 2021-09-05 16:08:54 -07:00
Mouse Reeve
b80de929fd Create and view quotation page numbers 2021-09-05 16:00:40 -07:00
Mouse Reeve
fb0989e902
Merge pull request #1362 from bookwyrm-social/fallback-modal
Fallback modal
2021-09-05 15:53:35 -07:00
Mouse Reeve
99904618ac Fixes close buttons on modals 2021-09-05 15:24:09 -07:00
Mouse Reeve
a2811b6c1b Fixes redirects in fallback post modal 2021-09-05 15:24:03 -07:00
Mouse Reeve
11b23e9bc7
Merge pull request #1361 from bookwyrm-social/shelf-counts
Shelf counts
2021-09-05 15:17:50 -07:00
Mouse Reeve
d046deaf11 Adds totals and page counts to shelf headers 2021-09-05 14:42:11 -07:00
Mouse Reeve
7ac9616c29
Merge pull request #1358 from bookwyrm-social/review-content-field
Remove required attribute on content field in create review form
2021-09-05 14:21:01 -07:00
Mouse Reeve
94f4a01665 Remove requried attribute on content field in create review form 2021-09-05 13:25:57 -07:00
Mouse Reeve
4009e80bab Fixes logo path on about page 2021-09-05 10:33:40 -07:00
Mouse Reeve
ccc41deb36 Retain whitespace in split for detecting urls 2021-09-02 13:36:01 -07:00
Mouse Reeve
5bfa09e411 Fixes whitespace when formatting links 2021-09-02 09:13:02 -07:00
Mouse Reeve
a236163e67 Small cleanup 2021-09-02 09:12:56 -07:00
Mouse Reeve
3d394f96bf Fixes testing if authors are present 2021-09-02 08:49:50 -07:00
Mouse Reeve
d7557926f7 Create task for shelve updates 2021-08-30 14:08:53 -07:00
Mouse Reeve
32f044445f Fix merge weirdness around shelve/unshelve 2021-08-30 14:00:38 -07:00
Mouse Reeve
54f1b0aee2 Merge branch 'main' into activitystreams-celery 2021-08-30 13:48:34 -07:00
Mouse Reeve
c3ff7fcf9b Resolves merge weirdness 2021-08-30 13:44:19 -07:00
reesporte
4f321e5f33 fix link formatting issue, for real this time 2021-08-30 14:23:04 -05:00
reesporte
c6d08050e2 bruh 2021-08-30 11:51:42 -05:00
reesporte
0f481714c0 fix pylint errors 2021-08-30 11:47:19 -05:00
reesporte
6e628fed38 formatting 2021-08-30 11:38:00 -05:00
reesporte
ac6438147d remove unused import 2021-08-30 11:20:56 -05:00
reesporte
aa946e3ab7 add more test cases for link formatting 2021-08-30 11:12:27 -05:00
reesporte
5291308677 fix link formatting issues 2021-08-30 11:12:05 -05:00
Mouse Reeve
e98ee64e2b Merge migration 2021-08-29 11:20:30 -07:00
Mouse Reeve
57ef1522b5 Merge branch 'main' into readthrough-dates 2021-08-29 11:18:35 -07:00
Mouse Reeve
66f8e9b4fc Fixes model name 2021-08-29 11:12:57 -07:00
Mouse Reeve
fc40c45591
Merge pull request #1339 from bookwyrm-social/privacy
Fixes parsing privacy fields from federated posts
2021-08-29 10:52:36 -07:00
Mouse Reeve
082c2708a7 Fixes attribution field logic 2021-08-29 08:50:46 -07:00
Mouse Reeve
8c8b1168d4 Support attribution field on boosts 2021-08-29 08:22:14 -07:00
Mouse Reeve
76ba56f656 Fixes admin permissions 2021-08-29 08:14:53 -07:00
Mouse Reeve
0569bce610 Cleaner string formatting in user model 2021-08-29 07:37:21 -07:00
Mouse Reeve
9eea60b35c Fixes call to followers url in serialization 2021-08-29 07:36:59 -07:00
Mouse Reeve
05e5db177d
Merge pull request #1338 from bookwyrm-social/default-ap-value
Use None instead of empty string for activitypub null value
2021-08-28 13:53:04 -07:00
Mouse Reeve
8629c4450c Adds test for user followers field from AP 2021-08-28 12:20:43 -07:00
Mouse Reeve
a5dcc0e5e4 Support multiple possible fields that indicate user ownership 2021-08-28 12:11:15 -07:00
Mouse Reeve
9c4fd1e602 Set user default values 2021-08-28 12:06:03 -07:00
Mouse Reeve
1e675384bc Updates user model test 2021-08-28 11:58:41 -07:00
Mouse Reeve
e4b5890992 Updates field tests 2021-08-28 11:41:33 -07:00
Mouse Reeve
2c26b04119 Uses correct object to determine author 2021-08-28 11:30:54 -07:00
Mouse Reeve
41ed5f3103
Merge pull request #1337 from bookwyrm-social/feed-logic
Feed logic
2021-08-28 11:29:37 -07:00
Mouse Reeve
4f94d99c88 Use None instead of empty string for activitypub null value 2021-08-28 11:16:39 -07:00
Mouse Reeve
dc72df7339 Generate likely followers url for existing users 2021-08-28 11:15:17 -07:00
Mouse Reeve
53d9ff87d9 Look up followers url to determine post privacy 2021-08-28 10:40:52 -07:00
Mouse Reeve
e9d951e4cd Add user model field for followers url 2021-08-28 10:33:57 -07:00
Mouse Reeve
f308b7793d Adds test for followers only privacy level 2021-08-28 10:08:41 -07:00
Mouse Reeve
e1af13d038 Adds test 2021-08-28 09:55:06 -07:00
Mouse Reeve
4fb834f10f Simpler feed verification logic 2021-08-28 09:42:03 -07:00
Mouse Reeve
3a8eeb35a7 Uses modal template for progress modal 2021-08-28 09:41:36 -07:00
D Anzorge
92b96afc2d Make webfinger match usernames in case insensitive manner 2021-08-27 21:27:54 +02:00
Mouse Reeve
ae840002de Only show update option when there's an active readthrough 2021-08-27 12:21:16 -07:00
Mouse Reeve
497b54c014 Updates test 2021-08-27 11:38:34 -07:00
Mouse Reeve
e129b9c1f1 Adds more readthrough model tests 2021-08-27 11:16:51 -07:00
Mouse Reeve
2c78eddbeb Normalize readthrough dates in advance of migration 2021-08-27 10:47:56 -07:00
Mouse Reeve
3f2f8f0e50 Updates migrations 2021-08-27 10:32:51 -07:00
Mouse Reeve
01d82cfa3a Merge branch 'main' into readthrough-dates 2021-08-27 10:25:41 -07:00
Mouse Reeve
2ec01803e0 Fixes error for logged out user viewing lists 2021-08-24 14:16:22 -07:00
Mouse Reeve
fe75049177
Merge pull request #1329 from bookwyrm-social/list-flag
Indicate if a list is saved on the lists tile view
2021-08-23 17:26:17 -06:00
Mouse Reeve
6115ead363
Merge pull request #1330 from bookwyrm-social/resolve-book-errors
Safely handle work with no editions error
2021-08-23 17:26:08 -06:00
Mouse Reeve
ac3a989e37
Merge pull request #1328 from bookwyrm-social/unread-count
Increment unread count less wildly
2021-08-23 17:22:59 -06:00
Mouse Reeve
332a712d84 Safely handle work with no editions error 2021-08-23 15:59:58 -07:00