William Pitcock
f7e15d3257
tests: fix a lot of the remaining test failures
6 years ago
William Pitcock
e8570758f9
twitterapi: fix remaining test failures
6 years ago
lambda
88b05aeabb
Merge branch 'fix/parse-user-bio' into 'develop'
...
Parse user's bio on register
See merge request pleroma/pleroma!492
6 years ago
Maxim Filippov
8148943368
Format files
6 years ago
Maxim Filippov
ce98d5eb9b
Parse user's bio on register
6 years ago
lain
8c9a4e8b40
TwitterAPI: Implement hide_network.
6 years ago
lain
91065e1968
Fix background updating / handling.
6 years ago
lain
f18b86fd5f
More fixes for Info schema.
6 years ago
lain
93f2dc19d9
TwitterAPI: Fix banner and background update.
6 years ago
lain
48b95a9b95
Assorted fixes.
6 years ago
lain
d407f662af
Fix TwitterApiController.
6 years ago
lain
a6812bc9df
Remove "most recent notification" endpoint.
6 years ago
lain
6ac5d48575
More fixes
6 years ago
lain
fbb70d25fe
Several twitter api fixes.
6 years ago
lain
f87b315618
TwitterAPI: Fix dm_timeline displaying only half of the conversation.
6 years ago
lain
27aa136aac
Format.
6 years ago
lain
7b170cd616
Add Pleroma user search api for PleromaFE.
6 years ago
lain
ea9a776d7b
TwitterApi: Add direct message endpoint
6 years ago
scarlett
db78c72868
Twitter API: Add tests for nil names.
6 years ago
William Pitcock
719a8a1f82
tests: flip testing to/cc for mentions
6 years ago
William Pitcock
d675b8a16f
tests: add tests for twitterapi endpoint
6 years ago
href
013f7ba8c1
Add federating plug & public tests
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
Haelwenn (lanodan) Monnier
a74daabfae
[Pleroma.Web.TwitterAPI.UserViewTest]: Add test for mastodon-fields
6 years ago
Haelwenn (lanodan) Monnier
82b57ebad1
[Pleroma.Web.TwitterAPI.UserView]: Add mastodon-fields in "fields"
6 years ago
William Pitcock
56577d8b48
twitter api: add no_rich_text option to userview for account prefs
6 years ago
kaniini
b7923aa304
Merge branch 'hotfix_broken_likes' into 'develop'
...
hotfix for broken like completely breaking the notifications API
See merge request pleroma/pleroma!284
6 years ago
William Pitcock
834515fb51
formatter: don't add XSS emoji
6 years ago
Henry Jameson
0f1c629d65
better solution, added test.
6 years ago
kaniini
0f5bff8c66
Merge branch 'develop' into 'feature/relay'
...
# Conflicts:
# lib/pleroma/web/activity_pub/utils.ex
6 years ago
William Pitcock
aab2bdddf4
twitter api: provide object descriptions as attachment description field
6 years ago
ensra
e883587cc3
this should be looking at the follower's bio, not the user's bio.
...
fixes test.
6 years ago
ensra
f533daffdb
sync bio sanitization code in tests
6 years ago
lambda
13440a80e1
Merge branch 'feature/invites' into 'develop'
...
Invites
Closes #108
See merge request pleroma/pleroma!208
6 years ago
eal
ed9738e031
Add tests for emoji in user profiles
...
Also use the correct field in TwitterAPI...
6 years ago
eal
cee63ad3f7
TwitterAPI user view: add screen_name_html and description_html.
6 years ago
William Pitcock
3026177206
test: use private visibility for twitterapi update consistency test, to ensure that a second activity isn't relayed
6 years ago
William Pitcock
4fb64c1d86
testsuite: twitter api: add summary where necessary
6 years ago
lambda
fe4387077a
Merge branch 'feature/default-scope' into 'develop'
...
default scope setting
See merge request pleroma/pleroma!239
6 years ago
William Pitcock
66819ea784
twitter api: use ActivityView.render_content() where appropriate instead of duplicating the logic
6 years ago
William Pitcock
32211c4ada
tests: add default_scope where appropriate
6 years ago
Vivian Lim
6160a1b3c0
mix format
6 years ago
Vivian Lim
1299bccc7d
return unquoted empty array from /api/qvitter/mutes.json
6 years ago
Vivian Lim
6316003946
fixes- found that TwitterAPI.Controller adds .json suffix already
6 years ago
lambda
8c7fdcb31b
Merge branch 'feature/twitterapi-unrepeat' into 'develop'
...
Add TwitterAPI unretweet endpoint and cleanup AP.unannounce
See merge request pleroma/pleroma!218
6 years ago
Francis Dinh
fc15f30a3c
fixup test
6 years ago
Francis Dinh
1555c66650
Add unretweet TwAPI endpoint and cleanup AP.unannounce
6 years ago
Henry Jameson
9c1cf1befb
formatting
6 years ago
Henry Jameson
f42ffbe9a8
Initial invites support + tests.
6 years ago
William Pitcock
c773f42ca4
tests: update twitterapi user view tests for new locked variable
6 years ago
William Pitcock
f8e0942745
twitter api: add approve/deny endpoints
6 years ago
William Pitcock
d116af3bee
tests: add tests for /api/pleroma/friend_requests
6 years ago
William Pitcock
993312cdb3
twitterapi: add profile setting for locked/unlocked accounts
6 years ago
lain
0f70e83e8c
Better error handling in TwitterApiController.
6 years ago
eal
935e544e19
TwitterAPI: fix "Follows you" being shown for the wrong user.
6 years ago
William Pitcock
f569b67cda
tests: update for html changes
6 years ago
lambda
c2dcd767cf
Merge branch 'feature/incoming-remote-unfollow' into 'develop'
...
Add support for incoming remote unfollows and blocks/unblocks
See merge request pleroma/pleroma!158
6 years ago
lambda
c41012053a
Merge branch 'feature/change-password' into 'develop'
...
Feature/change password
See merge request pleroma/pleroma!166
6 years ago
Francis Dinh
72b93d13f8
Hook up block/unblock to TwitterAPI
6 years ago
Syldexia
d0690622cd
Added endpoint for changing passwords
6 years ago
Thog
e55c6f311b
Migrate to comeonin 4 and Cachex 3
...
Also fix some warning in the code and add a missing alias
6 years ago
lain
413de8e4bc
More fixes.
6 years ago
lain
ff007af0c2
Return visilility in twitter api, too.
6 years ago
Syldexia
d1366f8d46
Modified deleting an account to run as a task
6 years ago
Syldexia
5bfb7b4ce6
Moved account deletion stuff to somewhere that hopefully makes more sense
6 years ago
Syldexia
a16117225f
Added endpoint for user account deletion
6 years ago
Pierrick Brun
89603eda9e
do not create notification for yourself
6 years ago
lain
bc215f5684
Fix format.
7 years ago
Wim Vanderbauwhede
6908f29e0a
Added a test (written by @andrewzah) for the MR
7 years ago
lain
a61e8ac154
Formatting.
7 years ago
eal
fa37acfcc7
TwitterAPI: Add Qvitter notification endpoint.
7 years ago
lain
b3b7ab5d9a
Load all users at once in timelines.
7 years ago
lain
360c51f1f5
Use context_ids directly if we have them.
7 years ago
lain
a4db3a732f
Pre-fetch conversation ids.
7 years ago
lain
1b57522bba
Fix some test stuff.
7 years ago
lain
802736679c
Remove unused ActivityRepresenter module.
7 years ago
lain
e90f8f6c4b
TwApi ActivityView: Add delete activities.
7 years ago
lain
1f32ba052c
TwApi ActivityView: Add follows.
7 years ago
lain
4afbef39f4
Format the code.
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
lain
e30752bc79
Add basic activity view.
7 years ago
Francis Dinh
9556c8f6e7
Forgot to fix one of the links in a test
7 years ago
Francis Dinh
5ba2f4b6d8
Update tests to reflect hashtag link changes
7 years ago
lain
eb7ce61ca5
Fix hashtags.
7 years ago
lain
8a47974217
Fix specs.
7 years ago
lain
4ea2a41014
Fix more specs.
7 years ago
lain
94db9ac4db
Merge branch 'develop' into feature/activitypub
7 years ago
lain
5bc810c452
Add moderator function.
7 years ago
lain
b331cb449a
Merge branch 'develop' into feature/activitypub
7 years ago
lain
26ccb768d3
Make test output easier to read.
7 years ago
lain
33a5d0a238
Fix some test warnings.
7 years ago
lain
ce31f3a922
Twitter Representers: Handle Mastodon attachments.
7 years ago
lambda
61c16193de
Merge branch 'move-backend-images' into 'develop'
...
Move avi.png & banner.png from /priv/static/static to /priv/static/images
See merge request pleroma/pleroma!60
7 years ago
Hakaba Hitoyo
ea6d1b2b17
move avi.png & banner.png from /priv/static/static to /priv/static/images
7 years ago
eal
ab83e0de6d
TwitterAPI: Add is_local to user view.
7 years ago
eal
b3e7d7ae6d
Fetch external profile in the background.
7 years ago
eal
14b086eec2
Add a default profile picture and banner.
...
This removes the placehold.it dependency.
7 years ago
eal
1969773fb4
Fix follower/following lists.
...
Add tests.
7 years ago
eal
9223038319
Fix some more tests.
7 years ago
eal
79b3397c17
Fix tests.
7 years ago
Lain Iwakura
e7c2472abd
Fix tests.
7 years ago
eal
3d29fc5462
Make /api/friends/ids test deterministic.
7 years ago
Roger Braun
747a68a075
Treat internal emoji like external.
7 years ago
eal
edc3e5bc30
Make users in tests follow themselves by default.
...
Also fix the semantics of all tests to match.
7 years ago
Roger Braun
40ca379357
Fix flakey test.
7 years ago
eal
fb118b2978
Don't insert newlines to generated HTML.
...
MastoFE doesn't like them.
7 years ago
eal
66e78c3ec4
Escape HTML instead of discarding it.
7 years ago
lambda
1cca544e20
Merge branch 'twitterapi-bitlbee' into 'develop'
...
TwitterAPI: Add missing endpoints for bitlbee.
Closes #67
See merge request pleroma/pleroma!18
7 years ago
eal
f9828e578c
TwitterAPI: Add /users/show.
7 years ago
eal
3533bf7eac
TwitterAPI: Add /friends/ids.
7 years ago
eal
f7fc048aeb
TwitterAPI user view: add follows_you.
7 years ago
eal
4656cb9b99
TwitterAPI user view: add blocks.
7 years ago
eal
6c0758e041
TwitterAPI: Add blocks.
7 years ago
eal
f85566324e
Allow profile fetching for authenticated users only.
7 years ago
Roger Braun
0c871e5c6e
Fix specs.
7 years ago
Roger Braun
04217f52c9
TwitterAPI: Display cws.
7 years ago
Roger Braun
6d5bd4dcc0
TwitterAPI: Use correct endpoint for tag timeline.
7 years ago
Roger Braun
255a681782
TwitterAPI: Add tag timeline.
7 years ago
Roger Braun
959e993c7d
Apply incoming custom emoji.
7 years ago
Roger Braun
5d1f8dcd1c
TwitterAPI: Add search.
7 years ago
Roger Braun
50409326a8
Refactor posting and make character limit configurable.
7 years ago
Roger Braun
d625d8db7d
Add unfav to Mastodon API.
7 years ago
Roger Braun
454dc18570
Add favoriting to Mastodon API.
7 years ago
Roger Braun
66e4c710d4
Add reblogging to MastodonAPI.
7 years ago
Roger Braun
d1c10ad2fb
Fix specs.
7 years ago
Roger Braun
fcf3128a56
Add TwAPI representer for deletes.
7 years ago
Roger Braun
4b03c43fd7
fix specs.
7 years ago
Roger Braun
5142a8efbb
Add profile update.
7 years ago
Roger Braun
171ef33cbb
More sensible attachment names.
7 years ago
Roger Braun
67bfa19b35
Set twitter-style possibly_sensitive boolena.
7 years ago
Roger Braun
5dc278b1a6
Add activity_type to twitter api output.
7 years ago
Roger Braun
7d34cec58d
escape attachment urls on creation.
7 years ago
Roger Braun
00b722430f
Revert "Close br tags."
...
This reverts commit 2eba8e74cc
.
7 years ago
Roger Braun
19e8421947
Revert "Wrap in <p>."
...
This reverts commit c81d0b6f89
.
7 years ago
Roger Braun
3063e3b440
Revert "Remove newlines completely so mastodon doesn't bug out."
...
This reverts commit 0ca3ab7b59
.
7 years ago
Roger Braun
0ca3ab7b59
Remove newlines completely so mastodon doesn't bug out.
7 years ago
Roger Braun
c81d0b6f89
Wrap in <p>.
7 years ago
Roger Braun
2eba8e74cc
Close br tags.
7 years ago
Roger Braun
72ca58c540
Save follower count and note count in user.
7 years ago
Roger Braun
a027b0027c
Add friends endpoint.
7 years ago
Roger Braun
94a394e3a8
Add followers endpoint.
7 years ago
Roger Braun
140f72725d
Use follower address in user entry.
7 years ago
Roger Braun
7e9647b146
Fix undo activity.
7 years ago
Roger Braun
e343c0c9c4
Add way to update most recent notification id.
7 years ago
Roger Braun
201804b836
Only return posts in TwAPI conversations.
7 years ago
Roger Braun
d4de38e8ff
Order conversation fetches like GS does.
7 years ago
Roger Braun
1c074efeaf
Add external links to twapi.
7 years ago
dtluna
069daf644d
Replace UserRepresenter with UserView
7 years ago
Roger Braun
fa82822932
Revert "Add invisible tags to TwAPI output."
...
This reverts commit a92a9dce94
.
7 years ago
Roger Braun
d00571ff75
Fetch user feed on externalprofile request.
...
This is so we always have something to show.
7 years ago
Roger Braun
fafb765c48
Output tags list in TwAPI.
7 years ago
Roger Braun
8feec8d390
Strip unsafe html on output in TwAPI.
7 years ago
Roger Braun
7b41e103e1
Remove html from user bios on display.
...
This is mainly to fix problems of bios coming from mastodong.
7 years ago
Roger Braun
83c657afa5
Do some basic escaping.
7 years ago
Roger Braun
1af9c77736
Move mention parsing to Formatter module.
7 years ago
Roger Braun
eb18b9ebba
Enable user timelines.
7 years ago
Roger Braun
00c032783d
Fix NaN statuses per day.
7 years ago
Roger Braun
c6aa60c829
Shorten names in links.
7 years ago
Roger Braun
48f9df2391
Keep newlines around.
7 years ago
Roger Braun
a92a9dce94
Add invisible tags to TwAPI output.
7 years ago
Roger Braun
0da6ade619
Save tags in object.
7 years ago
Roger Braun
9033bfffd2
Twitter API refactoring.
7 years ago
Roger Braun
423194520e
Fix mention replacing.
7 years ago
Roger Braun
36448d6483
Add externalprofile to TwAPI.
7 years ago
Roger Braun
1418d72749
Add class=attachment to attachment links.
7 years ago
Roger Braun
7303786160
Add some twapi fixes.
8 years ago
Roger Braun
b403ea4d2b
Merge branch 'develop' into dtluna/pleroma-feature/unfollow-activity
8 years ago
Roger Braun
95ab0dc3c5
Add conversation ids to twapi announce representer.
8 years ago
Roger Braun
33c803d6da
Add attachment link to posts.
8 years ago
Roger Braun
16f8406eb6
Add statusnet_profile_url to the TwAPI.
8 years ago
Roger Braun
32a95d73da
Add twkn timeline.
8 years ago
Roger Braun
56bacc90d1
Fix specs, add local marker to actitivies.
8 years ago
Roger Braun
09f7ed4214
Don't set statusnetConversationIds on replies anymore.
8 years ago
Roger Braun
009fcd2acf
Stop adding statusnetConversationIds.
8 years ago
Roger Braun
4c8111c334
Use conversation mapping objects to get / retrieve context from TwAPI.
8 years ago
Roger Braun
22e936372e
Fix retweet spec.
8 years ago
dtluna
42105497ca
Merge branch 'bugfix/deny-empty-posts' of ssh.gitgud.io:dtluna/pleroma into bugfix/deny-self-repeats
8 years ago
dtluna
5b6070ec40
Deny whitespace statuses
8 years ago
dtluna
f723b23691
Add error response to self-repeats
8 years ago
dtluna
6b6bc9435c
Merge branch 'bugfix/deny-empty-posts' of ssh.gitgud.io:dtluna/pleroma into bugfix/deny-self-repeats
8 years ago
dtluna
1e3791877c
Add error response on empty status
8 years ago
dtluna
a9b3f99d48
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/follow-unfollow-by-screen-name
8 years ago
Roger Braun
1e88f102c4
Fix specs, add some user info.
8 years ago
dtluna
3a56d7318f
Add statuses/mentions endpoint
8 years ago
dtluna
01901d9835
Merge branch 'feature/unfollow-by-screen-name' of ssh.gitgud.io:dtluna/pleroma into feature/follow-unfollow-by-screen-name
8 years ago
dtluna
d952b6cd7b
Merge branch 'feature/follow-by-screen-name' of ssh.gitgud.io:dtluna/pleroma into feature/follow-unfollow-by-screen-name
8 years ago
lambadalambda
eda742c78b
Merge branch 'feature/user-timeline' into 'develop'
...
Feature/user timeline
See merge request !8
8 years ago
dtluna
470f5f7cd6
Add user timeline spec test
8 years ago
lambadalambda
ac9817bdb0
Merge branch 'bugfix/repeated-follow-unfollow' into 'develop'
...
Add error messages for repeated follows and unfollows
See merge request !7
8 years ago
Roger Braun
6a0e69a8a3
Fix syntax error.
8 years ago
Roger Braun
a185ea63af
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into develop
8 years ago
Roger Braun
6bfd521974
Switch cache implementation for size limiting.
8 years ago
dtluna
369be708b2
Remove unnecesary queries
8 years ago
dtluna
f6e632d25b
Remove unnecesary asserts
8 years ago
dtluna
ef5033d7a7
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into bugfix/repeated-follow-unfollow
8 years ago
dtluna
f6547f7b7f
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/unfollow-by-screen-name
8 years ago
dtluna
82914e1e4d
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/follow-by-screen-name
8 years ago
dtluna
85bd480be3
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/help-test
8 years ago
dtluna
5229b01944
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/user-timeline
8 years ago
Roger Braun
eb9358c8d6
Add basic Avatar updating code.
8 years ago
dtluna
63f04b314d
Fix typo
8 years ago
dtluna
4b4ece2c74
Add user timeline fetching without credentials
8 years ago
Roger Braun
03a9c11d25
Display the users avatar if he has one set.
8 years ago
Roger Braun
d7e3b72c6a
Add avatar objects to user, fix specs.
8 years ago
dtluna
7a0046d127
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/user-timeline
8 years ago
dtluna
9a8c348aed
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/unfollow-by-screen-name
8 years ago
dtluna
ce1eef9c98
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/help-test
8 years ago
Roger Braun
b41f3eff84
Preserve newlines in messages.
8 years ago
Roger Braun
5dac3727f1
Add registration to the TwAPI controller.
8 years ago
Roger Braun
b1edd94baa
Add user registration to TwAPI.
8 years ago
Roger Braun
4799dc6991
Add retweeting to TwAPI controller.
8 years ago
Roger Braun
60c60de330
Add announcements / retweets to TwAPI.
8 years ago
Roger Braun
7a47afed3c
Update object correctly after setting context.
8 years ago
Roger Braun
c83f279a7d
Add unliking to TwAPI controller.
8 years ago
Roger Braun
f4eea0847b
Add unfavoriting to TwAPI.
8 years ago
Roger Braun
03ddaead7e
Add basic user caching.
...
Expires after 5 seconds.
8 years ago
dtluna
18cd04ade5
Add user timeline
8 years ago
Roger Braun
fa0c279139
Favorite changes.
...
- Add 'likes' to activity, collection of ids of people who liked it.
- show if you favorited something or not.
- Don't allow double favorites
- Address favorites to the followers of the liked activity's author.
8 years ago
Roger Braun
5cb446a148
Add favoriting to TwAPI controller.
8 years ago
Roger Braun
d0da40dc81
Display like activities.
8 years ago
Roger Braun
653d605e14
Add favoriting to twitter api.
8 years ago
Roger Braun
1ccbe562c9
Add actor to objects.
8 years ago
dtluna
a8e50d602b
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into bugfix/repeated-follow-unfollow
8 years ago
dtluna
3ff917b5dd
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/follow-by-screen-name
8 years ago
dtluna
84c2012810
Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/help-test
8 years ago
Roger Braun
d2bf099ae6
Fix twitter api date.
8 years ago
Roger Braun
1b086834bd
Don't return html in the text field.
8 years ago
Roger Braun
6a179a44be
Test friends timeline more thoroughly.
8 years ago
Roger Braun
8eea09889b
Return directly addressed activities in friends timeline.
8 years ago
Roger Braun
15655d992e
Fix user representation after following.
8 years ago
dtluna
65ef18a715
Add error messages for repeated follows and unfollows
8 years ago
dtluna
c0e5b3459f
Add unfollowing using screen_name parameter
8 years ago
dtluna
896e40cd2b
Add following using screen_name parameter
8 years ago
dtluna
59a406d94c
Add test for help/test resource
8 years ago
dtluna
8075badafe
Add Follow activity insertion
8 years ago
Roger Braun
a83fa053de
Parse mentions, save them, output them in TwAPI.
8 years ago
Roger Braun
2e89d505d3
Connect attachments with objects, not activities.
8 years ago
Roger Braun
73df2f8e5e
Add attachments to the TwAPI.
8 years ago
Roger Braun
42c90855ba
Basic ObjectRepresenter.
8 years ago
Roger Braun
e7dc39e40c
Basic file uploading via TwAPI.
8 years ago
Roger Braun
d2cdcc097b
Add conversation fetching to TwAPI controller.
8 years ago
Roger Braun
0dd3373304
Return statusnet_conversation_id in TwAPI.
8 years ago
Roger Braun
e25aea3fa7
Add conversation id to activities.
...
This is for compatibility with the TwAPI.
8 years ago
Roger Braun
bb07efdaab
Fix spec.
8 years ago
Roger Braun
e4de0ddc77
Add single status fetching to TwAPI.
8 years ago
Roger Braun
ae50b165cc
Add inReplyToStatus to TwAPI.
8 years ago
Roger Braun
e56dba1563
Add context and inReplyTo.
8 years ago