Mark Felder
|
3f4f567c9c
|
Fix order of args for hide_reblogs/2
|
2024-07-22 19:16:00 -04:00 |
|
Mark Felder
|
adb93f7e5d
|
Fix order of args for unfollow/2
|
2024-07-22 19:11:22 -04:00 |
|
Mark Felder
|
f79a16c062
|
Fix order of args for follow/2
|
2024-07-22 19:07:55 -04:00 |
|
Mark Felder
|
082319ff48
|
Fix order of args for unblock/2
|
2024-07-22 18:44:32 -04:00 |
|
Mark Felder
|
cbc5e48417
|
Fix order of args for block/2
|
2024-07-22 18:41:50 -04:00 |
|
Mark Felder
|
1cccc0fc21
|
Fix order of args for vote/3
|
2024-07-22 18:38:02 -04:00 |
|
Mark Felder
|
8127e0d8cc
|
Fix order of args for thread_muted?/2
|
2024-07-22 18:25:37 -04:00 |
|
Mark Felder
|
4601473aaf
|
Fix order of args for add_mute/2
|
2024-07-22 18:25:37 -04:00 |
|
Mark Felder
|
d27ad36ce4
|
Fix order of args for remove_mute/2
|
2024-07-22 18:25:37 -04:00 |
|
Mark Felder
|
f602813d31
|
Fix order of args for update/2
|
2024-07-22 18:25:37 -04:00 |
|
Mark Felder
|
7e37882cf7
|
Fix order of args for favorite/2
|
2024-07-22 18:25:37 -04:00 |
|
feld
|
f77911f05b
|
Merge branch 'oban/more-improvements' into 'develop'
Oban: more improvements
See merge request pleroma/pleroma!4187
|
2024-07-22 17:45:44 +00:00 |
|
Mark Felder
|
cf70656d14
|
Fix test now that the reject error has more detail
|
2024-07-20 23:58:47 -04:00 |
|
Mark Felder
|
fb654acfad
|
Fix OpenGraph and Twitter metadata providers when parsing objects with no content or summary fields.
|
2024-07-20 23:48:54 -04:00 |
|
Mark Felder
|
d44765bc13
|
Support cancelling jobs when Unreacting
|
2024-07-20 15:14:46 -04:00 |
|
Mark Felder
|
304b7f5093
|
Support cancelling jobs when Unrepeating
|
2024-07-20 15:06:19 -04:00 |
|
Mark Felder
|
86ae00f9da
|
Support cancelling jobs when Unfavoriting
|
2024-07-20 14:54:31 -04:00 |
|
Mark Felder
|
3f5c9f003b
|
Reorganize test group to have shared a shared setup
|
2024-07-20 14:54:31 -04:00 |
|
Mark Felder
|
62280a3b9f
|
Cancel queued (undelivered) publishing jobs for an activity when deleting that activity.
|
2024-07-20 14:54:04 -04:00 |
|
Mark Felder
|
d124d8645e
|
Rework some Rich Media functionality for better error handling
Oban should not retry jobs that are likely to fail again
|
2024-07-17 12:40:07 -04:00 |
|
Mark Felder
|
2f14990c5c
|
Change PurgeExpiredActivity to use the background queue
|
2024-07-15 11:45:13 -04:00 |
|
Mark Felder
|
f52b229baa
|
Oban: change :discard return values to :cancel
:discard will be removed in Oban 3.0. It was only meant for internal use.
|
2024-07-12 11:40:59 -04:00 |
|
Lain Soykaf
|
ba88c5078a
|
StripLocationTest: Add failing test for PNGs
|
2024-06-28 20:31:03 +04:00 |
|
Mark Felder
|
b135fa35a1
|
RichMedia: test that activity is streamed out
|
2024-06-24 09:47:16 -04:00 |
|
Mark Felder
|
634e3d4155
|
Add test validating the activity_id is correctly present in the Oban job
This was preventing the activity from being streamed over websockets.
|
2024-06-23 21:45:56 -04:00 |
|
Mark Felder
|
7d5065819c
|
Enable erratic tests
|
2024-06-20 19:43:39 +00:00 |
|
Mark Felder
|
c765fcbe7e
|
Gun Connection Pool: successfully retry after reclaiming the pool
|
2024-06-20 14:03:22 -04:00 |
|
Mark Felder
|
17d04ccc8b
|
RichMedia backfill processing through Oban
|
2024-06-19 23:20:22 -04:00 |
|
Mark Felder
|
4dfa50f256
|
Rename RichMediaExpirationWorker to RichMediaWorker
|
2024-06-19 22:24:48 -04:00 |
|
Mark Felder
|
3a8420b141
|
Remove remaining vestiges of Logger support in ConfigDB/TransferTask
|
2024-06-19 14:29:44 -04:00 |
|
Mark Felder
|
e43e09a04c
|
Merge remote-tracking branch 'origin/develop' into bugfix/elixir-1.15
|
2024-06-18 16:47:01 +00:00 |
|
Mark Felder
|
3aed111a42
|
Enable capture_log globally
|
2024-06-18 10:50:31 -04:00 |
|
Mark Felder
|
9c67637255
|
Refactor the async user refreshing to use Oban
Previous implementation could cause duplicate simultaneous profile fetches which is not polite.
|
2024-06-17 10:41:14 -04:00 |
|
Mark Felder
|
e37845cd35
|
Stale user refreshing should be done async to prevent blocking of rendering activities
|
2024-06-16 17:39:35 -04:00 |
|
Haelwenn (lanodan) Monnier
|
3d0d2a4513
|
media_controller_test: Make sure uploader is the Local one
|
2024-06-12 15:18:47 -04:00 |
|
Haelwenn (lanodan) Monnier
|
cb91dab75f
|
Switch formatting checks to Elixir 1.15
|
2024-06-12 15:18:47 -04:00 |
|
Lain Soykaf
|
1ae5c2b020
|
Transmogrifier: Encode Emoji id to be valid.
|
2024-06-12 12:41:33 +04:00 |
|
Mark Felder
|
5c8afbe646
|
Fix tests
|
2024-06-11 18:55:10 -04:00 |
|
Mark Felder
|
a291a6b8c0
|
Ensure the webpush notification for e.g., mentions start with the nickname of the actor it originates from
|
2024-06-11 18:15:32 -04:00 |
|
Mark Felder
|
568819c08a
|
WebPush refactoring: separate build and deliver steps
|
2024-06-11 17:58:02 -04:00 |
|
Mark Felder
|
2fd155fb9b
|
Add PollWorker test; move the streaming notification test to it
|
2024-06-11 15:59:48 -04:00 |
|
Mark Felder
|
f000dab372
|
Switch test case to Impl.build_content/3
|
2024-06-08 22:54:59 -04:00 |
|
Mark Felder
|
8468d78882
|
Increase web push character limit for the body
|
2024-06-08 22:54:59 -04:00 |
|
Mark Felder
|
3211557f74
|
Render nice web push notifications for polls
|
2024-06-08 22:08:12 -04:00 |
|
Mark Felder
|
a5424c3681
|
Test that end of poll notifications are streamed over websockets
|
2024-06-08 13:08:28 -04:00 |
|
feld
|
f44987bd0f
|
Merge branch 'bugfix/rich_media_config' into 'develop'
RichMedia: Respect configuration on status previews
See merge request pleroma/pleroma!4130
|
2024-06-07 20:37:19 +00:00 |
|
Mark Felder
|
49156f0183
|
Fixes for default disabled rich media in test environment
Also add a test to validate the correct error when disabled
|
2024-06-07 13:31:34 -04:00 |
|
lain
|
acde8d0e0c
|
Merge branch 'ipfs-dialyzer-fixes' into 'develop'
IPFS uploader: dialyzer fixes
See merge request pleroma/pleroma!4129
|
2024-06-01 11:30:42 +00:00 |
|
Floatingghost
|
0302431888
|
Use proper workers for fetching pins instead of an ad-hoc task
BUG: https://git.pleroma.social/pleroma/pleroma/-/issues/3276
|
2024-05-31 09:09:04 -04: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 |
|