Commit graph

1639 commits

Author SHA1 Message Date
Mouse Reeve
747167c579
Merge pull request #439 from mouse-reeve/filter-outbox
Updates outbox
2020-12-30 13:13:47 -08:00
Mouse Reeve
2e36da3f9e
Merge pull request #438 from mouse-reeve/accept-button-color
Makes follow request button a different color than an unread notification
2020-12-30 12:44:18 -08:00
Mouse Reeve
babc604397 Fixes outbox privacy 2020-12-30 12:41:19 -08:00
Mouse Reeve
88d8b6e577 Cleans up outbox function 2020-12-30 12:38:34 -08:00
Mouse Reeve
b71eda6e38
Merge pull request #434 from renatolond/activitypub/use_activitypub_content_type
Create a ActivitypubResponse class and use it in the views
2020-12-30 12:37:04 -08:00
Renato "Lond" Cerqueira
44a8184f72 Create a ActivitypubResponse class and use it in the views
This improves compatibility with other fediverse software by using the
expected content type for any api calls.
2020-12-30 21:25:28 +01:00
Mouse Reeve
877e3356e5
Merge pull request #436 from mouse-reeve/search-errors
Catch error response decoding json in search connector
2020-12-30 12:18:43 -08:00
Mouse Reeve
e290dec035
Merge pull request #437 from mouse-reeve/version-setting
Set application version number in settings
2020-12-30 12:16:47 -08:00
Mouse Reeve
8bb7a081c2 Makes follow request button a different color than an unread
notification

Fixes #420
2020-12-30 12:12:32 -08:00
Mouse Reeve
e0adb3307b Gracefully handle unknown status types
Fixes #432
2020-12-30 12:05:20 -08:00
Mouse Reeve
5623c268d6 Set application version number in settings 2020-12-30 11:55:13 -08:00
Mouse Reeve
673d70aca9
Merge pull request #435 from renatolond/misc/add_user_agent_to_calls
Add BookWyrm user-agent to http requests
2020-12-30 11:53:12 -08:00
Mouse Reeve
d3161ea361 Send appropriate error codes back with error pages 2020-12-30 11:42:07 -08:00
Mouse Reeve
490591623f Adds test for search view 2020-12-30 11:37:49 -08:00
Mouse Reeve
e5a914c3c2 Fixes API search causing 500 error 2020-12-30 11:37:26 -08:00
Mouse Reeve
8ffb22291a Add connector to tested fields on search result 2020-12-30 09:51:37 -08:00
Mouse Reeve
c8d031e311 Tests connector search 2020-12-30 09:48:37 -08:00
Mouse Reeve
6a8353de09 Adds test for SearchResult dataclass
also just cleans up the styles in the test file for linting
2020-12-30 09:26:02 -08:00
Mouse Reeve
d7db6d50ba Log errors in conenctor search 2020-12-30 09:14:07 -08:00
Mouse Reeve
21f67c9e28 Catch error response decoding json in search connector 2020-12-30 09:11:00 -08:00
Renato "Lond" Cerqueira
fb10cb35ad Add BookWyrm user-agent to http requests
This allows other software to identify BookWyrm in calls, as well as
will allow BookWyrm to differentiate between calls done from other
fediverse software and BookWyrm to answer with specific BookWyrm data.
2020-12-30 12:36:50 +01:00
Mouse Reeve
74a25f205b Validator for username field 2020-12-28 14:14:22 -08:00
Mouse Reeve
7e987fc446 Updates unit tests for new username handling
still some failing tho
2020-12-27 17:21:01 -08:00
Mouse Reeve
26c0880fe4
Merge pull request #425 from mouse-reeve/import-error
Fixes goodreads import failing on every book
2020-12-27 14:45:31 -08:00
Mouse Reeve
c2301cdd26
Merge pull request #424 from ahstro/fix-docstring
Fix docstring for to_reject_activity
2020-12-27 14:35:16 -08:00
Mouse Reeve
ac261d7b1a Send connector with search result
also fix typo in get_work_from_edition_data function
2020-12-27 14:33:34 -08:00
Anton Strömkvist
97a5364b70
Fix docstring for to_reject_activity 2020-12-27 23:31:14 +01:00
Mouse Reeve
9f74e95b00 stylistic cleanup of import model tests 2020-12-27 13:32:27 -08:00
Mouse Reeve
e89bfdc572 Makes registration user/localname fields more sensible 2020-12-24 11:39:57 -08:00
Mouse Reeve
e0d8e49d57
Merge pull request #422 from AndrewRadev/patch-1
Fix typo in Patreon link
2020-12-24 09:36:26 -08:00
Andrew Radev
313e389fc6
Fix typo in Patreon link 2020-12-24 12:56:22 +02:00
Mouse Reeve
f6f075fac6
Merge pull request #421 from mouse-reeve/reverse-set-many-to-many
Fixes celery tasks expanding data not setting many to many fields
2020-12-23 13:52:48 -08:00
Mouse Reeve
25d72c5d1e Save attachments on incoming statuses 2020-12-23 13:38:36 -08:00
Mouse Reeve
365408e86b Handle reverse serialized fields with no serialized field 2020-12-23 13:33:46 -08:00
Mouse Reeve
a3df0847e1 Fixes celery tasks expanding data not setting many to many fields 2020-12-23 12:45:40 -08:00
Mouse Reeve
e7e90360b3 Adds model import 2020-12-22 10:28:04 -08:00
Mouse Reeve
c34d90051f
Merge pull request #416 from mouse-reeve/book-data-model
Remove sync fields and share fields between book and author
2020-12-22 10:25:12 -08:00
Mouse Reeve
9977fed007
Merge pull request #419 from mouse-reeve/close-suggested-post
Close suggested post
2020-12-22 10:23:23 -08:00
Mouse Reeve
7c3f2373c7 Adds noopener to link 2020-12-22 10:19:01 -08:00
Mouse Reeve
f2f2f3dd3e Remove useless if/else on null state radio button 2020-12-22 10:12:41 -08:00
Mouse Reeve
7d1cbb7be1 Adds tests for edit author view 2020-12-22 10:10:36 -08:00
Mouse Reeve
77948f64d2 Merge branch 'main' into book-data-model 2020-12-22 09:29:32 -08:00
Mouse Reeve
6ca8728d7c
Merge pull request #418 from mouse-reeve/edit-user-view
Edit user view
2020-12-22 09:28:21 -08:00
Mouse Reeve
25dee8362d Adds edit author form and stores last edited by 2020-12-22 09:26:55 -08:00
Mouse Reeve
fd2f452b46 Adds title along with alt attributes on images 2020-12-22 08:26:02 -08:00
Mouse Reeve
fdbce5d05e Adds close button to suggested post window on mobile 2020-12-22 08:21:43 -08:00
Mouse Reeve
db281d5154 Simplifies update user view 2020-12-21 16:19:36 -08:00
Mouse Reeve
fcce1a5a36 Fixes outgoing tests 2020-12-21 15:52:06 -08:00
Mouse Reeve
e6105c6cb0 Simplify edit user function 2020-12-21 14:54:45 -08:00
Mouse Reeve
65e9afd271 Fixes user in outgoing tests 2020-12-21 14:54:27 -08:00