Commit graph

48 commits

Author SHA1 Message Date
Andrew Godwin
dd532e4425 Fix tests for profile redirect and add to notes 2023-09-07 22:06:50 -06:00
Henri Dickson
70b9e3b900
Support follow requests (#625) 2023-08-18 15:49:45 +09:30
Andrew Godwin
759d5ac052 Fixed #616: Do followers-only properly 2023-07-22 10:38:22 -06:00
Andrew Godwin
7f483af8d3 Rework Stator to use a next field and no async 2023-07-07 15:14:06 -06:00
Andrew Godwin
f4bbe78bd5 Fix tests after mentions change 2023-05-13 11:19:23 -06:00
Christof Dorner
d6c9ba0819
Pinned posts (#561) 2023-05-13 10:01:27 -06:00
Christof Dorner
9775fa8991
Add mention class to user mention links (#575)
This should fix mention links in Elk to keep linking inside Elk, not to the instance of the mentioned user.
2023-05-09 09:55:19 -06:00
Andrew Godwin
709dc86162 Fixed #559: Trim hashtags to 100 chars or less 2023-05-03 23:12:28 -06:00
Christof Dorner
e45195bb02
Handle posts with only contentMap as post instead of interaction (#549) 2023-03-23 12:27:32 -06:00
Christof Dorner
79c1be03a6
Add ability to follow hashtags 2023-03-14 15:35:40 -06:00
Humberto Rocha
9aff13118a
Fix crash when fetching emoji without mimetype and extension (#524) 2023-02-25 14:47:43 -07:00
Humberto Rocha
e625fae13d
Fix hashtag being handled as common link in the preview card (#515) 2023-02-19 20:35:54 -07:00
Humberto Rocha
79aea1b8ba
Add support to update Poll by AP (#514) 2023-02-18 10:38:31 -07:00
Humberto Rocha
e382994e73
Polls (#496)
Implement poll AP and API backend
2023-02-15 10:42:56 -07:00
Andrew Godwin
9a0008db06 Add initial follow import/export
Fixes #437
2023-02-13 20:50:43 -07:00
Andrew Godwin
5d2ed9edfe
Hatchway API Rewrite (#499)
Removes django-ninja and replaces it with a new API framework, "hatchway".

I plan to move hatchway into its own project very soon.
2023-02-07 12:07:15 -07:00
Humberto Rocha
d8fc81a9a6
Keep the casing pattern provided by the instance (#495) 2023-02-03 17:02:35 -07:00
Humberto Rocha
b9e8f19e90
Fix fetching poll votes and voter_count (#482) 2023-01-29 21:20:57 -07:00
Andrew Godwin
1ffbb2e860 Fix hashtag extraction on post edit 2023-01-29 18:13:21 -07:00
Andrew Godwin
a6922cb9d6 Move to a new HTML parser/stripper
This removes the use of the EOL'd Bleach, and also integrates hashtag,
mention and emoji searching into one single place.
2023-01-29 17:47:06 -07:00
Andrew Godwin
54e7755080 Unfollowing or blocking users purges timeline
Fixes #366
2023-01-16 11:53:40 -07:00
Andrew Godwin
b721833b4f Fix old post tests 2023-01-15 21:11:08 -07:00
Andrew Godwin
b44be55609 Fixed #408: Implemented blocking 2023-01-15 13:35:45 -07:00
Andrew Godwin
a875dd7a54 Perform shared inbox delivery 2023-01-08 13:46:40 -07:00
Andrew Godwin
b03d9f0e12 Handle deletions of post URIs
Fixes #306
2022-12-28 22:47:28 -07:00
Michael Manfre
ab398758a9
Fixed mention linking with mixed case usernames (#265) 2022-12-24 21:04:25 -07:00
Andrew Godwin
294095c592 Don't allow trailing period in mention
Fixes #249
2022-12-23 01:47:00 -07:00
Andrew Godwin
e066641556 Accept emoji using nameMap 2022-12-22 17:19:12 +00:00
Andrew Godwin
025fd5cf07 Emoji refactor
Emojis are now prefetched from the post, and if not, looked up
individually by shortcode, to prevent loading hundreds.
2022-12-22 16:55:31 +00:00
Andrew Godwin
79fd800a78 Accept objects with contentMap only 2022-12-22 05:29:49 +00:00
Andrew Godwin
92305ef515 Fix hashtag tests 2022-12-20 14:28:41 +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
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
Michael Manfre
af3142ac3a
Basic Emoji suppport (#157) 2022-12-15 00:50:54 -07:00
Andrew Godwin
35a45f1c55 A few more fixes and a bad test 2022-12-12 11:56:49 -07:00
Michael Manfre
64cea557be
Collapse linkify mentions (#123) 2022-12-05 21:44:26 -07:00
Andrew Godwin
5b82c76def Shorten mention names when linkified
Fixes #121
2022-12-05 20:26:21 -07:00
Andrew Godwin
a31f676b46 Policy pages and signup tests.
Fixes #113
2022-12-05 19:24:46 -07:00
Andrew Godwin
9becbb24d4 Fix post tests, don't reply to self 2022-12-04 21:30:18 -07:00
Andrew Godwin
6291fa0f5c Fix mentions in replies/capitalisation 2022-12-04 20:23:02 -07:00
Andrew Godwin
8139ccffdb Fix hashtag extraction 2022-11-29 09:44:37 -07:00
Michael Manfre
fb8f2d1098
Hashtags 2022-11-28 21:41:36 -07:00
Michael Manfre
6c7ddedd34
Post editing 2022-11-27 11:09:46 -07:00
Michael Manfre
849c221aee
Local-only posting 2022-11-26 10:09:31 -07:00
Andrew Godwin
63ab492439 Fix mentions at the start of posts 2022-11-21 22:17:22 -07:00
Andrew Godwin
53d9452917 Outgoing mentions mostly work (exc. cc followers) 2022-11-21 21:18:13 -07:00
Andrew Godwin
a80e0f117a Mentionify tests and some fixtures 2022-11-21 20:25:00 -07:00
Andrew Godwin
0d1e09fbcd Refactor almost all tests into /tests/ 2022-11-21 20:10:01 -07:00