Maksim
c2e2aadc42
#1110 fixed /api/pleroma/healthcheck
5 years ago
Eugenij
4bf2bb9cff
Fix password reset for non-test env
Fixes `Plug.Conn.NotSentError` that causes a 5xx error in response
instead of 404 and 400.
Fixes pattern matching error caused by different response format
in test and non-test env: `Pleroma.Emails.Mailer.deliver_async` returns
:ok when PleromaJobQueue is enabled and `{:ok, _}` when it's disabled.
In tests, it's disabled.
5 years ago
Alexander Strizhakov
10f82c88b8
mastoapi password reset
added rate limit to password reset
configure rate limit in runtime
5 years ago
Alexander Strizhakov
e7c39b7ac8
Feature/1072 muting notifications
5 years ago
feld
93a0eeab16
Add license/copyright to all project files
5 years ago
Ivan Tashkinov
daff85a985
[ #878 ] Refactored assumptions on embedded object presence in tests. Adjusted note factory to not embed object into activity.
5 years ago
Maksim
a0c4ebb4d7
[ #184 ] small refactoring reset password
5 years ago
lain
8b9a0dd4a7
User: Don't error out when following a user that's already followed.
This leads to a few situations where it is impossible to follow a user.
5 years ago
Maksim Pechnikov
64ada7f960
fix tests
5 years ago
Maksim Pechnikov
f13d6c7f78
update api to set skip_thread_containment
5 years ago
Egor Kislitsyn
99f70c7e20
Use Pleroma.Config everywhere
5 years ago
William Pitcock
45e4642a58
tests: chase remote/local removal
5 years ago
William Pitcock
59a703fcbe
twitter api: user view: expose user notification settings under pleroma object
5 years ago
William Pitcock
1542cccbbc
tests: chase notification setting changes
5 years ago
Sachin Joshi
17bfd000d7
Ability to reset avatar, profile banner and backgroud
5 years ago
Sachin Joshi
ee22fff5ac
remove deprecated PleromaFE configuration
5 years ago
Alexander Strizhakov
a2be420f94
differences_in_mastoapi_responses.md: fullname & bio are optionnal
[ci skip]
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
2f76a40d02
formatter.ex: Add get_emoji_map/1
5 years ago
Haelwenn (lanodan) Monnier
85b5c60694
Pleroma.Formatter: width/height to class=emoji
5 years ago
rinpatch
61ca2f7a4e
Fix `rights` in TwitterAPI's user entity being present only for
Admins/Moderators
In !1093 I reused `maybe_with_role` for `rights` object, however I
missed that `maybe_with_role` is called only for admins/moderators.
5 years ago
rinpatch
4baea6e6d9
Fix leaking private configuration parameters in Mastodon and Twitter APIs, and add new configuration parameters to Mastodon API
This patch:
- Fixes `rights` in twitterapi ignoring `show_role`
- Fixes exposing default scope of the user to anyone in Mastodon API
- Extends Mastodon API to be able to show and set `no_rich_text`, `default_scope`, `hide_follows`, `hide_followers`, `hide_favorites` (requested by the FE in #674 )
Sorry in advance for 500 line one commit diff, I should have split it up to separate MRs
5 years ago
Sachin Joshi
963d5774af
fix the status notification with special char
5 years ago
Egor
b9cdf6d3b9
Use `User.get_cached*` everywhere
5 years ago
Alexander Strizhakov
88f0be9693
Feature/826 healthcheck endpoint
5 years ago
Ekaterina Vaartis
aef3a3ca46
Fix tests that used finmoji
5 years ago
rinpatch
e7c3c36766
Update functions in object fetcher for tesla and set up a proper mock for tests
5 years ago
Normandy
d4a749cfb2
Handle new-style mastodon follow lists
Fixes https://git.pleroma.social/pleroma/pleroma/issues/814
5 years ago
rinpatch
5d73dca064
Remove inReplyToStatusId
5 years ago
Alex S
c5d0fffeaf
naming fix
5 years ago
Egor Kislitsyn
d0304b4f92
more tests
5 years ago
Alex S
fe13a1d78c
adding notify_email setting for trigger emails
5 years ago
Haelwenn (lanodan) Monnier
9c1b36856b
s/Pleroma.UserEmail/Pleroma.Emails.UserEmail/
5 years ago
rinpatch
b57b43027c
Change response format of /api/pleroma/emoji to the one that actually makes sense
5 years ago
Alex S
fee50636d0
removing not needed invite update
5 years ago
Alex S
012bb5dcc9
renaming expire_at -> expires_at
keyword style change
5 years ago
Alex S
47b07cec49
token -> invite renaming
5 years ago
Alex S
be54e40890
twitter api registration
fix for twitter api tests
5 years ago
Sadposter
9ca91cbb87
Change relationship direction of subscriptions
5 years ago
Sadposter
73afd13c21
Add subscription key to one test I forgot about
5 years ago
Sadposter
06cd547fc6
Format subscriptions related stuff
5 years ago
Sadposter
d56866c824
Add subscribed status to user view
Added in pleroma extensions, but can be moved whenever
5 years ago
Egor Kislitsyn
20c619f85f
replace `Repo.get_by(User, nickname: nickname)` with `User.get_by_nickname(nickname)` in tests
5 years ago
Egor Kislitsyn
9a59c26619
replace `Repo.get_by(User, ap_id: ap_id)` with `User.get_by_ap_id(ap_id)`
5 years ago
Egor Kislitsyn
11c2d6bdc4
change `Repo.get(Activity, id)` => `Activity.get_by_id(id)` in tests
5 years ago
Egor Kislitsyn
1b3d921921
change `Repo.get(User, id)` => `User.get_by_id(id)`
5 years ago
Sachin Joshi
6386c1c9c1
fetch url for OStatus to know if it is a/c or status
5 years ago
Sachin Joshi
1d01e8e656
[OStatus] adds status to pleroma instance if the url given is a status
5 years ago
Alex S
3601f03147
Adding tag to emoji ets table
changes in apis
5 years ago
eugenijm
cd90695a34
Add PUT /api/pleroma/notification_settings endpoint
5 years ago