Mouse Reeve
dce0c85602
Fixes clashing input ids on reset password form
2021-10-16 10:28:38 -07:00
Mouse Reeve
bec56180f0
Fixes label on layout login form
2021-10-16 10:20:06 -07:00
Mouse Reeve
974c05dedb
Adds more password view tests
2021-10-16 10:14:53 -07:00
Mouse Reeve
b56147d70c
Use validate html in landing views tests
2021-10-16 10:09:25 -07:00
Mouse Reeve
8cb91acb93
Move logged out templates into a directory
2021-10-16 10:00:31 -07:00
Mouse Reeve
5558216917
Merge pull request #1542 from bookwyrm-social/cancel-button
...
A cancel button that leads nowhere
2021-10-16 07:21:39 -07:00
Mouse Reeve
17eebfb916
Merge pull request #1537 from bookwyrm-social/locale-improvements
...
Locale improvements
2021-10-16 07:13:56 -07:00
Mouse Reeve
94bce7fd83
Use javascript back button on create book page
2021-10-16 07:11:12 -07:00
Mouse Reeve
584e0a54af
Adds test to catch invalid link
2021-10-16 07:06:49 -07:00
Hugh Rundle
8192d6ad10
code indenting fix
2021-10-16 18:00:55 +11:00
Hugh Rundle
0cd8ece474
code formatting
2021-10-16 17:45:39 +11:00
Hugh Rundle
a476b52f86
database migrations for groups
2021-10-16 17:45:21 +11:00
Hugh Rundle
2a31bf2f0c
delete groups
...
Whoops, forgot to add this functionality earlier.
- allow owner to delete a group
- change all group lists to closed curation with group=False when group deleted
2021-10-16 17:35:36 +11:00
Hugh Rundle
85784f07d2
groups templates improvements
...
- require confirmation before removing a member
- require confirmation before removing self
- make button text less verbose
- use more standardised formatting for group editing form
- improve button colours
- add missing trans tags
- reload group page when removing member
2021-10-16 16:43:09 +11:00
Hugh Rundle
1736419538
(hopefully) fix group tests
2021-10-16 16:42:08 +11:00
Hugh Rundle
91534aff82
group view fixes
...
- fix form details not appearing in group member search view
- fix query term appearing in main search box when searching for new members
- direct request user back to the group rather than the user when adding a user to a group
2021-10-16 16:39:50 +11:00
Hugh Rundle
afd00cc67a
improve group removal flow
...
Use .save() twice, but with broadcast=False on the second update. This is more efficient than doing a query and update() and avoids the duplicate AP broadcast.
2021-10-16 16:38:02 +11:00
Hugh Rundle
6f13c0d808
formatting fix
2021-10-16 16:09:03 +11:00
Mouse Reeve
fe00032da5
Merge branch 'main' into locale-improvements
2021-10-15 15:02:44 -07:00
Mouse Reeve
53e49baa20
Merge pull request #1538 from bookwyrm-social/author-page
...
Author page validation
2021-10-15 15:02:22 -07:00
Mouse Reeve
0e30d1f856
Show status header on edit page
2021-10-15 14:45:26 -07:00
Mouse Reeve
896885bffd
Don't show progress field on status update comments
...
Also retitle the view
2021-10-15 14:43:02 -07:00
Mouse Reeve
a9daa4670e
Retain reading status on comments
2021-10-15 14:41:14 -07:00
Mouse Reeve
1e7b56cdb0
Don't show last edited by link if it's not set
2021-10-15 14:26:16 -07:00
Mouse Reeve
931f78d7c2
Validate author page html
2021-10-15 14:26:07 -07:00
Hugh Rundle
e261bfdb6a
fix local filter for suggested users
2021-10-16 08:20:12 +11:00
Hugh Rundle
864d8cea2b
clean up templates
2021-10-16 08:18:55 +11:00
Hugh Rundle
97ea61dd7e
efficiency improvement to remove_from_group
2021-10-16 08:17:42 +11:00
Mouse Reeve
4178d1f7f6
Adds context to translation strings on discover page
2021-10-15 14:10:34 -07:00
Mouse Reeve
3621224074
Properly localize book format
2021-10-15 13:59:07 -07:00
Mouse Reeve
dede101d17
Capitalize html and markdown
2021-10-15 13:58:59 -07:00
Mouse Reeve
032dedabb4
Goodreads capitalization standardization
2021-10-15 13:50:05 -07:00
Mouse Reeve
7f75cd329a
Use instance name instead of the word "instance" where possible
...
trying to use less jargon
2021-10-15 13:42:32 -07:00
Mouse Reeve
eac1ed3484
Merge pull request #1534 from bookwyrm-social/followers-display
...
Fixes privacy filters for followers-only replies
2021-10-15 13:38:42 -07:00
Mouse Reeve
145a31045a
Use "like" consistently (instead of mixing in "favorite")
2021-10-15 13:36:48 -07:00
Mouse Reeve
c6caa5a3f4
Fixes privacy display
2021-10-15 13:26:02 -07:00
Mouse Reeve
66a2b4c7c7
Tests for status raise_visible_to_user function
2021-10-15 13:25:47 -07:00
Hugh Rundle
2f38af4faa
Revert "clean up List db queries"
...
This reverts commit 41f27a4a66
.
I forgot that update() can only be done on a query result, not on an object, so we will need to go back to querying in order to update rather than saving.
2021-10-16 06:59:07 +11:00
Mouse Reeve
1072381b7d
Fixes followers filter for non-status objs
2021-10-15 11:09:46 -07:00
Mouse Reeve
bd0e4abd56
Uses correct model field for raw values
2021-10-15 10:36:46 -07:00
Mouse Reeve
61a0b50b91
Test raw version is saved
2021-10-15 10:10:38 -07:00
Mouse Reeve
e8f5678867
More test names
2021-10-15 10:10:25 -07:00
Mouse Reeve
60b910172d
Update migration
2021-10-15 10:09:34 -07:00
Mouse Reeve
b9e6824360
Imrpove test names
2021-10-15 10:07:29 -07:00
Mouse Reeve
117e6a08b2
Merge branch 'main' into markdown
2021-10-15 10:06:34 -07:00
Mouse Reeve
1e41458a44
Merge pull request #1535 from bookwyrm-social/edit-posts
...
Edit posts
2021-10-15 10:04:17 -07:00
Mouse Reeve
9ac5384d68
Fixes test and css linter
2021-10-15 09:54:14 -07:00
Mouse Reeve
b84152d84b
tick version number
2021-10-15 09:42:21 -07:00
Mouse Reeve
2f40394c0a
Updates edited display
2021-10-15 09:41:29 -07:00
Mouse Reeve
1b1e557800
Updates app to use date instead of boolean
2021-10-15 09:08:10 -07:00
Mouse Reeve
b11b810ec9
Use edit date to track is status has been updated
2021-10-15 08:56:07 -07:00
Mouse Reeve
20cca69f06
Test update status via inbox
2021-10-15 08:52:32 -07:00
Mouse Reeve
4002df04fc
Send update activity on edit
2021-10-15 08:15:48 -07:00
Hugh Rundle
1634c8774e
remove useless field in Notifications model
2021-10-15 17:59:39 +11:00
Hugh Rundle
41f27a4a66
clean up List db queries
...
- don't unnecessarily query DB in List views
- use more efficient query in remove_from_group List class method
2021-10-15 17:56:23 +11:00
Mouse Reeve
50db0bd012
Hide reply panel in no interact mode
2021-10-14 20:29:45 -07:00
Mouse Reeve
0dba071126
Fixes editing replies
2021-10-14 19:14:47 -07:00
Mouse Reeve
e43cade6cc
Test edit view
2021-10-14 19:13:02 -07:00
Mouse Reeve
af567ba05e
Edit posts in original markdown syntax
2021-10-14 18:34:26 -07:00
Mouse Reeve
01911d3b23
Update and indicate edit status
2021-10-14 17:33:45 -07:00
Mouse Reeve
175df2181c
Adds edited field to status model
2021-10-14 17:33:04 -07:00
Mouse Reeve
2d1052766d
Fixes undefined variable error
2021-10-14 17:32:38 -07:00
Mouse Reeve
f5e52d6a11
Save updated statuses
2021-10-14 17:23:54 -07:00
Mouse Reeve
066f14ca84
Save edited statuses
2021-10-14 17:13:54 -07:00
Mouse Reeve
8a08d789cb
Removes delete and redraft tests
2021-10-14 17:13:15 -07:00
Mouse Reeve
92535a5481
Python formatting
2021-10-14 16:57:58 -07:00
Mouse Reeve
df27614937
Don't use localstorage cache for edits
2021-10-14 16:53:46 -07:00
Mouse Reeve
e149a14e73
Use href instead of POST form to edit status
2021-10-14 16:53:42 -07:00
Mouse Reeve
7488f8da96
Creates edit status endpoint
2021-10-14 16:30:27 -07:00
Mouse Reeve
cc650e235b
Fixes privacy filters for followers-only replies
2021-10-14 16:26:28 -07:00
Mouse Reeve
b9251b4dc7
Fixes book identifiers not displaying
2021-10-14 16:11:33 -07:00
Mouse Reeve
1f6f543847
Use url templatetag to load posting urls
2021-10-14 15:56:34 -07:00
Mouse Reeve
d5b247b905
Merge branch 'main' into edit-posts
2021-10-14 15:49:08 -07:00
Mouse Reeve
c1287f800e
Merge pull request #1529 from scientia-ac-labore/add_sort_books
...
Add sorting to shelf. Use table-sort-header
2021-10-14 15:46:08 -07:00
Faiazov Dmitrii
1abbc67483
Make requested changes.
...
Signed-off-by: Faiazov Dmitrii <jjsolutions0110@gmail.com>
2021-10-14 13:39:15 +03:00
Mouse Reeve
803ad3c911
Removes delete and redraft view
2021-10-13 13:12:56 -07:00
Faiazov Dmitrii
ce16f36fe8
Add sorting to shelf. Use table-sort-header
...
existing template.
Signed-off-by: Faiazov Dmitrii <jjsolutions0110@gmail.com>
2021-10-13 21:25:40 +03:00
Mouse Reeve
4384098292
Updates Spanish locale
2021-10-11 12:17:39 -07:00
Mouse Reeve
58ba1ddf87
Typo fix
2021-10-11 10:07:02 -07:00
Mouse Reeve
48b84afbde
Python formatting
2021-10-11 09:37:25 -07:00
Mouse Reeve
69110497ae
Adds Brazilian Portuguese locale
2021-10-11 09:23:28 -07:00
Hugh Rundle
5d7f77021b
dammit eslint
2021-10-10 14:02:55 +11:00
Hugh Rundle
3d74b10c5f
eslinting
2021-10-10 13:55:18 +11:00
Hugh Rundle
726217577f
linting
2021-10-10 13:18:16 +11:00
Hugh Rundle
14d3158871
add database migrations for Groups
2021-10-10 12:33:51 +11:00
Hugh Rundle
2a78c1221c
style cleanup
...
Even tests must be formatted to please Black...
2021-10-10 12:33:11 +11:00
Hugh Rundle
8ae20928bb
add tests for groups
2021-10-10 12:06:54 +11:00
Hugh Rundle
18735bdd42
use update() to remove orphaned groups on list edit
...
Using add() broadcasts the database change, which is unnecessary potentially broadcast AP messages twice.
2021-10-10 12:04:03 +11:00
Hugh Rundle
d6a5794ac3
do not load list edit form if viewer not authenticated
2021-10-10 12:02:27 +11:00
Hugh Rundle
83f46b6cda
remove print() statement
...
Whoops accidentally left this behind from manual troubleshooting
2021-10-10 12:01:21 +11:00
Hugh Rundle
252ff0d689
emblacken files
...
Wouldn't it be great if I just remembered to run Black before every commit?
2021-10-09 22:15:24 +11:00
Hugh Rundle
b3cc9e5b75
remove user and their lists from group when group.user blocks them
...
Lists are changed to closed curation with no group.
2021-10-09 22:13:12 +11:00
Hugh Rundle
9940abfd81
refactor removing user from group
...
This is in preparation for removing a user and their lists when the group owner blocks them.
Remove the user via models.group
Remove the lists via models.list
2021-10-09 22:11:46 +11:00
Hugh Rundle
1bf5758e01
overide filters for groups and group lists
...
- use more sensible query for displaying groups on user page
- privacy_filter now allows group members to see followers_only and private lists and groups they would otherwise not see
2021-10-09 16:11:11 +11:00
Hugh Rundle
714a369246
only show list edit form to list.user
2021-10-09 16:10:00 +11:00
Hugh Rundle
056150d583
CASCADE group.user
...
Delete groups when group.user is deleted.
2021-10-08 21:21:19 +11:00
Hugh Rundle
39e002ee13
Merge remote-tracking branch 'origin/bookwyrm-groups' into bookwyrm-groups
...
Merge changes from main project into local branch
2021-10-08 18:53:59 +11:00
Hugh Rundle
5a4026cda3
group views tests
2021-10-08 18:47:03 +11:00
Hugh Rundle
05bde27944
remove commented out code
2021-10-08 18:46:30 +11:00
Hugh Rundle
48fc85c761
adjust commenting on js file
2021-10-08 18:45:28 +11:00
Mouse Reeve
cef46a1827
Adds migration
2021-10-07 17:30:42 -07:00
Mouse Reeve
4ba3234f6c
Merge branch 'main' into bookwyrm-groups
2021-10-07 17:27:11 -07:00
Mouse Reeve
37e03e8993
Merge branch 'main' into book-file-links
2021-10-07 15:27:16 -07:00
Hugh Rundle
3003b103e4
add group views tests
...
TODO: the POST test needs to test that the group was actually updated.
2021-10-08 08:38:00 +11:00
Mouse Reeve
674aa484fd
Use target language in choice list
2021-10-06 16:58:27 -07:00
Mouse Reeve
982cd49c51
Fixes english grammar weirdness
2021-10-06 16:33:07 -07:00
Mouse Reeve
b23f6afa6c
Adds context to curation type "open"
2021-10-06 16:24:23 -07:00
Mouse Reeve
26de524247
Update language on login and edit preference
2021-10-06 13:01:29 -07:00
Mouse Reeve
c0af69045c
Adds language customization to preferences
2021-10-06 12:20:05 -07:00
Mouse Reeve
ba5ec878fa
Adds language preference to database
2021-10-06 12:19:52 -07:00
Mouse Reeve
73a8f89bee
Merge branch 'main' into bookwyrm-groups
2021-10-06 11:37:38 -07:00
Mouse Reeve
8d00ef4318
Style cleanup
2021-10-06 11:23:36 -07:00
Mouse Reeve
53e5762563
Status-specific filters in status model
2021-10-06 11:19:13 -07:00
Mouse Reeve
34d6c88861
Move privacy levels filter to clearer location
2021-10-06 11:15:17 -07:00
Mouse Reeve
2307cb2227
Filter followers only in place
...
It's only used in one spot
2021-10-06 11:12:03 -07:00
Mouse Reeve
68b6b1fbae
User override in child class instead of if/else for privacy_filter
2021-10-06 11:08:54 -07:00
Mouse Reeve
97cc129478
Updates calls to privacy_filter
2021-10-06 10:37:09 -07:00
Mouse Reeve
b2671e78ef
Moves privacy filter to model class
2021-10-06 09:48:11 -07:00
Mouse Reeve
67c83b8d32
Merge pull request #1507 from bookwyrm-social/api-images
...
Fixes image paths in endpoints
2021-10-06 09:32:51 -07:00
Mouse Reeve
4c539bc7eb
Fixes image paths in endpoints
2021-10-06 08:49:07 -07:00
Mouse Reeve
15105bda4f
Remove follow suggestion on request
2021-10-06 06:48:44 -07:00
Levi Bard
094931d6d1
Display half-stars in generated statuses for federation.
...
Fixes #1505
2021-10-06 11:37:27 +02:00
Hugh Rundle
ec7d0db843
linting fixes
2021-10-05 21:48:59 +11: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
b3dc81dea0
update tests
2021-10-05 21:29:46 +11:00
Hugh Rundle
6fde19e9b1
lint fixes
2021-10-05 21:29:33 +11:00
Hugh Rundle
cdf7775e05
add test for Group views
2021-10-05 21:06:09 +11:00
Hugh Rundle
fe87e815e6
database migrations for Groups
2021-10-05 20:41:48 +11:00
Hugh Rundle
b1bb43d143
lint Group views file
2021-10-05 18:04:47 +11:00
Hugh Rundle
cc8db1c353
linting fixes
...
- remove unused imports
- add class docstrings
2021-10-05 09:05:20 +11:00
Hugh Rundle
484e9ed959
fix user Groups view pagination function
2021-10-05 08:14:52 +11:00
Hugh Rundle
90d92edd75
disable pylint on NotificationType now being "too long"
2021-10-05 08:10:23 +11:00
Hugh Rundle
78f5003407
lint raise_visible_to_user
...
Don't return True unnecessarily
2021-10-05 08:09:24 +11:00
Mouse Reeve
2a97458878
Merge pull request #1504 from bookwyrm-social/follow-request-recs
...
Remove follow suggestion on request
2021-10-04 13:14:32 -07:00
Mouse Reeve
f99a61b6bd
Remove follow suggestion on request
2021-10-04 12:52:51 -07:00
Mouse Reeve
ebbc56b3d0
Merge pull request #1503 from bookwyrm-social/dashboard
...
More! Charts!
2021-10-04 11:59:46 -07:00
Mouse Reeve
636eca97cb
Better mobile display
2021-10-04 11:22:14 -07:00
Mouse Reeve
2335945a50
Python formatting
2021-10-04 11:16:02 -07:00
Mouse Reeve
551b49b903
Adds works chart and updates colors
2021-10-04 11:14:50 -07:00
Mouse Reeve
37cd7e684c
Updates chart markup
2021-10-04 10:53:22 -07:00
Mouse Reeve
fa241b08e7
Rename charts snippets and add register chart file
2021-10-04 10:42:02 -07:00
Mouse Reeve
2a88753e17
Chart class
2021-10-04 10:40:39 -07:00
Mouse Reeve
ac70a810af
Boosts by remote users
2021-10-04 09:58:05 -07:00
Mouse Reeve
321949f2fa
Lightly updates tests
2021-10-04 09:47:33 -07:00
Mouse Reeve
443750d6db
f strings for activistreams tasks tests
2021-10-04 09:14:04 -07:00
Hugh Rundle
da53bad0f5
make Black happy
2021-10-04 22:22:00 +11:00
Hugh Rundle
3a90311129
update indenting for linter
2021-10-04 22:20:02 +11:00
Hugh Rundle
05969c5311
improve group creation hint
...
- use help class
- hopefully make the linter happy
2021-10-04 22:18:51 +11:00
Hugh Rundle
57b2c83c64
disable pylint suppression
...
I don't know what this does so I removed it - maybe I'll find out!
2021-10-04 21:34:54 +11:00
Hugh Rundle
dafda649f1
run Black on changed code
2021-10-04 21:31:28 +11:00
Hugh Rundle
782512b2ce
replace get_group_suggestions
...
- adds **filters argument to get_suggestions()
- passes local=True arg to get_suggestions() for group member suggestions
- removes get_group_suggestions()
Thanks to Mouse for the suggestion to keep the codebase DRY!
2021-10-04 21:25:38 +11:00
Hugh Rundle
2b96b3365c
Merge branch 'main' into bookwyrm-groups
2021-10-04 21:10:15 +11:00
Mouse Reeve
ea18252549
Fixes broken migration
2021-10-03 13:26:02 -07:00
Mouse Reeve
5cd8109820
Adds missing connector migration
2021-10-03 12:15:44 -07:00
Mouse Reeve
a3f0e23d23
Merge pull request #1496 from bookwyrm-social/fix-add-book
...
Fixes create book flow for search refactor
2021-10-03 12:12:10 -07:00
Mouse Reeve
d72d4eddfd
Merge pull request #1495 from bookwyrm-social/unblock-bug
...
Unblock bug
2021-10-03 12:02:18 -07:00
Mouse Reeve
889930aa69
Fixes create book flow for search refactor
2021-10-03 11:55:16 -07:00
Mouse Reeve
0798ba028f
Fixes unblock signal
2021-10-03 11:51:17 -07:00
Mouse Reeve
668f71f96c
Tests block and unblock activitystream signals
2021-10-03 11:45:19 -07:00
Mouse Reeve
15f6d2afc4
Merge pull request #1494 from bookwyrm-social/search-limits
...
Remove hard limit on search endpoints
2021-10-03 11:45:12 -07:00
Mouse Reeve
f4cb5933e4
Merge pull request #1493 from bookwyrm-social/auth-search
...
Logged out users can't search remote sources
2021-10-03 09:57:25 -07:00
Mouse Reeve
9059b78b57
Fixes testing if endpoint got results
2021-10-03 09:44:27 -07:00
Mouse Reeve
7d8cd99926
Remove hard limit on search endpoints
2021-10-03 09:38:41 -07:00
Mouse Reeve
ca7967a3a3
Adds test for remote search for anonymous user
2021-10-03 09:29:24 -07:00
Mouse Reeve
4787d854b8
require auth on resolve book endpoint
2021-10-03 09:19:19 -07:00
Mouse Reeve
9a5003f92a
Don't let anonymous users search remote data
2021-10-03 09:18:17 -07:00
Hugh Rundle
c59194f808
Merge branch 'main' into new-shelf-fix
2021-10-03 19:47:15 +11:00
Hugh Rundle
9509c5e288
new shelves can be given names always
...
Previously new shelves created when a default shelf was selected did not provide the option to create a new unique name. Now they do.
fixes #1491
2021-10-03 19:41:38 +11:00
Mouse Reeve
cd5541ac30
Merge pull request #1487 from bookwyrm-social/thread
...
Fixes thread display
2021-10-02 20:15:46 -07:00
Hugh Rundle
0d5c20bcde
remove_from_group button updates
...
- enable blocked users to be removed
- make "remove" button more subtle
2021-10-03 13:57:21 +11:00
Hugh Rundle
9d8e978686
sort group members in UserGroups view
2021-10-03 13:45:41 +11:00
Hugh Rundle
c04659984f
fix raise_not_editable for group lists
2021-10-03 13:45:19 +11:00
Mouse Reeve
3c82230eed
Load subclasses
2021-10-02 19:24:23 -07:00
Mouse Reeve
c821aaa18e
Load status ancestors
2021-10-02 19:22:11 -07:00
Mouse Reeve
e1271dd079
Less costly migration
2021-10-02 19:04:01 -07:00
Hugh Rundle
603a9dc25c
fix group members not being able to delete items on group lists
2021-10-03 12:22:03 +11:00
Hugh Rundle
7db2af89dd
use group.local_path instead of harcoded url
2021-10-03 12:03:37 +11:00
Hugh Rundle
1ad8d87434
use raise_visible_to_user in group model
...
instead of if visible_to_user
2021-10-03 12:02:57 +11:00
Hugh Rundle
f13223b8ca
add notifications for groups
...
Moved into new structure after merge.
2021-10-03 11:46:51 +11:00
Hugh Rundle
77ac8e0c04
add group membership to raise_not_deletable for lists
2021-10-03 11:45:53 +11:00
Mouse Reeve
14ac8bb1b5
Python formatting
2021-10-02 16:56:23 -07:00
Mouse Reeve
43f0440505
Improved privacy query
2021-10-02 16:55:15 -07:00
Mouse Reeve
cd57161489
Privacy filter for thread
2021-10-02 16:55:05 -07: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
f39887cf7f
groups should appear before lists on user pages
2021-10-03 10:07:47 +11:00
Mouse Reeve
7caaddbb22
Get thread children with depth first recusive search
2021-10-02 15:50:09 -07:00
Hugh Rundle
1c5789f283
remove group-curated lists when user leaves group
2021-10-03 09:16:19 +11:00
Hugh Rundle
a179de33bc
fix incorrect wording on group selection
...
select a group, not a list!
2021-10-03 09:07:42 +11:00
Hugh Rundle
4ea99d1763
don't assign a group when creating non-group curated lists
...
same as updating a list but for if a user changes their mind about curation when initially creating a list.
2021-10-03 09:06:06 +11:00
Mouse Reeve
55a556863c
Improves display on author page
...
Fixes #1482
2021-10-02 11:44:25 -07:00
Mouse Reeve
eaa77906b2
Merge pull request #1485 from bookwyrm-social/notifications
...
Refactors notifications templates
2021-10-02 11:41:18 -07:00
Mouse Reeve
446d286b12
Merge pull request #1483 from bookwyrm-social/threads
...
Threads
2021-10-02 11:41:10 -07:00
Mouse Reeve
db74538345
Update for js linter
2021-10-02 11:28:16 -07:00
Mouse Reeve
b9632039f9
Link notification block to its main path
2021-10-02 11:26:22 -07:00
Mouse Reeve
2a9f8f8122
Updates curated list notification link generation
2021-10-02 10:52:35 -07:00
Mouse Reeve
5adbf2d087
Move notification items into dir
2021-10-02 10:46:09 -07:00
Mouse Reeve
0320898f4e
Expands notifications views test
2021-10-02 10:42:38 -07:00
Mouse Reeve
1d79bb58e1
Better mobile display for notifications
2021-10-02 10:28:49 -07:00
Mouse Reeve
085d3270a3
Load related objects in query
...
Reduces query load in template
2021-10-02 10:11:27 -07:00
Mouse Reeve
8f56ad9e99
Adds report templates
2021-10-02 09:50:48 -07:00
Mouse Reeve
df8f67895c
Adds mention notification template
2021-10-02 08:09:57 -07:00
Mouse Reeve
29157d03fc
Create snippet for notification items
2021-10-02 07:34:59 -07:00
Mouse Reeve
9d765751e8
Creates notification template directory
2021-10-02 07:32:00 -07:00
Hugh Rundle
680e547c8b
add button for non-owner members to leave group
2021-10-02 21:24:26 +10:00
Hugh Rundle
eed9d44cfd
fix visible_to_user for groups user is a member of
2021-10-02 20:52:19 +10:00
Hugh Rundle
72e00f75c9
send notification when other group members add books to group lists
2021-10-02 20:14:53 +10:00
Hugh Rundle
3a954ca6ae
improve responsive layout for groups
2021-10-02 20:05:19 +10:00
Hugh Rundle
29f18ee123
only suggest local users as potential group members
2021-10-02 19:35:57 +10:00
Hugh Rundle
2c399fe1aa
fix suggested members all appearing in a column
2021-10-02 19:35:08 +10:00
Hugh Rundle
8708d71f4b
group members can see lists
...
- fix visible_to_user for group objects (like lists)
- temporarily disable privacy_filter on group lists
2021-10-02 18:31:56 +10:00
Hugh Rundle
8496f24032
fix filters for group members to see and edit group lists
2021-10-02 18:09:15 +10:00
Hugh Rundle
832a9b9890
fix group local_path
...
as per Lists, we need to override get_remote_id to remove the user from the URL
2021-10-02 16:54:44 +10: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
21e6ed7388
complete group notifications
...
- notify group members when a new member accepts an invitation
- notify all group members when a member leaves or is removed
- notify ex-member when they are removed
2021-10-02 15:48:55 +10:00
Hugh Rundle
f82af6382f
make message about group members more generic
2021-10-02 15:48:34 +10:00
Hugh Rundle
70e0128052
non-owners can't add users to groups
...
- hide add-user pages from non-owners
- hide user searchbox from non-owners
- fix find-user searchbox being in wrong place where no results
2021-10-02 14:41:23 +10:00
Hugh Rundle
5237e88aba
remove user button for groups
2021-10-02 13:48:53 +10:00
Hugh Rundle
0984972b05
group membership invitations
...
- fix display of group information on user and group pages
- send, receive, accept and reject invitations
2021-10-02 12:30:48 +10:00
Hugh Rundle
89dea44614
accepting membership fixes
...
- don't delete the invitation twice
- send membership information properly to notification
2021-10-02 12:29:01 +10:00
Hugh Rundle
9290655116
fix urls for group invitations
2021-10-02 12:13:34 +10:00
Hugh Rundle
80fb37b55c
add has_groups tag for use on user page
2021-10-02 12:12:59 +10:00
Mouse Reeve
bd463ea6fe
Lint fixes
2021-10-01 18:09:11 -07:00
Mouse Reeve
29ee99c03e
Styles for the thread page
2021-10-01 18:05:48 -07:00
Hugh Rundle
0f3be40957
fix group references in templates
...
Let's do this the sensible way huh, by using backwards references to memberships etc
Also adds filters for is_member and is_invited so we don't have to do weird things in group Views
2021-10-02 10:47:42 +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
f901806574
Test to ensure incoming statuses have thread ids
2021-10-01 14:56:38 -07:00
Mouse Reeve
ca4b262e72
Link to status anchor
2021-10-01 14:50:42 -07:00
Mouse Reeve
0cd55147ee
Set thread id on parent status
2021-10-01 14:41:30 -07:00
Mouse Reeve
7ff040470f
Use more f strings in status models test file
2021-10-01 14:26:01 -07:00
Mouse Reeve
8461fe5ec3
Adds anchor id to status
2021-10-01 14:12:49 -07:00
Mouse Reeve
565c9dfa72
Removes block div from thread markup
2021-10-01 14:12:34 -07:00
Mouse Reeve
b8fd909fe3
Adds thread id to status model
2021-10-01 14:12:03 -07:00
Mouse Reeve
a24fe558fc
Merge pull request #1480 from bookwyrm-social/comment-formatting
...
Post-processes statuses composed in modals
2021-10-01 12:00:56 -07:00
Mouse Reeve
70bf7c522f
Adds tests
2021-10-01 11:23:35 -07:00
Mouse Reeve
d2f80c2446
Adds test for reading status with comment
2021-10-01 10:57:56 -07:00
Mouse Reeve
7d03bfd2f6
Merge pull request #1477 from bookwyrm-social/add-edit-book
...
Updates for adding and editing books
2021-10-01 10:36:09 -07:00
Mouse Reeve
74d2cf646a
Moves meta tags out of p tags
...
I guess that's not kosher
2021-10-01 10:25:23 -07:00
Mouse Reeve
428d87a351
Don't render empty html about books
2021-10-01 10:08:56 -07:00
Mouse Reeve
0928fd03a6
Update mocks in editions tests
2021-10-01 10:08:31 -07:00
Mouse Reeve
58fa3d9ad6
Fixes dl syntax
2021-10-01 09:24:26 -07:00
Mouse Reeve
a7614d8c35
Moves editions page tests into separate file
2021-10-01 09:24:10 -07:00
Mouse Reeve
34948d494c
Python formatting
2021-09-30 22:23:29 -07:00
Mouse Reeve
6902ffc4c3
Adds missing view file
2021-09-30 22:22:32 -07:00
Mouse Reeve
bdb1d1998a
Helper function for html validation
2021-09-30 22:22:20 -07:00
Mouse Reeve
9c78a9d95c
test fixes
2021-09-30 22:02:07 -07:00
Mouse Reeve
6178925053
Unique form identifier for delete status button
2021-09-30 22:01:55 -07:00
Mouse Reeve
ccc52287c5
More error filtering
2021-09-30 20:01:57 -07:00
Mouse Reeve
3f44389c6b
Adds new test file for search
2021-09-30 13:03:36 -07:00
Mouse Reeve
92f9319fe1
Updates tests that reference self_connector
2021-09-30 11:46:17 -07:00
Mouse Reeve
1033d3d045
Updates connector tests
2021-09-30 11:33:04 -07:00
Mouse Reeve
232e4bed79
Updates migrations
2021-09-30 11:06:12 -07:00
Mouse Reeve
38f82fe660
Remove/re-add connector in migration
2021-09-30 10:55:18 -07:00
Mouse Reeve
e6e44decf9
Updates migration
2021-09-30 10:47:53 -07:00
Mouse Reeve
5dd2aac600
Merge branch 'main' into search-refactor
2021-09-30 10:41:30 -07:00
Mouse Reeve
75e69eb269
Post-processes statuses composed in modals
2021-09-30 10:00:05 -07:00
Mouse Reeve
9a96df1712
Unique id for privacy fields
2021-09-29 15:58:37 -07:00
Mouse Reeve
305dcc504b
Unique names for fallback forms
2021-09-29 15:52:08 -07:00
Mouse Reeve
0dc6a18201
Skip unescaped chars warning in html validator
...
jankily
2021-09-29 15:47:30 -07:00
Mouse Reeve
5cdfd29f9e
Unqiue id for progress fields
2021-09-29 15:46:54 -07:00
Mouse Reeve
6d17b83c8c
Id uniqueness fixes
2021-09-29 15:35:08 -07:00
Mouse Reeve
69195e6cd0
Fixes form close placement on reading modals
2021-09-29 15:02:50 -07:00
Mouse Reeve
a8ed957e20
Fixes uuid reference in toggle button snippet
2021-09-29 15:01:56 -07:00
Mouse Reeve
47b08e7591
Moves tests into dirs and updates render checks
2021-09-29 14:21:57 -07:00
Mouse Reeve
33b3b518e8
Move views into subdirectory
2021-09-29 13:42:27 -07:00
Mouse Reeve
899e6b55a8
Updates references to book templates
2021-09-29 13:27:07 -07:00
Mouse Reeve
1e5a8dc3db
Create subdirectories for book view templates
2021-09-29 13:21:11 -07:00
Mouse Reeve
f0e31f730a
Moves form into snippet and adds boxes around sections
2021-09-29 13:18:27 -07:00
Mouse Reeve
2d13fd0a1c
Merge branch 'main' into add-edit-book
2021-09-29 12:53:46 -07:00
Mouse Reeve
d36ef2bcf1
Pylint change
2021-09-29 12:42:28 -07:00
Mouse Reeve
32391dd64d
Python formatting
2021-09-29 12:38:31 -07:00
Mouse Reeve
0aef011258
Don't use the format detail if it maps directly
2021-09-29 12:29:17 -07:00
Mouse Reeve
123b23728f
Infer format in openlibrary import
2021-09-29 12:21:19 -07:00
Mouse Reeve
47706b5353
Use detail field on book paeg and meta
2021-09-29 11:59:09 -07:00
Mouse Reeve
54a8815f49
Updates migrations
2021-09-29 11:49:57 -07:00
Mouse Reeve
4747bb2156
Hide cover preview column if cover is unset
2021-09-29 11:36:35 -07:00
Mouse Reeve
2f93e6d723
Merge branch 'main' into book-format-choices
2021-09-29 11:33:06 -07:00
Mouse Reeve
e308ca2511
Merge pull request #1476 from bookwyrm-social/progress-modal
...
Progress modal
2021-09-29 11:23:29 -07:00
Mouse Reeve
cd54770aad
Tick javascript cache buster
2021-09-29 11:12:26 -07:00
Mouse Reeve
52c6a90498
Don't redirect on http request to readthrough
2021-09-29 11:02:04 -07:00
Mouse Reeve
d78c278665
Progress update flow for modal
2021-09-29 10:59:36 -07:00
Mouse Reeve
cd2dcbc758
Merge pull request #1471 from bookwyrm-social/goal-cleanup
...
Improves html consistency for goal page
2021-09-29 10:25:34 -07:00
Mouse Reeve
4dbb09be87
Merge branch 'main' into progress-modal
2021-09-29 09:53:02 -07:00
Mouse Reeve
a1eaae1d5e
Fixes markup syntax errors
2021-09-29 09:48:17 -07:00
Mouse Reeve
6e05fb6dd0
Use inline form component for goal form on goal page
2021-09-29 09:39:23 -07:00
Mouse Reeve
5f3df11e56
Moves goal card to feed dir
2021-09-29 09:24:51 -07:00
Mouse Reeve
46168a292b
Moves info text to goal form snippet
2021-09-29 09:23:52 -07:00
Mouse Reeve
002a9c4267
Merge pull request #1456 from Tak/add-cover-from-url-while-adding-book
...
Add cover from url while adding book
2021-09-29 08:56:05 -07:00
Mouse Reeve
701bf4828b
Improves html consistency for goal page
2021-09-28 18:34:12 -07:00
Mouse Reeve
6dbd402345
Merge pull request #1469 from bookwyrm-social/user-shelf
...
Reorganize user/shelf/goal views code
2021-09-28 17:51:58 -07:00
Mouse Reeve
a1aa34a4a4
Limits additional user for test
2021-09-28 17:40:55 -07:00
Mouse Reeve
4dc504c058
Fixes id clashes in shelf forms
2021-09-28 17:36:50 -07:00
Mouse Reeve
746d4bdba4
Validate html in user view tests
2021-09-28 17:31:13 -07:00
Mouse Reeve
b5d49d3499
Updates follows null state text
2021-09-28 17:30:58 -07:00
Mouse Reeve
6ae8215f41
Adds comment
2021-09-28 17:21:35 -07:00
Mouse Reeve
242ffe5456
Show shelf description
2021-09-28 17:20:15 -07:00
Mouse Reeve
5ea40e23b7
Moves shelf delete button
2021-09-28 17:17:01 -07:00
Mouse Reeve
6d9bf349d1
Fixes delete shelf logic and adds tests
2021-09-28 17:02:18 -07:00
Mouse Reeve
24553e0e35
Updates edit/create shelf forms
2021-09-28 16:37:24 -07:00
Mouse Reeve
dba0aaff2c
Adds description field to shelf
2021-09-28 16:36:47 -07:00
Mouse Reeve
183e76eb2a
Adds test for shelf
2021-09-28 16:18:32 -07:00
Mouse Reeve
cc1ae270cc
Label shelf privacy in edit shelf form
2021-09-28 16:12:34 -07:00
Mouse Reeve
d9945ac5e3
Updates references to templates
2021-09-28 16:04:08 -07:00
Mouse Reeve
9a4b71d585
Shuffles around user profile, shelf, and goal templates
2021-09-28 16:00:45 -07:00
Mouse Reeve
4402fc6c14
HTML validation in tests
2021-09-28 15:55:35 -07:00
Mouse Reeve
21fee19b42
Use recently active as the default sort order
2021-09-28 15:51:49 -07:00
Mouse Reeve
5b3ff8469d
Html validation fix for user admin view
2021-09-28 15:20:10 -07:00
Mouse Reeve
ada3e1d4d6
Adds options to html validator and fixes dl/dts
2021-09-28 15:02:24 -07:00
Mouse Reeve
2befef7deb
Brings federation page html in line with html validator
2021-09-28 14:39:23 -07:00
Mouse Reeve
65d7f50811
Updates federation tests
2021-09-28 14:15:06 -07:00
Mouse Reeve
29ef6df714
Fixes dashboard page for html validator complaints
2021-09-28 13:54:41 -07:00
Mouse Reeve
afcd296513
Test rendered html
2021-09-28 13:44:49 -07:00
Mouse Reeve
0fa0c1e2d9
Adds IP blocklist render test
2021-09-28 13:36:41 -07:00
Mouse Reeve
4a5efab2f8
Consistent syntax for back to list
2021-09-28 13:34:14 -07:00
Mouse Reeve
538ae015cd
Fixes report template paths
2021-09-28 13:32:23 -07:00
Mouse Reeve
27e6cff0f3
Change field display order on edit instance page
2021-09-28 13:27:03 -07:00
Mouse Reeve
8e3f6657fc
Fixes edit instance template name
2021-09-28 13:24:25 -07:00
Mouse Reeve
fa0e3cc112
Creates admin views test directory
2021-09-28 13:21:51 -07:00
Mouse Reeve
67a4b2713a
Use in-table style for null states
2021-09-28 13:18:27 -07:00
Mouse Reeve
c5746bbce0
Adds federation null state
2021-09-28 13:11:22 -07:00
Mouse Reeve
5b97135155
Fixes reference to filters template
2021-09-28 13:07:57 -07:00
Mouse Reeve
de5daf8057
Adds email blocklist null state
2021-09-28 13:05:45 -07:00
Mouse Reeve
57044d1c20
Adds null state for ip blocklist
2021-09-28 13:04:36 -07:00
Mouse Reeve
b3fdd1ad51
Puts sections into boxes on site page
2021-09-28 13:02:09 -07:00
Mouse Reeve
6c73c94fce
Move site settings sub-tabs to the site.html template
2021-09-28 12:53:17 -07:00
Mouse Reeve
9b091eaf75
Moves user admin templates into settings directory
2021-09-28 12:46:38 -07:00
Mouse Reeve
a1a1fd90a1
Moves reports into settings directory
2021-09-28 12:43:21 -07:00
Mouse Reeve
9c9adfc6f0
Updates references to templates
2021-09-28 12:39:52 -07:00
Mouse Reeve
1c262a1a64
Updates internal references
2021-09-28 12:26:55 -07:00
Mouse Reeve
7b985f3a41
Sorts admin templates into even more directories
2021-09-28 12:22:41 -07:00
Mouse Reeve
057f870997
Avatar display on mobile
2021-09-28 12:09:13 -07:00
Mouse Reeve
6266b58650
Updates static paths in tests
2021-09-28 12:02:09 -07:00
Mouse Reeve
c5d7c7dbff
Updates block view path reference in test
2021-09-28 11:49:53 -07:00
Mouse Reeve
a9eb544bac
Moves blocks views and tests into preferences dir
2021-09-28 11:44:53 -07:00
Mouse Reeve
461f834973
Move preferences test into their own directory
2021-09-28 11:41:40 -07:00
Mouse Reeve
4511bb2ccd
Italics for null state text
2021-09-28 11:29:42 -07:00
Mouse Reeve
85f6b615bd
Python formatting
2021-09-28 11:27:16 -07:00
Mouse Reeve
1b0a5232bc
Move preferences views into directory
2021-09-28 11:23:47 -07:00
Mouse Reeve
e971638f14
Render test for change password view
2021-09-28 11:09:24 -07:00
Mouse Reeve
f281d9014a
Creates sections in edit profile view
2021-09-28 11:00:16 -07:00
Mouse Reeve
585c71e72a
Adds html linting to test
2021-09-28 10:59:51 -07:00
Mouse Reeve
9a06b7d493
Fixes incorrect label in edit user panel
2021-09-28 09:24:09 -07:00
Mouse Reeve
72cbc1cb1b
Adds label
2021-09-28 09:23:50 -07:00
Mouse Reeve
273198d634
Merge branch 'main' into progress-modal
2021-09-28 08:00:45 -07:00
Hugh Rundle
66494e7788
fix reverse reference to user bookwyrm_groups
2021-09-28 18:53:11 +10:00
Levi Bard
9db75cc5b7
Add test for creating a book with a cover url
2021-09-28 10:01:31 +02:00
Mouse Reeve
0a37556941
Merge pull request #1401 from bookwyrm-social/opensearch
...
Adds opensearch xml file
2021-09-27 19:48:53 -07:00
Mouse Reeve
95cdaae4d4
Python formatting
2021-09-27 19:38:54 -07:00
Mouse Reeve
c32f975a67
Working in firefox
2021-09-27 19:28:50 -07:00
Mouse Reeve
99ef81be9b
Linter fixes
2021-09-27 19:05:13 -07:00
Mouse Reeve
15fc31bf77
Merge branch 'main' into opensearch
2021-09-27 18:58:28 -07:00
Mouse Reeve
767d378170
Update status tests
2021-09-27 18:52:45 -07:00
Mouse Reeve
e0aa8a7fdf
Fixes shelf view boolean logic
2021-09-27 17:58:21 -07:00
Mouse Reeve
f13f3d460c
Fixing checking list perms
2021-09-27 17:52:27 -07:00
Mouse Reeve
99c1a670f4
Fixes checking goal perms
2021-09-27 17:52:20 -07:00
Mouse Reeve
56bf8d923f
Updates goal and list tests
2021-09-27 17:52:10 -07:00
Mouse Reeve
6c0b1da83b
Fixes feed tests
2021-09-27 17:32:54 -07:00
Mouse Reeve
c874a762dd
Updates inbox view
2021-09-27 17:27:17 -07:00
Mouse Reeve
62ff9d6199
Python formatting
2021-09-27 16:08:52 -07:00
Mouse Reeve
af2f78095e
Fixes assert syntax
2021-09-27 16:06:01 -07:00
Mouse Reeve
dfa8bafe18
Uses new visible/editable/deleteable functions
2021-09-27 16:04:40 -07:00
Mouse Reeve
e6ae500569
Fixes syntax problem on http raises
2021-09-27 16:00:50 -07:00
Mouse Reeve
84443c7f81
Custom perms function for shelf view
2021-09-27 15:55:55 -07:00
Mouse Reeve
3f10ae248a
Changes visiblity function to raise
2021-09-27 15:54:58 -07:00
Mouse Reeve
3657f9e0df
Check perms in status views
2021-09-27 14:03:17 -07:00
Mouse Reeve
556ae0726b
Check perms in list views
2021-09-27 14:03:06 -07:00
Mouse Reeve
ab31798931
Adds model function to check perms
2021-09-27 14:02:34 -07:00
Mouse Reeve
0f57a43bfb
Separate access controls for delete and re-order
2021-09-27 13:31:35 -07:00
Mouse Reeve
10098a402d
Don't show list item controls to contributing viewers
2021-09-27 13:25:53 -07:00
Mouse Reeve
ab5521480d
Merge pull request #1462 from bookwyrm-social/fewer-active-shelf-queries
...
Fewer active shelf queries
2021-09-27 13:16:50 -07:00
Mouse Reeve
1efe62a70e
Check for readthrough annotation
2021-09-27 13:08:11 -07:00
Mouse Reeve
d7a54b0b10
Removes stray print
2021-09-27 12:56:40 -07:00
Mouse Reeve
6d2403bbc7
Merge pull request #1459 from bookwyrm-social/password-reset
...
Prevent password reset for inactive users
2021-09-27 12:55:05 -07:00
Mouse Reeve
8b0a8e2611
Another user mock on request
2021-09-27 12:38:49 -07:00
Mouse Reeve
dd3850a3ba
Updates books test
2021-09-27 12:26:56 -07:00
Mouse Reeve
36c00c49ab
User viewer aware objects for feed suggested books
2021-09-27 11:37:50 -07:00
Mouse Reeve
ba4df5b38b
Safely return if there are no current shelves
2021-09-27 11:29:53 -07:00
Mouse Reeve
8e8f46ee51
Only call .all once in shelf view
2021-09-27 11:27:46 -07:00
Mouse Reeve
cb089ed817
One query to get book for book view
2021-09-27 11:23:55 -07:00
Mouse Reeve
35131262ff
CHeck for current shelves attr before querying for it
2021-09-27 11:17:53 -07:00
Mouse Reeve
995e2c47db
User viewer aware objects for book page
...
Plus other refactors for that view
2021-09-27 11:17:42 -07:00
Mouse Reeve
6d06edc2c7
User viewer aware books for all books shelf view
2021-09-27 10:58:34 -07:00
Mouse Reeve
eb34bb2d93
Merge pull request #1461 from bookwyrm-social/views-init
...
Adds init file to admin views dir
2021-09-27 10:37:23 -07:00
Mouse Reeve
e75a49f799
Merge pull request #1455 from bookwyrm-social/refactor-readthroughs
...
Refactor read-throughs
2021-09-27 10:29:46 -07:00
Mouse Reeve
bc87856c2e
Merge branch 'main' into book-format-choices
2021-09-27 10:29:12 -07:00
Mouse Reeve
1cb1b29f57
Adds request user to mock
2021-09-27 10:26:25 -07:00
Mouse Reeve
69b010a8d3
f string updates
2021-09-27 10:21:46 -07:00
Mouse Reeve
28d40e9914
Use url names in redirects
2021-09-27 10:17:16 -07:00
Mouse Reeve
92de48afd4
Adds init file to admin views dir
...
Is this why they're not pylinting?
2021-09-27 10:06:46 -07:00
Mouse Reeve
c399d6edfb
Prevent password reset for inactive users
2021-09-27 09:31:51 -07:00
Hugh Rundle
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
Hugh Rundle
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
Levi Bard
0e6895633c
Allow adding a cover by url when adding a new book ( #1443 )
2021-09-27 13:00:16 +02:00
Hugh Rundle
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
Hugh Rundle
df5a5f94a1
fix local_path for groups
2021-09-27 19:27:39 +10:00
Hugh Rundle
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
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
Mouse Reeve
016930fd0c
Merge pull request #1327 from bookwyrm-social/lists
...
Bookmark lists
2021-08-23 16:54:36 -06:00
Mouse Reeve
d59ac297bb
Indicate if a list is saved on the lists tile view
2021-08-23 15:54:20 -07:00
Mouse Reeve
26e932aa7b
Increment unread count less wildly
...
Works on #1293
2021-08-23 15:47:14 -07:00
Mouse Reeve
473ad5ffba
Fixes tests
2021-08-23 15:35:51 -07:00
Mouse Reeve
c727d351ba
Fixes variable name
2021-08-23 15:33:49 -07:00
Mouse Reeve
f267e53b56
let's call it save not bookmark
2021-08-23 15:07:38 -07:00
Mouse Reeve
b7fb55e6ad
Fixes test for login redirected view
2021-08-23 14:53:48 -07:00
Mouse Reeve
47dbcc3af0
Adds views test
2021-08-23 14:15:19 -07:00
Mouse Reeve
d3cfceafca
Mocks creation of boost
2021-08-23 13:58:19 -07:00
Mouse Reeve
a30094c822
View bookmarked lists
2021-08-23 13:40:07 -07:00
Mouse Reeve
42abc145c8
Adds action views
2021-08-23 13:15:35 -07:00
Mouse Reeve
135fcbd269
Adds button to template
2021-08-23 13:02:27 -07:00
Mouse Reeve
457415f874
Adds bookmark icon
2021-08-23 11:36:22 -07:00
Mouse Reeve
eca0ff371c
Adds saved lists many to many field
2021-08-23 11:19:15 -07:00
Mouse Reeve
16235d1d90
Actually use provided stoers list
2021-08-23 10:48:23 -07:00
Mouse Reeve
9c21f4d8e6
Adds tests for boosts in activitystreams
2021-08-23 10:44:38 -07:00
Mouse Reeve
f284eebece
Fixes boosts removing statuses from feeds
2021-08-23 07:04:59 -07:00
Mouse Reeve
7345705b08
Small efficiency improvement in list view
2021-08-21 20:21:39 -07:00
Mouse Reeve
e76163ffae
Merge pull request #1322 from bookwyrm-social/want-to-read-header
...
Fixes want to read status header
2021-08-21 13:09:34 -06:00
Mouse Reeve
3a9b9623e9
Merge pull request #1321 from bookwyrm-social/html-validation
...
Html validation fixes
2021-08-21 13:07:34 -06:00
Mouse Reeve
3f8eefd694
Fixes want to read status header
...
jankily, mind you
2021-08-21 11:49:57 -07:00
Mouse Reeve
6f8ca302e5
Clearer form logic in edit book page
2021-08-21 11:38:57 -07:00
Mouse Reeve
e31783ef6e
Cleans up html on import status page
2021-08-21 11:15:56 -07:00
Mouse Reeve
270571668d
adds space between attributes on book page
2021-08-21 11:05:38 -07:00
Mouse Reeve
a235811524
Fixes quote style on author page
2021-08-21 11:04:26 -07:00
Mouse Reeve
821d0f49e2
Wraps entire div block in spaceless tag
2021-08-21 10:51:07 -07:00
Mouse Reeve
f48cea3ed9
Fixes endquote outside of if statement
2021-08-21 10:50:49 -07:00
Mouse Reeve
e7ee4a45fa
adds missing button close tag in shelve button options
2021-08-21 10:50:27 -07:00
Mouse Reeve
24d1513320
Removes stray close tag in announcements
2021-08-21 10:49:50 -07:00
Mouse Reeve
ec10ebbe68
Fixes quote type
2021-08-21 10:49:35 -07:00
Mouse Reeve
85a4c331eb
Use search results template for isbn view
2021-08-21 10:48:26 -07:00
Mouse Reeve
053579c2a4
Clarifies logic in file upload widget
2021-08-21 10:33:50 -07:00
Mouse Reeve
d1e9a164ff
Correct close tag in user null state view
2021-08-21 10:33:19 -07:00
Mouse Reeve
af2abcbe3d
Missing close link tag in manage invites view
2021-08-21 10:32:55 -07:00
Mouse Reeve
5bd92a8e34
Fixes "view directory" link html and adds it to l10n
2021-08-21 10:32:32 -07:00
Mouse Reeve
1aab9e7da9
Fixes endif placement on null state for feed
2021-08-21 10:30:44 -07:00
Mouse Reeve
be94c0a76b
Remove stray </dl> tag
2021-08-21 10:30:15 -07:00
Mouse Reeve
596b6ca084
Resolves warning in books view
2021-08-21 07:25:18 -07:00
Joachim
bf6ee9f53c
Thumbnails: fix default size definition in template utility
2021-08-20 18:06:09 +02:00
Mouse Reeve
7a390af07e
Merge pull request #1314 from bookwyrm-social/modal-overflow
...
Adds max height to modals so they don't disappear on small screens
2021-08-19 18:11:11 -06:00
Mouse Reeve
451cb38c6c
Linter fix
2021-08-19 15:33:23 -07:00
Mouse Reeve
9a7429b268
Larger cover sizes for discover and landing views
2021-08-19 15:30:58 -07:00
Mouse Reeve
8ba695c21d
Adds max height to modals so they don't disappear on small screens
2021-08-19 15:19:10 -07:00
Mouse Reeve
0829696add
Merge pull request #1138 from joachimesque/images-django-imagekit
...
Generate thumnails for books
2021-08-18 19:53:12 -06:00
Joachim
489f97030e
apply suggested changes
2021-08-18 10:27:17 +02:00
Mouse Reeve
075715ca22
Use gettext_lazy not gettext
2021-08-17 14:35:28 -07:00
Mouse Reeve
0c6948dc44
Merge pull request #1307 from bookwyrm-social/missing-migration
...
Adds missing migration
2021-08-17 13:35:18 -06:00
Mouse Reeve
fc9613b975
Merge pull request #1305 from bookwyrm-social/search-editions
...
Search editions
2021-08-17 13:26:20 -06:00
Mouse Reeve
0b4a267745
Adds missing migration
2021-08-17 12:17:35 -07:00
Mouse Reeve
32d4ae1f4e
Python formatting
2021-08-17 12:04:14 -07:00
Mouse Reeve
b178ba6326
Removes unneeded list comprehension
2021-08-17 11:57:19 -07:00
Mouse Reeve
cb4c6100aa
Adds tests
2021-08-17 11:49:29 -07:00
Mouse Reeve
a49ec8b94e
Merge pull request #1306 from bookwyrm-social/shelf-layout
...
Remove unneeded layout file
2021-08-17 12:31:17 -06:00
Mouse Reeve
c2763f0c18
Merge pull request #1304 from bookwyrm-social/prevent-import-overwrite
...
Prevent overwriting data on import form outside data source
2021-08-17 12:13:12 -06:00
Mouse Reeve
e5a3d98769
Remove unneeded layout file
2021-08-17 10:57:32 -07:00
Mouse Reeve
ea749e1a3d
Merge pull request #1195 from shilpeePrasad/bookfixbranch
...
Fixed issue #1099 (Remove bio from Your Books)
2021-08-17 11:52:23 -06:00
Mouse Reeve
bbe5ad7ce1
Suppresses pylint warning
2021-08-17 10:49:11 -07:00
Mouse Reeve
6db3391f8b
Search editions in view
2021-08-17 10:45:30 -07:00
Mouse Reeve
3b54852536
Adds search filter to UI
2021-08-17 10:44:18 -07:00
Mouse Reeve
19464a8715
Merge pull request #1301 from bookwyrm-social/refactor-modals
...
Prompt user to add commentary on reading status updates
2021-08-17 11:27:52 -06:00
Mouse Reeve
4b788f5df1
Move editions into their own view file
2021-08-17 10:26:56 -07:00
Mouse Reeve
ad0fff7030
Prevent overwriting data on import form outside data source
2021-08-17 10:08:07 -07:00
Mouse Reeve
0f0dde6c6d
Merge pull request #1298 from bookwyrm-social/comment-header-link
...
Fixes link in status header for comments
2021-08-17 10:43:08 -06:00
Mouse Reeve
ddaf949c94
Merge branch 'main' into activitystreams-celery
2021-08-17 10:42:09 -06:00
Mouse Reeve
8b5ac6b012
Javascript linter
2021-08-17 09:28:39 -07:00
Mouse Reeve
3026a86b11
Refines preventDefault logic
2021-08-17 09:21:57 -07:00
Mouse Reeve
2f93017eaa
Fixes event propogation
2021-08-17 08:45:10 -07:00
Mouse Reeve
b991510c03
Fixes want to read status slug
2021-08-16 15:00:35 -07:00
Mouse Reeve
d7a168e0a9
Python formatting
2021-08-16 14:00:11 -07:00
Mouse Reeve
bb49d0dc9b
Adds test
2021-08-16 13:59:15 -07:00
Mouse Reeve
f93587c0e1
Fixes author page
2021-08-16 13:44:54 -07:00
Mouse Reeve
5fcea99029
Indicate reading status changes with comments
2021-08-16 13:39:56 -07:00
Mouse Reeve
48c6a3923a
Save reading status update
2021-08-16 13:32:20 -07:00
Mouse Reeve
2d20fa4146
Adds reading status field to book statuses
2021-08-16 13:32:12 -07:00
Mouse Reeve
1e1bf83201
Create abstract parent class for book statuses
2021-08-16 13:14:29 -07:00
Mouse Reeve
6280671d92
Create comments when commentary is provided
2021-08-16 13:08:45 -07:00
Mouse Reeve
f12c5df288
Show "optional" helper on comment field
2021-08-16 12:58:22 -07:00
Mouse Reeve
0549dbaa6d
Make comment optional
2021-08-16 12:48:52 -07:00
Mouse Reeve
011175a6e3
Appeases js linter
2021-08-16 12:44:36 -07:00
Mouse Reeve
e6b785d731
No-update mode for "want to read"
2021-08-16 12:28:04 -07:00
Mouse Reeve
257c9854c2
Move reading modal templates to their own dir
2021-08-16 11:30:11 -07:00
Mouse Reeve
7e1b606e1f
Fixes link in status header for comments
2021-08-16 11:08:13 -07:00
Mouse Reeve
c1afd3f852
Merge pull request #1272 from bookwyrm-social/rss
...
Updates rss feed view
2021-08-16 11:59:24 -06:00
Mouse Reeve
5de3c75de3
Remove render from tests
2021-08-16 10:30:11 -07:00
Mouse Reeve
b8082ad233
Merge branch 'main' into rss
2021-08-16 10:25:33 -07:00
Mouse Reeve
7345b85ebd
Granular RSS tests
2021-08-16 10:25:21 -07:00
Mouse Reeve
71404fae06
Adds local only filter to user admin view
2021-08-16 08:51:23 -07:00
Mouse Reeve
9af435bbeb
Space getting removes in reply header
2021-08-12 19:18:37 -07:00
Mouse Reeve
26b7f2ec70
Fixes main nav menu
2021-08-12 14:43:42 -07:00
Mouse Reeve
6880657deb
Fixes quote display
2021-08-12 06:42:21 -07:00
Mouse Reeve
45e82abda4
Merge branch 'main' into images-django-imagekit
2021-08-11 12:47:25 -06:00
Mouse Reeve
1be125fc1d
Adds database constraint for readthrough dates
2021-08-11 11:19:06 -07:00
Mouse Reeve
19ddcedf14
Merge pull request #1283 from bookwyrm-social/fixes-poll
...
Fixes polling variable name
2021-08-11 11:42:37 -06:00
Mouse Reeve
26ff55ebee
Fixes polling variable name
2021-08-11 09:19:25 -07:00
Mouse Reeve
c6e328706b
Fixes required attr on content fields for composing quotes
2021-08-11 09:03:38 -07:00
Mouse Reeve
6a84309fac
Fixes template links in reading progress fallback paths
2021-08-10 18:28:14 -07:00
Mouse Reeve
1b4db49035
Fixing bug preventing csv imports to match via title/author
2021-08-10 14:30:28 -07:00
Mouse Reeve
ef1896da18
Return confidence rating
2021-08-10 14:02:22 -07:00
Mouse Reeve
fa396d4bc8
Save best-guess search results on import
2021-08-10 13:54:52 -07:00
Mouse Reeve
ebabbf475a
Translate error messages
2021-08-10 13:48:09 -07:00
Mouse Reeve
6301656a0e
Fixes setting book results from title/author search
2021-08-10 13:46:20 -07:00
Mouse Reeve
eabe886347
Merge pull request #1271 from bookwyrm-social/template-refactor
...
Always use underscores in html ids
2021-08-09 09:04:47 -06:00
Mouse Reeve
fd56379518
Updates rss feed view
2021-08-09 07:38:43 -07:00
Mouse Reeve
820eeeb69a
Lowercase "rate"
2021-08-09 07:29:08 -07:00
Mouse Reeve
21a954c7df
Always use underscores in html ids
...
Plus some other shifting around
2021-08-08 19:44:12 -07:00
Mouse Reeve
187e2e0d08
Merge pull request #1270 from bookwyrm-social/request-exception
...
Uses more general requests exception
2021-08-08 19:42:32 -06:00
Mouse Reeve
02fac7a46b
Merge pull request #1269 from justinabrahms/close-span
...
Close the span tag for an author.
2021-08-08 19:26:02 -06:00
Mouse Reeve
65e982e35b
Uses more general requests exception
2021-08-08 18:13:02 -07:00
Mouse Reeve
55d84d50ee
Fixes loading editions from inventaire
2021-08-08 15:55:49 -07:00
Mouse Reeve
0462a3b0fc
Merge pull request #1266 from bookwyrm-social/discover-local
...
Adds local discover view
2021-08-08 16:09:15 -06:00
Mouse Reeve
c8e7e95c17
fixes logged out view test
2021-08-08 14:43:17 -07:00
Mouse Reeve
b7b780e45c
Discover not directory wth???
2021-08-08 14:17:02 -07:00
Mouse Reeve
e2f3c4602d
test the correct view
2021-08-08 08:37:07 -07:00
Mouse Reeve
65fa2813c6
Show link to discover view
2021-08-08 08:07:20 -07:00
Mouse Reeve
2222c28305
Adds discover view tests
2021-08-08 08:03:04 -07:00
Mouse Reeve
3ce59d13d3
Mocks populate streams task
2021-08-08 07:32:23 -07:00
Mouse Reeve
c14bcf19cc
Use activitystreams to populate discovery view
2021-08-07 18:56:05 -07:00
Mouse Reeve
590338138c
Populate streams tasks
2021-08-07 17:44:40 -07:00
Mouse Reeve
48a8b014ba
Populate local stream for discover view
2021-08-07 17:18:20 -07:00
Mouse Reeve
c28d077cb4
Simplifies query for landing page books
2021-08-07 17:12:38 -07:00
Mouse Reeve
b116df723f
prevent large text from janking up view
2021-08-07 16:48:53 -07:00
Mouse Reeve
4d8bd3ad93
Cleans up landing page, since we're here
2021-08-07 16:37:51 -07:00
Mouse Reeve
33c8849552
Trim sooner
2021-08-07 16:18:15 -07:00
Mouse Reeve
650a6037a2
Trims status text
2021-08-07 15:51:53 -07:00
Justin Abrahms
1006096cd0
Close the span tag for an author.
2021-08-07 15:40:50 -07:00
Mouse Reeve
c685fb0296
Merge pull request #1265 from bookwyrm-social/generated-notes-activitystream
...
Fixes generated notes not appearing in books stream
2021-08-07 16:11:28 -06:00
Mouse Reeve
760bd5a63f
Fixes reference to landing page books
2021-08-07 15:10:53 -07:00
Mouse Reeve
2eb37663b6
Adds mock to inbox test
2021-08-07 14:46:33 -07:00
Mouse Reeve
e3cbf30684
Local discovery view
2021-08-07 14:43:05 -07:00
Mouse Reeve
b5153f3df1
WIP
2021-08-07 12:33:45 -07:00
Mouse Reeve
040758c833
Renames "discover"
2021-08-07 11:25:09 -07:00
Mouse Reeve
cce7d9a648
Don't skip updates statuses when adding to streams
...
Generated note books are added post-initial save
2021-08-07 10:59:55 -07:00
Mouse Reeve
1dea2b307b
Merge pull request #1260 from bookwyrm-social/email-confirmation
...
Email confirmation
2021-08-07 09:32:25 -06:00
Mouse Reeve
026c6ac025
Mocks emailer in registration test
2021-08-07 08:01:14 -07:00
Mouse Reeve
38f614a526
Include generated notes in books stream
2021-08-07 07:56:30 -07:00
Mouse Reeve
68e4462486
Make email a required html field in register form
2021-08-07 07:43:30 -07:00
Mouse Reeve
226c325099
Adds plaintext code to emails
2021-08-07 07:37:18 -07:00
Mouse Reeve
0fa9fd7331
Registration with confirm email tests
2021-08-07 07:28:24 -07:00
Mouse Reeve
aad5de3b61
Improves cross-edition display for lists
2021-08-06 19:03:15 -07:00
Mouse Reeve
e198e663d1
Fixes names of site settings field in tests
2021-08-06 18:48:16 -07:00
Mouse Reeve
98a98f8e69
Updates test env
2021-08-06 18:13:51 -07:00
Mouse Reeve
5373663acf
Merge branch 'main' into email-confirmation
2021-08-06 18:09:01 -07:00
Mouse Reeve
4d4a7bc20b
Merge pull request #1259 from bookwyrm-social/test-coverage
...
Test coverage
2021-08-06 19:07:48 -06:00
Mouse Reeve
cec6943069
Adds missing mock
2021-08-06 17:43:50 -07:00
Mouse Reeve
9077516fa1
Resend links
2021-08-06 17:39:22 -07:00
Mouse Reeve
1ad057d89d
Confirmation templates
2021-08-06 17:23:44 -07:00
Mouse Reeve
5926224d7e
Confirm email views
2021-08-06 16:26:46 -07:00
Mouse Reeve
247a7f7489
Email confirmation email
2021-08-06 15:38:37 -07:00
Mouse Reeve
3e2f1806e9
Adds email confirmation code field
2021-08-06 14:42:18 -07:00
Mouse Reeve
3082c4ce5c
Tests invite create view
2021-08-06 11:55:20 -07:00
Mouse Reeve
568e30230a
Adds start import view test
2021-08-06 11:43:55 -07:00
Mouse Reeve
0d2622e4ff
Tests login view
2021-08-06 11:23:38 -07:00
Mouse Reeve
3abceb8563
Templatetag test
2021-08-06 10:33:14 -07:00
Mouse Reeve
9804d4cf51
Adds more book view tests
2021-08-06 10:19:38 -07:00
Joachim
6a365eafb4
Merge branch 'main' into images-django-imagekit
2021-08-06 19:16:01 +02:00
Mouse Reeve
134db20c57
Fixes directory view
2021-08-06 09:40:01 -07:00
Mouse Reeve
9030f0d08b
Bookwyrm user was already set
2021-08-06 09:14:07 -07:00
Mouse Reeve
d126d7ba91
Disable comically inefficient book count comparisons
...
Oops! Hopefully I can restore these in a way that doesn't break at even
a moderate scale
2021-08-06 08:43:05 -07:00
Mouse Reeve
5f10e7535b
Merge pull request #1257 from bookwyrm-social/user-active-date
...
Fixes over-reporting user last active date
2021-08-05 22:26:14 -06:00
Mouse Reeve
6fa430efec
Merge pull request #1256 from bookwyrm-social/test-coverage
...
Adds misc tests to improve coverage
2021-08-05 20:52:35 -06:00
Mouse Reeve
2e7dd9d4ef
Fixes over-reporting user last active date
2021-08-05 19:52:15 -07:00
Mouse Reeve
b3fa8de65a
fixes book mock in user view tests
2021-08-05 19:28:23 -07:00
Mouse Reeve
6b7e3f2061
Adds books stream mock
2021-08-05 19:28:23 -07:00
Mouse Reeve
061deaefda
Removes invalid argument
2021-08-05 19:28:23 -07:00
Mouse Reeve
120938bee9
Update books feed on shelve
2021-08-05 19:28:05 -07:00
Mouse Reeve
48175023bc
Mocks broadcast
2021-08-05 18:58:32 -07:00
Mouse Reeve
41742d6698
Adds inventaire get connector test
2021-08-05 18:16:23 -07:00
Mouse Reeve
d0114d2e83
Adds test for book add description view
2021-08-05 18:07:36 -07:00
Mouse Reeve
d390b395e6
fixes book mock in user view tests
2021-08-05 17:47:49 -07:00
Mouse Reeve
70a535adb7
Adds books stream mock
2021-08-05 17:19:39 -07:00
Mouse Reeve
70f4ecf870
Removes invalid argument
2021-08-05 17:13:47 -07:00
Mouse Reeve
30288c6ebb
Update books feed on shelve
2021-08-05 16:43:22 -07:00
Mouse Reeve
d7307463d5
Merge branch 'main' into activitystreams-celery
2021-08-05 16:11:15 -06:00
Mouse Reeve
f3a757951c
Tests for books stream
2021-08-05 14:28:17 -07:00
Mouse Reeve
142d0da3b7
Removes outdated tests
2021-08-04 20:01:44 -07:00
Mouse Reeve
6841a66e76
Python formatting
2021-08-04 19:57:39 -07:00
Mouse Reeve
1fbca70820
Move activitystreams updates to tasks
2021-08-04 19:54:47 -07:00
Mouse Reeve
c8250ac94c
Python formatting
2021-08-04 19:25:44 -07:00
Mouse Reeve
1c0472efc2
Fixes references to public streams
2021-08-04 19:19:24 -07:00
Mouse Reeve
75f586c109
Removes unused stream code
2021-08-04 19:09:00 -07:00
Mouse Reeve
9d19092205
Updates tests
2021-08-04 18:22:06 -07:00
Mouse Reeve
9d75bc3982
Display books timeline
2021-08-04 17:53:44 -07:00
Mouse Reeve
5a9dbc50da
Adds books stream
2021-08-04 17:25:31 -07:00
Mouse Reeve
a8d6dbd8a6
Adds books stream audience
2021-08-04 16:56:08 -07:00
Mouse Reeve
2c08be79f8
Merge migration
2021-08-04 14:19:17 -07:00
Mouse Reeve
fd0f9324d3
Merge branch 'main' into book-format-choices
2021-08-04 14:13:55 -07:00
Mouse Reeve
48fcdcbe93
Python formatting
2021-08-04 14:12:37 -07:00
Mouse Reeve
699d9307e3
Merge pull request #1251 from bookwyrm-social/prospective-follow-display
...
Prospective follow display
2021-08-04 14:58:52 -06:00
Mouse Reeve
f5c129dce7
Also in suggestion area
2021-08-04 13:38:06 -07:00
Mouse Reeve
708a813905
Merge pull request #1249 from bookwyrm-social/goal-page
...
Handle goal pages for unset years
2021-08-04 14:16:45 -06:00
Mouse Reeve
54f6da2382
Use current year in goal tests
2021-08-04 12:59:06 -07:00
Mouse Reeve
12fb969821
Python formatting
2021-08-04 12:40:15 -07:00
Mouse Reeve
a679a46bca
Limit authors displayed in status
2021-08-04 12:36:54 -07:00
Mouse Reeve
535ff5e6d8
Handle goal pages for unset years
2021-08-04 12:05:24 -07:00
Mouse Reeve
392eb83bb3
Fixes edit user view tests
2021-08-04 11:30:23 -07:00
Mouse Reeve
9bbdde1597
Python formatting
2021-08-04 10:58:23 -07:00
Mouse Reeve
bd7bf4ee96
Resolve conflict between inherited privacy and default privacy
2021-08-04 10:55:03 -07:00
Mouse Reeve
e486bcf2c8
Cleans up edit user post privacy select
2021-08-04 10:49:14 -07:00
Mouse Reeve
2b1d647c85
Adds merge migration
2021-08-04 10:46:56 -07:00
Mouse Reeve
63c8301eb9
Merge branch '253-user-post-privacy-v2' of https://github.com/ibrand/bookwyrm into ibrand-253-user-post-privacy-v2
2021-08-04 10:44:30 -07:00
Mouse Reeve
97b643ac72
Merge pull request #1243 from bookwyrm-social/fixes-set-remote-server
...
Fixes remote server not getting set
2021-08-04 11:35:49 -06:00
Joachim
c1673ef717
Update fields.py
2021-08-04 19:25:19 +02:00
Joachim
0db3512eb3
Revert previous commit
2021-08-04 19:21:56 +02:00
Joachim
ee39e8c036
Fix R0201: Method could be a function (no-self-use)
2021-08-04 19:16:24 +02:00
Joachim
c6f8236b07
Fix tests
2021-08-04 19:11:57 +02:00
Mouse Reeve
6db6aa6cb1
Fixes removing user from recs on follow
2021-08-04 09:49:05 -07:00
Joachim
bc7710a4a7
Update Status Model Test
2021-08-04 18:18:18 +02:00
Mouse Reeve
89acfa4f3e
Patches stray redis calls
2021-08-04 08:50:50 -07:00
Joachim
60e805ac2b
Fix tests
2021-08-04 17:39:46 +02:00
Joachim
7a716db48a
lint
2021-08-04 16:56:07 +02:00
Joachim
b8b491bbf2
Add get_absolute_url to ImageField
2021-08-04 16:55:12 +02:00
Joachim
cd1a1b2e67
Fix R1725: Consider using Python 3 style super() without arguments
2021-08-04 11:58:53 +02:00
Joachim
bf3175f8d5
lint
2021-08-04 11:51:41 +02:00
Joachim
73fd098068
Better naming of context variable
2021-08-04 11:42:18 +02:00
Joachim
14c606301c
Fixes "I/O Operation on Closed File error"
...
https://github.com/matthewwithanm/django-imagekit/issues/391#issuecomment-766708283
2021-08-04 10:28:59 +02:00
Joachim
843127efa8
Merge remote-tracking branch 'upstream/main' into images-django-imagekit
2021-08-04 10:00:20 +02:00
Mouse Reeve
cbf5747308
Mock mocks mocks
2021-08-03 21:59:48 -07:00
Mouse Reeve
630ee3b766
Mocks for user admin
2021-08-03 15:22:51 -07:00
Mouse Reeve
3970df312a
Fixes inbox tests
2021-08-03 15:09:38 -07:00
Mouse Reeve
eeb8ae19db
Python formatting
2021-08-03 14:05:52 -07:00
Mouse Reeve
f35855ce69
Moore moocks
2021-08-03 13:50:12 -07:00
Mouse Reeve
5d2324a4a0
Edit user test mocks
2021-08-03 13:03:24 -07:00
Mouse Reeve
c23f341980
Move annotated user function tests
2021-08-03 12:48:44 -07:00
Mouse Reeve
777d177c67
Adds more mocks
2021-08-03 12:41:41 -07:00
Mouse Reeve
1f2fea4a8e
Use update_fields for password_change
2021-08-03 12:37:28 -07:00
Mouse Reeve
ee9c5a2a4b
Adds mock to fields
2021-08-03 12:33:42 -07:00
Mouse Reeve
ebc0680288
Fixes logic error in detecting changed fields when serializing
2021-08-03 12:21:11 -07:00
Mouse Reeve
b059cbdd18
Adds missing import and mock
2021-08-03 12:02:47 -07:00
Mouse Reeve
1aff6322ea
Makes test user undiscoverable
2021-08-03 11:59:49 -07:00
Mouse Reeve
fc93e08767
Fixes missing mocks in suggested user test
2021-08-03 11:56:33 -07:00
Mouse Reeve
2b6423792c
Use update_fields when saving preview images
2021-08-03 11:47:52 -07:00
Mouse Reeve
19acfeeb72
Removes delete redis action
2021-08-03 10:44:48 -07:00
Mouse Reeve
be044bce0d
Updates mocks
2021-08-03 10:25:53 -07:00
Mouse Reeve
88967e589b
Uses better mock pattern in relationships model
2021-08-03 09:46:04 -07:00
Mouse Reeve
cfbe1b29cd
Pass update fields when ticking last active date
2021-08-03 09:12:22 -07:00
Joachim
14bf7fca2e
Update book_cover.html
2021-08-03 18:03:34 +02:00
Mouse Reeve
a84a744e8d
Track changed fields in activity to model code
2021-08-03 08:48:15 -07:00
Joachim
ce4553b367
Add simple tag to provide fallback if original image doesn't exist
2021-08-03 17:45:52 +02:00
Mouse Reeve
ee7bdc956a
Streamline saves on user create
2021-08-03 07:43:03 -07:00
Mouse Reeve
851410006a
Fixes remote server not getting set
...
Omg this took so long for me to figure out
2021-08-03 07:00:31 -07:00
Mouse Reeve
62befa9295
Merge branch 'main' into suggestions-redis
2021-08-02 20:40:06 -07:00
Mouse Reeve
6d82bafdc0
Merge pull request #1242 from bookwyrm-social/image-federation
...
Fixes image federation
2021-08-02 21:30:24 -06:00
Mouse Reeve
9093170660
Correct test structure
2021-08-02 20:16:17 -07:00
Mouse Reeve
39b2f37947
One (hopefully) last fix
2021-08-02 20:07:46 -07:00
Mouse Reeve
a334970692
Fixes path for image field in test
2021-08-02 20:00:02 -07:00
Mouse Reeve
815dbc81e3
Remove static tempaletag from image_serializer
2021-08-02 19:50:33 -07:00
Mouse Reeve
68f9b67fd9
Updates test
2021-08-02 19:30:42 -07:00
Mouse Reeve
b7563ca221
Adds test
2021-08-02 19:01:23 -07:00
Mouse Reeve
9e6f78c0f5
Fixes linting issue
2021-08-02 19:01:16 -07:00
Mouse Reeve
8ef1d0d3ac
Fixes image federation
2021-08-02 18:55:08 -07:00
Mouse Reeve
df9787dd7a
Removes stale data before doing repopulation
...
This probably is only an issue when there are very few users, like my
test instance
2021-08-02 18:14:44 -07:00
Mouse Reeve
af8851fc2e
Merge pull request #1241 from bookwyrm-social/ambiguous-ordering
...
Resolves ambiguous ordering in views
2021-08-02 19:02:46 -06:00
Mouse Reeve
c00b35dc7c
Stray file
2021-08-02 17:55:17 -07:00
Mouse Reeve
dd6cce92f8
Merge branch 'main' into suggestions-redis
2021-08-02 17:49:48 -07:00
Mouse Reeve
4dddd67d0c
Resolves ambiguous ordering in views
2021-08-02 17:48:29 -07:00