Commit graph

187 commits

Author SHA1 Message Date
Andrew Godwin
9a0008db06 Add initial follow import/export
Fixes #437
2023-02-13 20:50:43 -07:00
Humberto Rocha
21e286c5d2
Fix linter fails with the CI (#497) 2023-02-04 21:33:01 -07:00
okpierre
94271b34ac
Show post count even when other counts are hidden 2023-02-04 11:55:48 -07:00
Humberto Rocha
0f66900d9c
Fix header duplication during infinity scroll (#483) 2023-01-30 11:24:15 -07:00
Andrew Godwin
28ed74df24 Let people put bad things in their own head
Fixes #432
2023-01-29 18:20:58 -07:00
Corry Haines
93c0af992b
Templatize robots.txt (#478) 2023-01-29 12:27:07 -07:00
Michael Manfre
dc55ee109a
Fix issue where CW button on menu compose form submits the form (#467) 2023-01-20 17:56:24 -07:00
Andrew Godwin
f150a3eee9 Don't allow self-mute and self-block
Fixes #454
2023-01-20 09:31:37 -07:00
TAKAHASHI Shuuji
10c7da96c7
Allow auto-pagination on profile page (#445) 2023-01-19 23:09:01 -07:00
TAKAHASHI Shuuji
edef03efb1
Fix highlight color in the light theme (#444) 2023-01-19 10:15:34 -07:00
Andrew Godwin
50f8c8040d Add light theme and some more CSS variables 2023-01-16 13:05:21 -07:00
Andrew Godwin
de9261251e Fixed #421: Allow profile editing via API 2023-01-15 16:15:57 -07:00
Andrew Godwin
e39355ceb5 Fix admin pagination 2023-01-15 15:04:39 -07:00
Michael Manfre
06f6257645
Render non-media PostAttachments (#420) 2023-01-15 14:49:04 -07:00
Andrew Godwin
9dded19172 Add admin notification for new identities 2023-01-15 14:48:17 -07:00
Andrew Godwin
b44be55609 Fixed #408: Implemented blocking 2023-01-15 13:35:45 -07:00
TAKAHASHI Shuuji
5e65d569bf
Prevent uploading too large image file (#416) 2023-01-15 10:29:18 -07:00
Michael Manfre
21d565d282
Copy Emoji to local and delete file with record (#407) 2023-01-14 10:35:20 -07:00
TAKAHASHI Shuuji
3679448cdf
FIx HTML issues found by djLint (#409) 2023-01-14 10:32:48 -07:00
Andrew Godwin
8b3106b852 Implement server announcements
Fixes #377
2023-01-13 16:12:05 -07:00
Andrew Godwin
113db4ab3a Fixed #376: Emoji admin page
Also did a new table style for admin pages
2023-01-10 20:31:50 -07:00
TAKAHASHI Shuuji
0c1e51322f
Add djhtml to pre-commit check (#382) 2023-01-09 09:58:17 -07:00
TAKAHASHI Shuuji
c5c0e2bfe5
Fix no opacity transition issue of image viewer when first click (#374) 2023-01-08 12:20:33 -07:00
TAKAHASHI Shuuji
d51f2883aa
Allow better keyboard navigation (#373) 2023-01-08 12:20:05 -07:00
TAKAHASHI Shuuji
925ff6edcd
Implement image viewer (#363) 2023-01-07 10:34:11 -07:00
Michael Manfre
69b0430819
Add custom_head config to inject HTML in to page <head> (#350) 2023-01-04 16:42:03 -07:00
Andrew Godwin
a7a292a84c Pagination styling and "max users" signup limit 2023-01-03 01:32:00 -07:00
NaphalSec
c10aa46fc5
New Moderation Report Email (#346) 2023-01-02 16:31:32 -07:00
Cosmin Stejerean
efd5f481e9
OAuth2 Fixes (#338)
This implements a few oauth2 fixes:

- passes along the state object
- enforces authorization code expiration (currently set to 1 minute, we could make this configurable)
- enforces redirect_uri
- properly checks for client_secret when granting a token
- handles pulling client authentication for token grant from basic auth
- implement token revocation
2023-01-01 11:46:55 -07:00
Andrew Godwin
002276ab9a Fix footer styling 2022-12-31 14:12:39 -07:00
Andrew Godwin
0fc8ff4965 Move like/boost/reply counts onto Post model 2022-12-31 13:52:30 -07:00
NaphalSec
05adbace24
email templates (#328) 2022-12-30 16:03:11 -07:00
Cosmin Stejerean
eea83214cb
Option to show/hide boosts for a followed user (#317) 2022-12-30 15:03:11 -07:00
Michael Manfre
0250f2800b
Identity profile menus 2022-12-30 01:01:03 -07:00
Tyler Kennedy
6a1caae79b
Show a post button and fix selected logic for following/followers (#320) 2022-12-29 21:31:34 -07:00
Andrew Godwin
eb7297d743 Only auto refresh when at top of page 2022-12-29 13:23:47 -07:00
Andrew Godwin
ea6f272047 Infinite scroll, and footer in sidebar if exists 2022-12-29 11:33:41 -07:00
Michael Manfre
efe6864418
Ensure a min of 2 metadata input rows on profile edit form (#297) 2022-12-27 17:45:51 -07:00
Cosmin Stejerean
a949c99d48
change language for following / followers (#296) 2022-12-27 17:03:14 -07:00
Michael Manfre
aa2ace9b68
Identity profile metadata input with dynamic form (#280) 2022-12-27 16:56:50 -07:00
Corry Haines
b36fa0de51
Disable opengraph block in base_plain.html (#279)
Since error pages lack the normal context, remove the block so
it doesn't obscure errors with spew.
2022-12-26 15:29:52 -07:00
Andrew Godwin
f7baea2756 Fix identity template with new banner 2022-12-26 10:53:46 -07:00
Corry Haines
b53504fe64
Basic OpenGraph support (#267)
Creates an OpenGraph template include in base.html including the basic tags expected on all pages.

Then allows any page to add additional expected tags via `context`.

Currently, profiles and posts are enriched to show complete opengraph metadata, and render correctly in Discord.

Note: This does not show posts in Slack like Twitter/Mastodon do. I believe this is due to Slack preferring oembed when present, which is a mastodon API endpoint we may need to create at some point.
2022-12-26 10:39:33 -07:00
Tyler Kennedy
dab8dd59a7
Fallback avatars in about 500 bytes. (#269)
Also create a new re-usable identity banner template. Fix super long handles (closes #270)
2022-12-26 10:14:23 -07:00
Andrew Godwin
d32a686eb1 Persist CWs in replies, expand linked at once
Fixes #268
2022-12-26 10:03:13 -07:00
Andrew Godwin
c9f7a06fe5 Fix notes on invites showing in list view 2022-12-26 09:43:00 -07:00
Michael Manfre
5536397bdb
Prettier debug json (#260) 2022-12-24 11:05:07 -07:00
Andrew Godwin
a6c973337c Make load more button not do a refresh 2022-12-24 10:27:48 -07:00
Tyler Kennedy
801c807a2b
Simple user stylesheet support. (#258) 2022-12-24 07:28:39 -07:00
Andrew Godwin
cda7467802 Make debug JSON page better 2022-12-24 06:56:33 -07:00