]> Untitled Git - lemmy.git/log
lemmy.git
2 years agosend plain-text in email along with html (#2107)
RedLobster999 [Tue, 1 Mar 2022 14:28:18 +0000 (21:28 +0700)]
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 agoAdd site option for default theme (#2104)
Nutomic [Wed, 23 Feb 2022 16:40:36 +0000 (16:40 +0000)]
Add site option for default theme (#2104)

2 years agoHide community v2 (#2055)
dayinjing [Fri, 18 Feb 2022 02:30:47 +0000 (20:30 -0600)]
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 agoReorganize federation tests (#2092)
Nutomic [Thu, 17 Feb 2022 22:04:01 +0000 (22:04 +0000)]
Reorganize federation tests (#2092)

* Reorganize apub protocol tests

* Reorder apub protocol struct members to clarify mandatory/optional fields

2 years agoAdd logging to debug federation issues (ref #2096) (#2099)
Nutomic [Thu, 17 Feb 2022 18:48:45 +0000 (18:48 +0000)]
Add logging to debug federation issues (ref #2096) (#2099)

2 years agoAdding a reqwest timeout. Fixes #2089 (#2097)
Dessalines [Tue, 15 Feb 2022 12:53:57 +0000 (07:53 -0500)]
Adding a reqwest timeout. Fixes #2089 (#2097)

2 years agoUpgrade to Rust 2021 edition (#2093)
Nutomic [Mon, 14 Feb 2022 15:34:54 +0000 (15:34 +0000)]
Upgrade to Rust 2021 edition (#2093)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2 years agoMerge different delete activities for better compatibility (fixes #2066) (#2073)
Nutomic [Mon, 14 Feb 2022 15:14:24 +0000 (15:14 +0000)]
Merge different delete activities for better compatibility (fixes #2066) (#2073)

2 years agoImplement instance actor (#1798)
Nutomic [Mon, 7 Feb 2022 19:23:12 +0000 (19:23 +0000)]
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 agoUse doku(skip) for opentelemetry_url config value (ref #2085) (#2091)
Nutomic [Mon, 7 Feb 2022 15:39:37 +0000 (15:39 +0000)]
Use doku(skip) for opentelemetry_url config value (ref #2085) (#2091)

2 years agoMerge pull request #2085 from LemmyNet/asonix/document-opentelemetry-url
Riley [Sat, 5 Feb 2022 03:46:38 +0000 (21:46 -0600)]
Merge pull request #2085 from LemmyNet/asonix/document-opentelemetry-url

Add comment about opentelemetry_url

2 years agoMerge branch 'main' into asonix/document-opentelemetry-url
Riley [Sat, 5 Feb 2022 03:22:27 +0000 (21:22 -0600)]
Merge branch 'main' into asonix/document-opentelemetry-url

2 years agoMerge pull request #2087 from LemmyNet/asonix/console-feature
Riley [Sat, 5 Feb 2022 03:22:07 +0000 (21:22 -0600)]
Merge pull request #2087 from LemmyNet/asonix/console-feature

Add console feature flag, not default

2 years agoMerge remote-tracking branch 'lemmynet/fix_sitemetadata_test' into asonix/console...
Aode (Lion) [Sat, 5 Feb 2022 02:37:57 +0000 (20:37 -0600)]
Merge remote-tracking branch 'lemmynet/fix_sitemetadata_test' into asonix/console-feature

2 years agoMerge remote-tracking branch 'lemmynet/fix_sitemetadata_test' into asonix/document...
Aode (Lion) [Sat, 5 Feb 2022 02:37:38 +0000 (20:37 -0600)]
Merge remote-tracking branch 'lemmynet/fix_sitemetadata_test' into asonix/document-opentelemetry-url

2 years agoFix site metadata test.
Dessalines [Fri, 4 Feb 2022 23:22:43 +0000 (18:22 -0500)]
Fix site metadata test.

2 years agoAdd console feature flag, not default
Aode (lion) [Fri, 4 Feb 2022 17:31:38 +0000 (11:31 -0600)]
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 agoAdd comment about opentelemetry_url
Aode (lion) [Thu, 3 Feb 2022 22:54:57 +0000 (16:54 -0600)]
Add comment about opentelemetry_url

2 years agoAlpha-ordering community follows. Fixes #2062 (#2079)
Dessalines [Tue, 1 Feb 2022 20:00:54 +0000 (15:00 -0500)]
Alpha-ordering community follows. Fixes #2062 (#2079)

2 years agoAdding a test comment. (#2081)
Dessalines [Tue, 1 Feb 2022 18:19:07 +0000 (13:19 -0500)]
Adding a test comment. (#2081)

2 years agoAdding codeowners. (#2080)
Dessalines [Tue, 1 Feb 2022 16:37:30 +0000 (11:37 -0500)]
Adding codeowners. (#2080)

2 years agoRemove commit hook (#2078)
Nutomic [Tue, 1 Feb 2022 00:20:31 +0000 (00:20 +0000)]
Remove commit hook (#2078)

2 years agoDont update default config in commit hook (#2075)
Nutomic [Sat, 29 Jan 2022 23:50:56 +0000 (23:50 +0000)]
Dont update default config in commit hook (#2075)

2 years agoAdd federation tests for Friendica, improve parsing of source field (fixes #2057...
Nutomic [Fri, 28 Jan 2022 21:47:34 +0000 (21:47 +0000)]
Add federation tests for Friendica, improve parsing of source field (fixes #2057) (#2070)

2 years agoUpdate issue templates (#2069)
Dessalines [Thu, 27 Jan 2022 21:32:12 +0000 (16:32 -0500)]
Update issue templates (#2069)

2 years agoUpdating releases.md
Dessalines [Thu, 27 Jan 2022 19:11:38 +0000 (14:11 -0500)]
Updating releases.md

2 years agoDont make webfinger request when viewing community/user profile (fixes #1896) (#2049)
Nutomic [Thu, 27 Jan 2022 16:39:22 +0000 (16:39 +0000)]
Dont make webfinger request when viewing community/user profile (fixes #1896) (#2049)

2 years agoFixing private instance check. Fixes #2064 (#2065)
Dessalines [Thu, 27 Jan 2022 16:25:22 +0000 (11:25 -0500)]
Fixing private instance check. Fixes #2064 (#2065)

2 years agoCase-insensitive username at login (#2010)
Kradyz [Wed, 26 Jan 2022 18:05:07 +0000 (19:05 +0100)]
Case-insensitive username at login (#2010)

* Case-insensitive username at login

* formatting

Co-authored-by: Kradyz <k@radiz.nl>
2 years agoRemoving the site creator, adding leave_admin. Fixes #1808 (#2052)
Dessalines [Wed, 26 Jan 2022 17:57:16 +0000 (12:57 -0500)]
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 agoAdding starttls support. Fixes #1997 (#2051)
Dessalines [Wed, 26 Jan 2022 16:42:43 +0000 (11:42 -0500)]
Adding starttls support. Fixes #1997 (#2051)

* Adding starttls support. Fixes #1997

* Change name to tls_type, make a string

2 years agoPut community last in webfinger response (fixes #2037) (#2047)
Nutomic [Fri, 21 Jan 2022 21:00:17 +0000 (21:00 +0000)]
Put community last in webfinger response (fixes #2037) (#2047)

2 years agoDont check for ban in MarkCommentAsRead (fixes #2045) (#2054)
Nutomic [Fri, 21 Jan 2022 19:46:43 +0000 (19:46 +0000)]
Dont check for ban in MarkCommentAsRead (fixes #2045) (#2054)

2 years agoEmpty post bodies (#2050)
Dessalines [Fri, 21 Jan 2022 13:38:01 +0000 (08:38 -0500)]
Empty post bodies (#2050)

* Cleaning optional post bodies. Fixes #2039

* Only trim once.

* Using .map() instead.

* Revert "Using .map() instead."

This reverts commit a2f49072095e0c0622c4a7d041dcea81e11fe1dc.

2 years agoAdd tombstone tests, better test errors (#2046)
Nutomic [Thu, 20 Jan 2022 14:13:29 +0000 (14:13 +0000)]
Add tombstone tests, better test errors (#2046)

2 years agoAccept single object as to for arrays too (#2048)
vpzomtrrfrt [Thu, 20 Jan 2022 14:12:45 +0000 (06:12 -0800)]
Accept single object as to for arrays too (#2048)

2 years agoCleaning optional post bodies. Fixes #2039 (#2043)
Dessalines [Thu, 20 Jan 2022 14:04:54 +0000 (09:04 -0500)]
Cleaning optional post bodies. Fixes #2039 (#2043)

* Cleaning optional post bodies. Fixes #2039

* Only trim once.

* Using .map() instead.

2 years agoFixing liking comment on blocked person. Fixes #2033 (#2042)
Dessalines [Wed, 19 Jan 2022 14:17:18 +0000 (09:17 -0500)]
Fixing liking comment on blocked person. Fixes #2033 (#2042)

2 years agoAdd tests for lotide federation, make lotide groups fetchable (#2035)
Nutomic [Mon, 17 Jan 2022 14:40:47 +0000 (14:40 +0000)]
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)

2 years agoRemove unneeded dependency on activitystreams (#2034)
Riley [Thu, 13 Jan 2022 00:17:00 +0000 (18:17 -0600)]
Remove unneeded dependency on activitystreams (#2034)

2 years agoUpdating readme.
Dessalines [Wed, 12 Jan 2022 14:52:21 +0000 (09:52 -0500)]
Updating readme.

2 years agoVersion 0.15.1
Dessalines [Wed, 12 Jan 2022 14:45:29 +0000 (09:45 -0500)]
Version 0.15.1

2 years agoAdding v0.15.0 release notes.
Dessalines [Wed, 12 Jan 2022 14:22:38 +0000 (09:22 -0500)]
Adding v0.15.0 release notes.

2 years agoVersion 0.15.0
Dessalines [Wed, 12 Jan 2022 13:46:35 +0000 (08:46 -0500)]
Version 0.15.0

2 years agouses compatable images - fixes GLIBC_2.29 not found issue on (at least) arm machines...
Marty [Mon, 10 Jan 2022 15:48:55 +0000 (17:48 +0200)]
uses compatable images - fixes GLIBC_2.29 not found issue on (at least) arm machines (#2028)

2 years agoVersion 0.15.0-rc.7
Dessalines [Sun, 9 Jan 2022 16:09:03 +0000 (11:09 -0500)]
Version 0.15.0-rc.7

2 years agoAdding temporary bans. Fixes #1423 (#1999)
Dessalines [Sat, 8 Jan 2022 12:37:07 +0000 (07:37 -0500)]
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.

2 years agoAdd console-subscriber (#2003)
Riley [Fri, 7 Jan 2022 14:53:45 +0000 (08:53 -0600)]
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

2 years agoOpentelemetry (#1992)
Riley [Thu, 6 Jan 2022 19:10:20 +0000 (13:10 -0600)]
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>
2 years agoUse correct encoding when fetching non-UTF-8 site metadata (#2015)
Rens Groothuijsen [Thu, 6 Jan 2022 13:13:17 +0000 (14:13 +0100)]
Use correct encoding when fetching non-UTF-8 site metadata (#2015)

* Use correct encoding when fetching non-UTF-8 site metadata

* Style fixes

2 years agoMerge pull request #1927 from LemmyNet/add_banned_persons_endpoint
Nutomic [Wed, 5 Jan 2022 14:04:26 +0000 (14:04 +0000)]
Merge pull request #1927 from LemmyNet/add_banned_persons_endpoint

Adding a banned endpoint for admins. Removing it from GetSite. Fixes …

2 years agoAdding a banned endpoint for admins. Removing it from GetSite. Fixes #1806
Dessalines [Fri, 19 Nov 2021 20:56:41 +0000 (15:56 -0500)]
Adding a banned endpoint for admins. Removing it from GetSite. Fixes #1806

2 years agoMerge pull request #2016 from robjtede/aw-b18
Nutomic [Tue, 4 Jan 2022 14:40:54 +0000 (14:40 +0000)]
Merge pull request #2016 from robjtede/aw-b18

Updated actix-web dependency to `4.0.0-beta.18`

2 years agoPrevent panic on InboxRequestGuard
Rob Ede [Thu, 30 Dec 2021 18:39:28 +0000 (18:39 +0000)]
Prevent panic on InboxRequestGuard

2 years agoUpdated actix-web dependency to `4.0.0-beta.18`
Rob Ede [Thu, 30 Dec 2021 18:37:59 +0000 (18:37 +0000)]
Updated actix-web dependency to `4.0.0-beta.18`

2 years agoMerge pull request #2007 from LemmyNet/another_tokenizer_fix
Dessalines [Tue, 21 Dec 2021 22:24:44 +0000 (17:24 -0500)]
Merge pull request #2007 from LemmyNet/another_tokenizer_fix

Trying another tokenizer fix. #1964

2 years agoCase-insensitive webfinger response. Fixes #1955 & #1986 (#2005)
Kradyz [Mon, 20 Dec 2021 22:23:06 +0000 (23:23 +0100)]
Case-insensitive webfinger response. Fixes #1955 & #1986 (#2005)

* Make webfinger case insensitive

* Make webfinger case insensitive

* Case insensitive domain name

* Case-insensitive webfinger

* formatting

Co-authored-by: Kradyz <k@radiz.nl>
2 years agoTrying another tokenizer fix. #1964
Dessalines [Mon, 20 Dec 2021 21:57:36 +0000 (16:57 -0500)]
Trying another tokenizer fix. #1964

2 years agoFirst pass at invite-only migration. (#1949)
Dessalines [Wed, 15 Dec 2021 19:49:59 +0000 (14:49 -0500)]
First pass at invite-only migration. (#1949)

* First pass at invite-only migration.

* Implement email verification (fixes #219)

* remove unwrap

* Adding views and functionality to registration application. #209

* Add private instance site column, and back end checks.

* Adding some message fields to LoginResponse

* Adding private instance to site setup.

* A few additions:

- Add a DeleteAccount response.
- RegistrationApplicationView now has the safe LocalUserSettings.
- Adding VerifyEmail to websocket API, added a proper response type.

* Adding and reorganizing some email helpers.

* A few fixes for private sites:

- Added a check_registration_application function.
- Only send a verification email if its been changed.
- VerifyEmail now returns LoginResponse.
- Deleting the old tokens after a successful email verify.
- If port is missing on email config, display a better error message.

* Version 0.15.0-rc.3

* Adding published to email_verification table.

* Adding fixes from comments.

* Version 0.15.0-rc.4

* Adding modlog private site check.

* Version 0.15.0-rc.6

Co-authored-by: Felix Ableitner <me@nutomic.com>
2 years agoUpgrading deps (#1995)
Dessalines [Tue, 14 Dec 2021 13:30:37 +0000 (08:30 -0500)]
Upgrading deps (#1995)

2 years agoUpgrading pictrs. (#1996)
Dessalines [Tue, 14 Dec 2021 13:24:33 +0000 (08:24 -0500)]
Upgrading pictrs. (#1996)

2 years agoTrying out an upgraded version of html5ever. #1964 (#1991)
Dessalines [Sun, 12 Dec 2021 23:49:25 +0000 (18:49 -0500)]
Trying out an upgraded version of html5ever. #1964 (#1991)

* Trying out an upgraded version of html5ever. #1964

* New release of webpage.

2 years agoAdding min setup password length to the docs. Fixes #1989 (#1990)
Dessalines [Sun, 12 Dec 2021 16:42:24 +0000 (11:42 -0500)]
Adding min setup password length to the docs. Fixes #1989 (#1990)

2 years agoTest pleroma follow (#1988)
Nutomic [Sun, 12 Dec 2021 02:39:18 +0000 (02:39 +0000)]
Test pleroma follow (#1988)

* Add test case for Pleroma follow activity (ref #1984)

* Use WithContext in apub tests where possible

2 years agoRemove awc (#1979)
Riley [Wed, 8 Dec 2021 15:56:43 +0000 (09:56 -0600)]
Remove awc (#1979)

* Remove unused awc dep

* Replace awc pict-rs client with reqwest

* Reinstate 30 second pict-rs timeout

2 years agoMerge pull request #1978 from LemmyNet/asonix/reqwest-middleware
Dessalines [Wed, 8 Dec 2021 15:51:46 +0000 (10:51 -0500)]
Merge pull request #1978 from LemmyNet/asonix/reqwest-middleware

Consolidate reqwest clients, use reqwest-middleware for tracing

2 years agoUse from_message for static error string
Aode (lion) [Tue, 7 Dec 2021 23:17:19 +0000 (17:17 -0600)]
Use from_message for static error string

2 years agoUpdate deps
Aode (lion) [Tue, 7 Dec 2021 00:12:04 +0000 (18:12 -0600)]
Update deps

2 years agoConsolidate reqwest clients, use reqwest-middleware for tracing
Aode (lion) [Mon, 6 Dec 2021 22:54:34 +0000 (16:54 -0600)]
Consolidate reqwest clients, use reqwest-middleware for tracing

2 years agoDon't drop error context when adding a message to errors (#1958)
Riley [Mon, 6 Dec 2021 14:54:47 +0000 (08:54 -0600)]
Don't drop error context when adding a message to errors (#1958)

* Respond directly with LemmyError

Instrument Perform implementations for more precise traces
Use ApiError to format JSON errors when messages are present
Keep SpanTrace output in LemmyError Display impl

* Hide SpanTrace debug output from LemmyError

* Don't log when entering spans, only when leaving

* Update actix-web

* Update actix-rt

* Add newline after error info in LemmyError Display impl

* Propogate span information to blocking operations

* Instrument apub functions

* Use skip_all for more instrument attributes, don't skip 'self' in some api actions

* Make message a static string

* Send proper JSON over websocket

* Add 'message' to LemmyError display if present

* Use a quieter root span builder, don't pretty-print logs

* Keep passwords and emails out of logs

* Re-enable logging Login

* Instrument feeds

* Emit our own errors

* Move error log after status code recording

* Make Sensitive generic over the inner type

* Remove line that logged secrets

2 years agoChange lemmur repo links (#1977)
Marcin Wojnarowski [Mon, 6 Dec 2021 13:17:59 +0000 (14:17 +0100)]
Change lemmur repo links (#1977)

2 years agoadded deps - git and ca-certificates (for federation to work) and changed adduser...
Marty [Mon, 6 Dec 2021 00:35:50 +0000 (02:35 +0200)]
added deps - git and ca-certificates (for federation to work) and changed adduser to useradd so that user can be added non-interactively (#1976)

2 years agoAllow comment replies from blocked users. Fixes #1793 (#1969)
Dessalines [Sun, 5 Dec 2021 17:45:40 +0000 (12:45 -0500)]
Allow comment replies from blocked users. Fixes #1793 (#1969)

* Allow comment replies from blocked users. Fixes #1793

* Clearer check block.

2 years agoFix retry infinite loops. Fixes #1964 (#1967)
Dessalines [Sun, 5 Dec 2021 15:03:13 +0000 (10:03 -0500)]
Fix retry infinite loops. Fixes #1964 (#1967)

* Fix retry infinite loops. Fixes #1964

* Moving retry_limit to settings

2 years agoMerge pull request #1962 from vpzomtrrfrt/oneormany2
Nutomic [Fri, 3 Dec 2021 12:50:52 +0000 (12:50 +0000)]
Merge pull request #1962 from vpzomtrrfrt/oneormany2

Allow single item for to, cc, and @context

2 years agoAdd lotide activities to tests
Colin Reeder [Fri, 3 Dec 2021 04:53:16 +0000 (21:53 -0700)]
Add lotide activities to tests

2 years agoAllow single item for to, cc, and @context
Colin Reeder [Sat, 27 Nov 2021 04:55:33 +0000 (21:55 -0700)]
Allow single item for to, cc, and @context

2 years agoTrying to add docker:latest. Fixes #1959 (#1960)
Dessalines [Fri, 26 Nov 2021 12:38:55 +0000 (07:38 -0500)]
Trying to add docker:latest. Fixes #1959 (#1960)

* Trying to add docker:latest. Fixes #1959

* Version 0.14.4-rc.3

* Trying to fix clippy on crate build

* Version 0.14.4-rc.4

2 years agoMerge pull request #1937 from LemmyNet/disable-edit-email-notifications
Dessalines [Thu, 25 Nov 2021 18:00:26 +0000 (13:00 -0500)]
Merge pull request #1937 from LemmyNet/disable-edit-email-notifications

Dont send email notifications for edited comments (fixes #1925)

2 years agoAdding a captcha rate limit. Fixes #1755 (#1941)
Dessalines [Thu, 25 Nov 2021 13:04:19 +0000 (08:04 -0500)]
Adding a captcha rate limit. Fixes #1755 (#1941)

* Adding a captcha rate limit. Fixes #1755

* Changing to post rate limit.

2 years agoDont send email notifications for edited comments (fixes #1925)
Felix Ableitner [Wed, 24 Nov 2021 21:26:23 +0000 (22:26 +0100)]
Dont send email notifications for edited comments (fixes #1925)

2 years agoVersion 0.14.3
Dessalines [Tue, 23 Nov 2021 19:39:55 +0000 (14:39 -0500)]
Version 0.14.3

2 years agoMerge pull request #1951 from LemmyNet/fix_ap_id_dupes_query
Dessalines [Tue, 23 Nov 2021 19:37:58 +0000 (14:37 -0500)]
Merge pull request #1951 from LemmyNet/fix_ap_id_dupes_query

Fix API dupes query. #1878

2 years agoFix API dupes query. #1878
Dessalines [Tue, 23 Nov 2021 19:30:16 +0000 (14:30 -0500)]
Fix API dupes query. #1878

2 years agoVersion 0.14.2
Dessalines [Tue, 23 Nov 2021 16:48:49 +0000 (11:48 -0500)]
Version 0.14.2

2 years agoVersion 0.14.2-rc.1
Dessalines [Tue, 23 Nov 2021 16:12:46 +0000 (11:12 -0500)]
Version 0.14.2-rc.1

2 years agoFixing duped report view for admins. Fixes #1933 (#1945)
Dessalines [Tue, 23 Nov 2021 15:54:30 +0000 (10:54 -0500)]
Fixing duped report view for admins. Fixes #1933 (#1945)

* Fixing duped report view for admins. Fixes #1933

* Fixing tests.

2 years agoAdding a GetComment endpoint. Fixes #1919 (#1944)
Dessalines [Tue, 23 Nov 2021 15:53:48 +0000 (10:53 -0500)]
Adding a GetComment endpoint. Fixes #1919 (#1944)

2 years agoFix min title char count for post titles. Fixes #1854 (#1940)
Dessalines [Tue, 23 Nov 2021 15:52:58 +0000 (10:52 -0500)]
Fix min title char count for post titles. Fixes #1854 (#1940)

* Fix min title char count for post titles. Fixes #1854

* Adding more newline checks for actors.

* Adding helper function

2 years agoAdding MarkPostAsRead to API. Fixes #1784 (#1946)
Dessalines [Tue, 23 Nov 2021 14:15:43 +0000 (09:15 -0500)]
Adding MarkPostAsRead to API. Fixes #1784 (#1946)

* Adding MarkPostAsRead to API. Fixes #1784

* Adding error

2 years agobackground-jobs 0.11 (#1943)
Riley [Tue, 23 Nov 2021 12:20:01 +0000 (06:20 -0600)]
background-jobs 0.11 (#1943)

2 years agoAdd tracing (#1942)
Riley [Tue, 23 Nov 2021 12:16:47 +0000 (06:16 -0600)]
Add tracing (#1942)

2 years agoRemove pointless community follower sort. (#1939)
Dessalines [Tue, 23 Nov 2021 12:05:09 +0000 (07:05 -0500)]
Remove pointless community follower sort. (#1939)

2 years agoMerge pull request #1938 from LemmyNet/once_cell
Dessalines [Mon, 22 Nov 2021 19:27:08 +0000 (14:27 -0500)]
Merge pull request #1938 from LemmyNet/once_cell

Use once_cell instead of lazy_static

2 years agoUse once_cell instead of lazy_static
Felix Ableitner [Mon, 22 Nov 2021 18:58:31 +0000 (19:58 +0100)]
Use once_cell instead of lazy_static

2 years agoAdding unique constraint for activity ap_id. Fixes #1878 (#1935)
Dessalines [Mon, 22 Nov 2021 18:57:03 +0000 (13:57 -0500)]
Adding unique constraint for activity ap_id. Fixes #1878 (#1935)

* Adding unique constraint for activity ap_id. Fixes #1878

* Removing is_activity_already_known

2 years agoMerge pull request #1936 from LemmyNet/required_public_key
Nutomic [Mon, 22 Nov 2021 15:37:05 +0000 (15:37 +0000)]
Merge pull request #1936 from LemmyNet/required_public_key

Making public key required. Fixes #1934

2 years agoMaking public key required. Fixes #1934
Dessalines [Mon, 22 Nov 2021 15:10:18 +0000 (10:10 -0500)]
Making public key required. Fixes #1934

2 years agoMerge pull request #1926 from LemmyNet/replace-activitystreams-lib
Dessalines [Mon, 22 Nov 2021 13:47:46 +0000 (08:47 -0500)]
Merge pull request #1926 from LemmyNet/replace-activitystreams-lib

Replace activitystreams crate with activitystreams-kinds

2 years agoReplace activitystreams crate with activitystreams-kinds
Felix Ableitner [Fri, 19 Nov 2021 17:47:06 +0000 (18:47 +0100)]
Replace activitystreams crate with activitystreams-kinds