Dessalines
15ff832c4a
Version 0.16.0-rc.3
2022-03-07 18:59:29 -05:00
Nutomic
3c5275638f
Increase default worker count ( #2120 )
2022-03-07 22:28:50 +00:00
Dessalines
ffd2ba5d90
Fix community rss. Fixes #2116 ( #2119 )
...
Co-authored-by: Nutomic <me@nutomic.com>
2022-03-07 21:49:02 +00:00
Nutomic
fbadb2d7bd
Try to fix federation test on ci ( #2121 )
2022-03-07 21:25:34 +00:00
Dessalines
aef2abb962
Version 0.16.0-rc.2
2022-03-03 14:40:09 -05:00
Nutomic
df757f28b4
Make delete activities backwards compatible with 0.15 ( #2114 )
2022-03-03 19:37:12 +00:00
Nutomic
ef1e164cc5
Make activity queue worker count configurable, log stats ( #2113 )
2022-03-03 18:54:33 +00:00
Nutomic
fa29ffade1
Add timeout for sending activities ( #2112 )
...
* Add timeout for sending activities
* Also set request timeouts in utils/src/request.rs
2022-03-03 13:40:10 -05:00
Dessalines
a5433ebf77
Fixing unit tests.
2022-03-03 12:51:55 -05:00
Rob Ede
e3153df74d
Remove direct `actix-http` dependency
2022-03-02 18:11:05 +00:00
Rob Ede
b06f3eb32e
Update `actix-*` dependencies to stable v4.
2022-03-02 18:00:52 +00:00
Dessalines
1b5037e92d
Version 0.16.0-rc.1
2022-03-02 12:41:11 -05:00
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>
2022-03-02 17:39:27 +00:00
Nutomic
63565712ad
Fix resending activities ( fixes #1282 ) ( #2109 )
2022-03-01 13:40:05 -05:00
Nutomic
fb4c47d602
Dont hardcode site id in Site::update ( #2110 )
2022-03-01 17:01:23 +00:00
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>
2022-03-01 14:28:18 +00:00
Nutomic
9f5183fe98
Add site option for default theme ( #2104 )
2022-02-23 11:40:36 -05:00
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>
2022-02-18 02:30:47 +00:00
Nutomic
762b85b27e
Reorganize federation tests ( #2092 )
...
* Reorganize apub protocol tests
* Reorder apub protocol struct members to clarify mandatory/optional fields
2022-02-17 22:04:01 +00:00
Nutomic
e094989a4c
Add logging to debug federation issues (ref #2096 ) ( #2099 )
2022-02-17 18:48:45 +00:00
Nutomic
5a8c894359
Upgrade to Rust 2021 edition ( #2093 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-02-14 15:34:54 +00:00
Nutomic
788924d7ff
Merge different delete activities for better compatibility ( fixes #2066 ) ( #2073 )
2022-02-14 10:14:24 -05:00
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
2022-02-07 19:23:12 +00:00
Nutomic
f1aef63149
Use doku(skip) for opentelemetry_url config value (ref #2085 ) ( #2091 )
2022-02-07 10:39:37 -05:00
Aode (Lion)
1546e5fd0d
Merge remote-tracking branch 'lemmynet/fix_sitemetadata_test' into asonix/document-opentelemetry-url
2022-02-04 20:37:38 -06:00
Dessalines
609d2b99f7
Fix site metadata test.
2022-02-04 18:22:43 -05:00
Aode (lion)
6058b11f6e
Add comment about opentelemetry_url
2022-02-03 17:24:19 -06:00
Dessalines
6b1894faf0
Alpha-ordering community follows. Fixes #2062 ( #2079 )
2022-02-01 20:00:54 +00:00
Nutomic
545fe8d0dd
Add federation tests for Friendica, improve parsing of source field ( fixes #2057 ) ( #2070 )
2022-01-28 16:47:34 -05:00
Nutomic
4a23ee4d8b
Dont make webfinger request when viewing community/user profile ( fixes #1896 ) ( #2049 )
2022-01-27 16:39:22 +00:00
Dessalines
d83a53e905
Fixing private instance check. Fixes #2064 ( #2065 )
2022-01-27 16:25:22 +00:00
Kradyz
1c5c02e1bf
Case-insensitive username at login ( #2010 )
...
* Case-insensitive username at login
* formatting
Co-authored-by: Kradyz <k@radiz.nl>
2022-01-26 18:05:07 +00:00
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
2022-01-26 17:57:16 +00:00
Dessalines
1372827b41
Adding starttls support. Fixes #1997 ( #2051 )
...
* Adding starttls support. Fixes #1997
* Change name to tls_type, make a string
2022-01-26 16:42:43 +00:00
Nutomic
2544341e47
Put community last in webfinger response ( fixes #2037 ) ( #2047 )
2022-01-21 21:00:17 +00:00
Nutomic
16f98261f8
Dont check for ban in MarkCommentAsRead ( fixes #2045 ) ( #2054 )
2022-01-21 14:46:43 -05:00
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
.
2022-01-21 13:38:01 +00:00
Nutomic
f23fed70bc
Add tombstone tests, better test errors ( #2046 )
2022-01-20 14:13:29 +00:00
vpzomtrrfrt
272dc3e7a6
Accept single object as to for arrays too ( #2048 )
2022-01-20 14:12:45 +00:00
Dessalines
19ccaf767c
Cleaning optional post bodies. Fixes #2039 ( #2043 )
...
* Cleaning optional post bodies. Fixes #2039
* Only trim once.
* Using .map() instead.
2022-01-20 14:04:54 +00:00
Dessalines
a212f6b780
Fixing liking comment on blocked person. Fixes #2033 ( #2042 )
2022-01-19 14:17:18 +00:00
Nutomic
eea3308906
Add tests for lotide federation, make lotide groups fetchable ( #2035 )
...
* Add tests for lotide federation, make lotide groups fetchable
* Accept posts using Note type (and better error messages for tests)
2022-01-17 09:40:47 -05:00
Riley
bc8ed1e6da
Remove unneeded dependency on activitystreams ( #2034 )
2022-01-13 00:17:00 +00:00
Dessalines
f53902ecff
Version 0.15.1
2022-01-12 09:45:29 -05:00
Dessalines
bccb4f068d
Version 0.15.0
2022-01-12 08:46:35 -05:00
Dessalines
a24676e629
Version 0.15.0-rc.7
2022-01-09 11:09:03 -05:00
Dessalines
e65c45f152
Adding temporary bans. Fixes #1423 ( #1999 )
...
* Adding temporary bans. Fixes #1423
* Adding ban_expires to person
* Fix clippy
* Removing ban_expires from federated fields.
* Trying to add expires to blockcommunity apub.
2022-01-08 12:37:07 +00:00
Riley
41b90bb162
Add console-subscriber ( #2003 )
...
* Add console-subscriber
* Add larg event buffer capacity
* Add console port to lemmy prod container
* Expose pict-rs console port
* Update pictrs
2022-01-07 09:53:45 -05:00
Riley
3032a2745b
Opentelemetry ( #1992 )
...
* Add otlp export
* Add jaeger to dev docker
* More instrument
* Update deps
* Merge from main.
* Add comment about viewing traces
* Fixing reqwest-tracing dep.
* Update pre-commit regex
* Move imports to top
Co-authored-by: Dessalines <tyhou13@gmx.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-01-06 19:10:20 +00:00
Rens Groothuijsen
661f97a073
Use correct encoding when fetching non-UTF-8 site metadata ( #2015 )
...
* Use correct encoding when fetching non-UTF-8 site metadata
* Style fixes
2022-01-06 13:13:17 +00:00