Commit graph

1737 commits

Author SHA1 Message Date
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
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
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
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
403382e4b4
Merge branch 'main' into detail-menus 2021-12-04 11:30:49 -08:00
Mouse Reeve
c813ce1144 Creates consistent styling for details element 2021-12-04 10:41:42 -08:00
Mouse Reeve
5b27952b34 Use html details instead of javascript menus 2021-12-04 09:48:55 -08: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
407d471065 Change footer link 2021-12-04 16:18:23 +01:00
Joachim
78a0092f92 Translate home page on main layout 2021-12-04 16:17:51 +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
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
7eb3de6247
Merge branch 'main' into tidy-header 2021-12-02 12:16:05 -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
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
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
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
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
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
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
Joachim
c924f578e5 Fix linting errors 2021-11-28 18:26:01 +01: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
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
Joachim
4ed4278826 Tidy header for non-authenticated visitors
with the help of a login modal
2021-11-27 19:18:20 +01:00
Hugh Rundle
951eb43aa6
bypass ajax for shelf_selector statuses 2021-11-26 17:16:26 +11:00
Hugh Rundle
b91915d316
change shelf var for shelf_selector in book view 2021-11-25 08:20:34 +11:00
Hugh Rundle
c704c7eb8f
remove from any shelf in all books shelf view
- fixes removing book from 'all books' shelf erroring
- remove from any shelf item is on when in 'all books'
2021-11-25 07:38:08 +11:00
Joachim
db5e7a886a Handle count of notifications banner 2021-11-24 19:00:30 +01:00
Joachim
40e4591a24 Apply review suggestions 2021-11-24 11:59:45 +01:00
Joachim
47cfc2f157 Hardcode form 2021-11-22 18:52:57 +01:00
Hugh Rundle
09c5a3861b
prefer English language sources for ISNI titles 2021-11-22 12:15:06 +11:00
Joachim
a0093a8a2e Add status type filters 2021-11-22 00:25:47 +01:00
Chad Nelson
6be9ac4f70 Abstract JS for multivalue form fields 2021-11-21 17:32:48 -05:00
Hugh Rundle
8691023fa9
display link to isni in author page when other identifiers missing 2021-11-22 09:24:05 +11:00
Hugh Rundle
a218fa21ea Merge branch 'main' into isni-poc 2021-11-22 08:53:58 +11:00
Hugh Rundle
fd2ade2313
refactor isni author enrichment
- use activitypub.Author instead of custom dict
- prefer to display "Author of [title]" from ISNI data instead of short description
- merge isni and db authors for edit_book display
- fix edit_book template to use changed data
- rename some functions in utils/isni.py
2021-11-22 08:49:22 +11:00
Hugh Rundle
1e6e4b0f8d
use activitypub dataclass for isni authors
- add timeout to isni API call
- use activitypub.Author dataclass instead of bespoke dict
- display isni authors as "Author of" first title in ISNI record if possible
- sensible fallbacks if title info unavailable in isni record
2021-11-21 19:55:55 +11:00
Hugh Rundle
b406a03533
don't persist form state in firefox
Fixes shelves not being disabled in dropdowns.
See https://stackoverflow.com/questions/5985839/bug-with-firefox-disabled-attribute-of-input-not-resetting-when-refreshing
2021-11-20 19:04:51 +11:00
Hugh Rundle
c6a2de3bbc
pass readthrough id to shelf_selector
- allows user to move book from a shelf to the 'Read' shelf using the move button.
2021-11-20 10:29:17 +11:00
Hugh Rundle
6951b52365
disallow moving to shelf already used 2021-11-20 08:18:43 +11:00
Hugh Rundle
9ffe4d340e
trigger reading status modals from move button
- unhide reading status shelves
- trigger modals when moving to a read status shelf
- force page refresh when using move button
2021-11-20 08:06:13 +11:00
Mouse Reeve
3787a31c67 Updates image helpers on site 2021-11-18 14:39:22 -08:00
Mouse Reeve
41dd915d7f Email templates 2021-11-17 20:22:00 -08:00
Hugh Rundle
03c59f2431
improve security on isni url 2021-11-16 20:37:37 +11:00