Commit graph

5592 commits

Author SHA1 Message Date
Hugh Rundle
4ade580732
pylint called my code useless how rude 2021-12-06 16:47:04 +11:00
Hugh Rundle
c817ea0ff9
improve error handling 2021-12-06 16:40:18 +11:00
Hugh Rundle
5bbd6faa8b
tidy templates 2021-12-06 16:26:16 +11:00
Hugh Rundle
027520d923
add remote follow tests 2021-12-06 16:26:02 +11:00
Hugh Rundle
685e0a172d
make code WET again
moving url discovery borked general webfinger tests for some reason IDK why.
2021-12-06 10:45:39 +11:00
Hugh Rundle
781fe69470
more descriptive remote follow errors
- distinguish between invalid username, user not found, and remote follow not supported
- make helpers DRYer
2021-12-06 09:29:51 +11:00
Hugh Rundle
c77edab79c
minor functionality fixes 2021-12-05 18:09:51 +11:00
Mouse Reeve
4b55ffe99e
Merge branch 'main' into remote-follow 2021-12-02 12:16:56 -08:00
Mouse Reeve
baca5e50e7
Merge pull request #1608 from hughrun/move-shelves
refactor shelf activity on book page
2021-12-02 12:06:07 -08:00
Mouse Reeve
b4f1a7a020
Merge pull request #1642 from bookwyrm-social/locale-updates
Updates locales
2021-12-02 11:03:01 -08:00
Mouse Reeve
26f28f7642
Merge pull request #1481 from bibliotechy/1203-better-ui-for-adding-authors
Improve UI for adding authors to books
2021-12-02 10:47:40 -08:00
Mouse Reeve
0794f1a286 Updates locales 2021-12-02 10:28:13 -08:00
Chad Nelson
91997b6f4c Linting after merge conflict 2021-11-30 17:42:31 -05:00
Chad Nelson
e59a480065
Merge branch 'main' into 1203-better-ui-for-adding-authors 2021-11-30 17:30:00 -05:00
Chad Nelson
66e414be3c Standardize JS, use button, & filter empty authors 2021-11-30 17:22:35 -05:00
Hugh Rundle
9be1a8f455
keep close button simple 2021-12-01 07:45:30 +11:00
Hugh Rundle
461c35f416
fix buttons 2021-11-30 21:02:39 +11:00
Hugh Rundle
080fa72c84
ostatus template fixes
- remove unnecessary links
- remove footer
- remove unnecessary JS scripts
- make block title and block heading empty
2021-11-30 21:01:07 +11:00
Hugh Rundle
7848ff7927
fix translation strings 2021-11-30 20:46:41 +11:00
Hugh Rundle
fbb6368caf
undo footer component 2021-11-30 20:21:41 +11:00
Hugh Rundle
4ee234258a
remove OG meta in ostatus template
It's just a temporary popup so would be weird to share and just gunks things up.

Co-authored-by: Joachim <joachim.robert@protonmail.com>
2021-11-30 12:47:04 +11:00
Hugh Rundle
386371baa3
improve a11y on notifications
Also change close link to a button.

Co-authored-by: Joachim <joachim.robert@protonmail.com>
2021-11-30 12:42:52 +11:00
Hugh Rundle
1636dfd308
fix footer indentation 2021-11-29 20:42:16 +11:00
Hugh Rundle
1d90ca6fa6
keep footer DRY
Pulls footer and scripts after it into a separate component template.
This allows ostatus/template to use the footer without having to use
layout without repeating the same code.
2021-11-29 20:35:26 +11:00
Hugh Rundle
1211fda7ff
beautiful code quality, pylint will be pleased 2021-11-29 19:53:13 +11:00
Hugh Rundle
9a3ec4362b
code cleanup 2021-11-29 19:45:52 +11:00
Hugh Rundle
f5d9a204eb
clean up ostatus templates 2021-11-29 19:37:56 +11:00
Hugh Rundle
3d73ea92e8
handle user blocks properly 2021-11-29 18:08:25 +11:00
Hugh Rundle
7b65edf10b
improve and bugfix remote follow templates 2021-11-29 15:33:26 +11:00
Hugh Rundle
587b0194fc
bugfix remote follows 2021-11-29 15:33:18 +11:00
Hugh Rundle
4a9713b812
fix template for remote follower error 2021-11-29 08:03:01 +11:00
Hugh Rundle
c7242b6022
add popup warning 2021-11-29 07:56:31 +11:00
Hugh Rundle
46f3294431
fix remote follow template 2021-11-29 07:56:09 +11:00
Hugh Rundle
feaf0d5e52
handle username errors in remote follow form 2021-11-29 07:11:57 +11:00
Mouse Reeve
1fed22b27e
Merge pull request #1636 from bookwyrm-social/missing-covers
Fixes checking if image fields are already set
2021-11-28 09:34:49 -08:00
Mouse Reeve
3f09b4bc8a More tests 2021-11-28 09:23:13 -08:00
Mouse Reeve
3a7f070a79 Typo fix 2021-11-28 08:50:29 -08:00
Mouse Reeve
a7ee8fea24 Adds test for setting model image field 2021-11-28 08:49:54 -08:00
Mouse Reeve
7b89014e7b Updates image fields tests 2021-11-28 08:24:00 -08:00
Mouse Reeve
54cef421e2 Fixes checking if image fields are already set 2021-11-28 07:57:27 -08:00
Hugh Rundle
6abf5d6910
add submit button to remote follow form 2021-11-28 21:48:03 +11:00
Hugh Rundle
e9bb2a04a4
code cleanup 2021-11-28 21:38:28 +11:00
Hugh Rundle
f828f36cc5
show popup for remote follow 2021-11-28 21:16:57 +11:00
Hugh Rundle
6e7d23c1ae
add remote follow button 2021-11-28 20:09:29 +11:00
Hugh Rundle
2e428e6ea1
add remote follow templates 2021-11-28 20:08:54 +11:00
Hugh Rundle
e275b98183
ostatus remote follow views 2021-11-28 16:56:21 +11:00
Hugh Rundle
610114b4eb
rearrange ostatus templates 2021-11-28 16:54:25 +11:00
Hugh Rundle
d05e100421
update ostatus templates 2021-11-28 13:28:58 +11:00
Hugh Rundle
f7c8f121b9
add remote follow ostatus templates 2021-11-28 12:43:29 +11:00
Hugh Rundle
9d52e3cf27
add ostatus subscribe to webfinger links 2021-11-27 18:32:50 +11:00