Commit Graph

279 Commits (7d3894d5dd86b1b08cbe74904a852e4551110934)

Author SHA1 Message Date
Dessalines a869a2823b Still continuing on.... 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
Felix Ableitner 3141ad31de Remove categories (fixes #1429) 4 years ago
Felix Ableitner 8096765f0e Fix clippy error upper_case_acronyms 4 years ago
Dessalines bcc8dae16b Fixing deploy version. 4 years ago
Dessalines a806493bc2 Version 0.9.8 4 years ago
Felix Ableitner 3d400ca21d Hide followed communities, except for own user (fixes #1303) 4 years ago
Dessalines acadf0289e Fixing reason lengths to char counts. 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 4864f80656 Fixing community search not using auth. Fixes #1411 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
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 cd08fdf76f Make sure banned users cant subscribe, and the ban unsubs them. Fixes #1324 4 years ago
Dessalines aecb2411d8 Add check for parent comment. Fixes #1390 4 years ago
Dessalines 3a05817b41 Version 0.9.3 4 years ago
Dessalines 2322534648 Version 0.9.2 4 years ago
Dessalines e6a16f08a3 Version 0.9.1 4 years ago
Nutomic 3d578f9df2
Use Url type for ap_id fields in database (fixes #1364) (#1371) 4 years ago
Dessalines cf911c023d
Add listing type to list communities (#1380)
* Adding listing type to ListCommunities. Fixes #1379

* Upgrading lemmy-js-client.
4 years ago
Dessalines 1addbe361a Version 0.9.0 4 years ago
Dessalines 97617d699d
Docker manifest arm amd64 deploy (#1367)
* A first try at docker manifest. 1.

* Fixing api version location

* Version 0.9.0-rc.13

* Test docker.

* Test docker 2.

* Test docker 3.

* Test docker 4.

* Test docker 5.

* Test docker 6.

* Test docker 7.

* Test docker 8.

* Test docker 9.

* Test docker 10.

* Test docker 11.

* Test docker 12.

* Version 0.9.0-rc.14

* Test docker 13.

* Test docker 14.

* Version 0.9.0-rc.15

* Test docker 15.

* Version 0.9.0-rc.16

* Test docker 16.

* Version 0.9.0-rc.17
4 years ago
Felix Ableitner 3b64c58198 Move most code into crates/ subfolder 4 years ago