Commit Graph

4186 Commits

Author SHA1 Message Date
Hugh Rundle c3f24316a0
lint 2021-12-06 17:02:47 +11:00
Hugh Rundle 6d894d71ec
stop pylint contradicting itself 2021-12-06 16:59:51 +11:00
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
Mouse Reeve 02313f40b8 Adds update from inventaire link for books 2021-12-05 13:48:05 -08:00
Mouse Reeve 071da7d4fb Handle various link generation needs 2021-12-05 13:38:15 -08:00
Mouse Reeve 4085714764 Update openlibrary author with ISNI 2021-12-05 13:26:22 -08:00
Mouse Reeve d7e4e6aa1e Adds openlibrary update for book 2021-12-05 13:02:42 -08:00
Mouse Reeve 113eda33e9 Adds update views 2021-12-05 12:47:43 -08:00
Mouse Reeve b824841cb3 Adds update logic to connectors 2021-12-05 12:47:27 -08:00
Mouse Reeve 2d875b5575 Add link properties for remotes 2021-12-05 12:29:54 -08:00
Mouse Reeve 68a489dbe0 Add isni to edit author form 2021-12-05 11:02:36 -08:00
Mouse Reeve 89c23c3e0c More thoroughly checking if title is set to avoid error 2021-12-05 09:07:17 -08:00
Hugh Rundle c77edab79c
minor functionality fixes 2021-12-05 18:09:51 +11:00
Mouse Reeve 660b2e48e7
Merge pull request #1649 from bookwyrm-social/detail-menus
Use html details instead of javascript menus
2021-12-04 17:03:36 -08:00
Mouse Reeve 977d09bc06
Merge pull request #1656 from bookwyrm-social/top-bar-alignment
Fixes alignment of search box and login form
2021-12-04 16:55:06 -08:00
Mouse Reeve 2797386608 Fixes alignment of search bpx and login form 2021-12-04 16:41:07 -08:00
Mouse Reeve 08255508a3
Merge pull request #1654 from bookwyrm-social/locale-updates
Locale updates
2021-12-04 15:13:35 -08:00
Mouse Reeve 4b5a0d4a03 Fix display of long words in list titles 2021-12-04 14:51:18 -08:00
Mouse Reeve 591fd1e803 Stop is-small class from propogating to modal buttons 2021-12-04 14:47:17 -08:00
Mouse Reeve e19fe3321b Javascript cache buster 2021-12-04 14:47:06 -08:00
Mouse Reeve f9c78c79c8 Removes inoperative translation string 2021-12-04 14:40:25 -08:00
Mouse Reeve 597d537461 Display "saved!" indicator in status form 2021-12-04 13:43:01 -08:00
Mouse Reeve ba34e11fb0 Fixes auto-closing menu 2021-12-04 12:11:29 -08:00
Mouse Reeve 7050013144 Close menus when the rest of the page is clicked
Ce-authored-by: Joachim <joachim.robert@protonmail.com>
2021-12-04 11:51:57 -08:00
Mouse Reeve f98fe0348a Fixes merge error 2021-12-04 11:45:02 -08:00
Mouse Reeve 5e919ab07f
Merge pull request #1650 from joachimesque/fix-preview-image-wrap
Fix preview image text wrap length
2021-12-04 11:44:06 -08:00
Mouse Reeve 403382e4b4
Merge branch 'main' into detail-menus 2021-12-04 11:30:49 -08:00
Mouse Reeve 56609bbc2b Css linting 2021-12-04 11:18:41 -08:00
Joachim 5b690532fa Add an AttributeError exception for CI tests 2021-12-04 19:59:45 +01:00
Mouse Reeve c813ce1144 Creates consistent styling for details element 2021-12-04 10:41:42 -08:00
Joachim 5e9e7db935 Fix preview image text wrap length
Closes #1634
2021-12-04 19:08:55 +01:00
Mouse Reeve b6106691ef Force dropdown menus to always visible 2021-12-04 09:57:45 -08:00
Mouse Reeve 5b27952b34 Use html details instead of javascript menus 2021-12-04 09:48:55 -08:00
Joachim 8a84bd3490 Apply suggestions from python lint 2021-12-04 17:33:28 +01:00
Joachim 0801c66878 Add tests 2021-12-04 17:29:22 +01:00
Mouse Reeve 41fbfb627e
Merge pull request #1638 from joachimesque/font-end-accessibility-improvements
Add `aria-describedby` to field help/error messages
2021-12-04 08:23:09 -08:00
Joachim 57502c1f3c Fix js following review 2021-12-04 16:31:38 +01:00
Joachim 407d471065 Change footer link 2021-12-04 16:18:23 +01:00
Joachim 5ffe465a7a Better style for embedded cards 2021-12-04 16:18:11 +01:00
Joachim 78a0092f92 Translate `home page` on main layout 2021-12-04 16:17:51 +01:00
Joachim b2a274ba41 Add JS code for copy text component 2021-12-04 16:17:33 +01:00
Joachim 306ea962c4 Add embed URL component to list layout 2021-12-04 16:17:21 +01:00
Joachim 1b9291616b Add EmbedList view template 2021-12-04 16:08:47 +01:00
Joachim 2c7c3fd1c9 Create a new layout for embedded content 2021-12-04 16:08:15 +01:00
Joachim 8ee09a2284 Add url to reach the view 2021-12-04 16:07:38 +01:00
Joachim d22167e105 Add EmbedList view with an X-Frame-Options exemption 2021-12-04 16:07:21 +01:00
Joachim 3bd28afe93 Add unique embed_key to List model 2021-12-04 16:06:07 +01:00
Mouse Reeve c0ac838ed8
Merge branch 'main' into font-end-accessibility-improvements 2021-12-03 10:08:47 -08:00
Mouse Reeve f6dfe3530a Use book preview card for social media on status page 2021-12-03 09:58:14 -08:00
Mouse Reeve 9ee248033d
Merge pull request #1639 from hughrun/shelfnames
add translation strings
2021-12-02 12:45:41 -08:00
Mouse Reeve da7f44791f
Merge branch 'main' into shelfnames 2021-12-02 12:25:19 -08:00
Mouse Reeve 4b55ffe99e
Merge branch 'main' into remote-follow 2021-12-02 12:16:56 -08:00
Mouse Reeve ed28d5f945
Merge branch 'main' into add-feed-filters 2021-12-02 12:14:54 -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
Hugh Rundle 2ec6e56698
blocktrans for reading goal 2021-12-02 07:28:35 +11:00
Hugh Rundle 8e6619294f
oclc server sure is slow 2021-12-01 21:02:25 +11:00
Hugh Rundle 2602ae42b0
add translation strings
- add logic when default shelves used
- add trans strings in a few spots they were missing
2021-12-01 20:07:52 +11: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
Joachim 4d93545d88 Lint forms 2021-11-29 23:31:05 +01:00
Joachim 43072a357f Password reset form 2021-11-29 23:30:23 +01:00
Joachim 80535a3b0c Login form 2021-11-29 23:30:14 +01:00
Joachim 3cf9660df3 Login form 2021-11-29 23:29:56 +01:00
Joachim 3eb4dfdc9b Get started user form 2021-11-29 23:29:36 +01:00
Joachim 63d31b8623 Edit book form 2021-11-29 23:29:22 +01:00
Joachim 659d13d0a6 Announcement form 2021-11-29 23:28:51 +01:00
Joachim a6760cabc8 Email domain form 2021-11-29 23:28:29 +01:00
Joachim 5d0c6bdde2 Edit instance form 2021-11-29 23:27:25 +01:00
Joachim 0a621550b8 IP address form 2021-11-29 23:27:04 +01:00
Joachim a154597de1 Delete user form 2021-11-29 23:26:53 +01:00
Joachim 08b4c538e6 User moderation actions 2021-11-29 23:26:43 +01:00
Joachim c2873c601f Register form 2021-11-29 23:26:25 +01:00
Joachim adb0d356a8 Update site.html 2021-11-29 22:39:44 +01:00
Joachim 28f0882ba6 Handle Author form errors 2021-11-29 22:39:01 +01:00
Joachim dd0114c644 Include errors display snippet 2021-11-29 22:33:03 +01: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
Joachim 85c688b147 Update forms.py 2021-11-28 22:01:49 +01: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