Commit graph

867 commits

Author SHA1 Message Date
Mouse Reeve
b1b40e3c98 Don't double-add readthroughs in re-import 2021-01-10 09:36:11 -08:00
Mouse Reeve
9a575beb0b
Merge pull request #505 from mouse-reeve/link-regex-parens
Work around parens in the url regex
2021-01-10 09:22:19 -08:00
Mouse Reeve
1e42622b8e Work around parens in the url regex 2021-01-10 08:39:30 -08:00
Mouse Reeve
6eb7872598 Fixes queryset for shelf page json 2021-01-10 07:54:58 -08:00
Mouse Reeve
a1e8d5c7c2 Fixes showing completed imports and in progress 2021-01-07 09:36:41 -08:00
Mouse Reeve
9a114e1736 Don't match arbitrary results on empty isbn queries 2021-01-07 09:26:05 -08:00
Mouse Reeve
d04271af75 Adds field on import job to check if job completed
the task isn't a reliable indicator, unfortunately.
2021-01-07 08:08:12 -08:00
Mouse Reeve
e60a984bea
Merge pull request #497 from mouse-reeve/shelving-actions
Shelving actions
2021-01-06 21:05:04 -08:00
Mouse Reeve
453e17f756
Merge pull request #496 from mouse-reeve/status-markup
Status markup
2021-01-06 21:04:34 -08:00
Mouse Reeve
b5ba97c385 uses article element instead of div for statuses 2021-01-06 20:05:28 -08:00
Mouse Reeve
b1d4b75926 Fixes tail end of shelving pulldown getting hidden 2021-01-06 19:56:56 -08:00
Mouse Reeve
02aac76acc Added some grays to the status box
why am I doing this instead of the thing I meant to do
2021-01-06 19:52:47 -08:00
Mouse Reeve
5c6aed1b0e Consistent button sizing in status footer 2021-01-06 19:45:18 -08:00
Mouse Reeve
5f0a788856 Show all readthroughs 2021-01-06 18:34:21 -08:00
Mouse Reeve
551e71162c Show start reading button in dropdown instead of reshelve button 2021-01-06 18:17:25 -08:00
Mouse Reeve
3eae55ef4e Adds icon for imports and follow button 2021-01-06 18:02:46 -08:00
Mouse Reeve
e4fbfc369c Removes print statement 2021-01-06 16:01:37 -08:00
Mouse Reeve
54f27519df Fixes username regex 2021-01-06 16:01:13 -08:00
Mouse Reeve
03a5f333e1 Cleans up notifications 2021-01-06 15:53:09 -08:00
Mouse Reeve
67f2b3d808 Proper errorhandling for registration with invite 2021-01-06 13:15:33 -08:00
Mouse Reeve
b046547a6e
Merge pull request #493 from mouse-reeve/bidirectional-text
Support bidirectional text in status content
2021-01-06 12:20:33 -08:00
Mouse Reeve
29dd2ae863
Merge pull request #492 from mouse-reeve/handle-favorite-error
Avoid throwing database error trying to fav unknown statuses
2021-01-06 12:03:01 -08:00
Mouse Reeve
054f69993b Support bidirectional text in status content 2021-01-06 12:00:34 -08:00
Mouse Reeve
7bf57c60fb Avoid throwing database error trying to fav unknown statuses 2021-01-06 11:43:39 -08:00
Mouse Reeve
6638c9bb44 Handles query params in urls 2021-01-06 11:36:28 -08:00
Mouse Reeve
9e07f094ad Improves link detecting regex 2021-01-06 10:08:43 -08:00
Mouse Reeve
a25bc2383b Improves tagging regex 2021-01-06 09:45:36 -08:00
Mouse Reeve
f87a138d49 Better matching for links in statuses 2021-01-05 21:23:36 -08:00
Mouse Reeve
a60cf0ea22
Merge pull request #485 from mouse-reeve/invite-created-date
Adds site invite migration
2021-01-05 11:45:51 -08:00
Mouse Reeve
c8d53ee0df Adds site invite created date 2021-01-05 11:38:03 -08:00
Mouse Reeve
aa5bf8a382
Merge pull request #483 from mouse-reeve/registration-text-format
Fixes html formatting for registration closed text
2021-01-05 11:37:09 -08:00
Mouse Reeve
6261080836
Merge pull request #484 from mouse-reeve/user-page-feed
Fixes bug that shows your own posts in every user page
2021-01-05 11:34:57 -08:00
Mouse Reeve
5864c9a6e7 Revert "Add created date and sorting to invites"
This reverts commit 11212401a0.
2021-01-05 11:33:33 -08:00
Mouse Reeve
3d6f113543 Fixes bug that shows your own posts in every user page 2021-01-05 11:16:24 -08:00
Mouse Reeve
11212401a0 Add created date and sorting to invites 2021-01-05 11:08:24 -08:00
Mouse Reeve
7c34889586 Fixes html formatting for registration closed text 2021-01-05 10:46:07 -08:00
Mouse Reeve
cc44331073 activity feed should handle looged out users 2021-01-04 19:47:22 -08:00
Mouse Reeve
35696934da refactors get_activity_feed function
is it better? idk
2021-01-04 19:30:05 -08:00
Mouse Reeve
8301bec4ff Use accurate review count 2021-01-04 17:59:46 -08:00
Mouse Reeve
a0a8ad508a Book page filters ratings with empty string content 2021-01-04 17:55:29 -08:00
Mouse Reeve
1046aa7ad2 Re-organizes metadata on book page 2021-01-04 17:42:02 -08:00
Mouse Reeve
89e2e75c0b Only show rate action for logged in users 2021-01-04 16:50:58 -08:00
Mouse Reeve
10523e38e8 Updates fields in edit book form 2021-01-04 16:42:28 -08:00
Mouse Reeve
35e2410642 Show series in book page 2021-01-04 16:33:45 -08:00
Mouse Reeve
0f4a30324e Makes more about instance text customizable 2021-01-04 12:58:31 -08:00
Mouse Reeve
0c0e9bebdf Use uploaded logos in templates 2021-01-04 12:47:10 -08:00
Mouse Reeve
7cc2dfe517 Merge branch 'main' into logo-default 2021-01-04 12:18:40 -08:00
Mouse Reeve
1d2b56da85 Fixes outgoing tests 2021-01-04 12:00:53 -08:00
Mouse Reeve
9102d81767 Fixes checking invite validity 2021-01-04 11:14:10 -08:00
Mouse Reeve
81e60cea16 Fixes login form 2021-01-04 11:14:07 -08:00
Mouse Reeve
3fe7b95786 Fixes setting remote user username on update 2021-01-04 10:42:31 -08:00
Mouse Reeve
4090b336db Fixes outgoing test users 2021-01-04 10:20:49 -08:00
Mouse Reeve
15b9f62136 Fixes users in views tests 2021-01-04 10:08:45 -08:00
Mouse Reeve
50f61f5d19 Merge branch 'main' into validate-username 2021-01-04 09:41:17 -08:00
Mouse Reeve
34e9847da3 Still need to remove validator arg in username field 2021-01-04 09:40:23 -08:00
Mouse Reeve
d8eb3454d6 Fixes null value in status attachment array 2021-01-03 20:03:35 -08:00
Mouse Reeve
b608e36946 Filter books for discover page for privacy 2021-01-03 15:44:07 -08:00
Mouse Reeve
c0bd0736d3 Hide join button when registration is closed 2021-01-03 15:41:20 -08:00
Mouse Reeve
6668f54889 Fixes openlibrary test and navbar hover aria unfurl 2021-01-03 14:41:10 -08:00
Mouse Reeve
eec3e6c4b4 Hide top bar login form on login page 2021-01-03 14:35:28 -08:00
Mouse Reeve
7242adadaa Hide login form for authenticated users 2021-01-03 14:31:32 -08:00
Mouse Reeve
0247f89c0b Use recent reviews instead of most reviewed books 2021-01-03 14:28:28 -08:00
Mouse Reeve
8e923d6333 User container class in layout 2021-01-03 12:53:51 -08:00
Mouse Reeve
e3fa0afa9a Hide large logo on mobile 2021-01-03 11:52:37 -08:00
Mouse Reeve
721d20efab Creates snippets for discover preview boxes 2021-01-03 11:24:26 -08:00
Mouse Reeve
ef42d29bd9 Discovery landing page 2021-01-03 11:10:04 -08:00
Mouse Reeve
04eb518633 Make the top bar dropdown accessible to NVDA screenreaders
plus, it's just better for this to be a ul
2021-01-03 10:03:57 -08:00
Mouse Reeve
18e0347077
Merge pull request #470 from mouse-reeve/duplicate-replies-in-feed
Fixes replies showing up twice in feed
2021-01-03 08:32:01 -08:00
Mouse Reeve
1187016aba
Merge pull request #469 from mouse-reeve/user-search
Search on username and localname in user search
2021-01-03 08:31:46 -08:00
Mouse Reeve
4d4b27e844 Fixes replies showing up twice in feed 2021-01-03 08:17:00 -08:00
Mouse Reeve
e54e1f2459 Tests user search 2021-01-03 07:57:57 -08:00
Mouse Reeve
b5ce7a0c25 Search on username and localname in user search 2021-01-03 07:48:57 -08:00
Renato "Lond" Cerqueira
b389cfb013 Use user-agent to determine whether to show pure representation
Together with #434 and #435, this fixes #429. Use the user-agent to
determine if the call is coming from a BookWyrm instance or not. If it's
not, give a pure activitypub representation for the status. Otherwise,
give a BookWyrm one, to allow for a complete integration between
instances.
2021-01-03 14:24:03 +01:00
Mouse Reeve
8afd111ff4
Merge pull request #466 from mouse-reeve/search-tweaks
Search tweaks
2021-01-02 16:30:28 -08:00
Mouse Reeve
d3c181cacb Re-sorts search results after deduplication 2021-01-02 16:09:54 -08:00
Mouse Reeve
a413c87963 Separate search for unique identifiers out from text search 2021-01-02 15:58:25 -08:00
Mouse Reeve
a2e8cf1993 Return best matching edition instead of default in search 2021-01-02 15:15:25 -08:00
Mouse Reeve
afa1921968 Deduplicates search results 2021-01-02 14:33:01 -08:00
Mouse Reeve
4c968c417b cleans up search tests 2021-01-02 14:20:39 -08:00
Mouse Reeve
22f5fa154c Add readthroughs even when a book is already shelved 2021-01-02 13:26:42 -08:00
Mouse Reeve
b2c22c5b7f Tests handle import shelving 2021-01-02 13:09:40 -08:00
Mouse Reeve
8c8aae2c92 Check if a book is already shelved after import 2021-01-02 12:08:30 -08:00
Mouse Reeve
3344eed3b9 Tests for goodreads import lookup 2021-01-02 11:35:56 -08:00
Mouse Reeve
97b56e9bc2 Removes references to max entries in views 2021-01-02 09:45:51 -08:00
Mouse Reeve
204967e421 Adds tests file for goodreads import 2021-01-02 09:42:50 -08:00
Mouse Reeve
1f5d95e2be Removes import limit 2021-01-02 09:42:33 -08:00
Mouse Reeve
1e7aa283c2 Patches celery calls in connector tests 2021-01-02 09:08:37 -08:00
Mouse Reeve
86060f795d Updates tests 2021-01-02 08:55:42 -08:00
Mouse Reeve
d828b0ead9 Remove books manager at long last 2021-01-02 08:14:28 -08:00
Mouse Reeve
e169565e00 Makes expanding book data fully part of the connector 2021-01-02 07:45:45 -08:00
Mouse Reeve
fc8f43273e
Merge pull request #459 from mouse-reeve/status-model-files
Moves models that don't inherit Status to their own files
2021-01-01 11:23:23 -08:00
Mouse Reeve
521934b4f3 Moves models that don't inherit Status to their own files 2021-01-01 10:46:15 -08:00
Mouse Reeve
bb5ae850e1 Mention users implicitly (without needing @mentions) 2021-01-01 09:35:14 -08:00
Mouse Reeve
b3449040d9 Fixes server error posting status 2021-01-01 07:27:56 -08:00
Mouse Reeve
1246042c12 move some code around for readability 2020-12-31 16:30:04 -08:00
Mouse Reeve
c5a3e57bb4 Script for removing duplicates in book data 2020-12-31 16:03:54 -08:00
Mouse Reeve
87b8e5f39d
Merge pull request #451 from mouse-reeve/views-tests
Views tests
2020-12-31 14:03:34 -08:00
Mouse Reeve
2f9123c206 Add sort order to followers/following ordered collection querysets 2020-12-31 13:47:26 -08:00
Mouse Reeve
e066c53dd0 tests hella views 2020-12-31 13:45:36 -08:00
Mouse Reeve
a444c5f6fc Fixes model deduplication from data 2020-12-31 12:22:00 -08:00