Commit Graph

68 Commits (3bdd78f3419df30713aeb7ed5c4cd0a40e4784e7)

Author SHA1 Message Date
Felix Ableitner 3bdd78f341 Rename `lemmy_structs` to `lemmy_api_structs` 4 years ago
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
4 years ago
Felix Ableitner c618b4efaa Remove federation backward compatibility code (ref #1220) 4 years ago
Felix Ableitner 4cc341e4aa Remove code for apub compatibility with Lemmy v0.8.9 and older 4 years ago
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.
4 years ago
Dessalines ea3c0e1772 Merge branch 'main' into remove-integration-tests 4 years ago
Felix Ableitner bf1e859e72 Remove broken actix_rt test 4 years ago
Felix Ableitner 3141ad31de Remove categories (fixes #1429) 4 years ago
Felix Ableitner 3ae62573b7 Better type safety for activity parsing 4 years ago
Felix Ableitner 92ea9b97dd Dont include community in comment `to` field (fixes #1446) 4 years ago
dessalines 0c9b109bf7 Merge pull request 'Order outbox by published, not id' (#171) from outbox-order-published into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/171
4 years ago
dessalines 2cbd158a11 Merge pull request 'Use `name` field for post titles instead of `summary` (ref #1220)' (#173) from apub-post-name into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/173
4 years ago
Felix Ableitner 8d5e9f865c Use `name` field for post titles instead of `summary` (ref #1220) 4 years ago
Felix Ableitner 8096765f0e Fix clippy error upper_case_acronyms 4 years ago
Dessalines c81435c994 Version 0.9.9 4 years ago
Dessalines bcc8dae16b Fixing deploy version. 4 years ago
Dessalines a806493bc2 Version 0.9.8 4 years ago
Felix Ableitner b593047fb1 Order outbox by published, not id 4 years ago
Dessalines 9845366a36 Merge remote-tracking branch 'yerba/main' 4 years ago
Dessalines 0c4b57a6d0
Adding a new comment sort for posts. Fixes #1294 (#1425)
* Adding a new comment sort. Fixes #1294

* Fixing a migration comment.

* Adding a comment for newest_comment_time_necro
4 years ago
Felix Ableitner d3707ad4ef Fix new compiler warning 4 years ago
Felix Ableitner 13a949d9ec Specify order for activities query (fixes #1436) 4 years ago
Dessalines 37ea778776 Merge remote-tracking branch 'origin/main' 4 years ago
dessalines f37fd0ecfd Merge pull request 'Hide followed communities, except for own user (fixes #1303)' (#168) from hide-followed into main
Reviewed-on: https://yerbamate.ml/LemmyNet/lemmy/pulls/168
4 years ago
Felix Ableitner 3d400ca21d Hide followed communities, except for own user (fixes #1303) 4 years ago
Dessalines 37ad9e9a09 Change RSS feeds to use lemmy URL for the rss link. Fixes #1378 4 years ago
Dessalines 1af906c224 Merge remote-tracking branch 'origin/main' 4 years ago
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
4 years ago
Dessalines acadf0289e Fixing reason lengths to char counts. 4 years ago
Dessalines 2e5ccaf7fe Fixing display name limit. Fixes #1421 4 years ago
Felix Ableitner 63d9c0ee46 Explicitly mark posts and comments as public (ref #1220) 4 years ago
Felix Ableitner 999d9f4d6c Move routes into separate crate to speed up compilation 4 years ago
Dessalines 5656db3e3d Version 0.9.7 4 years ago
Dessalines f198f281cf Version 0.9.6 4 years ago
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
4 years ago
Dessalines 2b6df63aee Merge remote-tracking branch 'yerba/main' 4 years ago
Felix Ableitner 897263e5a3 Include object id when logging apub errors 4 years ago
Dessalines 4864f80656 Fixing community search not using auth. Fixes #1411 4 years ago
Felix Ableitner 105dfc93f1 Make apub extension fields optional (ref #1220) 4 years ago
Dessalines d5d99fa3b9
Moving docs to join.lemmy.ml . Fixes #1396 (#1410)
* Moving docs to join.lemmy.ml . Fixes #1396

* Removing submodule fetch from drone.
4 years ago
Dessalines 8a7e50381f Version 0.9.5 4 years ago
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>
4 years ago
Dessalines 9415bec557 Version 0.9.4 4 years ago
Dessalines 1857f02af8 Moving back tokio and reqwest. 4 years ago
Dessalines 10f0b3b877 Trying to upgrade lemmys deps. 4 years ago
Dessalines 0be9b5bddb
Add allowed and blocked instances to the federated_instances response. (#1398)
- Fixes #1315
4 years ago
Dessalines 6bb4f0b41f
Adding forum sort for post_aggregates. Fixes #1312 (#1400)
* Adding forum sort for post_aggregates. Fixes #1312

* Changing sort name from forum to MostComments.
4 years ago
Dessalines f4d33389a5
Merge pull request #1401 from LemmyNet/non_null_post_view_vote
Post and comment vote views now return 0 instead of null.
4 years ago
Nutomic c8254dc0a8
Merge pull request #1399 from LemmyNet/dont_let_banned_users_follow
Make sure banned users cant subscribe, and the ban unsubs them. Fixes…
4 years ago
Dessalines d2ba2960dd Post and comment vote views now return 0 instead of null.
- Fixes #1389
4 years ago