Commit graph

878 commits

Author SHA1 Message Date
Christof Dorner
b3b58df2b1
Fix hashtag search results (#576)
We mistakenly wrote to the key "hashtag" instead of "hashtags", resulting
in no results in the API response. Additionally, the type of the Tag's `history`
needs to be a list, not a dict.

This fixes hashtag search in Elk.
2023-05-10 10:17:00 -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
Christof Dorner
51ffcc6192
Fix default storage setting and use new STORAGES (#573) 2023-05-08 10:40:33 -06:00
Karthik Balakrishnan
dcc4a5723e
Migrate to new staticfiles storage setting (#570) 2023-05-07 23:08:33 -06:00
Karthik Balakrishnan
f256217d1b
Show domain setup to admins (#568)
Prompts admin users to setup domains on the identity creation
2023-05-07 23:06:10 -06:00
Andrew Godwin
b6d9f1dc95 Add search v1 emulation (for Sengi) 2023-05-06 09:30:21 -07:00
Andrew Godwin
930aab384e Debug, search fixes 2023-05-05 23:30:59 -07:00
Andrew Godwin
eeee385a61 Fix a few visual bugs 2023-05-05 23:04:20 -07:00
Christof Dorner
a4e6033a0b
Ignore unknown create/update types (#569) 2023-05-04 16:56:50 -06:00
Karthik Balakrishnan
dbc25f538d
Fix bug in middleware when domain config is None (#567) 2023-05-04 11:59:11 -06:00
Andrew Godwin
7862795993 A few small fixes post-UI merge 2023-05-04 11:50:31 -06:00
Michael Manfre
8ff6100e94
Django 4.2 with psycopg 3 (#555) 2023-05-03 23:49:17 -06:00
Andrew Godwin
709dc86162 Fixed #559: Trim hashtags to 100 chars or less 2023-05-03 23:12:28 -06:00
Andrew Godwin
8f57aa5f37
UI/Domains Refactor
Redoes the UI to remove timelines, promote domains, and a lot of other things to support the refactor.
2023-05-03 22:42:37 -06:00
Christof Dorner
7331591432
fix order of next/prev header links (#564) 2023-05-02 10:57:58 -06:00
Christof Dorner
ac54c7ff81
Fix post attachment author check on editing (#563) 2023-05-02 09:58:32 -06:00
Christof Dorner
5759e1d5c1
Expose Link header via CORS (#562) 2023-05-02 09:57:12 -06:00
Christof Dorner
7d1558a2ab
Support editing media description when editing statuses (#556) 2023-04-11 09:35:36 -06:00
Christof Dorner
b31c5156ff
Improve hashtag case handling and implement /api/v1/tags/<hashtag> endpoint (#554)
* Lowercase hashtag before loading its timeline

* Implement /api/v1/tags/<hashtag> endpoint

* Lower hashtag before un-/following

* Fix field name for hashtag following/followed boolean
2023-04-06 15:14:21 -06:00
Christof Dorner
216915ddb8
set post attachment type correctly for videos (#553) 2023-04-01 18:07:38 -06:00
Christof Dorner
96bc64fd01
Implement Mastodon's v1/statuses/<id>/reblogged_by API endpoint (#551) 2023-03-31 13:40:15 -06:00
Christof Dorner
ba4414dbce
fix /v1/statuses/<id>/favourited_by pagination header error (#550) 2023-03-23 19:09:03 -06:00
Christof Dorner
e45195bb02
Handle posts with only contentMap as post instead of interaction (#549) 2023-03-23 12:27:32 -06:00
Andrew Godwin
ea7d5f307c Allow single IDs in familiar_followers
Fixes #547
2023-03-22 16:21:30 -06:00
Andrew Godwin
1994671541 Correctly handle GTS mentions of same username
Fixes #546
2023-03-22 10:44:15 -06:00
Humberto Rocha
c702b1b24d
Always return voters_count (#543) 2023-03-15 18:46:12 -06:00
Christof Dorner
c94b54dde8
Add mention and hashtag classes to hashtag anchors (#542) 2023-03-15 13:49:23 -06:00
Andrew Godwin
74c4819ee2 Fix tuning EOF 2023-03-14 15:39:42 -06:00
Christof Dorner
79c1be03a6
Add ability to follow hashtags 2023-03-14 15:35:40 -06:00
Daniel Vydra
902891ff9e
Simple docs for setting up a sentry.io installation (#540) 2023-03-13 10:49:07 -06:00
Andrew Godwin
542678cab5 Fix author checks on post attachments
Fixes #538
2023-03-12 16:19:40 -06:00
Dan Watson
cedcc8fa7c
Bookmarks (#537) 2023-03-11 11:17:20 -07:00
Andrew Godwin
758e6633c4 Fix image proxy headers
Fixes #536
2023-03-11 11:06:44 -07:00
Dan Watson
61830a9a9c
Fix page ordering (#535) 2023-03-10 09:10:34 -07:00
Dan Watson
6e8149675c
Fix home timeline pagination 2023-03-09 19:46:57 -07:00
Dan Watson
3bd01b2b3d
Stub out more API, implement preferences and peers (#533) 2023-03-09 14:36:24 -07:00
Dan Watson
6f4abd5aae
Initial support for IceCubes (#532) 2023-03-09 10:47:33 -07:00
Christof Dorner
56da914340
Allow to set default reply visibility (#531) 2023-03-08 11:01:21 -07:00
Andrew Godwin
1b9cf24d09 Move back to canonicalising public as "as:Public" 2023-03-08 10:11:56 -07:00
Christof Dorner
85b4910829
Added admin notes field to domains (#530) 2023-03-06 16:37:05 -07:00
Andrew Godwin
5ea3d5d143 Implement a client_credentials process for read 2023-03-06 15:48:43 -07:00
Andrew Godwin
05992d6553 Fix linking to things without URL attrs 2023-03-05 11:40:50 -07:00
Andrew Godwin
afc94f6313 Add in_reply_to index 2023-03-05 10:34:58 -07:00
Andrew Godwin
bd6d1ae8de Fix fallback for instance API host
Fixes #522
2023-03-03 15:04:34 -07:00
Kelson Vibber
78eacf165e
Accept hs2019 in signatures (#529)
Fixes part of federation with GoToSocial - this is just a different name for the same algorithm.
2023-03-03 09:18:11 -07:00
Andrew Godwin
552a150e57 Stop over-recursion in post contexts 2023-03-02 10:28:27 -07:00
Andrew Godwin
6411a375ba Allow API access with cookies again 2023-03-02 10:22:37 -07:00
TAKAHASHI Shuuji
026e1be357
Put ALT badge on attached images with alt-text 2023-02-28 17:02:20 -07:00
Humberto Rocha
9e016aaa5f
Fix navigation menu in mobile (#525) 2023-02-26 00:10:54 -07:00
Humberto Rocha
d9cab99859
Fix not fetching images properlly when url is redirected (#526) 2023-02-26 00:07:25 -07:00