Commit Graph

3786 Commits (553654b8e89ec7d39ab5dcc6d8dcb1c28068844c)
 

Author SHA1 Message Date
Dessalines aef2abb962 Version 0.16.0-rc.2 2 years ago
Nutomic df757f28b4
Make delete activities backwards compatible with 0.15 (#2114) 2 years ago
Nutomic ef1e164cc5
Make activity queue worker count configurable, log stats (#2113) 2 years ago
Nutomic fa29ffade1
Add timeout for sending activities (#2112)
* Add timeout for sending activities

* Also set request timeouts in utils/src/request.rs
2 years ago
Nutomic 46e937d6e6
Merge pull request #2115 from LemmyNet/fix_tests_1
Fixing unit tests.
2 years ago
Dessalines a5433ebf77 Fixing unit tests. 2 years ago
Nutomic 0d957a2a27
Merge pull request #2111 from robjtede/aw4
Update `actix-*` dependencies to stable v4.
2 years ago
Rob Ede e3153df74d
Remove direct `actix-http` dependency 2 years ago
Rob Ede b06f3eb32e
Update `actix-*` dependencies to stable v4. 2 years ago
Dessalines 1b5037e92d Version 0.16.0-rc.1 2 years ago
dayinjing bc3927a9bd
Show nsfw communities if you are logged in and searching communities (#2105)
* Show nsfw communities in logged in and you've enabled nsfw in your profile atleast

* Reuse existing user check

Co-authored-by: Sun Wukong <monkey@king.com>
2 years ago
Nutomic 63565712ad
Fix resending activities (fixes #1282) (#2109) 2 years ago
Nutomic fb4c47d602
Dont hardcode site id in Site::update (#2110) 2 years ago
RedLobster999 348077c3de
send plain-text in email along with html (#2107)
* send plain text in email along with html

* format the code using "cargo +nightly fmt"

Co-authored-by: kittiphat-kang <kittiphat.nu@easysunday.com>
2 years ago
Nutomic 9f5183fe98
Add site option for default theme (#2104) 2 years ago
dayinjing 7f9b55e793
Hide community v2 (#2055)
* Initial working of hiding communities and adding a db entry for mod log

* Return mod log for hidden communities

* Clean up hidding communities PR

* use lower case like other migration files

* Formatting fix

* pass in admin id to list, make match logic the same in post_view as community_view. Dont force non null for reason

* Clean PR review stuff

* Change person_id to mod_person_id on hide community table

* Make bools optional, add a space for formating

Co-authored-by: Thor Odinson <odinson@asgard.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2 years ago
Nutomic 762b85b27e
Reorganize federation tests (#2092)
* Reorganize apub protocol tests

* Reorder apub protocol struct members to clarify mandatory/optional fields
2 years ago
Nutomic e094989a4c
Add logging to debug federation issues (ref #2096) (#2099) 2 years ago
Dessalines 81aa39ba68
Adding a reqwest timeout. Fixes #2089 (#2097) 2 years ago
Nutomic 5a8c894359
Upgrade to Rust 2021 edition (#2093)
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2 years ago
Nutomic 788924d7ff
Merge different delete activities for better compatibility (fixes #2066) (#2073) 2 years ago
Nutomic dd865c5af5
Implement instance actor (#1798)
* Implement instance actor

* wip: make site bans federate

* finish implementation and unit tests for federated bans

* start adding api tests

* fix api test

* remve site from GetCommunityResponse

* only federate site bans originating from user's home instance

* dont expose site.private_key in api
2 years ago
Nutomic f1aef63149
Use doku(skip) for opentelemetry_url config value (ref #2085) (#2091) 2 years ago
Riley 51fd3e7f77
Merge pull request #2085 from LemmyNet/asonix/document-opentelemetry-url
Add comment about opentelemetry_url
2 years ago
Riley 6b500f6cf2
Merge branch 'main' into asonix/document-opentelemetry-url 2 years ago
Riley 0f8caac689
Merge pull request #2087 from LemmyNet/asonix/console-feature
Add console feature flag, not default
2 years ago
Aode (Lion) 14b27b8377 Merge remote-tracking branch 'lemmynet/fix_sitemetadata_test' into asonix/console-feature 2 years ago
Aode (Lion) 1546e5fd0d Merge remote-tracking branch 'lemmynet/fix_sitemetadata_test' into asonix/document-opentelemetry-url 2 years ago
Dessalines 609d2b99f7 Fix site metadata test. 2 years ago
Aode (lion) 2e5746b74f Add console feature flag, not default
The most recent tracing-core changed the number of variants on metadata::Kind,
which broke console-api 0.1.1, and no fix has been applied yet. To avoid build
failures, disable console-subscriber for now
2 years ago
Aode (lion) 6058b11f6e Add comment about opentelemetry_url 2 years ago
Dessalines 6b1894faf0
Alpha-ordering community follows. Fixes #2062 (#2079) 2 years ago
Dessalines 2ac6e1a463
Adding a test comment. (#2081) 2 years ago
Dessalines d71e1c06e2
Adding codeowners. (#2080) 2 years ago
Nutomic 2fa47aaef9
Remove commit hook (#2078) 2 years ago
Nutomic 7560e0ec8e
Dont update default config in commit hook (#2075) 2 years ago
Nutomic 545fe8d0dd
Add federation tests for Friendica, improve parsing of source field (fixes #2057) (#2070) 2 years ago
Dessalines a8d17c7847
Update issue templates (#2069) 2 years ago
Dessalines 18f63f0f01 Updating releases.md 2 years ago
Nutomic 4a23ee4d8b
Dont make webfinger request when viewing community/user profile (fixes #1896) (#2049) 2 years ago
Dessalines d83a53e905
Fixing private instance check. Fixes #2064 (#2065) 2 years ago
Kradyz 1c5c02e1bf
Case-insensitive username at login (#2010)
* Case-insensitive username at login

* formatting

Co-authored-by: Kradyz <k@radiz.nl>
2 years ago
Dessalines e36ad9d984
Removing the site creator, adding leave_admin. Fixes #1808 (#2052)
* Removing the site creator, adding leave_admin. Fixes #1808

* Making sure there's at least one admin. Fixing unit tests
2 years ago
Dessalines 1372827b41
Adding starttls support. Fixes #1997 (#2051)
* Adding starttls support. Fixes #1997

* Change name to tls_type, make a string
2 years ago
Nutomic 2544341e47
Put community last in webfinger response (fixes #2037) (#2047) 2 years ago
Nutomic 16f98261f8
Dont check for ban in MarkCommentAsRead (fixes #2045) (#2054) 2 years ago
Dessalines 16271b0a4c
Empty post bodies (#2050)
* Cleaning optional post bodies. Fixes #2039

* Only trim once.

* Using .map() instead.

* Revert "Using .map() instead."

This reverts commit a2f4907209.
2 years ago
Nutomic f23fed70bc
Add tombstone tests, better test errors (#2046) 2 years ago
vpzomtrrfrt 272dc3e7a6
Accept single object as to for arrays too (#2048) 2 years ago
Dessalines 19ccaf767c
Cleaning optional post bodies. Fixes #2039 (#2043)
* Cleaning optional post bodies. Fixes #2039

* Only trim once.

* Using .map() instead.
2 years ago