Commit graph

176 commits

Author SHA1 Message Date
Alex Gleason
d2df2a5e22
Linkify profile field values 2024-11-20 11:06:36 -06:00
Alex Gleason
81780bec72
Let field limits be configurable 2024-11-20 10:58:21 -06:00
Alex Gleason
39cb1ec0c9
renderAccount: only display up to 10 profile fields 2024-11-20 10:50:49 -06:00
Alex Gleason
281f57d88e
Include fields in account.source 2024-11-20 09:45:52 -06:00
Alex Gleason
154056f8d6
Add custom profile fields 2024-11-20 08:58:12 -06:00
P. Reis
a883aea585 refactor: remove stripimeta in 'about' of renderAccount 2024-10-31 14:03:36 -03:00
P. Reis
e3fec6b938 fix: render HTML link in bio 2024-10-31 11:48:43 -03:00
Alex Gleason
4293092756
Fix zap amount in web push notification
Ref: https://gleasonator.dev/@idsera@ditto.pub/posts/eeddba51bb15e06654afd1952e62bd91d2248d9517ba499024b09887081dd919
2024-10-17 15:16:14 -05:00
Alex Gleason
d1635712cf
Use nprofile and nevent links for external URLs in Account and Status 2024-10-16 10:13:37 -05:00
Alex Gleason
bfe2c620e6
renderWebPushNotification: fix account without display_name 2024-10-15 17:16:53 -05:00
Alex Gleason
7fbda4a56b
Move push notification rendering to its own view 2024-10-15 17:13:39 -05:00
Alex Gleason
d4f3c673a2
deno lint 2024-10-11 17:35:45 -05:00
Alex Gleason
a484634d36
Switch captcha_solved from a label event to an n-tag on a user event 2024-10-11 16:50:52 -05:00
Alex Gleason
c5ddd2ebb7
Make verify_credentials and update_credentials return a consistent CredentialAccount object 2024-10-11 16:25:29 -05:00
P. Reis
4712cb1d80 fix: fix language property in the Mastodon API 2024-10-07 16:08:23 -03:00
Alex Gleason
1cd7c99bda
Add account.source.ditto.captch_solved field 2024-10-04 19:26:47 -05:00
P. Reis
a18b049eb7 feat: make notifications great again
it works the same as before, but with way less code
2024-09-16 14:08:45 -03:00
Alex Gleason
8efd6fbb20
Remove unattached_media table, replace with LRUCache, fix media upload order problem 2024-09-07 10:24:56 -05:00
P. Reis
8e8f8767b4 Merge branch 'main' into zap-notification 2024-09-02 09:54:45 -03:00
P. Reis
96e99f38c4 feat(views): render and return zap notification 2024-09-02 09:54:24 -03:00
Siddharth Singh
f8fae52d5e
fix bug in alt text tagging 2024-08-25 19:13:31 +05:30
Siddharth Singh
cf4dc8627b
remove unnecessary coalescing 2024-08-25 16:25:36 +05:30
Siddharth Singh
6ff90d63bb
implement PUT /api/v1/media/:id
Adds support for setting image descriptions for accessibility reasons
2024-08-25 16:23:25 +05:30
Alex Gleason
8370b250a2
Add a signal to renderAccount 2024-08-17 09:25:48 -05:00
Alex Gleason
e539a29775
Fetch favicon from NIP-05 domain 2024-08-17 09:21:12 -05:00
Alex Gleason
de1c6a05dc
Add domain to Account entity 2024-08-16 13:15:06 -05:00
Alex Gleason
a99728981c
Use favicon.ico to get instance favicon from NIP-05 of each user 2024-08-15 21:36:28 -05:00
Alex Gleason
800e20a143
Convert og:description to plaintext 2024-08-07 21:36:02 -05:00
Alex Gleason
313c37564c
Add MastodonAttachment type 2024-08-07 21:19:04 -05:00
Alex Gleason
efc121a4ae
Fallback to favicon.ico in link previews 2024-08-07 21:10:31 -05:00
Alex Gleason
ba241f0431
Rework opengraph 2024-08-07 20:47:53 -05:00
Alex Gleason
72970bf480
Code style changes 2024-08-07 19:01:50 -05:00
Alex Gleason
349f59cc70
Merge remote-tracking branch 'origin/main' into opengraph-metadata 2024-08-07 18:19:13 -05:00
Alex Gleason
2e38a7b9ec
mentionsCompat: wrap each mention in an h-card span 2024-08-07 17:54:45 -05:00
Alex Gleason
2f5b4557b7
compatMentions: remove post author and explicit text mentions 2024-08-07 17:34:36 -05:00
Alex Gleason
529e61be6d
Return properly formatted mentions in Status API 2024-08-07 17:27:22 -05:00
Alex Gleason
dbd40357af
Mimic Mastodon's uri/url fields exactly on Accounts and Statuses 2024-08-07 15:23:33 -05:00
Alex Gleason
09ea0856a6
renderRelationship: delete accidental comment left in 2024-08-06 15:58:04 -05:00
Alex Gleason
41bcd77853
Optimize relationships database calls 2024-08-06 15:34:10 -05:00
Siddharth Singh
5785f07052
tpl --> metadataView 2024-08-05 20:02:03 +05:30
Siddharth Singh
c7e5aed679
move parseAndVerifyNip05 to utils/nip05 2024-08-05 18:12:53 +05:30
Siddharth Singh
3f7687d59f
make changes according to 24-06-24 review 2024-06-24 02:34:49 +05:30
Siddharth Singh
f19afa449a
add the ditto.external field to statuses and accounts 2024-06-24 02:03:31 +05:30
Alex Gleason
003d60c959
Don't display posts of disabled user on their profile 2024-06-19 14:06:02 -05:00
Alex Gleason
3daac37e08
Render custom emoji reaction in notifications 2024-06-19 13:35:43 -05:00
Alex Gleason
c39fd2daa2
Improve the setup script and clean up config 2024-06-15 23:41:19 -05:00
Alex Gleason
e63ee9b5a3
Add interfaces for Mastodon entity types, hide deactivated accounts 2024-06-15 19:36:34 -05:00
P. Reis
0b49ee4fa6 feat(renderStatus): return zaps_amount 2024-06-10 10:39:34 -03:00
Alex Gleason
42fac52e9e
Support streaming notifications 2024-06-09 15:31:14 -05:00
Alex Gleason
2245263011
Add ditto:name_grant notification 2024-06-09 14:50:37 -05:00