dessalines
ff3e26452a
Merge pull request 'Remove federation backward compatibility code (ref #1220 )' ( #164 ) from remove-backwards-compatibility into main
...
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/164
2021-02-26 13:23:46 +00:00
Felix Ableitner
c618b4efaa
Remove federation backward compatibility code (ref #1220 )
2021-02-26 14:06:26 +01:00
Felix Ableitner
4cc341e4aa
Remove code for apub compatibility with Lemmy v0.8.9 and older
2021-02-26 14:03:49 +01:00
Andrew Yoon
600ae662a5
Support plain cargo test
and disable unused doctests for speed
...
Since DB tests execute diesel migrations automatically, concurrent
execution causes flaky failures from simultaneous migrations. This can
be worked around using `cargo test --workspace -- --test-threads=1`,
which is what the CI config does, but this is not intuitive for
newcomer developers and unnecessarily slows down the test suite for
the majority of tests which are safe to run concurrently. This fixes
this issue by integrating with the small test crate `serial_test` and
using it to explicitly mark DB tests to run sequentially while
allowing all other tests to run in parallel.
Additionally, this greatly improves the speed of `cargo test` by
disabling doc-tests in all crates, since these are aren't currently
used and cargo's doc-test pass, even when no doc-tests exist, has
significant overhead. On my machine, this change significantly
improves test suite times by about 85%, making it much more practical
to develop with tools like `cargo watch` auto-running tests.
2021-02-25 15:44:30 -05:00
Felix Ableitner
3141ad31de
Remove categories ( fixes #1429 )
2021-02-25 13:22:37 +01:00
Felix Ableitner
3ae62573b7
Better type safety for activity parsing
2021-02-24 20:37:27 +01:00
Felix Ableitner
92ea9b97dd
Dont include community in comment to
field ( fixes #1446 )
2021-02-23 19:00:47 +01:00
Felix Ableitner
8d5e9f865c
Use name
field for post titles instead of summary
(ref #1220 )
2021-02-22 19:34:41 +01:00
Felix Ableitner
d3707ad4ef
Fix new compiler warning
2021-02-18 16:16:18 +01:00
dessalines
f899831ed3
Merge pull request 'Explicitly mark posts and comments as public (ref #1220 )' ( #167 ) from comments-posts-public into main
...
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/167
2021-02-10 19:45:36 +00:00
Felix Ableitner
63d9c0ee46
Explicitly mark posts and comments as public (ref #1220 )
2021-02-10 14:01:02 +01:00
Felix Ableitner
999d9f4d6c
Move routes into separate crate to speed up compilation
2021-02-09 19:34:36 +01:00
dessalines
6f364e60fa
Merge pull request 'Include object id when logging apub errors' ( #165 ) from log-ids into main
...
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/165
2021-02-05 17:52:51 +00:00
Felix Ableitner
897263e5a3
Include object id when logging apub errors
2021-02-05 17:15:29 +01:00
Felix Ableitner
105dfc93f1
Make apub extension fields optional (ref #1220 )
2021-02-05 14:23:57 +01:00
nutomic
1a4e35eb50
Store activitypub endpoints in database ( #162 )
...
Address review comments
Store Activitypub urls in database (fixes #808 )
Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/162
Co-Authored-By: nutomic <nutomic@noreply.yerbamate.ml>
Co-Committed-By: nutomic <nutomic@noreply.yerbamate.ml>
2021-02-04 16:34:58 +00:00
Dessalines
1857f02af8
Moving back tokio and reqwest.
2021-02-01 21:54:23 -05:00
Dessalines
10f0b3b877
Trying to upgrade lemmys deps.
2021-02-01 15:56:37 -05:00
dessalines
f5e58c8bf5
Merge pull request 'Increase MAX_REQUEST_NUMBER for fetches to 25' ( #161 ) from fetch-limit into main
...
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/161
2021-01-29 15:52:23 +00:00
Felix Ableitner
5f59d7ba5f
Increase MAX_REQUEST_NUMBER for fetches to 25
2021-01-29 16:45:28 +01:00
Felix Ableitner
c09c462a6e
Serve activities in community outbox ( fixes #1216 )
2021-01-29 14:48:42 +01:00
Nutomic
3d578f9df2
Use Url type for ap_id fields in database ( fixes #1364 ) ( #1371 )
2021-01-27 11:42:23 -05:00
Felix Ableitner
c51f750831
Use Url type for ap_id fields in database ( fixes #1364 )
2021-01-26 18:52:18 +01:00
Felix Ableitner
3b64c58198
Move most code into crates/ subfolder
2021-01-20 16:21:27 +01:00