Commit Graph

167 Commits

Author SHA1 Message Date
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
Andrew Godwin f5d06d2656 Move wellness options inside Interface 2022-12-23 23:01:27 -07:00
Andrew Godwin 3187d4d180 Fix reaction counts hiding 2022-12-23 22:56:59 -07:00
Tyler Kennedy b5be9b576d
Ux gallery tweaks (#252)
Tweaks to attachment CSS to show a better looking gallery view, video support
2022-12-23 22:54:03 -07:00
Andrew Godwin ff32b521ae More small screen fixes 2022-12-23 22:52:20 -07:00
Andrew Godwin 2a79f34f8a Small screen and identity select styling
Fixes #236
2022-12-23 22:46:27 -07:00
Andrew Godwin 6be1e7df44 Make oauth screens plain as well 2022-12-23 22:34:33 -07:00
Michael Manfre aca77314d1
Fixes #239 - Add option to hide Boost and Like counts (#247) 2022-12-23 22:16:26 -07:00
Andrew Godwin 699b6fc29e "Remove posts from front page" option 2022-12-22 14:16:08 -07:00
Andrew Godwin a058140d11 New "plain" page style for most logged out pages 2022-12-22 13:06:35 -08:00
Andrew Godwin 9c376395db Invites overhaul
No email tie, added uses and expires, now works by URL.
2022-12-22 07:03:21 +00:00
Andrew Godwin 8729baaea4 Show when a follow is pending 2022-12-22 05:54:01 +00:00
Andrew Godwin 02f942f1ad Add boost/like count to more timelines 2022-12-22 04:27:02 +00:00
Andrew Godwin e7c09d6457 More UX tweaks 2022-12-22 02:40:46 +00:00
Tyler Kennedy 7e5b5dc4e4
Various UX tweaks and front end fixes. (#230) 2022-12-22 21:28:28 +00:00
Andrew Godwin c9794c0fcf Add public following/followers pages 2022-12-21 20:36:10 +00:00
Andrew Godwin 932cfe9243 Add debugging on identity include 2022-12-21 20:09:12 +00:00
Gabriel Rodríguez Alberich 1349144e37
Minor design tweaks to the Follows page (#222)
* Filter outbound and inbound follows by active state
* Change pill appearance to distinguish it from buttons
* Signal destructive action when hovering unfollow buttons
* Add hover style to the top "tabs"/"filters"
* Make filters icon have the same width so selecting them doesn't change the options total width, which is mildly unnerving
2022-12-21 19:57:14 +00:00
Andrew Godwin bbe60202e7 Add Out Of Band auth token support
Fixes #216
2022-12-21 16:42:44 +00:00
Andrew Godwin fa4ee7e32f Fix profile links who have no URL 2022-12-21 11:07:44 +00:00
Andrew Godwin 4ad4f468a4 Refactor HTML rendering into one place
Also suppress using external <a> tags for now, until we can separate
them from hashtags properly.
2022-12-20 11:39:45 +00:00