Commit Graph

4010 Commits

Author SHA1 Message Date
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
7848ff7927 fix translation strings 2021-11-30 20:46:41 +11:00
fbb6368caf undo footer component 2021-11-30 20:21:41 +11:00
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
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
1636dfd308 fix footer indentation 2021-11-29 20:42:16 +11:00
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
1211fda7ff beautiful code quality, pylint will be pleased 2021-11-29 19:53:13 +11:00
9a3ec4362b code cleanup 2021-11-29 19:45:52 +11:00
f5d9a204eb clean up ostatus templates 2021-11-29 19:37:56 +11:00
3d73ea92e8 handle user blocks properly 2021-11-29 18:08:25 +11:00
7b65edf10b improve and bugfix remote follow templates 2021-11-29 15:33:26 +11:00
587b0194fc bugfix remote follows 2021-11-29 15:33:18 +11:00
4a9713b812 fix template for remote follower error 2021-11-29 08:03:01 +11:00
c7242b6022 add popup warning 2021-11-29 07:56:31 +11:00
46f3294431 fix remote follow template 2021-11-29 07:56:09 +11:00
feaf0d5e52 handle username errors in remote follow form 2021-11-29 07:11:57 +11:00
6abf5d6910 add submit button to remote follow form 2021-11-28 21:48:03 +11:00
e9bb2a04a4 code cleanup 2021-11-28 21:38:28 +11:00
f828f36cc5 show popup for remote follow 2021-11-28 21:16:57 +11:00
6e7d23c1ae add remote follow button 2021-11-28 20:09:29 +11:00
2e428e6ea1 add remote follow templates 2021-11-28 20:08:54 +11:00
e275b98183 ostatus remote follow views 2021-11-28 16:56:21 +11:00
610114b4eb rearrange ostatus templates 2021-11-28 16:54:25 +11:00
d05e100421 update ostatus templates 2021-11-28 13:28:58 +11:00
f7c8f121b9 add remote follow ostatus templates 2021-11-28 12:43:29 +11:00
9d52e3cf27 add ostatus subscribe to webfinger links 2021-11-27 18:32:50 +11:00
ad6c860951 Merge pull request #1627 from joachimesque/fix-preview-image-url
Don't change the preview image URL on update
2021-11-23 15:01:15 -08:00
d8e83ffe82 moar code linting 2021-11-22 13:01:58 +11:00
a9d921cc06 code cleanup 2021-11-22 12:52:59 +11:00
09c5a3861b prefer English language sources for ISNI titles 2021-11-22 12:15:06 +11:00
fd3ed7fb8c fix author is now class object not dict 2021-11-22 09:25:31 +11:00
8691023fa9 display link to isni in author page when other identifiers missing 2021-11-22 09:24:05 +11:00
a218fa21ea Merge branch 'main' into isni-poc 2021-11-22 08:53:58 +11:00
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
e2836d468d don't use author name as deduplication field 2021-11-22 08:47:12 +11:00
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
ad6aaa6bc8 Update preview_images.py 2021-11-20 17:15:58 +01:00
f26a41bd10 Prevent empty file name 2021-11-20 17:10:29 +01:00
d74df047c5 Clean up file before saving 2021-11-20 16:59:05 +01:00
40264e372d Update preview_images.py 2021-11-20 16:26:02 +01:00
37508d2583 Update preview_images.py 2021-11-20 16:23:50 +01:00
417f09690f Include admin and moderator in reporting email 2021-11-18 15:08:00 -08:00
21c90ac99e Use groups not permissions 2021-11-18 14:51:00 -08:00
3787a31c67 Updates image helpers on site 2021-11-18 14:39:22 -08:00
41dd915d7f Email templates 2021-11-17 20:22:00 -08:00
9961a08c93 Adds Galician locale 2021-11-17 10:02:39 -08:00
e3fec5885a Fixes logic on nodeinfo page 2021-11-16 16:20:29 -08:00
6dd7eebd98 Fixes tests 2021-11-16 10:16:28 -08:00
50ca16a46f Merge branch 'main' into inventaire-connector-tests 2021-11-16 09:59:50 -08:00