]> Untitled Git - lemmy.git/log
lemmy.git
20 months agoAdding deadpool timeouts. (#2775)
Dessalines [Fri, 3 Mar 2023 09:30:03 +0000 (04:30 -0500)]
Adding deadpool timeouts. (#2775)

20 months agoAdding TOTP / 2FA to lemmy (#2741)
Dessalines [Thu, 2 Mar 2023 20:37:41 +0000 (15:37 -0500)]
Adding TOTP / 2FA to lemmy (#2741)

* Combine prod and dev docker setups using build-arg

- Fixes #2603

* Dont use cache for release build.

* Adding 2FA / TOTP support.

- Fixes #2363

* Changed name to totp_2fa for clarity.

* Switch to sha256 for totp.

20 months agoGet rid of Safe Views, use serde_skip (#2767)
Dessalines [Wed, 1 Mar 2023 17:19:46 +0000 (12:19 -0500)]
Get rid of Safe Views, use serde_skip (#2767)

* Get rid of Safe Views, use serde_skip

- Also change the ViewToVec, to work with non-vector cases. Might be
  necessary in preparation for #2763
- Fixes #2712

* Forgot one safe

---------

Co-authored-by: Nutomic <me@nutomic.com>
20 months agoShow deleted and removed posts for profile views. Fixes #2624 (#2729)
Dessalines [Wed, 1 Mar 2023 03:46:15 +0000 (22:46 -0500)]
Show deleted and removed posts for profile views. Fixes #2624 (#2729)

* Show deleted and removed posts for profile views. Fixes #2624

* Only showing non-deleted/removed posts for creator.

* Add a admin or mod check to views, to show deleted and removed posts.

- Also removed the pointless "blanking" functions

* Fix clippy

* Make hidden posts comment clearer.

* Fixing federation tests.

* Fixing fmt.

20 months agoDont upsert Instance row every apub fetch (#2771)
Nutomic [Wed, 1 Mar 2023 02:36:57 +0000 (03:36 +0100)]
Dont upsert Instance row every apub fetch (#2771)

This is not necessary because the domain cant change, so we only
need to insert if no row exists for this domain.

Also fetch instance actor when parsing person, not only community

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
20 months agoFixing broken websockets. (#2770)
Dessalines [Wed, 1 Mar 2023 02:27:33 +0000 (21:27 -0500)]
Fixing broken websockets. (#2770)

* Fixing broken websockets.

* Use cloned() for serde::Value

20 months agoIgnore undetermined language when calculating post default language (#2769)
Nutomic [Wed, 1 Mar 2023 00:49:31 +0000 (01:49 +0100)]
Ignore undetermined language when calculating post default language (#2769)

This will make it much more likely to successfully get a default,
as most users and communities have undetermined selected.

20 months agoSwitch from bb8 to deadpool. Fixes #2765 (#2768)
Dessalines [Tue, 28 Feb 2023 21:45:37 +0000 (16:45 -0500)]
Switch from bb8 to deadpool. Fixes #2765 (#2768)

* Switch from bb8 to deadpool. Fixes #2765

* Remove unecessary deadpool dependency.

* Ignoring nodeinfo test.

20 months agoAdding a vector indexing check to prevent panics. Fixes #2753 (#2754)
Dessalines [Tue, 28 Feb 2023 11:34:50 +0000 (06:34 -0500)]
Adding a vector indexing check to prevent panics. Fixes #2753 (#2754)

* Adding a vector indexing check to prevent panics. Fixes #2753

* Fixing for new clippy lint.

* Externalizing get_top_mod check. Adding get_first clippy lint

* Removing unit tests get(0)s

* Fixing some firsts manually

20 months agoCleaning up person_view sorts (#2760)
Dessalines [Fri, 24 Feb 2023 04:33:54 +0000 (23:33 -0500)]
Cleaning up person_view sorts (#2760)

20 months agoAdd default attribute for webfinger properties (fixes #2756) (#2759)
Nutomic [Thu, 23 Feb 2023 14:51:33 +0000 (23:51 +0900)]
Add default attribute for webfinger properties (fixes #2756) (#2759)

20 months agoAdding 0.17.2 Release notes.
Dessalines [Wed, 22 Feb 2023 15:08:41 +0000 (10:08 -0500)]
Adding 0.17.2 Release notes.

20 months agoInclude type information with webfinger responses (fixes #2037) (#2746)
Nutomic [Wed, 22 Feb 2023 02:25:26 +0000 (11:25 +0900)]
Include type information with webfinger responses (fixes #2037) (#2746)

So that it is easier to parse for other software

20 months agoFixing issue with saving site language. Fixes #2748 (#2749)
Dessalines [Wed, 22 Feb 2023 01:22:54 +0000 (20:22 -0500)]
Fixing issue with saving site language. Fixes #2748 (#2749)

* Fixing issue with saving site language. Fixes #2748

* Add a warning to Site::read

20 months agoProper permission check for federated comment distinguish (#2697)
Nutomic [Sat, 18 Feb 2023 18:57:45 +0000 (03:57 +0900)]
Proper permission check for federated comment distinguish (#2697)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
20 months agoImplement separate mod activities for feature, lock post (#2716)
Nutomic [Sat, 18 Feb 2023 14:50:28 +0000 (23:50 +0900)]
Implement separate mod activities for feature, lock post (#2716)

* Implement separate mod activities for feature, lock post

Also includes collection for featured posts. Later we also need
to do the same for Comment.distinguished

* some changes

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
20 months agoFix case in activitypub context (ref #2734) (#2743)
Nutomic [Sat, 18 Feb 2023 14:48:50 +0000 (23:48 +0900)]
Fix case in activitypub context (ref #2734) (#2743)

Should be camelCase.

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
20 months agoSeparate comment distinguish (#2740)
Dessalines [Sat, 18 Feb 2023 14:46:34 +0000 (09:46 -0500)]
Separate comment distinguish (#2740)

* Combine prod and dev docker setups using build-arg

- Fixes #2603

* Dont use cache for release build.

* Separate comment distinguish into its own action.

- Fixes #2708

---------

Co-authored-by: Nutomic <me@nutomic.com>
20 months agoAdding instance software and version. Fixes #2222 (#2733)
Dessalines [Sat, 18 Feb 2023 14:36:12 +0000 (09:36 -0500)]
Adding instance software and version. Fixes #2222 (#2733)

* Adding instance software and version. Fixes #2222

* Fix clippy.

* Fix clippy 2

* Fixing some more issues.

20 months agoFixing slow joins to post_read, post_saved, and comment_saved . (#2738)
Dessalines [Sat, 18 Feb 2023 14:35:35 +0000 (09:35 -0500)]
Fixing slow joins to post_read, post_saved, and comment_saved . (#2738)

- Fixes #2445

20 months agoRemove lemmur since its deprecated. (#2742)
Dessalines [Sat, 18 Feb 2023 13:23:28 +0000 (08:23 -0500)]
Remove lemmur since its deprecated. (#2742)

20 months agoCombine prod and dev docker setups using build-arg (#2739)
Dessalines [Fri, 17 Feb 2023 06:29:45 +0000 (01:29 -0500)]
Combine prod and dev docker setups using build-arg (#2739)

* Combine prod and dev docker setups using build-arg

- Fixes #2603

* Dont use cache for release build.

20 months agoOrganize utils into separate files. Fixes #2295 (#2736)
Dessalines [Thu, 16 Feb 2023 04:05:14 +0000 (23:05 -0500)]
Organize utils into separate files. Fixes #2295 (#2736)

* Organize utils into separate files. Fixes #2295

* Moving tests.

* Fix test.

* Fix test 2

20 months agoRemoving checking permissions when editing posts and comments. (#2727)
Dessalines [Wed, 15 Feb 2023 02:04:23 +0000 (21:04 -0500)]
Removing checking permissions when editing posts and comments. (#2727)

* Removing checking permissions when editing posts and comments. Fixes #2714

* Running cargo fmt again.

* Adding back in community ban checks.

20 months agoFixing updated form fields. Fixes #2724 (#2725)
Dessalines [Tue, 14 Feb 2023 21:41:22 +0000 (16:41 -0500)]
Fixing updated form fields. Fixes #2724 (#2725)

* Fixing updated form fields. Fixes #2724

* Fix import.

20 months agoOnly let top admin purge. Fixes #2731 (#2732)
Dessalines [Tue, 14 Feb 2023 19:31:04 +0000 (14:31 -0500)]
Only let top admin purge. Fixes #2731 (#2732)

20 months agoFix writing of `removeData` in apub context (fixes #2734) (#2735)
Nutomic [Tue, 14 Feb 2023 18:40:39 +0000 (03:40 +0900)]
Fix writing of `removeData` in apub context (fixes #2734) (#2735)

20 months agoAdding a site option to email admins for new reports. (#2730)
Dessalines [Tue, 14 Feb 2023 15:57:08 +0000 (10:57 -0500)]
Adding a site option to email admins for new reports. (#2730)

- Fixes #2551

20 months agoSort community search by active_monthly by default. (#2728)
Dessalines [Tue, 14 Feb 2023 14:19:37 +0000 (09:19 -0500)]
Sort community search by active_monthly by default. (#2728)

- Fixes #2678

20 months agoFix post titles being cut off (fixes #2718) (#2720)
Nutomic [Fri, 10 Feb 2023 18:35:23 +0000 (03:35 +0900)]
Fix post titles being cut off (fixes #2718) (#2720)

I didnt notice that this limit would also apply to Lemmy and other
software which has the title field. So gonna change it to be
identical to db limit

20 months agoImproved error message when attempting to fetch non-local object (fixes #2715) (...
Nutomic [Wed, 8 Feb 2023 19:45:29 +0000 (04:45 +0900)]
Improved error message when attempting to fetch non-local object (fixes #2715) (#2717)

20 months agoConvert HTML from titles into markdown (#2709)
Kradyz [Tue, 7 Feb 2023 02:27:17 +0000 (03:27 +0100)]
Convert HTML from titles into markdown (#2709)

Co-authored-by: Kradyz <k@radiz.nl>
21 months agoIn apub post receive, check posting restricted to mods (ref #2702) (#2704)
Nutomic [Sun, 5 Feb 2023 17:31:09 +0000 (02:31 +0900)]
In apub post receive, check posting restricted to mods (ref #2702) (#2704)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
21 months agoFix docker federation setup (#2706)
Nutomic [Sun, 5 Feb 2023 17:30:10 +0000 (02:30 +0900)]
Fix docker federation setup (#2706)

21 months agoFix data fetching from Peertube (fixes #2689) (#2703)
Nutomic [Sun, 5 Feb 2023 05:38:08 +0000 (14:38 +0900)]
Fix data fetching from Peertube (fixes #2689) (#2703)

- Other platforms can support additional language tags. Treat those
as None instead of throwing error
- deserialize_skip_error was implemented incorrectly and failed on
array values (https://github.com/LemmyNet/activitypub-federation-rust/commit/6d9682f4e6e5d47afaa05f8a35a230bf5e07a334)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
21 months agoAdd a ntfy notif on a tag deploy success. (#2701)
Dessalines [Sat, 4 Feb 2023 17:51:48 +0000 (12:51 -0500)]
Add a ntfy notif on a tag deploy success. (#2701)

21 months agoAdding 0.17.1 Release notes.
Dessalines [Fri, 3 Feb 2023 19:30:26 +0000 (14:30 -0500)]
Adding 0.17.1 Release notes.

21 months agoDisable pictrs feature in CI to make it faster (#2698)
Nutomic [Fri, 3 Feb 2023 18:32:44 +0000 (03:32 +0900)]
Disable pictrs feature in CI to make it faster (#2698)

21 months agoVersion 0.17.1
Dessalines [Fri, 3 Feb 2023 14:36:18 +0000 (09:36 -0500)]
Version 0.17.1

21 months agoFixing admin application email subject. Fixes #2688 (#2695)
Dessalines [Fri, 3 Feb 2023 14:24:19 +0000 (09:24 -0500)]
Fixing admin application email subject. Fixes #2688 (#2695)

21 months agoFixing person block views. Fixes #2693 (#2694)
Dessalines [Fri, 3 Feb 2023 13:45:32 +0000 (08:45 -0500)]
Fixing person block views. Fixes #2693 (#2694)

21 months agoFixing GetPosts active sort index. Fixes #2683 (#2684)
Dessalines [Thu, 2 Feb 2023 19:09:32 +0000 (14:09 -0500)]
Fixing GetPosts active sort index. Fixes #2683 (#2684)

* Fixing GetPosts active sort index. Fixes #2683

* Fixing other sort.

21 months agoMore explicit upgrade instructions.
Dessalines [Wed, 1 Feb 2023 14:35:24 +0000 (09:35 -0500)]
More explicit upgrade instructions.

21 months agoFix yerbate.ml -> join-lemmy.org links
Dessalines [Wed, 1 Feb 2023 14:34:59 +0000 (09:34 -0500)]
Fix yerbate.ml -> join-lemmy.org links

21 months agoMerge branch 'main' of https://github.com/LemmyNet/lemmy
Dessalines [Tue, 31 Jan 2023 17:21:34 +0000 (12:21 -0500)]
Merge branch 'main' of https://github.com/LemmyNet/lemmy

21 months agoFixing instructions.
Dessalines [Tue, 31 Jan 2023 17:21:28 +0000 (12:21 -0500)]
Fixing instructions.

21 months agoPublish without verify (#2681)
Nutomic [Tue, 31 Jan 2023 15:41:48 +0000 (00:41 +0900)]
Publish without verify (#2681)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
21 months agoFix paths in release script, update crate versions (#2680)
Nutomic [Tue, 31 Jan 2023 15:26:51 +0000 (00:26 +0900)]
Fix paths in release script, update crate versions (#2680)

21 months agoAdding 0.17.0 Release notes.
Dessalines [Tue, 31 Jan 2023 13:38:41 +0000 (08:38 -0500)]
Adding 0.17.0 Release notes.

21 months agoVersion 0.17.0
Dessalines [Tue, 31 Jan 2023 13:30:54 +0000 (08:30 -0500)]
Version 0.17.0

21 months agoUpdating translations.
Dessalines [Tue, 31 Jan 2023 13:29:31 +0000 (08:29 -0500)]
Updating translations.

21 months agoFixing `.drone.yml` (#2677)
Dessalines [Mon, 30 Jan 2023 19:17:24 +0000 (14:17 -0500)]
Fixing `.drone.yml` (#2677)

* Try to fix docker/drone plugin

* Trying to use one rust image.

* Fixing drone 1.

* Fixing drone 2.

* Add drone notify.

* Fixing drone 3.

* Fixing drone 4.

* Fix clippy.

* Remove uninlined format lint.

* Combine all cargo tasks

* Fixing drone 5.

* Fixing drone 6.

* Fixing drone 7.

* Fixing drone 8.

* Fixing drone 9.

* Fixing drone 10.

* Fixing drone 12.

* Fixing drone 13.

* Fixing drone 14.

* Fixing drone 15.

* Fixing drone 16.

* Fixing drone 17.

* Fixing drone 18.

* Fixing drone 19.

* Fixing drone 20.

* Fixing drone 21.

* Fixing drone 22.

* Fixing drone 23.

* Fixing drone 24.

* Fixing drone 25.

* Fixing drone 26.

* Fixing drone 27.

* Fixing drone 28.

* Fixing drone 29.

* Fixing drone 30.

* Fixing drone 31.

* Fixing drone 32.

* Fixing drone 33.

* Fixing drone 34.

* Fixing drone 35.

* Fixing drone 36.

* Fixing drone 37.

* Fixing drone 38.

* Fixing drone 39.

* Fixing drone 40.

* Fixing drone 41.

* Fixing drone 43.

* Fixing drone 44.

* Fixing drone 45.

* Last cleanup.

* Fixing drone 46.

* Separate ci steps (#2679)

* separate ci steps

* fix 1

* add comments

* dont add rustfmt explicitly

* Revert "dont add rustfmt explicitly"

This reverts commit 358ce3302a134b7ac88d90a854079356995e9725.

* dont use all features for tests

---------

Co-authored-by: Nutomic <me@nutomic.com>
21 months agoUse join_all instead of try_join_all. Fixes #2673 (#2674)
Dessalines [Mon, 30 Jan 2023 16:11:11 +0000 (11:11 -0500)]
Use join_all instead of try_join_all. Fixes #2673 (#2674)

* Use join_all instead of try_join_all. Fixes #2673

* Add note about closed connections.

21 months agoUpdate message_id to comply with RFC 2822 (#2668)
Kradyz [Mon, 30 Jan 2023 16:10:51 +0000 (17:10 +0100)]
Update message_id to comply with RFC 2822 (#2668)

The RFC 2822 format standard requires the message ID to be enclosed within angle brackets. If the standard is not followed, SpamAssassin deducts points from the e-mail.

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
21 months agoSpeeding up comment-ltree migration, fixing index creation. Fixes #2664 (#2670)
Dessalines [Mon, 23 Jan 2023 14:59:25 +0000 (09:59 -0500)]
Speeding up comment-ltree migration, fixing index creation. Fixes #2664 (#2670)

* Speeding up comment-ltree migration, fixing index creation. Fixes #2664

* Adding some logging lines, fixing for missing posts.

* Adding more postgres config

21 months agoAdd feature to embed pictrs in lemmy binary (fixes #2627) (#2633)
Nutomic [Fri, 20 Jan 2023 17:46:49 +0000 (18:46 +0100)]
Add feature to embed pictrs in lemmy binary (fixes #2627) (#2633)

* Add feature to embed pictrs in lemmy binary (fixes #2627)

* Add pictrs config

* add protobuf

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
21 months agoUpdate post_aggregates indexes to account for featured_local and featured_community...
Dessalines [Fri, 20 Jan 2023 17:44:03 +0000 (12:44 -0500)]
Update post_aggregates indexes to account for featured_local and featured_community columns. (#2661)

- Fixes #2660

21 months agoPost creation from Mastodon (fixes #2590) (#2651)
Nutomic [Fri, 20 Jan 2023 17:43:23 +0000 (18:43 +0100)]
Post creation from Mastodon (fixes #2590) (#2651)

* Post creation from Mastodon (fixes #2590)

* better logic for page title

* add deserialize helper

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
21 months agoUpgrade to postgres 15. (#2659)
Dessalines [Fri, 20 Jan 2023 17:15:07 +0000 (12:15 -0500)]
Upgrade to postgres 15. (#2659)

21 months agoAdd reddit -> lemmy importer to readme. (#2662)
Dessalines [Fri, 20 Jan 2023 02:41:37 +0000 (21:41 -0500)]
Add reddit -> lemmy importer to readme. (#2662)

21 months agoSome script improvements (#2654)
Nutomic [Thu, 12 Jan 2023 23:23:58 +0000 (00:23 +0100)]
Some script improvements (#2654)

- Allow specifying which packages should be tested
- Hardcode `lemmy` as db password because thats used in many different places

22 months agoUse enum for registration mode setting (#2604)
Nutomic [Thu, 5 Jan 2023 01:42:30 +0000 (01:42 +0000)]
Use enum for registration mode setting (#2604)

* Use enum for registration mode setting

* fix tests

22 months agoRemoving sniptt/monads for lemmy-js-client. (#2644)
Dessalines [Wed, 4 Jan 2023 15:59:26 +0000 (10:59 -0500)]
Removing sniptt/monads for lemmy-js-client. (#2644)

* Removing sniptt/monads for lemmy-js-client.

* Fix tests.

22 months agoFix historical post fetching. Fixes #2640 (#2643)
Dessalines [Wed, 4 Jan 2023 14:58:11 +0000 (09:58 -0500)]
Fix historical post fetching. Fixes #2640 (#2643)

22 months agoAdding the go client. (#2629)
Dessalines [Tue, 3 Jan 2023 21:04:22 +0000 (16:04 -0500)]
Adding the go client. (#2629)

* Adding the go client.

* Adding lemmyBB, and a stub for lemmy-rust-client

* Updating to use api_common readme.

22 months agoPoint to !lemmy_support for support questions (#2638)
Nutomic [Tue, 3 Jan 2023 08:28:21 +0000 (09:28 +0100)]
Point to !lemmy_support for support questions (#2638)

22 months agoAdd documentation for using Lemmy API from Rust (#2639)
Nutomic [Tue, 3 Jan 2023 08:23:41 +0000 (09:23 +0100)]
Add documentation for using Lemmy API from Rust (#2639)

22 months agoImprove application question check (#2628)
Nutomic [Fri, 23 Dec 2022 01:31:39 +0000 (01:31 +0000)]
Improve application question check (#2628)

The check was failing if only require_application was passed
and not application_question, despite application_question
being set in database.

22 months agoFix user following (#2623)
Nutomic [Mon, 19 Dec 2022 15:55:26 +0000 (15:55 +0000)]
Fix user following (#2623)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
22 months agoAllow embedding Lemmy, fix setup error (#2618)
Nutomic [Mon, 19 Dec 2022 15:54:42 +0000 (15:54 +0000)]
Allow embedding Lemmy, fix setup error (#2618)

* Fix error during site creation due to empty LocalSiteRateLimit update

* Move main function into lib.rs, to allow calling from other crates

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
22 months agoFixing missing forms, incorrect user discussion_languages (#2580)
Dessalines [Mon, 19 Dec 2022 11:40:22 +0000 (06:40 -0500)]
Fixing missing forms, incorrect user discussion_languages (#2580)

* Fixing missing forms, incorrect user discussion_languages

* Add discussion_language to CommunityResponse

* Adding discussion_languages to CommunityResponse

* Adding discussion_language logic to community.create

22 months agoAdd support for Featured Posts (#2585)
Anon [Mon, 12 Dec 2022 11:17:10 +0000 (05:17 -0600)]
Add support for Featured Posts (#2585)

* Add support for Featured Posts

* Fix rebase

* More fixes

22 months agoRemove federation backwards compatibility with 0.16.x (#2183)
Nutomic [Fri, 9 Dec 2022 16:21:17 +0000 (16:21 +0000)]
Remove federation backwards compatibility with 0.16.x (#2183)

* Breaking: remove compatiblity with page.url field (ref #2182)

* Breaking: change type of Instance to `Application` (ref #2200)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
22 months agoRework websocket (#2598)
Nutomic [Fri, 9 Dec 2022 15:31:47 +0000 (15:31 +0000)]
Rework websocket (#2598)

* Merge websocket crate into api_common

* Add SendActivity trait so that api crates compile in parallel with lemmy_apub

* Rework websocket code

* fix websocket heartbeat

23 months agoMerge pull request #2593 from LemmyNet/refactor-notifications
Nutomic [Fri, 2 Dec 2022 11:17:10 +0000 (11:17 +0000)]
Merge pull request #2593 from LemmyNet/refactor-notifications

Refactor crates for parallel build

23 months agoAdd SendActivity trait so that api crates compile in parallel with lemmy_apub
Felix Ableitner [Mon, 28 Nov 2022 14:29:33 +0000 (15:29 +0100)]
Add SendActivity trait so that api crates compile in parallel with lemmy_apub

23 months agoMove code to generate apub urls into lemmy_api_common
Felix Ableitner [Sat, 26 Nov 2022 20:47:13 +0000 (21:47 +0100)]
Move code to generate apub urls into lemmy_api_common

23 months agoBuilds lemmy_routes in parallel with lemmy_apub
Felix Ableitner [Sat, 26 Nov 2022 20:34:38 +0000 (21:34 +0100)]
Builds lemmy_routes in parallel with lemmy_apub

23 months agoMerge websocket crate into api_common
Felix Ableitner [Sat, 26 Nov 2022 02:04:46 +0000 (03:04 +0100)]
Merge websocket crate into api_common

23 months agoCheck user accepted before sending jwt in password reset (fixes #2591) (#2597)
Nutomic [Thu, 1 Dec 2022 21:36:03 +0000 (21:36 +0000)]
Check user accepted before sending jwt in password reset (fixes #2591) (#2597)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
23 months agoRelax honeypot check (fixes #2595) (#2596)
Nutomic [Thu, 1 Dec 2022 21:33:59 +0000 (21:33 +0000)]
Relax honeypot check (fixes #2595) (#2596)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
23 months agoUse audience field to federate items in groups (fixes #2464) (#2584)
Nutomic [Thu, 1 Dec 2022 20:52:49 +0000 (20:52 +0000)]
Use audience field to federate items in groups (fixes #2464) (#2584)

23 months agoFederate group moderators using attributedTo field (#2588)
Nutomic [Fri, 25 Nov 2022 14:01:58 +0000 (14:01 +0000)]
Federate group moderators using attributedTo field (#2588)

* Federate group moderators using attributedTo field

* fix tests

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
23 months agoSet cargo home in ci to avoid redownloading deps between steps (#2587)
Nutomic [Fri, 25 Nov 2022 04:43:31 +0000 (04:43 +0000)]
Set cargo home in ci to avoid redownloading deps between steps (#2587)

* Set cargo home in ci to avoid redownloading deps between steps

* remove protobuf

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
23 months agoAdd some more clippy lints (#2586)
Nutomic [Thu, 24 Nov 2022 16:38:00 +0000 (16:38 +0000)]
Add some more clippy lints (#2586)

* Add some more clippy lints

* restore config

* no allow dirty

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
23 months agoUse release docker image for nightly build (#2583)
Nutomic [Thu, 24 Nov 2022 13:33:58 +0000 (13:33 +0000)]
Use release docker image for nightly build (#2583)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
23 months agoImplement federated user following (fixes #752) (#2577)
Nutomic [Wed, 23 Nov 2022 23:40:47 +0000 (23:40 +0000)]
Implement federated user following (fixes #752) (#2577)

* Implement federated user following (fixes #752)

* rewrite send_activity_in_community and add docs, remove default for column pending

* improve migration

* replace null values in db migration

23 months agoRevert "Test drone (#2582)"
Felix Ableitner [Wed, 23 Nov 2022 20:25:24 +0000 (21:25 +0100)]
Revert "Test drone (#2582)"

This reverts commit 87c7ee54906f8e281ab260dfe6d215f09282398c.

23 months agoTest drone (#2582)
Nutomic [Wed, 23 Nov 2022 20:23:23 +0000 (20:23 +0000)]
Test drone (#2582)

23 months agoUpgrade activitypub_federation to 0.3.4 (#2581)
Nutomic [Wed, 23 Nov 2022 14:06:25 +0000 (14:06 +0000)]
Upgrade activitypub_federation to 0.3.4 (#2581)

23 months agoUpgrade activitypub_federation crate to 0.3.3 (ref #2511) (#2578)
Nutomic [Tue, 22 Nov 2022 12:20:31 +0000 (12:20 +0000)]
Upgrade activitypub_federation crate to 0.3.3 (ref #2511) (#2578)

23 months agoRemove federation settings, rely on sensible defaults instead (#2574)
Nutomic [Mon, 21 Nov 2022 16:44:34 +0000 (16:44 +0000)]
Remove federation settings, rely on sensible defaults instead (#2574)

This affects federation_strict_allowlist and federation_http_fetch_retry_limit

23 months agoFix clippy lints. (#2572)
Dessalines [Mon, 21 Nov 2022 10:21:09 +0000 (05:21 -0500)]
Fix clippy lints. (#2572)

* Fix clippy lints.

* Fix fmt.

* Dont use cargo-workspaces for fix-clippy script.

23 months agoAdd support for Taglines (#2548)
Anon [Sat, 19 Nov 2022 14:48:29 +0000 (08:48 -0600)]
Add support for Taglines (#2548)

* Add support for Taglines

* recreate migration

* Update content column -> Text

* Optimize replace function

* Change taglines to Option

* Move Ok() call

* Move taglines to GetSiteResponse

* Fix logic

Co-authored-by: layla <layla@chapo.dev>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
23 months agoVarious pedantic clippy fixes (#2568)
Nutomic [Sat, 19 Nov 2022 04:33:54 +0000 (04:33 +0000)]
Various pedantic clippy fixes (#2568)

* Various pedantic clippy fixes

* more clippy pedantic fixes

* try to fix ci

* add fix clippy script, use rust 1.65

* fix clippy

23 months agoSort vecs before assert to avoid random test failures (#2569)
Nutomic [Sat, 19 Nov 2022 01:30:59 +0000 (01:30 +0000)]
Sort vecs before assert to avoid random test failures (#2569)

* Sort language read queries to avoid random test failures

* change sort columns

23 months agoDisplay build status badge from drone.join-lemmy.org (#2564)
Nutomic [Thu, 17 Nov 2022 18:51:17 +0000 (18:51 +0000)]
Display build status badge from drone.join-lemmy.org (#2564)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
23 months agoSpecify dependencies and metadata for entire workspace (#2565)
Nutomic [Thu, 17 Nov 2022 15:23:01 +0000 (15:23 +0000)]
Specify dependencies and metadata for entire workspace (#2565)

* Specify dependencies and metadata for entire workspace (fixes #2474)

* building api_common shouldnt depend on diesel

* remove drone task

* try with quotes

* fix clippy

* more clippy

23 months agoUse enum_delegate crate (#2554)
Nutomic [Wed, 16 Nov 2022 22:51:05 +0000 (22:51 +0000)]
Use enum_delegate crate (#2554)

23 months agoLive reload settings (fixes #2508) (#2543)
Nutomic [Wed, 16 Nov 2022 19:06:22 +0000 (19:06 +0000)]
Live reload settings (fixes #2508) (#2543)

* Live reload rate limit settings (fixes #2508)

* fix tests