Ivan Tashkinov
daff85a985
[ #878 ] Refactored assumptions on embedded object presence in tests. Adjusted note factory to not embed object into activity.
5 years ago
Francis Dinh
2a54e8c1f5
Use "repeated" instead of "retweeted" for repeated statuses in Twitter API
...
This makes it consistent with the language used in Pleroma FE (at least
in English).
Resolves https://git.pleroma.social/pleroma/pleroma-fe/issues/533
5 years ago
Haelwenn (lanodan) Monnier
85b5c60694
Pleroma.Formatter: width/height to class=emoji
5 years ago
Sachin Joshi
963d5774af
fix the status notification with special char
5 years ago
Ekaterina Vaartis
aef3a3ca46
Fix tests that used finmoji
6 years ago
rinpatch
e7c3c36766
Update functions in object fetcher for tesla and set up a proper mock for tests
6 years ago
rinpatch
627e5a0a49
Merge branch 'develop' into feature/database-compaction
6 years ago
Egor Kislitsyn
11c2d6bdc4
change `Repo.get(Activity, id)` => `Activity.get_by_id(id)` in tests
6 years ago
William Pitcock
a223e65f35
tests: fixup
6 years ago
William Pitcock
fea3696799
common api: move context functions from twitterapi
6 years ago
Fong-Wan Chau
4ed2618f6c
Allow 'rel' attribute on `<a>` link with specific values (for hashtag recognition).
6 years ago
Haelwenn (lanodan) Monnier
a3a9cec483
[Credo] fix Credo.Check.Readability.AliasOrder
6 years ago
lain
9ade1242c2
Add user muted status info to twitterapi.
6 years ago
William Pitcock
020b3b29d9
test: update twitterapi tests
6 years ago
Haelwenn (lanodan) Monnier
98c8184c1f
Activity: get_create_activity_by_object_ap_id/1 → get_create_by_object_ap_id/1
6 years ago
William Pitcock
85a5be6220
tests: fixup
6 years ago
kaniini
7f5efddd6e
Merge branch 'feature/pinned-posts' into 'develop'
...
Pinned Statuses
Closes #440
See merge request pleroma/pleroma!636
6 years ago
lambda
1881680e28
Merge branch 'scarlett/pleroma-summary-html-api' into 'develop'
...
Scarlett/pleroma summary html api
See merge request pleroma/pleroma!647
6 years ago
Egor Kislitsyn
44a1e69484
Add Twitter API for the pinned statuses
...
```
# Only return statuses that have been pinned
GET /api/statuses/user_timeline.json?pinned=true
# Pin
POST /api/statuses/pin/:id
# Unpin
POST /api/statuses/unpin/:id
```
6 years ago
lain
a16b17cc61
Actually put some onformation in the error user, make it actually properly parse
...
in conversations.
6 years ago
lain
7382adf407
Make TwAPI UserView more resilient to issues.
...
Will work for missing users and badly migrated users.
6 years ago
scarlett
52493467ac
Twitter API: Add a summary_html field.
...
The intention here is to allow proper subject copying when it contains
emoji, obviously this will require minor frontend changes, though.
6 years ago
scarlett
57df7d6e1d
Add tests for emoji and lack of HTML in summaries.
6 years ago
scarlett
096e121879
Remove redundant comma.
6 years ago
scarlett
6556be344d
Resolve some test failures.
6 years ago
William Pitcock
3c08d229db
tests: add legal boilerplate
6 years ago
William Pitcock
a2bceaf688
tests: twitter api: add test proving that peertube videos are correctly handled
6 years ago
William Pitcock
873938d223
tests: twitter api: activity view test: enable tesla mock
6 years ago
Maksim Pechnikov
92a5133c42
fix text field
6 years ago
eal
61ad2ce422
TwitterAPI: Include favorited post in json
6 years ago
Vald
3c8ffe7ed3
resolved activity view test
6 years ago
William Pitcock
f7e15d3257
tests: fix a lot of the remaining test failures
6 years ago
William Pitcock
6cfba7db8d
tests: twitterapi: add additional fields
6 years ago
William Pitcock
9563f3766d
tests: update for new in_reply_to_screen_name field
6 years ago
Henry Jameson
0f1c629d65
better solution, added test.
6 years ago
William Pitcock
4fb64c1d86
testsuite: twitter api: add summary where necessary
6 years ago
lain
ff007af0c2
Return visilility in twitter api, too.
6 years ago
lain
b3b7ab5d9a
Load all users at once in timelines.
7 years ago
lain
a4db3a732f
Pre-fetch conversation ids.
7 years ago
lain
e90f8f6c4b
TwApi ActivityView: Add delete activities.
7 years ago
lain
1f32ba052c
TwApi ActivityView: Add follows.
7 years ago
lain
c1d529ee94
TwApi ActivityView: Add announces.
7 years ago
lain
1f1caab138
TwApi ActivityView: Add Like rendering.
7 years ago
lain
361016349f
Add ActivityViewTest.
7 years ago