Commit Graph

46 Commits (e3508988283a0902a7e330995a0c224811956bce)

Author SHA1 Message Date
Haelwenn (lanodan) Monnier c4439c630f
Bump Copyright to 2021
4 years ago
lain 7a1cb752dd Pagination: Don't be dos'd by random parameters.
4 years ago
lain e1a547d7d3 ChatMessages: Fix pagination headers.
4 years ago
Maksim Pechnikov 9853c90abb added paginate links to headers for /chats/:id/messages
4 years ago
Alex Gleason 673e8e3ac1
Force 204 responses to be empty, fixes #2029
4 years ago
lain 1d625c29a0 ControllerHelper: Always return id field.
4 years ago
lain 4b865bba10 Apply suggestion to lib/pleroma/web/controller_helper.ex
4 years ago
lain 5e44e9d698 Apply suggestion to lib/pleroma/web/controller_helper.ex
4 years ago
lain 86fec45f40 ControllerHelper: Fix wrong comparison.
4 years ago
lain b4c50be9df Apply suggestion to lib/pleroma/web/controller_helper.ex
4 years ago
lain be7c322865 Apply suggestion to lib/pleroma/web/controller_helper.ex
4 years ago
lain c4f267b3be Apply suggestion to lib/pleroma/web/controller_helper.ex
4 years ago
lain 063e6b9841 StatusController: Correctly paginate favorites.
4 years ago
Egor Kislitsyn b02df1803e
Merge remote-tracking branch 'origin/develop' into activity-pub-use-atoms-as-keys
4 years ago
Haelwenn d74985af23 Merge branch 'features/apc2s-pagination' into 'develop'
4 years ago
Haelwenn 54bae06b4f Create Pleroma.Maps.put_if_present(map, key, value, value_fun // &{:ok, &1})
4 years ago
Egor Kislitsyn 317e2b8d61
Use atoms as keys in `ActivityPub.fetch_*` functions options
4 years ago
Haelwenn (lanodan) Monnier a43b435c0a
AP C2S: allow limit & order on outbox & read_inbox
4 years ago
Haelwenn (lanodan) Monnier b3b367b894
Bugfix: Reuse Controller.Helper pagination for APC2S
4 years ago
Ivan Tashkinov 8062d590dd [#2456] OpenAPI-related tweaks. Removed support for `with_relationships` param in `GET /api/v1/accounts/search`.
4 years ago
Ivan Tashkinov 59b6d5f2aa [#2456] Changed `embed_relationships` param to `with_relationships`.
4 years ago
Ivan Tashkinov 63a1a82f38 [#2456] Added support for `embed_relationships` param, nailed down endpoints which should support it. Fixed :source_mutes relationships subset fetching.
4 years ago
Ivan Tashkinov 14a49a0483 [#2456] Dropped support for embedded `pleroma/account/relationship` in statuses and notifications.
4 years ago
Ivan Tashkinov d5cdc907e3 Restricted embedding of relationships where applicable (statuses / notifications / accounts rendering).
4 years ago
Egor Kislitsyn 2efc00b3cf
Use `json_response_and_validate_schema/2` in tests to validate OpenAPI schema
4 years ago
Ivan Tashkinov 2f2bd7fe72 Ability to control the output of account/pleroma/relationship in statuses in order to improve the rendering performance.
5 years ago
lain 3bd2829e5c Benchmarks: Add timeline benchmark
5 years ago
Alexander Strizhakov 26e2076659
fix for feed page pagination
5 years ago
Haelwenn (lanodan) Monnier 6da6540036
Bump copyright years of files changed after 2020-01-07
5 years ago
Maksim Pechnikov b53573a837 add tag feeds
5 years ago
Egor Kislitsyn 36a34c36fe
Extract poll actions from `MastodonAPIController` to `PollController`
5 years ago
Egor Kislitsyn 3c5ecb70b4
Add PleromaAPI.AccountController
5 years ago
Egor Kislitsyn 3572cf29b7 Extract timeline actions from `MastodonAPIController` into `TimelineController`
5 years ago
Egor Kislitsyn 40b3289c26 Refactor `add_link_headers/7` -> `add_link_headers/3`
5 years ago
lain eee98aaa73 Pleroma API: Add endpoint to get conversation statuses.
5 years ago
Maksim ee4ed87fb4 [#948] /api/v1/account_search added optional parameters (limit, offset, following)
5 years ago
Maksim 799e1f48b5 Refactoring functions for dealing with oauth scopes.
5 years ago
Ivan Tashkinov 6910fb371b Fixed local MastoFE authentication / `force_login` option.
6 years ago
Ivan Tashkinov cbe09d94d1 Added `force_login` authentication option (previously applied by default).
6 years ago
Haelwenn (lanodan) Monnier c42d34b2ec
[Credo] fix Credo.Check.Readability.MaxLineLength
6 years ago
Ivan Tashkinov dcf24a3233 [#468] Refactored OAuth scopes' defaults & missing selection handling.
6 years ago
Ivan Tashkinov 2a4a4f3342 [#468] Defined OAuth restrictions for all applicable routes.
6 years ago
Ivan Tashkinov 027adbc9e5 [#468] Refactored OAuth scopes parsing / defaults handling.
6 years ago
William Pitcock 980b5288ed update copyright years to 2019
6 years ago
William Pitcock 2791ce9a1f add license boilerplate to pleroma core
6 years ago
Ivan Tashkinov 7b19487389 [#394] Added `users.tags` and admin routes to tag and untag users. Added tests.
6 years ago