Commit graph

39 commits

Author SHA1 Message Date
11b4490908
Merge remote-tracking branch 'upstream/develop' into bnakkoma 2025-11-28 02:12:29 +09:00
Oneric
521dfa4670 Use keyed lists for pagination with foreign id
The old approach required adding a special virtual field
to any table potentially needing such foreign-id pagination and
also still required manually sorting according to pagiantion settings
since the pagination helper does not know whether
this virtual field was set or not.

Using lists with each entry containing the pagination id and the actual
entry insterad allows any table to use this mechanism unchanged and
does not require manually sorting.

Since it was unused, this also drops the pagination mode paramter from
fetch_favourited_with_fav_id.

Furthermore, as a side effect of this change a bug in the favourite
benchmark is fixed. It used to incorrectly attempt to use IDs of
the liked objects for pagination instead of the like IDs as advertised
in Link headers.
2025-10-09 00:00:00 +00:00
aba4e6ea60 Replace map |> join with map_join 2023-08-06 22:17:17 +09:00
Alex Gleason
185d70ed3d Benchmarks: fix user timeline and tags benchmarks 2021-12-12 17:35:02 +00:00
Alex Gleason
2ac3d341b0 Fix benchmarks 2021-12-12 17:35:02 +00:00
Alex Gleason
51a9f97e87
Deprecate Pleroma.Web.base_url/0
Use Pleroma.Web.Endpoint.url/0 directly instead. Reduces compiler cycles.
2021-05-31 16:48:03 -05:00
Alexander Strizhakov
875fbaae35
support for expires_in/expires_at in filters 2021-01-26 08:27:45 +03:00
Lain Soykaf
39f3683a06 Pbkdf2: Use it everywhere. 2021-01-14 15:06:16 +01:00
lain
9106048c61 Password: Replace Pbkdf2 with Password. 2021-01-13 15:11:11 +01:00
Egor Kislitsyn
35ba48494f
Stream follow updates 2020-12-02 00:18:58 +04:00
Alexander Strizhakov
da509487b2
adding benchmarks in new format 2020-07-06 09:30:42 +03:00
Egor Kislitsyn
317e2b8d61
Use atoms as keys in ActivityPub.fetch_* functions options 2020-06-04 21:36:26 +04:00
Alexander Strizhakov
19f468c5bc
replies filtering for blocked domains 2020-06-02 09:00:10 +03:00
Alexander Strizhakov
7e6ec778d9
exclude replies on blocked domains 2020-06-01 21:17:32 +03:00
lain
7b500d6b4f Load Testing: adjust to new CommonAPI.post format. 2020-05-18 13:56:58 +02:00
Ivan Tashkinov
fd2fb2bb2e Merge remote-tracking branch 'remotes/origin/develop' into restricted-relations-embedding
# Conflicts:
#	lib/pleroma/web/mastodon_api/controllers/status_controller.ex
#	lib/pleroma/web/mastodon_api/controllers/timeline_controller.ex
#	test/web/mastodon_api/controllers/timeline_controller_test.exs
#	test/web/mastodon_api/views/status_view_test.exs
2020-05-13 12:42:36 +03:00
Alex Gleason
b46811a074
Upgrade Comeonin to v5
https://github.com/riverrun/comeonin/blob/master/UPGRADE_v5.md
2020-05-12 17:14:59 -05:00
Ivan Tashkinov
d5cdc907e3 Restricted embedding of relationships where applicable (statuses / notifications / accounts rendering).
Added support for :skip_notifications for accounts listing (index.json).
Adjusted tests.
2020-05-01 18:45:24 +03:00
lain
d89cd0a197 Reply Filtering: Refactor. 2020-04-24 18:25:26 +02:00
Alexander Strizhakov
375ab05234
bench sync 2020-04-24 15:43:54 +03:00
Alexander Strizhakov
1a75ef63b2
updating benchmarks 2020-04-24 15:43:54 +03:00
Alexander
6e625a427c
reply filtering 2020-04-24 15:43:49 +03:00
Ivan Tashkinov
2f2bd7fe72 Ability to control the output of account/pleroma/relationship in statuses in order to improve the rendering performance.
See `[:extensions, output_relationships_in_statuses_by_default]` setting and `with_relationships` param.
2020-04-01 19:49:09 +03:00
Alexander Strizhakov
96e2796557
use in timelines benchmark new user generator 2020-03-30 11:59:14 +03:00
Alexander Strizhakov
56503c385e
fix 2020-03-30 11:42:25 +03:00
Alexander Strizhakov
1f29ecdcd7
sync with develop 2020-03-30 11:42:25 +03:00
Alexander Strizhakov
eb9744cade
activities generation tasks 2020-03-30 11:42:25 +03:00
lain
c8475cd5c6 Apply suggestion to benchmarks/load_testing/generator.ex 2020-03-25 15:48:15 +00:00
lain
3bd2829e5c Benchmarks: Add timeline benchmark 2020-03-23 18:56:01 +01:00
lain
271afcd940 Add benchmark of any/all tag options 2020-01-20 12:19:15 +01:00
lain
167e9c45ec Benchmarks: Move to correct folder 2020-01-15 12:37:50 +01:00
lain
2ee6754095 Mix Tasks: Add pleroma.benchmarks.tags 2020-01-14 17:24:26 +01:00
rinpatch
0d24ab04c5 Merge branch 'remove-info-from-users' into 'develop'
Removed users.info field

See merge request pleroma/pleroma!2006
2019-11-30 10:42:51 +00:00
Ivan Tashkinov
1636cc5b7e Removed users.info and remaining usages. 2019-11-23 14:06:19 +03:00
Maksim Pechnikov
1d6970baf1 fix 2019-11-22 14:17:12 +03:00
Maksim Pechnikov
1fcd579b6d benchmarks/ added favourites timeline 2019-11-19 21:11:15 +03:00
Egor Kislitsyn
478f0883eb
Fix benchmarks 2019-10-21 15:55:28 +07:00
Alexander
8c0cfed825
some fixes 2019-10-15 16:26:04 +03:00
Alex S
1d285e6fad moving to separate dir 2019-09-19 14:02:27 +03:00