d2c5fd62ab
Merge branch 'fork' into backend-new
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-06 23:23:59 +02:00
6c4d0e10c0
Merge remote-tracking branch 'origin/develop' into fork
2024-09-06 09:11:48 +02:00
Mark Felder
53744bf146
Limit the number of orphaned to delete at 100 every 10 mins due to the cascading queries that have to check oauth_authorizations and oauth_tokens tables.
...
This should keep ahead of most app registration spam and not overwhelm lower powered servers.
2024-09-04 11:45:05 -04:00
Mark Felder
a1951f3af7
Add Cron worker to clean up orphaned apps hourly
2024-09-04 10:59:58 -04:00
Mark Felder
427da7a99a
Rate Limit the OAuth App spam
2024-09-04 09:22:58 -04:00
327671a906
Include pl-fe in available frontends
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-02 00:41:19 +02:00
FloatingGhost
5dabf69757
Add timeline visibility options
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-31 14:30:18 +02:00
floatingghost
df06fc44e6
add bubble timeline ( #100 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/100
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-31 14:19:24 +02:00
22f41e5324
Merge branch 'fork' into backend-new
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-20 14:53:19 +02:00
0a4fece245
Merge remote-tracking branch 'origin/develop' into fork
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-14 18:16:28 +02:00
feld
a2490ddd9f
Merge branch 'remove/workerhelper' into 'develop'
...
Remove WorkerHelper
See merge request pleroma/pleroma!4166
2024-08-07 13:26:41 +00:00
6f957c94a7
Merge remote-tracking branch 'origin/develop' into fork
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-02 14:46:20 +02:00
Mark Felder
1d3a92be11
Remove :workers config from ConfigDB
2024-07-30 11:34:53 -04:00
Mark Felder
52e9bec156
Remove WorkerHelper
2024-07-30 11:34:48 -04:00
feld
355b028c23
Merge branch 'hackney-pool-timeout' into 'develop'
...
Align Hackney and Gun connection pool timeouts
See merge request pleroma/pleroma!4197
2024-07-30 15:33:17 +00:00
Mark Felder
49f46220ff
Align Hackney and Gun connection pool timeouts
2024-07-30 11:11:30 -04:00
Mark Felder
a6119210b7
Increase federator outgoing job parallelism
2024-07-30 11:06:55 -04:00
Mark Felder
66649e1dcd
Remove unused Oban queue
2024-07-30 09:49:09 -04:00
feld
c9042763b0
Merge branch 'oban/backup' into 'develop'
...
Backups Refactoring
See merge request pleroma/pleroma!4158
2024-07-29 16:07:35 +00:00
Mark Felder
775f45cfe2
Merge remote-tracking branch 'origin/develop' into oban/backup
2024-07-25 14:43:40 -04:00
Mark Felder
1b9c887dbb
Extract validate_signature/2 from the HTTPSignaturePlug
...
This logic only exists in the Plug, so attempting to validate the signature by calling the library function HTTPSignature.validate_conn/2 directly will never work because we do not attempt to construct the (request-target) and @request-target headers with both the commonly misinterpreted and correct implementation of this field. Therefore all attempts to validate a signature from an Oban Job will fail.
2024-07-25 12:54:27 -04:00
aa2597e2f6
Merge remote-tracking branch 'origin/develop' into fork
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-07-25 13:19:17 +02:00
Mark Felder
6598919213
Document the new timeout setting
2024-07-24 16:16:37 -04:00
Mark Felder
8c5a68a62e
Increase Oban.Pruner max_age to 15 mins
2024-07-24 15:52:23 -04:00
Mark Felder
731f7b87d2
Pad RichMediaWorker timeout to be 2s longer than the Rich Media HTTP timeout
2024-07-24 15:42:50 -04:00
Mark Felder
187897874b
Make backup timeout configurable
2024-07-23 10:30:57 -04:00
Mark Felder
8f285a787f
Refactor backups to be fully controlled by Oban
2024-07-23 10:30:40 -04:00
Mark Felder
2ee8f4f062
Fix dialyzer error
...
lib/pleroma/application.ex:1:pattern_match The pattern can never match the type true.
2024-07-23 10:25:39 -04:00
e0d0992e10
Merge remote-tracking branch 'origin/develop' into fork
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-07-21 12:36:25 +02:00
Mark Felder
80e16de3bd
Increase slow job queue parallelization
2024-07-15 12:00:58 -04:00
Mark Felder
52b6dd8bff
Increase background job concurrency to 20
2024-07-15 11:45:13 -04:00
9055a3b49a
Merge remote-tracking branch 'origin/develop' into fork
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-07-13 17:49:07 +02:00
Mark Felder
d790df73f6
Remove the unused ingestion queue
2024-07-12 10:12:18 -04:00
15508da194
Merge remote-tracking branch 'origin/develop' into fork
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-07-10 23:50:06 +02:00
fc32646f7f
Merge branch 'fork' into backend-new
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-30 12:06:48 +02:00
Mark Felder
b135fa35a1
RichMedia: test that activity is streamed out
2024-06-24 09:47:16 -04:00
5d1cb904ac
Merge remote-tracking branch 'origin/develop' into fork
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-24 11:37:28 +02:00
Mark Felder
655ac98478
Merge remote-tracking branch 'origin/develop' into fix/debug-logs
2024-06-20 09:00:39 -04:00
Mark Felder
e1e099d3bf
Set console logs to :info for Elixir 1.15+
2024-06-19 23:26:12 -04:00
Mark Felder
17d04ccc8b
RichMedia backfill processing through Oban
2024-06-19 23:20:22 -04:00
Mark Felder
85b81cc933
Remove Logger from ConfigDB descriptions
2024-06-19 10:32:15 -04:00
Mark Felder
e628d00a81
Disable Ecto logging in tests
...
The debug logs are very noisy and can be enabled during analysis of a specific error believed to be SQL-related
2024-06-18 15:25:18 +00:00
Mark Felder
a734efeff8
Formatting
2024-06-12 15:21:43 -04:00
Lain Soykaf
41434ffcec
Tests: Don't spawn processes in tests.
2024-06-12 15:20:04 -04:00
Haelwenn (lanodan) Monnier
c389ea0f42
Fix compatibility with Loggers in Elixir 1.15+
2024-06-12 15:18:47 -04:00
d7468558b8
Merge remote-tracking branch 'origin/develop' into fork
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-04 18:36:25 +02:00
9040b98b07
Merge branch 'multilang' into backend-new
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-02 15:15:37 +02:00
48be78b375
MultiLanguage: Remove map_to_str
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-31 23:21:02 +02:00
Mark Felder
cfc8d7aade
IPFS uploader: dialyzer fixes
...
lib/pleroma/uploaders/ipfs.ex:43:no_return
Function put_file/1 has no local return.
________________________________________________________________________________
lib/pleroma/uploaders/ipfs.ex:49:call
The function call will not succeed.
Pleroma.HTTP.post(
binary(),
_mp :: %Tesla.Multipart{
:boundary => binary(),
:content_type_params => [binary()],
:parts => [
%Tesla.Multipart.Part{
:body => binary(),
:dispositions => [any()],
:headers => [any()]
},
...
]
},
[],
[{:params, [{:"cid-version", <<49>>}]}]
)
will never return since the success typing is:
(binary(), binary(), [{binary(), binary()}], Keyword.t()) ::
{:error, _}
| {:ok,
%Tesla.Env{
:__client__ => %Tesla.Client{
:adapter => nil | {_, _} | {_, _, _},
:fun => _,
:post => [any()],
:pre => [any()]
},
:__module__ => atom(),
:body => _,
:headers => [{_, _}],
:method => :delete | :get | :head | :options | :patch | :post | :put | :trace,
:opts => [{_, _}],
:query => [{_, _}],
:status => nil | integer(),
:url => binary()
}}
and the contract is
(Pleroma.HTTP.Request.url(), String.t(), Pleroma.HTTP.Request.headers(), :elixir.keyword()) ::
{:ok, Tesla.Env.t()} | {:error, any()}
2024-05-30 15:14:27 -04:00
da19454471
Merge branch 'fork' into multilang
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-28 16:39:20 +02:00