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
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
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
Hugh Rundle
feaf0d5e52
handle username errors in remote follow form
2021-11-29 07:11:57 +11: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
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
Hugh Rundle
09c5a3861b
prefer English language sources for ISNI titles
2021-11-22 12:15:06 +11: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
Hugh Rundle
ec39346e67
check shelf.editable instead of custom filter
2021-11-16 19:26:49 +11:00
Mouse Reeve
5e5cb26290
Preserve spaces between links
2021-11-15 11:47:39 -08:00
Mouse Reeve
30afe42b3a
Removes extra space in progress bar
2021-11-15 09:41:05 -08:00
Mouse Reeve
83e468a4f8
Fixes "indeterminate" state of progress indicator on screen reader
2021-11-15 09:34:36 -08:00