Commit Graph

212 Commits

Author SHA1 Message Date
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
Andrew Godwin 9067caf9a3 Add expanded post context
Fixes #120
2022-12-20 09:59:06 +00:00
Andrew Godwin e28294c81a Hashtag admin simplification 2022-12-20 09:16:03 +00:00
Andrew Godwin 39013e0bb5 Add moderation/admin separation 2022-12-20 09:01:54 +00:00
Andrew Godwin 0c4eb74165 Invites admin 2022-12-20 08:52:03 +00:00
Michael Manfre 84dbb51de7
Raw response in JSON debug (#211) 2022-12-20 08:19:00 +00:00
Andrew Godwin 58e11ae3b6 Debug JSON view, json fixes 2022-12-18 11:00:21 -07:00
Michael Manfre a408cbaa27
Post types (#182)
Initial support for Posts of type other than 'Note'. Render special Post types with templates.
2022-12-18 09:09:25 -07:00
Andrew Godwin 77ef358fef Allow markdown on signup text 2022-12-17 17:02:54 -07:00
Kromonos f02f1541ad
Implement lazy loading (#188) 2022-12-17 17:01:07 -07:00
Andrew Godwin 64f113dd8d Receive inbound reports 2022-12-17 14:58:04 -07:00
Andrew Godwin e8d6dccbb2 Report function and admin 2022-12-17 14:45:31 -07:00
Andrew Godwin 23a3f7e9d2 Flatpage styling 2022-12-16 21:27:55 -07:00
Andrew Godwin 12567f6891 Identity admin/moderation 2022-12-16 19:42:48 -07:00
Andrew Godwin c588567c86 Add follow times 2022-12-16 17:39:10 -07:00
Andrew Godwin be377653fe Fix inbound/outbound links 2022-12-16 17:32:04 -07:00
Andrew Godwin 00795f119e Split Follows page into two types
This overcomes the query problem of pulling a combined list
2022-12-16 17:24:56 -07:00
Gabriel Rodríguez Alberich fb2eea956e
Several pagination improvements (#170)
Home/Notification gets pagination, Follows becomes ListView
2022-12-16 17:06:29 -07:00
Andrew Godwin 45c6978bc3 User admin and LD schema fixes 2022-12-16 16:38:52 -07:00
Andrew Godwin bce7add2b4 Fix login form errors not appearing
Fixes #175
2022-12-15 16:24:06 -07:00
Andrew Godwin 1130c23b1e Stator stats overhaul
Removes the error table, adds a stats table and admin page.
Fixes #166
2022-12-15 12:26:44 -07:00
Michael Manfre af3142ac3a
Basic Emoji suppport (#157) 2022-12-15 00:50:54 -07:00
Gabriel Rodríguez Alberich d1ce056288
Show follows and following counts on profile page
And let their visibility be configured
2022-12-14 10:15:46 -07:00
Andrew Godwin 8ffe4bc145 A better way of handling URIs between local/remote 2022-12-12 11:56:49 -07:00
Andrew Godwin 1017c71ba1 Working start of an OAuth flow 2022-12-12 11:56:49 -07:00
TAKAHASHI Shuuji 6d473a83cc
Add the character counter next to the Post button (#152) 2022-12-11 09:25:48 -07:00
Tyler Kennedy 39bcd7ac00
Move image attachments on posts into the content warning block. (#148)
Also adds alt text to image attachments.
2022-12-08 10:59:36 -07:00
Michael Manfre 25b8bf6a2e
Keyboard navigation 2022-12-07 09:12:43 -07:00
TAKAHASHI Shuuji 7413dab052
Set link to user icon in identity panel (#145) 2022-12-07 09:05:33 -07:00
Tyler Kennedy 8c45a65594
Add an alt label identity images. (#137) 2022-12-06 17:03:53 -07:00
Michael Manfre dcf2d801b9
'View in admin' link for post popup menu (#134) 2022-12-06 16:55:35 -07:00
Tyler Kennedy d4ddea0712
Quick link to see original post (#132) 2022-12-06 09:47:25 -07:00
Andrew Godwin b0929214d5 Allow selecting notification types to see 2022-12-05 22:15:05 -07:00
Andrew Godwin e2d28a4be0 Add pagination and search to federation page 2022-12-05 19:54:47 -07:00
Andrew Godwin f22869693a Add self-view link to identity select 2022-12-05 19:37:48 -07:00
Andrew Godwin f54d1885b5 Style footer links in medium width 2022-12-05 19:32:35 -07:00
Andrew Godwin a31f676b46 Policy pages and signup tests.
Fixes #113
2022-12-05 19:24:46 -07:00
Michael Manfre d6eb16a398
Added caching and initial settings 2022-12-05 10:55:30 -07:00
Andrew Godwin 93ccb5dd32 Make search work with URLs 2022-12-04 21:13:33 -07:00
Avi Flax d27be3f426
Don’t show "no results" on search entry page (#105) 2022-12-04 18:32:11 -07:00
Andrew Godwin c3d4d0f547 Image upload polishing and webp 2022-12-04 10:46:41 -07:00
Andrew Godwin ffda9c4913 Link RSS feed in identity page head 2022-12-04 10:17:43 -07:00
Tyler Kennedy 6ce05296b0
Make follows a top-level activity. (#94) 2022-12-04 09:41:41 -07:00
Tyler Kennedy 50868971f7
Show time-since next to 'XYZ boosted' on the home timeline. (#93) 2022-12-04 09:27:42 -07:00
Avi Flax 7a7907a6df
Tweaks to search UX (#92) 2022-12-03 19:47:09 -07:00
Andrew Godwin 9f3ad0be16 Don't allow file uploads bigger than 10MB 2022-12-02 04:02:38 -07:00
Andrew Godwin 6f2f28a3a7 Image attachment uploads 2022-12-01 18:47:04 -07:00
Avi Flax a826ae18ea
Tweak UI when no posts found for remote identity (#83)
I’ve found the current copy confusing when viewing a remote identity.
2022-12-01 09:56:41 -07:00
Humberto Rocha 676dda0cb6
Add copy to clipboard action to user's handle (#82) 2022-11-30 15:12:00 -07:00
Avi Flax 73cec4139d
Fix typo in notifications.html (#79) 2022-11-29 14:15:37 -07:00
Andrew Godwin c72893372a Collapse notifications on the same post 2022-11-28 22:42:40 -07:00
Andrew Godwin 4420507f62 Show parent post on individual page 2022-11-28 22:34:03 -07:00
Andrew Godwin 0bced8fe17 A few hashtag fixups 2022-11-28 22:14:52 -07:00
Michael Manfre fb8f2d1098
Hashtags 2022-11-28 21:41:36 -07:00
Andrew Godwin 2f443414a7 Collect more actor information in fetch
Fixes #31
2022-11-27 16:43:20 -07:00
Andrew Godwin c76c72fc81 Don't link originals for replies 2022-11-27 15:40:17 -07:00