Commit graph

4172 commits

Author SHA1 Message Date
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
Joachim
403e282d88 Add aria-describedby to field help/error messages 2021-11-28 21:52:28 +01:00
Hugh Rundle
feaf0d5e52
handle username errors in remote follow form 2021-11-29 07:11:57 +11: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
Hugh Rundle
1a37903583
remove unnecessary function call arg 2021-11-26 17:39:35 +11:00
Hugh Rundle
a5efc798f8
clean up old vars 2021-11-26 17:30:27 +11:00
Hugh Rundle
951eb43aa6
bypass ajax for shelf_selector statuses 2021-11-26 17:16:26 +11:00
Hugh Rundle
5b67226571
forceReload prevents ajax submission
...instead of weird hacky workarounds forcing refreshes later.
2021-11-25 19:12:03 +11:00